:root {
  --ink: #222222;
  --muted: #717171;
  --canvas: #ffffff;
  --soft: #f7f7f7;
  --line: #dddddd;
  --line-light: #ebebeb;
  --accent: #d9574e;
  --accent-dark: #b9443d;
  --green: #247a61;
  --amber: #9b6b13;
  --shadow: 0 6px 20px rgba(0,0,0,.08);
  --shadow-card: 0 8px 28px rgba(0,0,0,.10);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --header-height: 80px;
  --header-height-mobile: 64px;
  --page-gutter: 48px;
  --page-max: 1500px;
  --transition-fast: .18s ease-out;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img { max-width: 100%; }
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.app-header {
  height: var(--header-height);
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(320px, 560px) minmax(150px, 1fr);
  align-items: center;
  gap: 28px;
  padding: 0 var(--page-gutter);
  border-bottom: 1px solid var(--line-light);
  background: rgba(255,255,255,.97);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-identity { grid-column: 1; display: flex; align-items: center; gap: 14px; }
.header-back-button {
  width: 40px;
  height: 40px;
  display: none;
  place-items: center;
  padding: 0 0 2px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  font-size: 18px;
}
.analysis-active .header-back-button { display: grid; }
.brand {
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Baskerville, Georgia, serif;
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -.8px;
}
.explore-header-search {
  grid-column: 2;
  width: min(560px, 46vw);
  height: 48px;
  display: none;
  align-items: center;
  gap: 11px;
  padding: 4px 4px 4px 17px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
}
.explore-active .explore-header-search,
.analysis-active .explore-header-search { display: flex; }
.explore-header-search > input {
  min-width: 0;
  flex: 1;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 13px;
}
.explore-header-submit {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  padding: 0 0 2px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 20px;
  font-weight: 500;
}
.header-actions { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 12px; }
.about-link {
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
}
.watch-link {
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
}
.about-active .about-link {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.watch-active .watch-link {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.watch-view {
  width: min(1160px, calc(100% - 64px));
  margin: 0 auto;
  padding: 78px 0 100px;
}
.watch-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 80px;
  align-items: end;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line-light);
}
.watch-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 650; }
.watch-eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: #34886e; box-shadow: 0 0 0 4px rgba(52,136,110,.12); }
.watch-hero h1 { max-width: 760px; margin: 16px 0 18px; font-size: clamp(46px, 5.3vw, 74px); line-height: .97; letter-spacing: -.06em; }
.watch-hero p { max-width: 600px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.45; }
.watch-status-card { padding: 22px; border: 1px solid var(--line-light); border-radius: 20px; background: #fafaf8; }
.watch-status-card > span, .watch-status-card small { display: block; color: var(--muted); font-size: 12px; }
.watch-status-card strong { display: block; margin: 8px 0 5px; font-size: 16px; line-height: 1.25; letter-spacing: -.02em; }
.watch-intake { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px; margin-top: 18px; }
.watch-intake input { min-width: 0; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; outline: 0; font: inherit; font-size: 12px; }
.watch-intake input:focus { border-color: var(--ink); }
.watch-intake button { width: auto; padding: 0 13px; margin: 0; border-radius: 10px; white-space: nowrap; }
.watch-intake button:disabled { opacity: .55; }
.watch-status-card button { width: 100%; height: 42px; margin-top: 18px; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; }
.watch-status-card > .watch-intake + button { margin-top: 8px; border-color: var(--line); background: #fff; color: var(--ink); }
.watch-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 76px; margin-top: 58px; }
.watch-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.watch-section-heading span, .watch-settings header span { color: var(--muted); font-size: 12px; font-weight: 650; }
.watch-section-heading h2, .watch-settings h2 { margin: 5px 0 0; font-size: 27px; letter-spacing: -.04em; }
.watch-section-heading p { margin: 0 0 4px; color: var(--muted); font-size: 13px; }
.watch-opportunity-list { display: grid; gap: 12px; }
.watch-opportunity { display: grid; grid-template-columns: 144px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 12px; border: 1px solid var(--line-light); border-radius: 18px; background: #fff; cursor: pointer; transition: border-color .16s ease, box-shadow .16s ease; }
.watch-opportunity:hover { border-color: var(--line); box-shadow: 0 8px 24px rgba(0,0,0,.05); }
.watch-opportunity > img { width: 144px; height: 116px; border-radius: 12px; object-fit: cover; background: #f2f2f0; }
.watch-opportunity-title { display: flex; justify-content: space-between; gap: 16px; }
.watch-opportunity-title span { color: var(--muted); font-size: 12px; }
.watch-opportunity-title h3 { margin: 3px 0 0; font-size: 20px; letter-spacing: -.03em; }
.watch-opportunity-title > strong { display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 auto; border-radius: 50%; background: #f3f3f1; font-size: 13px; }
.watch-opportunity-main > p { margin: 8px 0 11px; color: #515151; font-size: 13px; line-height: 1.38; }
.watch-opportunity-meta { display: flex; flex-wrap: wrap; gap: 5px 12px; color: var(--muted); font-size: 12px; }
.watch-opportunity-meta b { color: var(--ink); font-weight: 650; }
.watch-opportunity > button { padding: 0; border: 0; background: transparent; color: var(--ink); font-size: 13px; font-weight: 750; text-decoration: underline; }
.watch-empty { padding: 32px 0; color: var(--muted); font-size: 14px; }
.watch-settings { align-self: start; padding: 24px; border: 1px solid var(--line-light); border-radius: 20px; background: #fff; }
.watch-settings header { padding-bottom: 21px; border-bottom: 1px solid var(--line-light); }
.watch-settings form { display: grid; gap: 22px; padding: 22px 0; }
.watch-settings fieldset { min-width: 0; padding: 0; margin: 0; border: 0; }
.watch-settings legend, .watch-field > span, .watch-sources > span { display: block; margin-bottom: 11px; color: var(--muted); font-size: 12px; font-weight: 650; }
.watch-area-options { display: flex; flex-wrap: wrap; gap: 8px; }
.watch-area-options label { position: relative; display: inline-flex; align-items: center; cursor: pointer; }
.watch-area-options input { position: absolute; opacity: 0; pointer-events: none; }
.watch-area-options label { padding: 8px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; }
.watch-area-options label:has(input:checked) { border-color: var(--ink); background: var(--ink); color: #fff; }
.watch-field { display: grid; grid-template-columns: 1fr auto; gap: 6px; }
.watch-field output { color: var(--ink); font-size: 12px; font-weight: 700; }
.watch-field input { grid-column: 1 / -1; width: 100%; accent-color: var(--ink); }
.watch-toggle { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.watch-toggle input { position: absolute; opacity: 0; }
.watch-toggle span { width: 34px; height: 20px; position: relative; flex: 0 0 auto; border-radius: 999px; background: #d8d8d5; transition: background .15s; }
.watch-toggle span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .15s; }
.watch-toggle input:checked + span { background: var(--ink); }
.watch-toggle input:checked + span::after { transform: translateX(14px); }
.watch-toggle strong { font-size: 12px; line-height: 1.25; }
.watch-sources { padding-top: 20px; border-top: 1px solid var(--line-light); }
.watch-sources > span { margin-bottom: 8px; }
.watch-sources p { display: flex; justify-content: space-between; gap: 16px; margin: 9px 0; font-size: 12px; }
.watch-sources b { font-weight: 650; }
.watch-sources small { color: var(--muted); font-size: 11px; text-align: right; }
.watch-footnote { max-width: 660px; margin-top: 58px; color: var(--muted); font-size: 12px; line-height: 1.45; }

.explore-view {
  height: calc(100vh - var(--header-height));
  min-height: 640px;
  overflow: hidden;
  background: #fff;
}
.explore-topbar {
  display: none;
  height: 48px;
  padding: 7px 48px;
  border-bottom: 1px solid var(--line-light);
}
.explore-controls {
  max-width: var(--page-max);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0 auto;
}
.explore-search {
  display: none;
  width: 100%;
  height: 52px;
  flex: 0 0 auto;
  grid-template-columns: 18px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 5px 5px 5px 15px;
  border: 1px solid var(--line);
  border-radius: 26px;
}
.explore-search .search-icon { width: 13px; height: 13px; border-width: 1.6px; }
.explore-search input { min-width: 0; border: 0; outline: 0; font-size: 12px; }
.explore-search button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0 0 2px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 20px;
  font-weight: 500;
}
.explore-body {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(610px, 58%) 1fr;
}
.explore-list-pane { min-width: 0; padding: 28px 28px 48px 48px; overflow-y: auto; }
.explore-list-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 50px;
  margin-bottom: 18px;
}
.explore-list-heading strong, .explore-list-heading span { display: block; }
.explore-list-heading strong { font-size: 23px; line-height: 1.1; letter-spacing: -.03em; }
.explore-list-heading span { max-width: 430px; margin-top: 7px; color: var(--muted); font-size: 11px; }
.explore-property-list { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 22px; }
.explore-card {
  min-width: 0;
  display: block;
  padding: 0;
  border: 0;
  background: #fff;
  text-align: left;
  cursor: pointer;
}
.explore-card-thumb {
  aspect-ratio: 4 / 3;
  height: auto;
  overflow: hidden;
  border-radius: 16px;
  background: #f1f0ec;
  position: relative;
}
.explore-card-thumb img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .25s ease; }
.thumb-lot {
  position: absolute;
  z-index: 1;
  padding: 7px 10px;
  border-radius: 16px;
  background: rgba(255,255,255,.96);
  font-size: 10px;
  font-weight: 700;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.thumb-lot { left: 12px; bottom: 12px; color: #626662; }
.explore-card-content { min-width: 0; padding-top: 12px; }
.explore-card-heading { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.explore-card-heading h2 { margin: 0; font-size: 16px; line-height: 1.2; letter-spacing: -.015em; }
.explore-score {
  flex: 0 0 auto;
  color: var(--green);
  text-align: right;
}
.explore-score strong { font-size: 14px; line-height: 1; }
.explore-score span { margin-left: 2px; color: var(--muted); font-size: 9px; font-weight: 500; }
.explore-card-location { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.explore-card-facts { margin: 4px 0 0; color: #4f4f4f; font-size: 11px; }
.explore-card-evidence { margin: 7px 0 0; color: var(--muted); font-size: 10px; line-height: 1.3; }
.explore-card-read { margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--line-light); }
.explore-card-read p { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 7px; margin: 0; font-size: 10px; line-height: 1.35; }
.explore-card-read p + p { margin-top: 5px; }
.explore-card-read span { color: var(--muted); }
.explore-card-read strong { min-width: 0; overflow: hidden; color: var(--ink); font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.explore-card:hover .explore-card-thumb img { transform: scale(1.015); }
.explore-card:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; border-radius: 14px; }
.explore-card.selected .explore-card-thumb { box-shadow: 0 0 0 2px var(--ink); }
.explore-disclaimer { margin: 30px 0 0; color: var(--muted); font-size: 9px; line-height: 1.5; }
.explore-map-pane { min-width: 0; position: relative; background: #fff; }
#exploreMap {
  width: calc(100% - 48px);
  height: calc(100% - 40px);
  margin: 20px 32px 20px 16px;
  overflow: hidden;
  border-radius: 18px;
  background: #f2f2ef;
}
.map-fallback { position: absolute; inset: 0; z-index: 400; display: grid; place-items: center; padding: 30px; background: #eef0ed; color: var(--muted); font-size: 12px; text-align: center; }
.leaflet-control-attribution { font-size: 8px !important; }
.leaflet-control-zoom {
  overflow: hidden;
  border: 0 !important;
  border-radius: 18px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.18) !important;
}
.explore-map-pane .leaflet-top.leaflet-left {
  top: 4px;
  right: 48px;
  left: auto;
}
.leaflet-control-zoom a {
  width: 40px !important;
  height: 40px !important;
  border: 0 !important;
  color: var(--ink) !important;
  font-size: 21px !important;
  line-height: 40px !important;
}
.leaflet-control-zoom a + a { border-top: 1px solid #e8e8e8 !important; }
.realize-marker { background: transparent; border: 0; }
.realize-pin {
  min-width: 58px;
  height: 28px;
  display: grid;
  place-items: center;
  padding: 0 8px;
  border: 0;
  border-radius: 28px;
  background: #fff;
  color: #222;
  box-shadow: 0 2px 4px rgba(0,0,0,.18), 0 0 0 1px rgba(0,0,0,.08);
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
  white-space: nowrap;
  transition: transform .16s ease, background .16s ease, color .16s ease, box-shadow .16s ease;
}
.realize-pin:hover, .realize-pin.selected {
  background: #222;
  color: #fff;
  box-shadow: 0 3px 8px rgba(0,0,0,.24);
  transform: scale(1.06);
}
.explore-mobile-switch { display: none; }

.search-view { overflow: hidden; }
.section-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .02em;
}
.property-search {
  width: min(760px, 100%);
  height: 64px;
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 12px;
  align-items: center;
  margin-top: 34px;
  padding: 6px 7px 6px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.search-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  border: 2px solid var(--ink);
  border-radius: 50%;
  position: relative;
}
.search-icon:after {
  content: "";
  position: absolute;
  width: 7px;
  height: 2px;
  right: -5px;
  bottom: -2px;
  transform: rotate(45deg);
  border-radius: 2px;
  background: var(--ink);
}
.property-search input {
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 16px;
}
.property-search input::placeholder { color: #8f8f8f; }
.property-search button, .primary-button {
  border: 0;
  border-radius: 27px;
  background: var(--accent);
  color: white;
  font-weight: 700;
}
.property-search button { height: 50px; padding: 0 24px; border-radius: 10px; }
.property-search button:hover, .primary-button:hover { background: var(--accent-dark); }
.property-search.loading button { pointer-events: none; opacity: .75; }
.property-search.loading button:after { content: "Analyzing…"; }
.property-search.loading button { font-size: 0; }
.property-search.loading button:after { font-size: 14px; }

.home-entry {
  padding: 30px var(--page-gutter) 28px;
  background: var(--canvas);
}
.home-entry .property-search {
  width: min(720px, 100%);
  height: 62px;
  grid-template-columns: 22px minmax(0, 1fr) 46px;
  gap: 13px;
  margin: 0 auto;
  padding: 7px 8px 7px 21px;
  border-radius: var(--radius-pill);
  box-shadow: 0 3px 16px rgba(0,0,0,.09), 0 0 0 1px rgba(0,0,0,.025);
  text-align: left;
}
.home-entry .search-icon { width: 15px; height: 15px; border-width: 1.8px; }
.home-entry .property-search > input {
  width: 100%;
  height: 100%;
  padding: 0;
  font-size: 15px;
}
.home-entry .property-search button {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  padding: 0 0 2px;
  border-radius: 50%;
  font-size: 21px;
  font-weight: 500;
}
.property-search.loading button:after { content: "…"; font-size: 20px; }
.home-shelves {
  width: min(var(--page-max), 100%);
  display: grid;
  gap: 50px;
  margin: 0 auto;
  padding: 34px var(--page-gutter) 90px;
}
.property-shelf { min-width: 0; }
.shelf-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.shelf-heading h2 {
  margin: 0;
  font-size: 19px;
  line-height: 1.15;
  letter-spacing: -.025em;
}
.shelf-heading button {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  padding: 0 0 2px;
  border: 0;
  border-radius: 50%;
  background: var(--soft);
  font-size: 15px;
}
.shelf-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(210px, 1fr);
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}
.shelf-row::-webkit-scrollbar { display: none; }
.home-property-card {
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}
.home-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  display: block;
  overflow: hidden;
  border-radius: 14px;
  background: #f2f1ef;
}
.home-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .25s ease;
}
.home-card-score {
  position: absolute;
  top: 11px;
  left: 11px;
  min-width: 34px;
  height: 27px;
  display: grid;
  place-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
  font-size: 11px;
  font-weight: 750;
}
.home-property-card > span,
.home-property-card > small { display: block; }
.home-card-title {
  margin-top: 10px;
  color: var(--ink);
}
.home-card-title strong {
  display: block;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-property-card > small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}
.home-property-card > small strong { color: var(--ink); font-weight: 700; }
.home-property-card:hover .home-card-media img { transform: scale(1.018); }
.home-property-card:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; border-radius: 15px; }
.home-all-properties {
  padding-top: 2px;
}
.home-all-properties button {
  height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
}

.analysis-active main { background: #f5f5f3; }
.about-active main { background: #fff; }
.analysis-view { max-width: 1340px; margin: 0 auto; padding: 24px 24px 132px; }
.share-button {
  display: none;
  width: 40px;
  height: 40px;
  place-items: center;
  padding: 0 0 2px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  font-size: 17px;
  font-weight: 600;
}
.analysis-active .share-button { display: grid; }

.about-view {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 32px 118px;
}
.about-hero {
  max-width: 980px;
  margin: 0 auto 72px;
  text-align: center;
}
.about-kicker,
.about-section-heading > span {
  display: block;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.about-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 8vw, 118px);
  font-weight: 500;
  line-height: .96;
  letter-spacing: -.065em;
}
.about-hero p {
  max-width: 740px;
  margin: 30px auto 0;
  color: #3f3f3f;
  font-size: clamp(21px, 2.2vw, 28px);
  line-height: 1.28;
  letter-spacing: -.035em;
}
.about-image-strip {
  max-width: 980px;
  display: grid;
  grid-template-columns: 1.2fr .9fr .9fr;
  gap: 10px;
  margin: -28px auto 76px;
}
.about-image-strip figure {
  min-width: 0;
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #f1f1ef;
}
.about-image-strip figure:first-child { height: 330px; }
.about-image-strip figure:not(:first-child) { height: 255px; align-self: end; }
.about-image-strip img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.about-image-strip figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(0,0,0,.12);
}
.about-manifesto {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
  margin: 0 auto 76px;
  padding-top: 42px;
  border-top: 1px solid var(--line-light);
}
.about-statement,
.about-framework article,
.about-proof,
.about-principles,
.about-close {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.about-statement {
  min-height: 0;
  padding: 0;
}
.about-statement h2 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.05;
  letter-spacing: -.055em;
}
.about-statement p {
  max-width: 500px;
  margin: 18px 0 0;
  color: #5d5d5d;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -.018em;
}
.about-framework {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 84px;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}
.about-framework article {
  min-height: 0;
  padding: 34px 30px 38px;
  border-right: 1px solid var(--line-light);
  display: block;
}
.about-framework article:last-child { border-right: 0; }
.about-framework article span {
  width: auto;
  height: auto;
  display: block;
  border-radius: 0;
  background: transparent;
  color: #8a8a8a;
  font-size: 13px;
  font-weight: 700;
}
.about-framework h3,
.about-proof-grid h3 {
  margin: 54px 0 0;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -.045em;
}
.about-framework p,
.about-proof-grid p,
.about-principle-list p,
.about-close p {
  margin: 12px 0 0;
  color: #5d5d5d;
  font-size: 16px;
  line-height: 1.5;
}
.about-proof,
.about-principles,
.about-close {
  margin-top: 0;
  padding: 0;
}
.about-section-heading {
  max-width: 760px;
}
.about-section-heading h2,
.about-close h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 5.4vw, 76px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.06em;
}
.about-section-heading p {
  max-width: 640px;
  margin: 18px 0 0;
  color: #5a5a5a;
  font-size: 18px;
  line-height: 1.5;
}
.about-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 54px;
  margin-top: 42px;
  border-top: 1px solid var(--line-light);
}
.about-proof-grid article {
  min-height: 0;
  padding: 26px 0 30px;
  border: 0;
  border-bottom: 1px solid var(--line-light);
  border-radius: 0;
  background: transparent;
}
.about-proof-grid article > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.about-proof-grid strong {
  display: block;
  margin-top: 10px;
  font-size: 24px;
  letter-spacing: -.035em;
}
.about-principle-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 54px;
  margin-top: 40px;
  border-top: 1px solid var(--line-light);
}
.about-principle-list p {
  margin: 0;
  padding: 24px 0 28px;
  border-top: 0;
  border-bottom: 1px solid var(--line-light);
  font-size: 17px;
}
.about-principle-list b {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 20px;
  letter-spacing: -.03em;
}
.about-close {
  min-height: 0;
  margin-top: 84px;
  padding-top: 44px;
  border-top: 1px solid var(--line-light);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  background: transparent;
  color: var(--ink);
}
.about-close p {
  max-width: 700px;
  color: #5d5d5d;
  font-size: 20px;
  line-height: 1.45;
}
.about-close button {
  margin-top: 26px;
  height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 24px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
}

/* About: editorial pacing with property stories as the proof. */
.about-view .about-section-heading > span,
.about-view .about-story-card span,
.about-view .about-future span {
  color: #747470;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
.about-view { max-width: 1100px; }
.about-hero { max-width: 900px; margin: 18px 0 72px; text-align: left; }
.about-hero h1 { max-width: 820px; font-family: inherit; font-size: clamp(46px, 6.6vw, 88px); font-weight: 600; line-height: .98; letter-spacing: -.06em; }
.about-hero p { max-width: 660px; margin: 24px 0 0; font-size: clamp(20px, 2vw, 27px); line-height: 1.28; }
.about-intro-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 42px; max-width: 900px; margin-bottom: 104px; padding-top: 28px; border-top: 1px solid var(--line-light); }
.about-intro-grid p { margin: 0; color: #50504d; font-size: 18px; line-height: 1.5; }
.about-property-stories { margin-top: 0; }
.about-property-stories .about-section-heading { max-width: 700px; }
.about-property-stories .about-section-heading h2 { font-family: inherit; font-size: clamp(32px, 4.2vw, 54px); font-weight: 600; line-height: 1.03; letter-spacing: -.05em; }
.about-story-list { display: grid; gap: 1px; margin-top: 38px; overflow: hidden; border: 1px solid var(--line-light); border-radius: 24px; background: var(--line-light); }
.about-story-card { display: grid; grid-template-columns: minmax(260px, .84fr) minmax(0, 1.16fr); min-height: 250px; background: #fff; }
.about-story-card img { width: 100%; height: 100%; min-height: 250px; display: block; object-fit: cover; }
.about-story-card > div { align-self: center; padding: 34px 40px; }
.about-story-card span,
.about-future span { display: block; }
.about-story-card h3 { margin: 11px 0 0; font-size: 29px; font-weight: 600; line-height: 1.06; letter-spacing: -.04em; }
.about-story-card p { max-width: 515px; margin: 12px 0 0; color: #595956; font-size: 15px; line-height: 1.48; }
.about-story-card button { margin-top: 18px; padding: 0; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 13px; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.about-process { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 104px; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.about-process article { min-height: 250px; padding: 32px 30px 36px; border-right: 1px solid var(--line-light); }
.about-process article:last-child { border-right: 0; }
.about-process span { color: var(--muted); font-size: 13px; font-weight: 500; }
.about-process h3 { margin: 64px 0 0; font-size: 23px; font-weight: 600; letter-spacing: -.035em; }
.about-process p { margin: 10px 0 0; color: #5d5d59; font-size: 15px; line-height: 1.48; }
.about-future { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: end; margin-top: 104px; padding: 46px 0; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.about-future h2 { max-width: 580px; margin: 12px 0 0; font-family: inherit; font-size: clamp(33px, 4vw, 54px); font-weight: 600; line-height: 1.03; letter-spacing: -.05em; }
.about-future > p { margin: 0; color: #555551; font-size: 17px; line-height: 1.52; }
.about-close { margin-top: 66px; padding-top: 0; border-top: 0; }
.about-close h2 { max-width: 700px; font-family: inherit; font-size: clamp(36px, 4.6vw, 58px); font-weight: 600; line-height: 1.03; letter-spacing: -.055em; }
.estimate-pill {
  padding: 7px 10px;
  border-radius: 20px;
  background: #ecf5f1;
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.property-hero-card {
  overflow: visible;
  background: #fff;
}
.property-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  padding: 30px 0 22px;
}
.property-title-row h1 {
  margin: 0 0 8px;
  font-family: inherit;
  font-size: clamp(34px, 4.2vw, 48px);
  font-weight: 760;
  line-height: 1.04;
  letter-spacing: -.045em;
}
.property-title-row p { margin: 0; color: #5f5f5f; font-size: 15px; line-height: 1.35; }
.property-title-row .price-fact { flex: 0 0 auto; text-align: right; }
.fact span { display: block; color: var(--muted); font-size: 11px; }
.price-fact strong { display: block; font-size: 28px; letter-spacing: -.035em; }
.property-hero-media {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, .9fr);
  gap: 8px;
  padding: 0;
}
.property-hero-media.gallery-missing .hero-map-card { grid-column: 1 / -1; }
.photo-gallery {
  height: 420px;
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
  overflow: hidden;
  border-radius: 16px;
}
.photo-gallery button { position: relative; padding: 0; border: 0; background: #eee; overflow: hidden; }
.photo-gallery img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .3s ease; }
.photo-gallery button:hover img { transform: scale(1.015); }
.photo-main { grid-row: 1 / 3; }
.photo-map { min-height: 0; height: auto; border-radius: 0; }
.photo-gallery.single-photo .photo-main { grid-column: 1 / -1; grid-row: 1 / -1; }
.photo-gallery.single-photo .photo-side,
.photo-gallery.single-photo .photo-map { display: none; }
.photo-gallery .photo-count {
  position: absolute;
  z-index: 1;
  padding: 9px 11px;
  border-radius: 8px;
  background: rgba(255,255,255,.94);
  font-size: 11px;
  font-weight: 650;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.photo-gallery .photo-count { right: 14px; bottom: 14px; }
.hero-map-card {
  min-width: 0;
  height: 420px;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #eef1ef;
  z-index: 0;
  isolation: isolate;
}
.property-factbar {
  min-height: 76px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  margin-top: 10px;
  border-bottom: 1px solid var(--line-light);
}
.fact { padding: 0 20px; border-left: 1px solid var(--line-light); }
.fact:first-child { border-left: 0; }
.fact strong { display: block; margin-bottom: 4px; font-size: 16px; }

.property-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
}
.property-content {
  min-width: 0;
  padding: 0 32px 32px;
  overflow: clip;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,.035), 0 8px 30px rgba(0,0,0,.06);
}
.section-tabs {
  height: 66px;
  display: flex;
  align-items: center;
  gap: 30px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 80px;
  z-index: 500;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
}
.section-tabs a { color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 600; }
.section-tabs a:first-child { color: var(--ink); }
.content-section { padding: 66px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 150px; }
.content-section h2 {
  margin: 12px 0 0;
  font-family: inherit;
  font-size: clamp(31px, 3.6vw, 44px);
  font-weight: 760;
  line-height: 1.08;
  letter-spacing: -.045em;
}
.section-lede { max-width: 760px; margin: 22px 0 0; color: #484848; font-size: 17px; line-height: 1.65; }
.section-editorial-header { max-width: 760px; }
.evidence-condition-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.evidence-condition {
  min-width: 0;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 23px;
  border-right: 1px solid var(--line-light);
}
.evidence-condition:last-child { border-right: 0; }
.evidence-state {
  width: max-content;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .01em;
}
.evidence-state.verified { background: #eaf5f0; color: var(--green); }
.evidence-state.modeled { background: #fbf3e5; color: var(--amber); }
.evidence-state.open { background: #f0f0ee; color: #5f5f5b; }
.evidence-value {
  display: block;
  margin-top: 27px;
  font-size: 29px;
  line-height: 1;
  letter-spacing: -.045em;
}
.evidence-condition h4 {
  margin: 13px 0 0;
  font-size: 15px;
  line-height: 1.25;
  letter-spacing: -.018em;
}
.evidence-condition p {
  margin: 9px 0 18px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}
.evidence-condition a,
.evidence-condition button {
  margin-top: auto;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.decision-brief {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}
.realization-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.realization-strip article {
  min-width: 0;
  padding: 22px;
  border-right: 1px solid var(--line-light);
}
.realization-strip article:last-child { border-right: 0; }
.realization-strip span,
.potential-priority-row span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}
.realization-strip strong,
.potential-priority-row strong {
  display: block;
  margin-top: 10px;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -.02em;
}
.realization-strip p,
.potential-priority-row p {
  margin: 9px 0 0;
  color: #5f5f5f;
  font-size: 12px;
  line-height: 1.45;
}
.decision-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}
.opportunity-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(240px, .82fr) minmax(0, 1.18fr);
}
.decision-image {
  min-height: 280px;
  position: relative;
  overflow: hidden;
}
.decision-image img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.decision-image:after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(0,0,0,.48));
}
.decision-image > span {
  position: absolute;
  z-index: 1;
  left: 18px;
  bottom: 17px;
  padding: 7px 9px;
  border-radius: 16px;
  background: rgba(255,255,255,.93);
  font-size: 9px;
  font-weight: 750;
}
.decision-card-body {
  display: flex;
  flex-direction: column;
  padding: 28px;
}
.decision-card-value {
  display: block;
  margin-top: 25px;
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1;
  letter-spacing: -.045em;
}
.decision-card h3 {
  max-width: 520px;
  margin: 20px 0 0;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -.03em;
}
.decision-card-body > p {
  max-width: 560px;
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.decision-card-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: auto 0 0;
  padding-top: 24px;
}
.decision-card-stats > div {
  padding-right: 16px;
}
.decision-card-stats > div + div {
  padding-left: 16px;
  border-left: 1px solid var(--line);
}
.decision-card-stats dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
}
.decision-card-stats dd {
  margin: 5px 0 0;
  font-size: 14px;
  font-weight: 750;
}
.risk-card,
.verify-card { min-height: 390px; }
.risk-card .decision-card-context {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.risk-card a {
  width: max-content;
  margin-top: auto;
  padding-top: 22px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  text-underline-offset: 3px;
}
.decision-checklist {
  display: grid;
  gap: 0;
  margin: 21px 0 0;
  padding: 0;
  list-style: none;
}
.decision-checklist li {
  display: grid;
  grid-template-columns: 25px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line-light);
}
.decision-checklist b {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 9px;
}
.decision-checklist strong,
.decision-checklist span { display: block; }
.decision-checklist strong { font-size: 13px; }
.decision-checklist span { margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.4; }
.decision-card.no-image .decision-image { display: none; }
.decision-card.no-image { grid-template-columns: 1fr; }

.supporting-research {
  padding: 0;
}
.supporting-research-summary {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  list-style: none;
}
.supporting-research-summary::-webkit-details-marker { display: none; }
.supporting-research-summary > span:first-child small,
.supporting-research-summary > span:first-child strong { display: block; }
.supporting-research-summary small { color: var(--muted); font-size: 10px; }
.supporting-research-summary strong { margin-top: 7px; font-size: 18px; letter-spacing: -.02em; }
.supporting-research-summary > span:last-child {
  color: var(--muted);
  font-size: 10px;
}
.supporting-research-summary:after {
  content: "+";
  flex: 0 0 auto;
  font-size: 22px;
  font-weight: 300;
}
.supporting-research[open] .supporting-research-summary:after { content: "−"; }
.supporting-research-body {
  padding: 0 0 62px;
}
.supporting-research .evidence-condition-grid {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
}
.supporting-research .research-heading { margin-top: 40px; }
.supporting-research .consolidated-source-receipt { margin-top: 16px; }

.briefing-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 15px;
}
.briefing-heading h3 { margin: 7px 0 0; font-size: 20px; letter-spacing: -.025em; }
.briefing-heading small { color: var(--muted); font-size: 10px; }
.briefing-card-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.briefing-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.briefing-card:not(details) {
  display: flex;
  flex-direction: column;
}
.briefing-visual {
  position: relative;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 21px;
  overflow: hidden;
  background: #74746f;
}
.briefing-visual:after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 20% 0 0;
  pointer-events: none;
  background: linear-gradient(transparent, rgba(0,0,0,.76));
}
.briefing-visual > * { position: relative; z-index: 1; }
.briefing-visual > .briefing-photo {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 0;
  inset: 0;
  object-fit: cover;
}
.briefing-visual > span {
  display: block;
  color: rgba(255,255,255,.9);
  font-size: 11px;
  font-weight: 700;
}
.briefing-visual > strong {
  display: block;
  margin: 8px 0 0;
  color: #fff;
  font-size: clamp(28px, 2.6vw, 36px);
  line-height: 1;
  letter-spacing: -.045em;
  text-shadow: 0 1px 8px rgba(0,0,0,.28);
}
.briefing-copy { padding: 20px 21px 18px; }
.briefing-copy h4,
.briefing-copy > strong {
  display: block;
  margin: 0;
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: -.018em;
}
.briefing-next {
  margin-top: auto;
  padding: 15px 21px 17px;
  border-top: 1px solid var(--line-light);
}
.briefing-next strong { display: block; font-size: 12px; line-height: 1.4; }

.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 28px; gap: 20px; }
.estimate-pill { background: #fbf3e5; color: var(--amber); }
.site-study {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}
.site-study-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 20px 22px;
  background: #fff;
}
.site-study-toolbar > div:first-child strong,
.site-study-toolbar > div:first-child span { display: block; }
.site-study-toolbar > div:first-child strong { font-size: 16px; letter-spacing: -.015em; }
.site-study-toolbar > div:first-child span { margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.site-study-toolbar > .evidence-state { flex: 0 0 auto; }
.site-study-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.site-study-action {
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 650;
}
.site-study-action:hover { border-color: #a9a9a5; background: #f8f8f7; }
.site-aerial {
  height: 440px;
  position: relative;
  z-index: 0;
  isolation: isolate;
  overflow: hidden;
  background: #d4d8d1;
}
#potentialMap { width: 100%; height: 100%; filter: saturate(.72) contrast(.96) brightness(.94); }
.site-aerial .leaflet-control-attribution {
  padding: 2px 5px !important;
  background: rgba(255,255,255,.72) !important;
  color: #626262 !important;
  font-size: 7px !important;
}
.site-aerial .leaflet-control-container .leaflet-top {
  top: 12px;
}
.site-concept-dialog {
  width: min(760px, calc(100vw - 32px));
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 26px 80px rgba(0,0,0,.28);
}
.site-concept-dialog::backdrop { background: rgba(18,18,17,.48); backdrop-filter: blur(3px); }
.site-concept-dialog-heading { display: flex; align-items: start; justify-content: space-between; gap: 18px; padding: 28px 30px 22px; }
.site-concept-dialog-heading h2 { max-width: 560px; margin: 8px 0 7px; font-size: clamp(28px, 4vw, 40px); line-height: 1.02; letter-spacing: -.045em; }
.site-concept-dialog-heading p { max-width: 580px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.site-concept-map-wrap { height: 340px; position: relative; margin: 0 20px; overflow: hidden; border-radius: 16px; background: #d4d8d1; }
#siteConceptMap { width: 100%; height: 100%; filter: saturate(.72) contrast(.98) brightness(.94); }
.site-concept-map-label { position: absolute; z-index: 500; left: 14px; bottom: 14px; padding: 8px 10px; border-radius: 7px; background: rgba(25,25,24,.84); color: #fff; font-size: 11px; font-weight: 650; }
.site-concept-steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0; padding: 22px 30px 14px; }
.site-concept-steps article { min-width: 0; padding: 0 16px; border-left: 1px solid var(--line); }
.site-concept-steps article:first-child { padding-left: 0; border-left: 0; }
.site-concept-steps span { display: inline-grid; width: 20px; height: 20px; place-items: center; border-radius: 50%; background: #f3f3f1; font-size: 11px; font-weight: 700; }
.site-concept-steps strong { display: block; margin-top: 10px; font-size: 14px; line-height: 1.25; }
.site-concept-steps p { margin: 6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.site-concept-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 8px 30px 28px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.lot-data {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0 10px;
  background: #fff;
}
.lot-data div { padding: 20px 15px; border-right: 1px solid var(--line-light); }
.lot-data div:last-child { border: 0; }
.lot-data span, .lot-data strong { display: block; }
.lot-data span { color: var(--muted); font-size: 11px; }
.lot-data strong { margin-top: 6px; font-size: 16px; letter-spacing: -.015em; }
.potential-callout {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  align-items: center;
  padding: 22px 24px;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.potential-callout div { border-right: 1px solid var(--line); }
.potential-callout span { display: block; font-size: 30px; font-weight: 750; letter-spacing: -.04em; }
.potential-callout small { display: block; max-width: 145px; margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.35; }
.potential-callout p { margin: 0; color: #3f3f3c; font-size: 14px; line-height: 1.55; }
.potential-priority-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.potential-priority-row article {
  min-width: 0;
  padding: 22px 22px 22px 0;
  border-right: 1px solid var(--line);
}
.potential-priority-row article + article { padding-left: 22px; }
.potential-priority-row article:last-child { border-right: 0; }
.possibility-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.potential-path-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}
.path-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .01em;
}
.path-outcome {
  display: block;
  margin-top: 16px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1;
  letter-spacing: -.045em;
}
.potential-path-card h3 { margin: 24px 0 8px; font-size: 17px; letter-spacing: -.018em; }
.potential-path-card > p { max-width: 420px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.path-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
}
.path-footer span { color: var(--muted); font-size: 11px; }
.path-footer strong { max-width: 58%; font-size: 12px; line-height: 1.35; text-align: right; }
.next-step-card {
  margin-top: 30px;
  overflow: hidden;
  border-radius: 20px;
  background: #20211f;
  color: #fff;
}

.next-step-lead { padding: 30px 30px 24px; }
.next-step-lead .section-label { color: rgba(255,255,255,.6); }
.next-step-card h3 { max-width: 620px; margin: 10px 0 0; font-size: 28px; line-height: 1.17; letter-spacing: -.035em; }
.next-step-lead > p { margin: 10px 0 0; color: rgba(255,255,255,.65); font-size: 13px; line-height: 1.5; }
.next-step-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0 30px 28px;
  list-style: none;
}
.next-step-list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  padding: 18px 20px 18px 0;
  border-top: 1px solid rgba(255,255,255,.18);
}
.next-step-list li + li { padding-left: 20px; border-left: 1px solid rgba(255,255,255,.18); }
.next-step-list b {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  font-size: 10px;
}
.next-step-list strong,
.next-step-list span { display: block; }
.next-step-list strong { font-size: 13px; line-height: 1.35; }
.next-step-list span { margin-top: 5px; color: rgba(255,255,255,.58); font-size: 11px; line-height: 1.4; }

.comps-heading {
  margin-bottom: 30px;
}

.comp-read {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 10px 28px;
  padding: 27px 28px;
  border-radius: 18px;
  background: #f3f1ec;
}

.comp-read > span {
  grid-row: 1 / span 2;
  padding-top: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
}

.comp-read > strong {
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -.025em;
}

.comp-read > p {
  max-width: 680px;
  margin: 0;
  color: #555550;
  font-size: 12px;
  line-height: 1.55;
}

.comp-card-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.comp-card {
  min-width: 0;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}

.comp-card:hover {
  border-color: #a9a9a4;
}

.comp-card:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.comp-card-kicker {
  width: max-content;
  padding: 6px 8px;
  border-radius: 999px;
  background: #f0f0ed;
  color: #575752;
  font-size: 9px;
  font-weight: 750;
}

.comp-card h3 {
  margin: 24px 0 0;
  font-size: 18px;
  letter-spacing: -.02em;
}

.comp-card-place {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

.comp-sale-price {
  display: block;
  margin-top: 25px;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -.045em;
}

.comp-facts {
  margin: 9px 0 0;
  color: #545450;
  font-size: 10px;
  line-height: 1.45;
}

.comp-lesson {
  margin: auto 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
  color: #3f3f3b;
  font-size: 12px;
  line-height: 1.48;
}

.comp-source {
  margin-top: 17px;
  font-size: 10px;
  font-weight: 700;
}

.property-record-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, .65fr);
  gap: 14px;
  margin-top: 14px;
}

.transaction-card,
.grandfather-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.transaction-card {
  padding: 25px 26px 12px;
}

.transaction-card > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  padding-bottom: 18px;
}

.transaction-card h3 {
  margin: 8px 0 0;
  font-size: 19px;
  letter-spacing: -.025em;
}

.transaction-card > header > a {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.transaction-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.transaction-timeline li {
  min-height: 67px;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border-top: 1px solid var(--line-light);
}

.transaction-timeline time {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.transaction-timeline strong,
.transaction-timeline small {
  display: block;
}

.transaction-timeline strong {
  font-size: 12px;
}

.transaction-timeline small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
}

.transaction-timeline > li > span {
  font-size: 12px;
  font-weight: 750;
}

.grandfather-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  background: #292a27;
  color: #fff;
}

.grandfather-card .section-label {
  color: rgba(255,255,255,.55);
}

.grandfather-card > strong {
  display: block;
  margin-top: 25px;
  font-size: 25px;
  line-height: 1.12;
  letter-spacing: -.04em;
}

.grandfather-card > p {
  margin: 14px 0 0;
  color: rgba(255,255,255,.67);
  font-size: 12px;
  line-height: 1.55;
}

.grandfather-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: auto;
  padding-top: 26px;
}

.grandfather-actions a {
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}

.research-land-visual,
.research-water-visual,
.research-records-visual {
  justify-content: space-between;
  min-height: 190px;
  background: #42453f;
}
.research-water-visual { background: #526268; }
.research-records-visual { background: #5e564e; }
.research-land-visual:after,
.research-water-visual:after,
.research-records-visual:after { display: none; }
.research-land-visual > strong,
.research-water-visual > strong,
.research-records-visual > strong {
  max-width: 220px;
  text-shadow: none;
}

.scan-lede { max-width: 700px; }
.research-heading { margin-top: 31px; }
.insight-receipt {
  min-width: 0;
  overflow: hidden;
}
.insight-receipt[open] { grid-column: 1 / -1; background: #fff; }
.insight-receipt > summary {
  position: relative;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  cursor: pointer;
  list-style: none;
}
.insight-receipt > summary::-webkit-details-marker { display: none; }
.insight-receipt > summary:after {
  content: "+";
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.88);
  color: var(--ink);
  font-size: 17px;
  font-weight: 400;
  box-shadow: 0 1px 5px rgba(0,0,0,.08);
}
.insight-receipt[open] > summary:after { content: "−"; }
.insight-receipt > summary .briefing-visual,
.insight-receipt > summary .briefing-copy,
.insight-receipt > summary .briefing-next { width: 100%; box-sizing: border-box; }
.insight-receipt[open] > summary {
  min-height: 245px;
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr);
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}
.insight-receipt[open] > summary .briefing-visual { grid-row: 1 / 3; min-height: 245px; }
.insight-receipt[open] > summary .briefing-copy { align-self: end; padding: 28px 32px 18px; }
.insight-receipt[open] > summary .briefing-next { align-self: start; margin: 0; padding: 15px 32px 26px; }
.insight-receipt .signal-table { margin: 0 21px 18px; }
.signal-table { border-top: 0; }
.signal-group-title {
  display: flex;
  justify-content: space-between;
  padding: 17px 0 10px;
  border-bottom: 1px solid var(--line-light);
}
.signal-group-title span { font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }
.signal-group-title small { color: var(--muted); font-size: 10px; }
.signal-table article {
  min-height: 103px;
  display: grid;
  grid-template-columns: 14px minmax(0,1fr) 170px;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid var(--line-light);
}
.signal-dot { width: 8px; height: 8px; border-radius: 50%; background: #c6c6c6; }
.signal-dot.screen { background: #5a7193; }
.signal-dot.positive { background: var(--green); }
.signal-dot.open { background: #c79438; }
.signal-table article > div > strong { display: block; font-size: 13px; }
.signal-table article > div > p { margin: 6px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.signal-result { text-align: right; }
.signal-result strong { font-size: 11px; }
.signal-result a, .signal-result span { display: block; margin-top: 6px; color: var(--muted); font-size: 10px; font-weight: 650; }

.proximity-list {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 10px;
  margin-bottom: 12px;
}
.proximity-list article {
  min-width: 0;
  min-height: 118px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.proximity-list span, .proximity-list small { display: block; color: var(--muted); font-size: 9px; }
.proximity-list strong { display: block; margin: 10px 0 5px; font-size: 17px; }
.proximity-list small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.proximity-note { margin: 0 0 18px; color: var(--muted); font-size: 10px; line-height: 1.45; }

.map-frame {
  height: 410px;
  position: relative;
  z-index: 0;
  isolation: isolate;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #eef1ef;
}
#propertyMap { width: 100%; height: 100%; }
.hero-map-card .leaflet-control-attribution,
.map-frame .leaflet-control-attribution {
  padding: 2px 5px !important;
  background: rgba(255,255,255,.76) !important;
  color: #777 !important;
  font-size: 7px !important;
}
.detail-map-pin {
  width: 18px;
  height: 18px;
  display: block;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}

.related-section {
  padding-bottom: 22px;
  border-bottom: 0;
}

.related-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.related-heading > span {
  color: var(--muted);
  font-size: 10px;
}

.related-property-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(210px, 240px);
  gap: 14px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.related-property-rail::-webkit-scrollbar {
  display: none;
}

.related-property-card {
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  scroll-snap-align: start;
}

.related-card-media {
  aspect-ratio: 1.22;
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 15px;
  background: #eee;
}

.related-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .2s ease;
}

.related-property-card:hover .related-card-media img {
  transform: scale(1.018);
}

.related-card-media > span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  font-size: 9px;
  font-weight: 700;
}

.related-card-copy {
  display: block;
  padding: 11px 2px 0;
}

.related-card-copy strong,
.related-card-copy small,
.related-card-copy em {
  display: block;
}

.related-card-copy strong {
  font-size: 14px;
  line-height: 1.25;
}

.related-card-copy small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
}

.related-card-copy em {
  margin-top: 9px;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}

.related-property-card:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 5px;
  border-radius: 15px;
}

.source-receipt {
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.source-receipt > summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 21px 22px;
  cursor: pointer;
  list-style: none;
}
.source-receipt > summary::-webkit-details-marker { display: none; }
.source-receipt > summary strong { font-size: 14px; }
.source-receipt > summary span { color: var(--muted); font-size: 11px; }
.source-list { border-top: 1px solid var(--line); }
.source-list { padding: 0 22px 8px; }
.source-list article {
  min-height: 95px;
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 16px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.source-kind { width: max-content; padding: 6px 8px; border-radius: 16px; font-size: 9px; font-weight: 750; }
.source-kind.verified { background: #eaf5f0; color: var(--green); }
.source-kind.reported { background: #f0f0ee; color: #5f5f5b; }
.source-kind.official { background: #eef1f7; color: #4f6283; }
.source-kind.modeled { background: #fbf3e5; color: var(--amber); }
.source-list strong { display: block; font-size: 13px; }
.source-list p { margin: 5px 0 0; color: var(--muted); font-size: 11px; line-height: 1.4; }
.source-list b, .source-list a, .source-list button { color: var(--muted); font-size: 11px; font-weight: 650; }
.source-list button { border: 0; background: none; text-decoration: underline; }

.deal-card {
  position: sticky;
  top: 92px;
  height: min(420px, calc(100vh - 108px));
  min-height: 0;
  margin-top: 0;
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,.045), 0 8px 30px rgba(0,0,0,.08);
  perspective: 1600px;
}
.deal-property-anchor {
  height: 88px;
  position: relative;
  display: block;
  padding: 0;
  overflow: hidden;
  background: #777;
}
.deal-property-anchor:after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 20% 0 0;
  background: linear-gradient(transparent, rgba(0,0,0,.72));
}
.deal-property-anchor img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  display: block;
  object-fit: cover;
  background: #eee;
}
.deal-property-title {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  bottom: 14px;
}
.deal-property-anchor strong,
.deal-property-anchor span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.deal-property-anchor strong { color: #fff; font-size: 17px; line-height: 1.1; letter-spacing: -.02em; text-shadow: 0 1px 8px rgba(0,0,0,.3); }
.deal-property-anchor span { display: none; }
.deal-property-anchor.no-image { background: var(--ink); }
.deal-card-inner {
  height: calc(100% - 88px);
  min-height: 0;
  position: relative;
  transform-style: preserve-3d;
  transition: transform .18s ease-out;
}
.deal-card.adjusting .deal-card-inner { transform: rotateY(180deg); }
.deal-card-face {
  position: absolute;
  inset: 0;
  padding: 18px 20px 17px;
  border: 0;
  border-radius: 0 0 16px 16px;
  background: #fff;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow-y: auto;
  scrollbar-width: none;
}
.deal-card-face::-webkit-scrollbar { display: none; }
.deal-card-back { transform: rotateY(180deg); }
.deal-control-panel {
  overflow: visible;
  border: 0;
  border-radius: 0;
}
.deal-strategy-picker {
  position: relative;
  min-height: 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 8px 42px 8px 14px;
  border-radius: 12px;
  background: var(--soft);
}
.deal-strategy-picker:after {
  content: "";
  position: absolute;
  top: 17px;
  right: 17px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
  pointer-events: none;
}
.deal-strategy-picker > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}
.deal-strategy-picker select {
  appearance: none;
  -webkit-appearance: none;
  width: 116px;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
  text-align: right;
  text-align-last: right;
  cursor: pointer;
}
.deal-strategy-picker select:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.deal-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 14px;
}
.deal-summary > div:first-child > span { display: block; margin-bottom: 4px; color: var(--muted); font-size: 10px; }
.deal-score {
  min-width: 52px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: right;
}
.deal-score span,
.deal-score strong { display: block; }
.deal-score span { color: var(--muted); font-size: 9px; }
.deal-score strong { margin-top: 4px; font-size: 23px; line-height: 1; letter-spacing: -.04em; }
.deal-card h2 { margin: 0; font-size: 19px; line-height: 1.16; letter-spacing: -.028em; }
.deal-card-back > p { margin: 9px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.deal-outcome {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin: 12px 0 0;
  border: 0;
}
.deal-outcome div { min-width: 0; padding: 12px 13px; border-radius: 12px; background: var(--soft); }
.deal-outcome div + div { border-left: 0; }
.deal-outcome span, .deal-outcome strong { display: block; }
.deal-outcome span { color: var(--muted); font-size: 10px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.deal-outcome strong { margin-top: 5px; font-size: 20px; letter-spacing: -.03em; }
.deal-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 18px;
  margin: 12px 0 0;
  border-top: 1px solid var(--line-light);
}
.deal-metrics div {
  min-width: 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 0 8px;
  border-top: 0;
  border-bottom: 1px solid var(--line-light);
  background: transparent;
}
.deal-metrics div:nth-child(odd) { border-right: 0; }
.deal-metrics span,
.deal-metrics strong { display: block; }
.deal-metrics span { color: var(--muted); font-size: 9px; white-space: nowrap; }
.deal-metrics strong { margin-top: 0; overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.score-receipt {
  margin-top: 11px;
  border-bottom: 1px solid var(--line-light);
}
.score-receipt > summary {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 1px;
  cursor: pointer;
  list-style: none;
}
.score-receipt > summary::-webkit-details-marker { display: none; }
.score-receipt > summary span { color: var(--muted); font-size: 9px; }
.score-receipt > summary strong { font-size: 10px; }
.score-receipt > summary:after {
  content: "+";
  color: var(--muted);
  font-size: 14px;
}
.score-receipt[open] > summary:after { content: "−"; }
.score-driver-list { padding: 1px 0 8px; }
.score-driver-list p {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 8px;
  margin: 0;
  padding: 7px 0;
  border-top: 1px solid var(--line-light);
}
.score-driver-list span {
  color: var(--muted);
  font-size: 9px;
}
.score-driver-list strong {
  font-size: 10px;
  line-height: 1.35;
}
.score-driver-list .positive strong { color: var(--green); }
.score-driver-list .negative strong { color: #805b22; }
.deal-card .primary-button { width: 100%; height: 48px; border-radius: 999px; }
.model-card-heading { display: flex; justify-content: space-between; align-items: start; margin-bottom: 8px; }
.model-card-heading span { color: var(--accent-dark); font-size: 9px; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }
.model-card-heading h2 { margin-top: 6px; }
.model-card-heading button,
.mobile-deal-close {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  font-size: 19px;
}
.mobile-deal-close {
  display: none;
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 12px;
  border-color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.92);
}
.deal-adjust-form { margin-top: 16px; border-top: 1px solid var(--line); }
.deal-adjust-form label { display: grid; grid-template-columns: 1fr auto; gap: 7px; padding: 13px 0; border-bottom: 1px solid var(--line-light); }
.deal-adjust-form label > span { color: var(--muted); font-size: 10px; }
.deal-adjust-form output { font-size: 11px; font-weight: 750; }
.deal-adjust-form input { grid-column: 1 / -1; width: 100%; accent-color: var(--accent); }
.model-card-result { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px 0; }
.model-card-result span, .model-card-result strong { display: block; }
.model-card-result span { color: var(--muted); font-size: 9px; }
.model-card-result strong { margin-top: 4px; font-size: 21px; }
.model-backdrop { display: none; }

.photo-tour-dialog {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #fff;
  color: var(--ink);
}
.photo-tour-dialog::backdrop { background: rgba(0,0,0,.28); }
.photo-tour-dialog[open] { display: block; }
.photo-tour-header {
  position: sticky;
  z-index: 6;
  top: 0;
  height: 80px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 48px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
}
.photo-tour-back,
.photo-tour-share {
  border: 0;
  background: transparent;
  color: var(--ink);
}
.photo-tour-back {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid #d8d8d8;
  border-radius: 50%;
  font-size: 18px;
}
.photo-tour-heading { min-width: 0; text-align: center; }
.photo-tour-heading strong,
.photo-tour-heading span { display: block; }
.photo-tour-heading strong { font-size: 14px; }
.photo-tour-heading span {
  max-width: 420px;
  margin-top: 3px;
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.photo-tour-share {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 4px;
  font-size: 12px;
  font-weight: 700;
}
.photo-tour-content {
  width: min(1380px, calc(100% - 80px));
  margin: 0 auto;
  padding: 58px 0 120px;
}
.photo-tour-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
}
.photo-tour-title-row h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -.035em;
}
.photo-tour-title-row span { color: var(--muted); font-size: 11px; }
.photo-tour-index {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 180px));
  gap: 14px;
  margin-top: 34px;
}
.photo-tour-index button {
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}
.photo-tour-index img {
  width: 100%;
  aspect-ratio: 1.55;
  display: block;
  object-fit: cover;
  border-radius: 9px;
  background: #eee;
}
.photo-tour-index strong {
  display: block;
  margin-top: 9px;
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.photo-tour-index small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
}
.photo-tour-groups {
  display: grid;
  gap: 94px;
  margin-top: 86px;
}
.photo-tour-section {
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
  gap: 72px;
  scroll-margin-top: 110px;
}
.photo-tour-section-heading {
  position: sticky;
  top: 112px;
  align-self: start;
}
.photo-tour-section-heading h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -.025em;
}
.photo-tour-section-heading p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 10px;
}
.photo-tour-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.photo-tour-photo {
  min-width: 0;
  padding: 0;
  border: 0;
  background: #eee;
  overflow: hidden;
}
.photo-tour-photo.wide { grid-column: 1 / -1; }
.photo-tour-photo img {
  width: 100%;
  aspect-ratio: 1.38;
  display: block;
  object-fit: cover;
  transition: transform .25s ease;
}
.photo-tour-photo.portrait img { aspect-ratio: .9; }
.photo-tour-photo.wide img { aspect-ratio: 1.78; }
.photo-tour-photo:hover img { transform: scale(1.012); }

.gallery-dialog {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #111;
  color: #fff;
  overscroll-behavior: none;
}
.gallery-dialog::backdrop { background: #111; }
.gallery-dialog[open] {
  display: grid;
  grid-template-rows: 80px minmax(0, 1fr) auto;
  place-items: stretch;
  overflow: hidden;
}
.gallery-topbar {
  position: relative;
  z-index: 3;
  height: 80px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 48px;
}
.gallery-close,
.gallery-share,
.gallery-arrow {
  border: 0;
  background: transparent;
  color: #fff;
}
.gallery-close {
  justify-self: start;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0 0 2px;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  font-size: 18px;
}
.gallery-share {
  justify-self: end;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  font-size: 18px;
}
.gallery-arrow {
  position: fixed;
  z-index: 2;
  top: 50%;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 50%;
  font-size: 34px;
  font-weight: 300;
}
.gallery-arrow.previous { left: 34px; }
.gallery-arrow.next { right: 34px; }
.gallery-position { font-size: 12px; letter-spacing: .02em; }
.gallery-stage {
  min-width: 0;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
}
.gallery-stage > img {
  width: min(1180px, 76vw);
  height: 100%;
  max-height: 760px;
  display: block;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform .18s ease;
}
.gallery-stage.zoomed {
  overflow: auto;
  touch-action: pan-x pan-y pinch-zoom;
}
.gallery-stage.zoomed > img {
  transform: scale(2);
  cursor: zoom-out;
}
.gallery-bottom {
  position: relative;
  z-index: 3;
  min-width: 0;
  padding: 18px 48px 28px;
  background: linear-gradient(to bottom, rgba(17,17,17,.15), #111 24%);
}
.gallery-caption {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto 14px;
}
.gallery-caption strong,
.gallery-caption span { display: block; }
.gallery-caption strong { font-size: 14px; line-height: 1.25; }
.gallery-caption span { margin-top: 3px; color: rgba(255,255,255,.62); font-size: 10px; }
.gallery-caption button {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.gallery-filmstrip {
  max-width: 1180px;
  display: flex;
  gap: 8px;
  margin: 0 auto;
  padding: 2px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.gallery-filmstrip::-webkit-scrollbar { display: none; }
.gallery-filmstrip button {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 9px;
  background: #333;
  opacity: .48;
}
.gallery-filmstrip button.active {
  border-color: #fff;
  opacity: 1;
}
.gallery-filmstrip img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.mobile-action { display: none; }
.toast {
  position: fixed;
  z-index: 80;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  opacity: 0;
  pointer-events: none;
  font-size: 12px;
  transition: .2s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.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; }
[hidden] { display: none !important; }

@media (max-width: 1020px) {
  .app-header { padding: 0 28px; }
  .explore-header-search { width: min(500px, 52vw); }
  .explore-body { grid-template-columns: minmax(390px, 52%) 1fr; }
  .explore-property-list { grid-template-columns: 1fr; gap: 24px; }
  .explore-card { display: grid; grid-template-columns: 176px minmax(0, 1fr); gap: 15px; }
  .explore-card-thumb { height: 176px; aspect-ratio: auto; }
  .explore-card-content { padding-top: 2px; }
  .property-layout { grid-template-columns: minmax(0,1fr) 300px; gap: 20px; }
  .property-content { padding-right: 24px; padding-left: 24px; }
  .photo-gallery { height: 460px; }
  .briefing-card-row {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(250px, 1fr);
    overflow-x: auto;
    padding-bottom: 5px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .briefing-card-row::-webkit-scrollbar { display: none; }
  .briefing-card { scroll-snap-align: start; }
  .insight-receipt[open] { grid-column: auto; width: min(760px, calc(100vw - 56px)); }
}

@media (max-width: 780px) {
  .watch-link { height: 36px; padding: 0 12px; border-radius: 18px; font-size: 12px; }
  .search-active .share-button,
  .explore-active .share-button { display: none; }
  .watch-active .explore-header-search,
  .watch-active .share-button { display: none; }
  .watch-view { width: auto; margin: 0; padding: 38px 22px 88px; }
  .watch-hero { grid-template-columns: 1fr; gap: 30px; padding-bottom: 40px; }
  .watch-hero h1 { margin-top: 14px; font-size: clamp(43px, 13vw, 62px); }
  .watch-hero p { font-size: 16px; }
  .watch-status-card { padding: 18px; }
  .watch-layout { grid-template-columns: 1fr; gap: 32px; margin-top: 36px; }
  .watch-section-heading { align-items: start; flex-direction: column; gap: 5px; }
  .watch-section-heading h2, .watch-settings h2 { font-size: 24px; }
  .watch-section-heading p { margin: 0; }
  .watch-opportunity { grid-template-columns: 94px minmax(0, 1fr); gap: 12px; padding: 10px; }
  .watch-opportunity > img { width: 94px; height: 100%; min-height: 108px; }
  .watch-opportunity-title h3 { font-size: 17px; }
  .watch-opportunity-main > p { display: -webkit-box; overflow: hidden; margin: 6px 0 9px; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 12px; }
  .watch-opportunity-meta { gap: 4px 9px; font-size: 11px; }
  .watch-opportunity > button { grid-column: 2; justify-self: start; font-size: 12px; }
  .watch-settings { padding: 20px; }
  .watch-footnote { margin-top: 38px; }
  body { padding-bottom: 76px; }
  .app-header { height: 64px; padding: 0 18px; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; }
  .explore-active .explore-header-search { display: none; }
  .about-link {
    height: 36px;
    padding: 0 14px;
    border-radius: 18px;
    font-size: 12px;
  }
  .about-active .app-header {
    position: sticky;
    height: 64px;
    border-bottom: 1px solid var(--line-light);
    background: rgba(255,255,255,.97);
  }
  .about-active .explore-header-search,
  .about-active .share-button {
    display: none;
  }
  .about-view {
    padding: 42px 22px 112px;
  }
  .about-hero {
    text-align: left;
    margin-bottom: 46px;
  }
  .about-hero h1 {
    font-size: clamp(50px, 17vw, 78px);
    line-height: .96;
  }
  .about-hero p {
    margin-top: 20px;
    font-size: 21px;
    line-height: 1.3;
  }
  .about-image-strip {
    display: flex;
    gap: 10px;
    margin: -20px -22px 54px;
    padding: 0 22px 4px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .about-image-strip::-webkit-scrollbar { display: none; }
  .about-image-strip figure,
  .about-image-strip figure:first-child,
  .about-image-strip figure:not(:first-child) {
    width: 76vw;
    height: 255px;
    flex: 0 0 auto;
    align-self: auto;
    scroll-snap-align: center;
    border-radius: 20px;
  }
  .about-manifesto,
  .about-framework,
  .about-proof-grid,
  .about-principle-list {
    grid-template-columns: 1fr;
  }
  .about-manifesto {
    gap: 34px;
    margin-bottom: 54px;
    padding-top: 34px;
  }
  .about-statement,
  .about-framework article,
  .about-proof,
  .about-principles,
  .about-close {
    border-radius: 0;
  }
  .about-statement {
    min-height: 0;
    padding: 0;
  }
  .about-statement h2,
  .about-section-heading h2,
  .about-close h2 {
    font-size: 38px;
    line-height: 1.08;
  }
  .about-statement p,
  .about-section-heading p,
  .about-principle-list p,
  .about-close p {
    font-size: 16px;
    line-height: 1.5;
  }
  .about-framework {
    margin-bottom: 58px;
    border-bottom: 0;
  }
  .about-framework article {
    min-height: 0;
    padding: 26px 0 30px;
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }
  .about-framework h3,
  .about-proof-grid h3 {
    margin-top: 32px;
    font-size: 25px;
  }
  .about-proof,
  .about-principles,
  .about-close {
    padding: 0;
  }
  .about-proof-grid article {
    min-height: 0;
    padding: 24px 0 26px;
  }
  .about-close {
    min-height: 0;
    margin-top: 58px;
    padding-top: 34px;
  }
  .analysis-active .brand { display: none; }
  .analysis-active .explore-header-search {
    width: 100%;
    height: 42px;
    padding: 3px 3px 3px 13px;
    border-radius: 22px;
    box-shadow: none;
  }
  .analysis-active .explore-header-search input { font-size: 11px; }
  .analysis-active .explore-header-submit { width: 34px; height: 34px; font-size: 17px; }
  .analysis-active .header-actions { grid-column: 3; }
  .analysis-active .share-button { width: 38px; height: 38px; }
  .brand { font-size: 24px; }
  .explore-view { height: auto; min-height: calc(100vh - 64px); overflow: visible; }
  .explore-topbar { display: block; height: auto; min-height: 0; padding: 27px 18px 13px; }
  .explore-controls { display: block; }
  .explore-search { width: 100%; margin-bottom: 12px; display: grid; }
  .explore-mobile-switch {
    display: flex;
    gap: 4px;
    position: sticky;
    z-index: 15;
    top: 64px;
    padding: 7px 18px;
    border-bottom: 1px solid var(--line-light);
    background: rgba(255,255,255,.96);
  }
  .explore-mobile-switch button { flex: 1; height: 38px; border: 0; border-radius: 8px; background: transparent; font-size: 11px; font-weight: 700; }
  .explore-mobile-switch button.active { background: var(--ink); color: #fff; }
  .explore-body { height: auto; display: block; }
  .explore-list-pane { padding: 20px 18px 90px; overflow: visible; }
  .explore-list-heading { align-items: start; }
  .explore-property-list { grid-template-columns: 1fr; gap: 24px; }
  .explore-card { grid-template-columns: 126px minmax(0, 1fr); gap: 12px; padding: 0 0 18px; border-bottom: 1px solid var(--line-light); border-radius: 0; }
  .explore-card-thumb { height: 150px; border-radius: 13px; }
  .explore-card-heading h2 { font-size: 15px; }
  .explore-card-read { margin-top: 9px; }
  .explore-card-read p { grid-template-columns: 50px minmax(0, 1fr); font-size: 9px; }
  .explore-map-pane { display: none; height: calc(100vh - 229px); min-height: 480px; }
  .explore-body.map-mode .explore-list-pane { display: none; }
  .explore-body.map-mode .explore-map-pane { display: block; }
  #exploreMap { width: 100%; height: 100%; margin: 0; border-radius: 0; }
  .explore-map-pane .leaflet-top.leaflet-left { top: 10px; right: auto; left: 10px; }
  .property-search { height: 64px; grid-template-columns: 24px 1fr auto; padding-left: 18px; }
  .property-search input { font-size: 14px; }
  .property-search button { height: 50px; padding: 0 18px; }
  .home-entry { padding: 20px 16px 22px; }
  .home-entry .property-search {
    height: 56px;
    grid-template-columns: 19px minmax(0, 1fr) 42px;
    gap: 10px;
    padding: 6px 7px 6px 17px;
  }
  .home-entry .property-search > input { font-size: 14px; }
  .home-entry .property-search button { width: 42px; height: 42px; }
  .home-shelves { gap: 40px; padding: 30px 0 68px; }
  .shelf-heading { padding: 0 18px; margin-bottom: 16px; }
  .shelf-heading h2 { font-size: 19px; }
  .shelf-row {
    grid-auto-columns: minmax(210px, 72vw);
    gap: 12px;
    padding: 0 18px 5px;
  }
  .home-card-media { border-radius: 14px; }
  .home-all-properties {
    margin: 0 18px;
    padding-top: 0;
  }
  .home-all-properties button { flex: 0 0 auto; padding: 0 13px; }

  .analysis-active main { background: #fff; }
  .analysis-view { padding: 16px 12px 30px; }
  .property-content {
    padding: 0;
    overflow: visible;
    border-radius: 0;
    box-shadow: none;
  }
  .property-hero-card { border-radius: 0; }
  .property-title-row { align-items: start; padding: 8px 4px 17px; }
  .property-title-row h1 { font-size: 29px; }
  .property-title-row .price-fact { text-align: right; }
  .price-fact strong { font-size: 21px; }
  .property-hero-media { display: block; padding: 0 6px; }
  .photo-gallery {
    height: 300px;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 222px 74px;
    gap: 4px;
    border-radius: 14px;
  }
  .photo-main { grid-column: 1/-1; grid-row: 1; }
  .photo-side:last-child { grid-column: auto; }
  .photo-count { right: 6px; bottom: 6px; padding: 7px; font-size: 9px; }
  .hero-map-card { height: 190px; margin-top: 6px; border-radius: 14px; }
  .property-factbar {
    grid-template-columns: repeat(5,1fr);
    min-height: 78px;
    gap: 0;
  }
  .fact { padding: 0 4px; text-align: center; }
  .fact:first-of-type { border-left: 0; }
  .fact strong { font-size: 14px; }
  .fact span { font-size: 8px; }
  .property-layout { display: block; }
  .deal-card { display: none; }
  .deal-card.mobile-open {
    position: fixed;
    z-index: 1001;
    inset: 72px 12px auto;
    display: block;
    height: min(480px, calc(100vh - 92px));
    max-height: calc(100vh - 92px);
    min-height: 0;
    margin: 0;
    overflow: hidden;
    border-radius: 18px;
    perspective: 1400px;
  }
  .deal-card.mobile-open .deal-card-inner { height: calc(100% - 88px); min-height: 0; }
  .deal-card.mobile-open .deal-card-face { min-height: 0; }
  .deal-card.mobile-open .mobile-deal-close { display: grid; }
  .model-backdrop.visible {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: block;
    background: rgba(0,0,0,.42);
  }
  body.model-open { overflow: hidden; }
  .section-tabs { top: 64px; height: 56px; gap: 24px; overflow-x: auto; margin: 0 -12px; padding: 0 12px; scrollbar-width: none; }
  .content-section { padding: 47px 0; scroll-margin-top: 125px; }
  .content-section h2 { font-size: 28px; }
  .section-lede { font-size: 16px; }
  .decision-brief { grid-template-columns: 1fr; }
  .realization-strip {
    grid-template-columns: 1fr;
    border-radius: 16px;
  }
  .realization-strip article {
    padding: 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }
  .realization-strip article:last-child { border-bottom: 0; }
  .opportunity-card {
    grid-column: auto;
    grid-template-columns: 1fr;
  }
  .decision-card-body { padding: 22px; }
  .decision-card-value { font-size: 34px; }
  .risk-card,
  .verify-card { min-height: 0; }
  .evidence-condition-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(270px, 84vw);
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .evidence-condition-grid::-webkit-scrollbar { display: none; }
  .evidence-condition {
    min-height: 228px;
    scroll-snap-align: start;
  }
  .decision-image { min-height: 235px; }
  .supporting-research-summary {
    min-height: 96px;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 22px 28px 22px 0;
    position: relative;
  }
  .supporting-research-summary:after { position: absolute; top: 28px; right: 0; }
  .briefing-heading { align-items: start; }
  .briefing-heading small { display: none; }
  .briefing-card-row {
    padding-right: 12px;
    grid-auto-columns: minmax(274px, 84vw);
  }
  .briefing-visual { min-height: 190px; }
  .briefing-visual > strong { font-size: 31px; }
  .section-heading { align-items: start; }
  .estimate-pill { margin-top: 1px; font-size: 9px; }
  .site-study-toolbar { display: block; padding: 18px; }
  .site-study-toolbar > .evidence-state { margin-top: 14px; }
  .site-aerial { height: 330px; }
  .lot-data { grid-template-columns: 1fr 1fr; padding: 0; }
  .lot-data div { padding: 16px; border-bottom: 1px solid var(--line-light); }
  .lot-data div:nth-child(2) { border-right: 0; }
  .lot-data div:nth-child(3), .lot-data div:nth-child(4) { border-bottom: 0; }
  .potential-callout { grid-template-columns: 1fr; gap: 14px; }
  .potential-callout div { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
  .potential-priority-row {
    grid-template-columns: 1fr;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
  }
  .potential-priority-row article,
  .potential-priority-row article + article {
    padding: 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }
  .potential-priority-row article:last-child { border-bottom: 0; }
  .possibility-grid { grid-template-columns: 1fr; }
  .potential-path-card { min-height: 280px; padding: 22px; }
  .path-outcome { font-size: 32px; }
  .next-step-lead { padding: 25px 22px 20px; }
  .next-step-card h3 { font-size: 24px; }
  .next-step-list { grid-template-columns: 1fr; padding: 0 22px 20px; }
  .next-step-list li { padding: 16px 0; }
  .next-step-list li + li { padding-left: 0; border-left: 0; }
  .comp-read {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 22px;
  }
  .comp-read > span { grid-row: auto; padding-top: 0; }
  .comp-card-rail {
    grid-auto-flow: column;
    grid-auto-columns: minmax(250px, 80vw);
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    margin-right: -12px;
    padding-right: 12px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .comp-card-rail::-webkit-scrollbar { display: none; }
  .comp-card {
    min-height: 315px;
    scroll-snap-align: start;
  }
  .property-record-grid { grid-template-columns: 1fr; }
  .transaction-card { padding: 22px 20px 10px; }
  .transaction-card > header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .transaction-timeline li {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 10px;
  }
  .grandfather-card { min-height: 330px; padding: 24px; }
  .insight-receipt > summary { min-height: 330px; }
  .insight-receipt[open] { width: calc(100vw - 40px); }
  .insight-receipt[open] > summary {
    min-height: 0;
    display: flex;
  }
  .insight-receipt[open] > summary .briefing-visual { min-height: 190px; }
  .insight-receipt[open] > summary .briefing-copy { padding: 19px 20px 17px; }
  .insight-receipt[open] > summary .briefing-next { padding: 14px 20px 17px; }
  .insight-receipt .signal-table { margin: 0 18px 14px; }
  .signal-group-title small { display: none; }
  .signal-table article { grid-template-columns: 12px 1fr; gap: 10px; padding: 17px 0; }
  .signal-result { grid-column: 2; text-align: left; }
  .proximity-list { grid-template-columns: 1fr 1fr; }
  .proximity-list article { min-height: 108px; }
  .map-frame { height: 340px; }
  .related-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
  .related-heading > span {
    max-width: 260px;
    line-height: 1.4;
  }
  .related-property-rail {
    grid-auto-columns: minmax(238px, 78vw);
    margin-right: -12px;
    padding-right: 12px;
  }
  .source-receipt > summary { align-items: start; gap: 16px; }
  .source-list article { grid-template-columns: 70px 1fr; padding: 17px 0; }
  .source-list article > :last-child { grid-column: 2; justify-self: start; }
  .mobile-action {
    position: fixed;
    z-index: 900;
    left: 50%;
    bottom: calc(18px + env(safe-area-inset-bottom));
    display: block;
    transform: translateX(-50%);
    pointer-events: none;
    transition: opacity .16s ease, transform .16s ease;
  }
  .mobile-action .mobile-model-button {
    min-width: 0;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    background: #222;
    color: #fff;
    box-shadow: 0 8px 22px rgba(0,0,0,.2);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -.01em;
    pointer-events: auto;
  }
  .model-open .mobile-action {
    opacity: 0;
    transform: translate(-50%, 10px);
    pointer-events: none;
  }
  .photo-tour-header {
    height: 64px;
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    padding: 0 18px;
  }
  .photo-tour-back { width: 40px; height: 40px; }
  .photo-tour-share { width: 40px; justify-content: center; padding: 0; font-size: 17px; }
  .photo-tour-share span:last-child { display: none; }
  .photo-tour-heading span { max-width: 230px; }
  .photo-tour-content { width: 100%; padding: 34px 16px 90px; }
  .photo-tour-title-row h2 { font-size: 26px; }
  .photo-tour-index {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 138px;
    gap: 10px;
    margin: 24px -16px 0;
    padding: 0 16px 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .photo-tour-index::-webkit-scrollbar { display: none; }
  .photo-tour-groups { gap: 58px; margin-top: 54px; }
  .photo-tour-section { grid-template-columns: 1fr; gap: 20px; scroll-margin-top: 84px; }
  .photo-tour-section-heading { position: static; }
  .photo-tour-section-heading h3 { font-size: 20px; }
  .photo-tour-grid { gap: 4px; }
  .photo-tour-photo img,
  .photo-tour-photo.wide img { aspect-ratio: 1.08; }
  .photo-tour-photo.portrait img { aspect-ratio: .84; }
  .gallery-dialog[open] {
    grid-template-rows: calc(64px + env(safe-area-inset-top)) minmax(0, 1fr) auto;
  }
  .gallery-topbar {
    height: calc(64px + env(safe-area-inset-top));
    padding: env(safe-area-inset-top) 18px 0;
  }
  .gallery-close,
  .gallery-share {
    width: 44px;
    height: 44px;
    border: 0;
    background: rgba(255,255,255,.12);
    font-size: 23px;
  }
  .gallery-share { font-size: 18px; }
  .gallery-position { font-size: 13px; font-weight: 650; }
  .gallery-arrow { display: none; }
  .gallery-stage { width: 100vw; }
  .gallery-stage > img {
    width: 100vw;
    height: 100%;
    max-height: none;
  }
  .gallery-bottom {
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
    background: linear-gradient(to bottom, rgba(17,17,17,.08), #111 18%);
  }
  .gallery-caption {
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
  }
  .gallery-caption strong {
    max-width: 235px;
    overflow: hidden;
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .gallery-caption span { margin-top: 4px; font-size: 11px; }
  .gallery-caption button {
    min-height: 40px;
    flex: 0 0 auto;
    padding: 0 15px;
    font-size: 12px;
  }
  .gallery-filmstrip {
    gap: 7px;
    margin: 0 -16px;
    padding: 2px 16px;
  }
  .gallery-filmstrip button {
    width: 52px;
    height: 52px;
    border-radius: 8px;
  }

  /* Mobile property detail: image-led, editorial, and intentionally calm. */
  body { padding-bottom: calc(94px + env(safe-area-inset-bottom)); }
  .analysis-active .app-header {
    height: 82px;
    position: absolute;
    inset: 0 0 auto;
    grid-template-columns: 1fr auto;
    gap: 0;
    padding: 18px;
    border: 0;
    background: transparent;
    pointer-events: none;
  }
  .analysis-active .header-identity,
  .analysis-active .header-actions {
    pointer-events: auto;
  }
  .analysis-active .header-identity { grid-column: 1; }
  .analysis-active .header-actions { grid-column: 2; }
  .analysis-active .explore-header-search { display: none; }
  .analysis-active .header-back-button,
  .analysis-active .share-button {
    width: 48px;
    height: 48px;
    border: 0;
    background: rgba(255,255,255,.92);
    box-shadow: 0 2px 12px rgba(0,0,0,.12);
    backdrop-filter: blur(12px);
    font-size: 19px;
  }
  .analysis-active main { background: #fff; }
  .analysis-view {
    padding: 0 18px 42px;
  }
  .property-hero-card {
    display: flex;
    flex-direction: column;
  }
  .property-hero-media {
    order: 1;
    margin: 0 -18px;
    padding: 0;
  }
  .property-hero-media .hero-map-card { display: none; }
  .photo-gallery {
    height: min(102vw, 440px);
    display: block;
    border-radius: 0;
    background: #ddd;
  }
  .photo-gallery .photo-main {
    width: 100%;
    height: 100%;
    display: block;
  }
  .photo-gallery .photo-side { display: none; }
  .photo-gallery img { transition: none; }
  .photo-gallery .photo-count {
    right: 18px;
    bottom: 18px;
    width: auto;
    height: 36px;
    display: grid;
    place-items: center;
    padding: 0 13px;
    border: 0;
    border-radius: 10px;
    background: rgba(34,34,34,.84);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    box-shadow: none;
  }
  .property-title-row {
    order: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: center;
    margin: -28px -18px 0;
    padding: 50px 24px 27px;
    border-radius: 30px 30px 0 0;
    background: #fff;
    position: relative;
    z-index: 2;
    text-align: center;
  }
  .property-title-row h1 {
    max-width: 350px;
    margin: 0 auto 11px;
    font-size: clamp(32px, 9vw, 42px);
    line-height: 1.04;
    letter-spacing: -.05em;
    text-wrap: balance;
  }
  .property-title-row p {
    font-size: 16px;
    line-height: 1.4;
  }
  .property-title-row .price-fact {
    margin-top: 25px;
    text-align: center;
  }
  .property-title-row .price-fact:before {
    content: "Asking price";
    display: block;
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .01em;
  }
  .price-fact strong {
    font-size: 28px;
    letter-spacing: -.04em;
  }
  .property-factbar {
    order: 3;
    min-height: 72px;
    display: grid;
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    margin: 0 -18px;
    padding: 0 20px 31px;
    overflow: visible;
    border: 0;
  }
  .fact {
    min-width: 0;
    min-height: 66px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8px 6px;
    border: 0;
    border-left: 1px solid var(--line-light);
    border-radius: 0;
    background: transparent;
    text-align: center;
  }
  .fact:first-child { border-left: 0; }
  .fact strong {
    margin: 0 0 5px;
    overflow: hidden;
    font-size: 17px;
    line-height: 1;
    text-overflow: ellipsis;
  }
  .fact span {
    font-size: 9px;
    line-height: 1.2;
  }
  .section-tabs {
    top: 0;
    height: 58px;
    gap: 27px;
    margin: 0 -18px;
    padding: 0 18px;
    border-top: 1px solid var(--line-light);
    background: rgba(255,255,255,.97);
  }
  .section-tabs a {
    flex: 0 0 auto;
    font-size: 12px;
  }
  .content-section {
    padding: 62px 0;
    scroll-margin-top: 66px;
  }
  .content-section h2 {
    margin-top: 12px;
    font-size: 32px;
    line-height: 1.08;
    letter-spacing: -.045em;
  }
  .section-label { font-size: 11px; }
  .section-lede {
    margin-top: 20px;
    font-size: 17px;
    line-height: 1.55;
  }
  .decision-brief {
    gap: 18px;
    margin-top: 36px;
  }
  .decision-card {
    border: 0;
    border-radius: 24px;
    background: var(--soft);
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.035);
  }
  .opportunity-card { background: #fff; }
  .decision-image {
    min-height: 270px;
    border-radius: 24px 24px 0 0;
  }
  .decision-image > span {
    left: 16px;
    bottom: 16px;
    padding: 8px 10px;
    font-size: 10px;
  }
  .decision-card-body { padding: 25px 23px 26px; }
  .decision-card-value {
    margin-top: 25px;
    font-size: 38px;
  }
  .decision-card h3 {
    margin-top: 20px;
    font-size: 23px;
    line-height: 1.14;
  }
  .decision-card-body > p {
    font-size: 14px;
    line-height: 1.55;
  }
  .decision-card-stats dt,
  .decision-checklist span { font-size: 11px; }
  .decision-card-stats dd,
  .decision-checklist strong { font-size: 14px; }
  .evidence-state {
    min-height: 28px;
    padding: 0 10px;
    font-size: 10px;
  }
  .risk-card a {
    font-size: 12px;
  }
  .supporting-research-summary {
    padding: 25px 32px 25px 0;
  }
  .supporting-research-summary small { font-size: 11px; }
  .supporting-research-summary strong { font-size: 19px; }
  .section-heading { margin-bottom: 30px; }
  .site-study {
    border: 0;
    border-radius: 24px;
    background: var(--soft);
  }
  .site-study-toolbar {
    padding: 22px;
    background: var(--soft);
  }
  .site-study-toolbar > div:first-child strong { font-size: 18px; }
  .site-study-toolbar > div:first-child span { font-size: 13px; }
  .site-aerial { height: 360px; }
  .lot-data {
    gap: 1px;
    padding: 1px;
    background: var(--line-light);
  }
  .lot-data div {
    min-height: 88px;
    padding: 18px;
    border: 0;
    background: #fff;
  }
  .lot-data span { font-size: 10px; }
  .lot-data strong { margin-top: 8px; font-size: 17px; }
  .potential-callout {
    padding: 24px;
    border: 0;
    border-radius: 22px;
    background: var(--soft);
  }
  .potential-callout p { font-size: 14px; }
  .possibility-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(276px, 82vw);
    grid-template-columns: none;
    gap: 14px;
    margin-right: -18px;
    padding-right: 18px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .possibility-grid::-webkit-scrollbar { display: none; }
  .potential-path-card {
    min-height: 340px;
    padding: 25px;
    border: 0;
    border-radius: 24px;
    background: var(--soft);
    scroll-snap-align: start;
  }
  .path-label { font-size: 11px; }
  .path-outcome { font-size: 36px; }
  .potential-path-card h3 { font-size: 19px; }
  .potential-path-card > p { font-size: 14px; }
  .next-step-card { border-radius: 24px; }
  .next-step-lead { padding: 30px 25px 22px; }
  .next-step-card h3 { font-size: 27px; }
  .next-step-lead > p,
  .next-step-list span { font-size: 12px; }
  .next-step-list { padding: 0 25px 22px; }
  .comp-read {
    padding: 25px;
    border-radius: 22px;
  }
  .comp-read > strong { font-size: 22px; }
  .comp-read > p { font-size: 13px; }
  .comp-card-rail {
    grid-auto-columns: minmax(274px, 82vw);
    margin-right: -18px;
    padding-right: 18px;
  }
  .comp-card {
    min-height: 340px;
    padding: 25px;
    border: 0;
    border-radius: 24px;
    background: var(--soft);
  }
  .comp-card h3 { font-size: 20px; }
  .comp-sale-price { font-size: 34px; }
  .comp-card-place,
  .comp-facts,
  .comp-source { font-size: 11px; }
  .comp-lesson { font-size: 14px; }
  .transaction-card,
  .grandfather-card { border: 0; border-radius: 24px; }
  .transaction-card { background: var(--soft); }
  .transaction-card h3 { font-size: 21px; }
  .transaction-timeline li { min-height: 76px; }
  .transaction-timeline strong,
  .transaction-timeline > li > span { font-size: 13px; }
  .transaction-timeline small { font-size: 10px; }
  .grandfather-card { min-height: 360px; }
  .grandfather-card > strong { font-size: 30px; }
  .grandfather-card > p { font-size: 14px; }
  .proximity-list {
    grid-auto-flow: column;
    grid-auto-columns: 155px;
    grid-template-columns: none;
    gap: 10px;
    margin-right: -18px;
    padding-right: 18px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .proximity-list::-webkit-scrollbar { display: none; }
  .proximity-list article {
    min-height: 118px;
    padding: 18px;
    border: 0;
    border-radius: 18px;
    background: var(--soft);
    scroll-snap-align: start;
  }
  .proximity-list span,
  .proximity-list small { font-size: 10px; }
  .proximity-list strong { font-size: 19px; }
  .proximity-note {
    margin: 18px 0 24px;
    font-size: 12px;
    line-height: 1.5;
  }
  .map-frame {
    height: 430px;
    border: 0;
    border-radius: 24px;
  }
  .related-property-rail {
    grid-auto-columns: minmax(274px, 82vw);
    margin-right: -18px;
    padding-right: 18px;
  }
  .related-card-media { border-radius: 20px; }
  .related-card-copy { padding-top: 13px; }
  .related-card-copy strong { font-size: 16px; }
  .related-card-copy small,
  .related-card-copy em { font-size: 11px; }
  .mobile-action { bottom: calc(20px + env(safe-area-inset-bottom)); }
  .deal-card.mobile-open {
    inset: 24px 0 0;
    width: 100%;
    height: calc(100dvh - 24px);
    max-height: calc(100dvh - 24px);
    border-radius: 28px 28px 0 0;
  }
  .deal-card.mobile-open .deal-property-anchor { height: 168px; }
  .deal-card.mobile-open .deal-property-title {
    left: 24px;
    right: 68px;
    bottom: 20px;
  }
  .deal-card.mobile-open .deal-property-anchor strong { font-size: 24px; }
  .deal-card.mobile-open .deal-card-inner {
    height: calc(100% - 168px);
  }
  .deal-card.mobile-open .deal-card-face {
    padding: 25px 24px 30px;
    border-radius: 0;
  }
  .deal-card.mobile-open .deal-summary { margin-bottom: 20px; }
  .deal-card.mobile-open h2 { font-size: 23px; }
  .deal-card.mobile-open .deal-strategy-picker {
    min-height: 58px;
    padding-left: 17px;
    border-radius: 15px;
  }
  .deal-card.mobile-open .deal-outcome { gap: 10px; margin-top: 16px; }
  .deal-card.mobile-open .deal-outcome div {
    padding: 16px;
    border-radius: 15px;
  }
  .deal-card.mobile-open .deal-outcome strong { font-size: 24px; }
  .deal-card.mobile-open .deal-metrics {
    grid-template-columns: 1fr;
    margin-top: 16px;
  }
  .deal-card.mobile-open .deal-metrics span { font-size: 11px; }
  .deal-card.mobile-open .deal-metrics strong { font-size: 14px; }
  .model-backdrop.visible { background: rgba(0,0,0,.52); }
  .photo-tour-dialog {
    height: 100dvh;
    border-radius: 0;
  }
  .photo-tour-header {
    height: calc(68px + env(safe-area-inset-top));
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    padding: env(safe-area-inset-top) 16px 0;
  }
  .photo-tour-back,
  .photo-tour-share {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: #f2f2f2;
  }
  .photo-tour-back { font-size: 23px; }
  .photo-tour-heading strong { font-size: 15px; }
  .photo-tour-heading span { max-width: 215px; font-size: 10px; }
  .photo-tour-content {
    padding: 34px 20px calc(100px + env(safe-area-inset-bottom));
  }
  .photo-tour-title-row h2 { font-size: 32px; }
  .photo-tour-title-row span { font-size: 11px; }
  .photo-tour-index {
    grid-auto-columns: 170px;
    gap: 12px;
    margin: 28px -20px 0;
    padding: 0 20px 10px;
  }
  .photo-tour-index img { border-radius: 14px; }
  .photo-tour-index strong { font-size: 14px; }
  .photo-tour-index small { font-size: 10px; }
  .photo-tour-section-heading h3 { font-size: 26px; }
  .photo-tour-section-heading p { font-size: 11px; }
  .photo-tour-grid { gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Decision data: compact answers first, evidence second. */
.decision-fundamentals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.advisor-data-card,
.market-range-card {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.advisor-data-card > header,
.market-range-card > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.advisor-data-card .evidence-state,
.market-range-card .evidence-state {
  flex: 0 0 auto;
  white-space: nowrap;
}

.advisor-data-card h3,
.market-range-card h3 {
  margin: 8px 0 0;
  font-size: 21px;
  line-height: 1.18;
  letter-spacing: -.03em;
}

.advisor-data-lead {
  margin-top: 38px;
}

.advisor-data-lead strong,
.advisor-data-lead span {
  display: block;
}

.advisor-data-lead strong {
  font-size: 43px;
  line-height: .95;
  letter-spacing: -.055em;
}

.advisor-data-lead span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
}

.cost-composition {
  height: 8px;
  display: flex;
  gap: 3px;
  margin-top: 28px;
  overflow: hidden;
  border-radius: 999px;
}

.cost-composition span {
  min-width: 4px;
  background: #242522;
}

.cost-composition .cost-tax { background: #83867d; }
.cost-composition .cost-insurance { background: #c8c9c3; }

.cost-breakdown {
  margin: 20px 0 0;
}

.cost-breakdown > div,
.exposure-rows > div,
.market-rent-row {
  min-height: 51px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  border-top: 1px solid var(--line-light);
}

.cost-breakdown dt,
.cost-breakdown dd {
  margin: 0;
  font-size: 12px;
}

.cost-breakdown dt { color: var(--muted); }
.cost-breakdown dd { font-weight: 750; }

.advisor-data-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.text-action {
  width: max-content;
  display: inline-block;
  margin-top: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 11px;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.exposure-rows {
  margin-top: 30px;
}

.exposure-rows > div {
  min-height: 82px;
  grid-template-columns: 94px minmax(0, 1fr);
  align-items: start;
  padding: 17px 0;
}

.exposure-rows span,
.exposure-rows strong,
.exposure-rows small {
  display: block;
}

.exposure-rows span {
  padding-top: 2px;
  color: var(--muted);
  font-size: 10px;
}

.exposure-rows strong {
  font-size: 13px;
  line-height: 1.35;
}

.exposure-rows small {
  grid-column: 2;
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.market-range-card {
  margin-top: 14px;
  padding: 30px;
  border: 0;
  background: var(--soft);
}

.market-range-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.market-range-values > div {
  min-width: 0;
  padding-right: 18px;
}

.market-range-values > div + div {
  padding-left: 18px;
  border-left: 1px solid #d9dad5;
}

.market-range-values span,
.market-range-values strong {
  display: block;
}

.market-range-values span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 650;
}

.market-range-values strong {
  margin-top: 9px;
  font-size: 24px;
  line-height: 1;
  letter-spacing: -.04em;
}

.market-range-track {
  height: 6px;
  position: relative;
  margin: 30px 7px 0;
  border-radius: 999px;
  background: #dadbd6;
}

.market-range-fill {
  position: absolute;
  inset: 0 12%;
  border-radius: inherit;
  background: #8b8e84;
}

.market-range-track i {
  width: 16px;
  height: 16px;
  position: absolute;
  top: 50%;
  left: 50%;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 1px 5px rgba(0,0,0,.2);
  transform: translate(-50%, -50%);
}

.market-range-card > p {
  max-width: 650px;
  margin: 24px 0 0;
  color: #4d4d49;
  font-size: 13px;
  line-height: 1.55;
}

.market-rent-row {
  margin-top: 25px;
  padding-top: 4px;
}

.market-rent-row span {
  color: var(--muted);
  font-size: 11px;
}

.market-rent-row strong {
  font-size: 13px;
}

@media (max-width: 780px) {
  .decision-fundamentals {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 18px;
  }
  .advisor-data-card,
  .market-range-card {
    padding: 25px 23px 26px;
    border: 0;
    border-radius: 24px;
    background: var(--soft);
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.035);
  }
  .advisor-data-card h3,
  .market-range-card h3 {
    font-size: 23px;
  }
  .advisor-data-lead { margin-top: 34px; }
  .advisor-data-lead strong { font-size: 42px; }
  .advisor-data-lead span,
  .cost-breakdown dt,
  .cost-breakdown dd,
  .text-action,
  .market-rent-row span,
  .market-rent-row strong { font-size: 12px; }
  .advisor-data-note,
  .exposure-rows span,
  .exposure-rows small { font-size: 11px; }
  .exposure-rows strong { font-size: 14px; }
  .market-range-values {
    gap: 0;
    margin-top: 32px;
  }
  .market-range-values > div { padding-right: 10px; }
  .market-range-values > div + div { padding-left: 10px; }
  .market-range-values span { font-size: 9px; }
  .market-range-values strong { font-size: 20px; }
  .market-range-card > p { font-size: 14px; }
}

/* Supporting research: visible, calm, and swipeable one card at a time. */
.supporting-research {
  padding: 66px 0;
}

.supporting-research-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.supporting-research-header > div {
  max-width: 650px;
}

.supporting-research-header h2 {
  margin-top: 11px;
}

.supporting-research-header p {
  max-width: 580px;
  margin: 18px 0 0;
  color: #484848;
  font-size: 15px;
  line-height: 1.55;
}

.supporting-research-header > span {
  padding-top: 5px;
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap;
}

.supporting-research-body {
  display: flex;
  flex-direction: column;
  padding: 0;
}

.supporting-research .research-evidence-sheet {
  order: 1;
}

.supporting-research .research-heading {
  order: 2;
  margin-top: 38px;
}

.supporting-research .insight-receipts {
  order: 3;
}

.supporting-research .research-carousel-controls {
  order: 4;
}

.supporting-research .consolidated-source-receipt {
  order: 5;
}

.supporting-research .briefing-card-row {
  display: grid;
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 0 52px 7px 0;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.supporting-research .briefing-card-row::-webkit-scrollbar {
  display: none;
}

.supporting-research .briefing-card {
  border-radius: 22px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.supporting-research .insight-receipt[open] {
  width: auto;
  grid-column: auto;
}

.research-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
}

.research-carousel-controls > span {
  color: var(--muted);
  font-size: 11px;
}

.research-carousel-controls > span strong {
  color: var(--ink);
}

.research-carousel-controls > div {
  display: flex;
  gap: 8px;
}

.research-carousel-controls button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 17px;
}

.research-carousel-controls button:disabled {
  color: #b6b6b1;
  cursor: default;
}

.research-evidence-sheet {
  margin-top: 34px;
}

.research-evidence-heading {
  margin-bottom: 16px;
}

.research-evidence-heading h3 {
  margin: 7px 0 0;
  font-size: 20px;
  line-height: 1.22;
  letter-spacing: -.025em;
}

.supporting-research .research-evidence-sheet .evidence-condition-grid {
  margin-bottom: 0;
}

@media (max-width: 780px) {
  .supporting-research {
    padding: 62px 0;
  }
  .supporting-research-header {
    display: block;
  }
  .supporting-research-header h2 {
    font-size: 32px;
  }
  .supporting-research-header p {
    margin-top: 16px;
    font-size: 15px;
  }
  .supporting-research-header > span {
    display: block;
    margin-top: 15px;
    padding: 0;
    font-size: 10px;
  }
  .supporting-research .research-heading {
    margin-top: 34px;
  }
  .supporting-research .research-heading h3 {
    font-size: 20px;
    line-height: 1.2;
  }
  .supporting-research .briefing-card-row {
    grid-auto-columns: 100%;
    gap: 12px;
    margin-right: -18px;
    padding: 0 46px 8px 0;
    scroll-snap-type: x mandatory;
  }
  .supporting-research .briefing-card {
    border: 0;
    border-radius: 24px;
    background: var(--soft);
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.035);
  }
  .supporting-research .insight-receipt > summary {
    min-height: 360px;
  }
  .supporting-research .briefing-visual {
    min-height: 215px;
  }
  .research-carousel-controls {
    margin-top: 12px;
  }
  .research-carousel-controls button {
    width: 38px;
    height: 38px;
  }
  .research-evidence-sheet {
    margin-top: 30px;
  }

  .research-evidence-heading h3 {
    font-size: 19px;
  }

  .supporting-research .research-evidence-sheet .evidence-condition-grid {
    grid-auto-columns: calc(100% - 28px);
    gap: 0;
    margin-right: -18px;
    padding-right: 46px;
    border: 0;
    border-radius: 0;
    scroll-snap-type: x mandatory;
  }
  .supporting-research .research-evidence-sheet .evidence-condition {
    border: 0;
    border-radius: 20px;
    background: var(--soft);
    scroll-snap-align: start;
  }
}

/* Strategy card cleanup: one clear answer, fewer competing mini-components. */
.deal-card {
  height: auto;
  max-height: calc(100vh - 104px);
}

.deal-property-anchor {
  height: 88px;
}

.deal-card-inner {
  height: auto;
}

.deal-card-face {
  padding: 16px;
}

.deal-card-front {
  display: grid;
  gap: 12px;
}

.deal-sheet-heading h2 {
  margin: 0;
  font-size: 15px;
  letter-spacing: -.015em;
}

.strategy-option-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 0;
  padding: 4px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  background: #f6f6f4;
}

.strategy-option-grid button {
  min-height: 38px;
  display: flex;
  justify-content: center;
  padding: 0 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  text-align: center;
}

.strategy-option-grid button strong {
  font-size: 11px;
  line-height: 1;
  background: transparent;
}

.strategy-option-grid button small,
.strategy-option-grid button em {
  display: none;
}

.strategy-option-grid button.active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
}

.selected-strategy-card {
  display: grid;
  gap: 12px;
  margin-top: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.selected-strategy-heading {
  display: block;
}

.selected-strategy-heading > div > span {
  font-size: 10px;
}

.selected-strategy-heading h2 {
  margin-top: 4px;
  font-size: 24px;
  line-height: 1.02;
  letter-spacing: -.045em;
}

.deal-risk {
  display: none;
}

.selected-strategy-card > p {
  max-width: 30ch;
  margin: 0;
  color: #5e5e5e;
  font-size: 12px;
  line-height: 1.42;
}

.strategy-flow {
  display: none;
}

.deal-primary-outcome {
  min-height: 102px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  margin: 0;
  padding: 18px;
  border: 0;
  border-radius: 22px;
  background: #1f1f1f;
  color: #fff;
}

.deal-primary-outcome span,
.deal-primary-outcome small {
  color: rgba(255,255,255,.68);
  font-size: 10px;
}

.deal-primary-outcome strong {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: #fff;
  font-size: 42px;
}

.selected-strategy-card .deal-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  overflow: visible;
  border-radius: 0;
  background: transparent;
}

.selected-strategy-card .deal-metrics div {
  min-height: 72px;
  padding: 12px;
  border-radius: 16px;
  background: #f7f7f5;
}

.selected-strategy-card .deal-metrics div:nth-child(2) {
  display: none;
}

.selected-strategy-card .deal-metrics span {
  font-size: 10px;
  white-space: normal;
}

.selected-strategy-card .deal-metrics strong {
  margin-top: 7px;
  font-size: 15px;
  white-space: normal;
}

.realize-score-panel {
  margin-top: 0;
  padding: 13px;
  border-radius: 18px;
  background: #f7f7f5;
  color: var(--ink);
}

.realize-score-panel span {
  color: var(--muted);
}

.realize-score-panel strong {
  color: var(--ink);
}

.realize-score-panel b {
  font-size: 22px;
}

.realize-score-panel meter,
.realize-score-panel meter::-webkit-meter-bar {
  background: #e7e5e0;
}

.model-edit-button {
  min-height: 42px;
  margin-top: 0;
  font-size: 12px;
}

.deal-card-front > .score-receipt {
  margin-top: -4px;
  border-bottom: 0;
}

.score-receipt > summary {
  min-height: 34px;
  padding: 0;
}

.score-receipt > summary span {
  font-size: 10px;
}

.score-receipt > summary strong {
  max-width: 210px;
  overflow: hidden;
  color: #5f5f5f;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 780px) {
  .deal-card.mobile-open {
    inset: auto 0 0;
    height: auto;
    max-height: min(88dvh, 680px);
  }

  .deal-card-face {
    padding: 16px;
  }

  .selected-strategy-heading h2 {
    font-size: 25px;
  }

  .deal-primary-outcome {
    min-height: 94px;
  }

  .deal-primary-outcome strong {
    font-size: 39px;
  }

  .selected-strategy-card .deal-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Readability pass: make the property page feel like an advisor brief first. */
.overview-section .section-editorial-header,
.case-study-section .section-editorial-header,
.supporting-research-header,
.potential-section > .section-heading,
.comps-heading {
  max-width: 760px;
}

.overview-section .section-editorial-header h2,
.case-study-section .section-editorial-header h2,
.supporting-research-header h2,
.potential-section .section-heading h2,
.comps-heading h2 {
  font-size: clamp(30px, 4.3vw, 52px);
  line-height: .98;
  letter-spacing: -.055em;
}

.overview-section .section-lede,
.case-study-section .section-lede,
.supporting-research-header p,
.comps-heading .section-lede {
  max-width: 620px;
  margin-top: 14px;
  color: #4d4d4d;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.42;
}

.decision-brief {
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, .92fr);
  align-items: stretch;
  margin-top: 28px;
}

.decision-card {
  border-radius: 28px;
}

.decision-card h3 {
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.05;
}

.decision-card p {
  font-size: 14px;
  line-height: 1.45;
}

.verify-card {
  grid-column: 1 / -1;
}

.verify-card .decision-card-body {
  display: grid;
  grid-template-columns: minmax(220px, .6fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.verify-card h3 {
  margin-top: 8px;
}

.decision-checklist {
  margin-top: 0;
}

.realization-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.realization-strip article:nth-child(4) {
  display: none;
}

.decision-fundamentals,
.case-confidence-card,
.case-study-grid,
.case-study-scenario-lab,
.case-study-diligence,
.case-study-deep-model,
.case-study-risk-register,
.case-study-binder,
.supporting-research .research-evidence-sheet,
.property-record-grid {
  display: none;
}

.case-study-section .case-study-grid,
.case-study-section .case-confidence-card,
.case-study-section .case-study-scenario-lab,
.case-study-section .case-study-diligence,
.case-study-section .case-study-deep-model,
.case-study-section .case-study-risk-register,
.case-study-section .case-study-binder {
  display: none !important;
}

.case-study-stat-grid article:nth-child(n+5) {
  display: none;
}

.case-study-stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.case-study-stat-grid article {
  min-height: 112px;
  padding: 20px;
  border-radius: 24px;
}

.case-study-options-card {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.case-study-options-card > header {
  display: block;
  max-width: 650px;
}

.case-study-options-card > header > strong {
  display: none;
}

.case-options-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.case-options-grid article {
  min-height: 170px;
  padding: 24px;
  border: 1px solid var(--line-light);
  border-radius: 26px;
  background: #fff;
}

.case-options-grid strong {
  font-size: 20px;
}

.case-options-grid p {
  font-size: 14px;
}

.case-study-memo {
  order: -1;
}

.supporting-research {
  padding-top: clamp(42px, 6vw, 72px);
}

.supporting-research-header {
  display: block;
}

.supporting-research-header > span {
  display: block;
  margin-top: 10px;
}

.supporting-research .research-heading {
  margin-top: 22px;
}

.supporting-research .briefing-card-row {
  margin-top: 12px;
}

.briefing-card > summary {
  min-height: 188px;
}

.briefing-copy strong {
  font-size: 22px;
  line-height: 1.1;
}

.consolidated-source-receipt {
  margin-top: 14px;
}

.site-study {
  margin-top: 22px;
}

.potential-callout {
  margin-top: 14px;
}

.possibility-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.potential-path-card {
  padding: 24px;
  border-radius: 26px;
}

.next-step-card {
  margin-top: 14px;
}

.market-range-card,
.comp-read {
  margin-top: 18px;
}

@media (max-width: 780px) {
  .overview-section .section-editorial-header h2,
  .case-study-section .section-editorial-header h2,
  .supporting-research-header h2,
  .potential-section .section-heading h2,
  .comps-heading h2 {
    font-size: 34px;
  }

  .decision-brief,
  .verify-card .decision-card-body,
  .realization-strip,
  .case-study-stat-grid,
  .case-options-grid,
  .possibility-grid {
    grid-template-columns: 1fr;
  }

  .verify-card {
    grid-column: auto;
  }

  .realization-strip article:nth-child(4) {
    display: block;
  }

  .realization-strip article {
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .realization-strip article:last-child {
    border-bottom: 0;
  }

  .case-study-stat-grid article {
    min-height: 96px;
  }

  .briefing-card > summary {
    min-height: 160px;
  }

  .case-options-grid article,
  .potential-path-card {
    min-height: auto;
    padding: 20px;
    border-radius: 22px;
  }
}

.deal-card {
  height: min(740px, calc(100vh - 108px));
  perspective: none;
}
.deal-property-anchor { height: 104px; }
.deal-card-inner {
  height: calc(100% - 104px);
  transform: none;
  transform-style: flat;
  transition: none;
}
.deal-card.adjusting .deal-card-inner { transform: none; }
.deal-card-face {
  padding: 20px;
  backface-visibility: visible;
  -webkit-backface-visibility: visible;
}
.deal-card-front { display: block; }
.deal-card-back {
  display: none;
  transform: none;
}
.deal-card.adjusting .deal-card-front { display: none; }
.deal-card.adjusting .deal-card-back { display: block; }

/* The first screen should tell the property-specific story before showing the receipts. */
.overview-section { display: none; }

.property-story {
  padding: 54px 0 48px;
}

.property-story .section-editorial-header {
  max-width: 760px;
}

.property-story-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}

.property-story-cards article {
  min-width: 0;
  min-height: 146px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.property-story-cards span,
.property-story-cards strong,
.property-story-cards p { display: block; }
.property-story-cards span { color: var(--muted); font-size: 10px; font-weight: 700; }
.property-story-cards strong { margin-top: 14px; font-size: 21px; line-height: 1.08; letter-spacing: -.03em; }
.property-story-cards p { margin: 9px 0 0; color: var(--muted); font-size: 12px; line-height: 1.4; }

.property-story-action {
  max-width: 690px;
  margin: 17px 0 0;
  color: #343432;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.45;
}

.property-story-preview {
  width: max-content;
  margin-top: 20px;
  padding: 11px 16px;
  border: 0;
  border-radius: 999px;
  background: #222;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.realized-dialog {
  position: fixed;
  top: 18px;
  bottom: auto;
  width: min(1040px, calc(100vw - 36px));
  max-width: none;
  max-height: calc(100dvh - 36px);
  margin: 0 auto;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 28px;
  background: transparent;
}

.realized-dialog::backdrop { background: rgba(16, 16, 14, .46); backdrop-filter: blur(4px); }

.realized-listing {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 12px 38px rgba(0,0,0,.07);
}

.realized-close {
  position: absolute;
  z-index: 3;
  top: 18px;
  right: 18px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  font: inherit;
  font-size: 28px;
  font-weight: 350;
  line-height: 1;
  cursor: pointer;
}

.realized-hero { height: min(62vw, 590px); position: relative; background: #e8e8e5; }
.realized-hero img { width: 100%; height: 100%; display: block; object-fit: cover; }
.realized-badge,
.realized-image-note { position: absolute; z-index: 1; left: 22px; color: #fff; }
.realized-badge { top: 22px; padding: 8px 11px; border-radius: 999px; background: rgba(20,20,20,.75); font-size: 11px; font-weight: 700; backdrop-filter: blur(8px); }
.realized-image-note { bottom: 18px; font-size: 11px; text-shadow: 0 1px 10px rgba(0,0,0,.65); }

.realized-intro { max-width: 760px; margin: 0 auto; padding: 58px 36px 40px; text-align: center; }
.realized-intro > span { color: var(--muted); font-size: 11px; font-weight: 700; }
.realized-intro h1 { max-width: 680px; margin: 14px auto 0; font-size: clamp(38px, 5vw, 64px); line-height: .98; letter-spacing: -.06em; }
.realized-intro > p:not(.realized-summary) { margin: 16px 0 0; color: var(--muted); font-size: 17px; }
.realized-price { margin-top: 30px; }
.realized-price strong { display: block; font-size: 30px; letter-spacing: -.04em; }
.realized-price span { display: block; margin-top: 7px; color: var(--muted); font-size: 11px; }
.realized-summary { max-width: 620px; margin: 28px auto 0; color: #4a4a47; font-size: 17px; line-height: 1.55; }
.realized-facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 38px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.realized-facts div { padding: 17px 8px; border-right: 1px solid var(--line); }
.realized-facts div:last-child { border-right: 0; }
.realized-facts strong,
.realized-facts span { display: block; }
.realized-facts strong { font-size: 18px; letter-spacing: -.025em; }
.realized-facts span { margin-top: 3px; color: var(--muted); font-size: 11px; }

.realized-change { padding: 42px 36px 44px; border-top: 1px solid var(--line); }
.realized-change header span,
.realized-site-record > div > span { display: block; color: var(--muted); font-size: 11px; font-weight: 700; }
.realized-change h2,
.realized-site-record h2 { margin: 9px 0 0; font-size: 28px; line-height: 1; letter-spacing: -.045em; }
.realized-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.realized-comparison figure { overflow: hidden; margin: 0; border-radius: 18px; background: #f2f2ef; }
.realized-comparison img { display: block; width: 100%; aspect-ratio: 1.36; object-fit: cover; }
.realized-comparison figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 12px 13px 14px; }
.realized-comparison figcaption span { color: var(--muted); font-size: 11px; }
.realized-comparison figcaption strong { font-size: 12px; }
.realized-gallery-button { margin-top: 18px; padding: 0; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.realized-site-record { display: grid; grid-template-columns: 1.25fr .75fr; gap: 30px; align-items: end; padding: 36px; border-top: 1px solid var(--line); background: #f8f8f6; }
.realized-site-record p { max-width: 550px; margin: 13px 0 0; color: #4d4d49; font-size: 14px; line-height: 1.5; }
.survey-pending { padding: 18px; border: 1px dashed #c8c8c3; border-radius: 16px; background: rgba(255,255,255,.7); }
.survey-pending strong,
.survey-pending span { display: block; }
.survey-pending strong { font-size: 13px; }
.survey-pending span { margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.4; }

.realized-details { display: grid; grid-template-columns: 1.25fr .75fr; border-top: 1px solid var(--line); }
.realized-details > section { padding: 34px 36px 42px; }
.realized-details > section + section { border-left: 1px solid var(--line); }
.realized-details > section > span { display: block; color: var(--muted); font-size: 11px; font-weight: 700; }
.realized-feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; }
.realized-feature-list article strong { font-size: 15px; line-height: 1.25; }
.realized-feature-list article p { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.realized-conditions > div { margin-top: 16px; }
.realized-conditions p { margin: 0; padding: 12px 0; border-top: 1px solid var(--line-light); color: #4d4d4a; font-size: 12px; line-height: 1.4; }

.analysis-view[data-story-kind="benchmark"] .property-layout {
  grid-template-columns: minmax(0, 1fr);
}

.analysis-view[data-story-kind="benchmark"] .deal-card { display: none; }
.analysis-view[data-story-kind="benchmark"] .case-study-section .section-editorial-header,
.analysis-view[data-story-kind="owner"] .case-study-section .section-editorial-header { display: none; }

@media (max-width: 780px) {
  .property-story { padding: 36px 0 38px; }
  .property-story-cards { grid-template-columns: 1fr; }
  .property-story-cards article { min-height: 0; padding: 18px; }
  .property-story-cards strong { margin-top: 10px; font-size: 20px; }
  .property-story-action { font-size: 14px; }
  .realized-dialog { top: 0; width: 100vw; max-height: 100dvh; border-radius: 0; }
  .realized-listing { border-width: 0; border-radius: 0; box-shadow: none; }
  .realized-close { top: 14px; right: 14px; width: 38px; height: 38px; }
  .realized-hero { height: 105vw; max-height: 580px; }
  .realized-intro { padding: 38px 22px 30px; }
  .realized-intro h1 { font-size: 40px; }
  .realized-summary { font-size: 15px; }
  .realized-facts { grid-template-columns: repeat(2, 1fr); }
  .realized-facts div:nth-child(2) { border-right: 0; }
  .realized-facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .realized-change { padding: 32px 22px 34px; }
  .realized-change h2,
  .realized-site-record h2 { font-size: 25px; }
  .realized-comparison { gap: 8px; margin-top: 18px; }
  .realized-comparison figure { border-radius: 14px; }
  .realized-comparison figcaption { display: block; padding: 10px 10px 12px; }
  .realized-comparison figcaption strong { display: block; margin-top: 3px; font-size: 11px; }
  .realized-site-record { grid-template-columns: 1fr; gap: 20px; padding: 30px 22px; }
  .realized-details { grid-template-columns: 1fr; }
  .realized-details > section { padding: 30px 22px; }
  .realized-details > section + section { border-top: 1px solid var(--line); border-left: 0; }
  .realized-feature-list { grid-template-columns: 1fr; gap: 0; }
  .realized-feature-list article { padding: 13px 0; border-top: 1px solid var(--line-light); }
}

/* Detail narrative: one answer per block, with the receipt kept nearby. */
.overview-section .decision-brief {
  grid-template-columns: minmax(0, 1.12fr) repeat(2, minmax(210px, .94fr));
  gap: 12px;
  margin-top: 26px;
}

.overview-section .opportunity-card,
.overview-section .verify-card {
  grid-column: auto;
}

.overview-section .opportunity-card {
  display: grid;
  grid-template-columns: 1fr;
}

.overview-section .decision-card {
  border-radius: 22px;
}

.overview-section .decision-image {
  min-height: 150px;
}

.overview-section .decision-card-body {
  padding: 20px 21px 21px;
}

.overview-section .decision-card-value {
  margin-top: 18px;
  font-size: clamp(28px, 2.7vw, 36px);
}

.overview-section .decision-card h3 {
  margin-top: 13px;
  font-size: 21px;
  line-height: 1.12;
  letter-spacing: -.028em;
}

.overview-section .decision-card p {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.45;
}

.overview-section .decision-card-stats {
  margin-top: 18px;
  padding-top: 16px;
}

.overview-section .decision-card-stats > div { padding-right: 10px; }
.overview-section .decision-card-stats > div + div { padding-left: 10px; }
.overview-section .decision-card-stats dt { font-size: 9px; }
.overview-section .decision-card-stats dd { font-size: 12px; }

.overview-section .risk-card,
.overview-section .verify-card {
  min-height: 0;
}

.overview-section .risk-card .decision-card-context {
  display: none;
}

.overview-section .risk-card a {
  margin-top: 17px;
  padding-top: 0;
  font-size: 10px;
}

.overview-section .verify-card .decision-card-body {
  display: flex;
  gap: 0;
}

.overview-section .verify-card h3 { margin-top: 13px; }
.overview-section .verify-card .decision-checklist { margin-top: 13px; }
.overview-section .verify-card .decision-checklist li { padding: 10px 0; }
.overview-section .verify-card .decision-checklist span { font-size: 10px; }

.overview-section .realization-strip,
.potential-section .potential-priority-row,
.potential-section .next-step-card,
.comps-section .comp-read {
  display: none;
}

.case-study-section.is-rental-benchmark .case-study-memo,
.case-study-section.is-rental-benchmark .case-study-options-card {
  display: none;
}

@media (max-width: 1040px) {
  .overview-section .decision-brief { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .overview-section .opportunity-card { grid-column: 1 / -1; grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr); }
  .overview-section .decision-image { min-height: 215px; }
}

@media (max-width: 780px) {
  .overview-section .decision-brief,
  .overview-section .opportunity-card { grid-template-columns: 1fr; }
  .overview-section .opportunity-card { grid-column: auto; }
  .overview-section .decision-image { min-height: 190px; }
  .overview-section .decision-card-body { padding: 20px; }
}

.deal-sheet-heading > span,
.selected-strategy-heading > div > span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
}
.deal-sheet-heading h2 {
  margin-top: 4px;
  font-size: 22px;
}
.deal-sheet-heading p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 11px;
}
.strategy-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 15px;
}
.strategy-option-grid button {
  min-width: 0;
  min-height: 62px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: var(--soft);
  color: var(--ink);
  text-align: left;
}
.strategy-option-grid button > span,
.strategy-option-grid button strong,
.strategy-option-grid button small {
  min-width: 0;
  display: block;
}
.strategy-option-grid button strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.strategy-option-grid button small {
  margin-top: 3px;
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.strategy-option-grid button em {
  font-size: 11px;
  font-style: normal;
  font-weight: 750;
}
.strategy-option-grid button.active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
.strategy-option-grid button.active small { color: rgba(255,255,255,.66); }
.strategy-option-grid button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.selected-strategy-card {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid var(--line-light);
  border-radius: 16px;
  background: #fff;
}
.selected-strategy-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}
.selected-strategy-heading h2 {
  margin-top: 4px;
  font-size: 18px;
}
.deal-risk {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-size: 9px;
  white-space: nowrap;
}
.deal-risk strong {
  color: var(--ink);
  font-size: inherit;
}
.selected-strategy-card > p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}
.strategy-flow {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  white-space: nowrap;
}
.strategy-flow span {
  min-width: 0;
  padding: 7px 8px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink);
  font-weight: 650;
  text-overflow: ellipsis;
}
.strategy-flow i {
  flex: 0 0 auto;
  font-style: normal;
}
.deal-primary-outcome {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 12px;
  align-items: end;
  margin-top: 13px;
  padding: 13px 0;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}
.deal-primary-outcome span,
.deal-primary-outcome small {
  display: block;
  color: var(--muted);
  font-size: 9px;
}
.deal-primary-outcome strong {
  grid-column: 2;
  grid-row: 1 / span 2;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -.04em;
}
.deal-primary-outcome small {
  grid-column: 1;
  margin-top: 4px;
}
.selected-strategy-card .deal-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 12px 0 0;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  background: var(--line-light);
}
.selected-strategy-card .deal-metrics div {
  min-height: 58px;
  display: block;
  padding: 11px 12px;
  border: 0;
  background: var(--soft);
}
.selected-strategy-card .deal-metrics span,
.selected-strategy-card .deal-metrics strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.selected-strategy-card .deal-metrics span {
  color: var(--muted);
  font-size: 9px;
}
.selected-strategy-card .deal-metrics strong {
  margin-top: 5px;
  font-size: 14px;
}
.selected-strategy-card .deal-metrics b { font-size: inherit; }
.realize-score-panel {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: 13px 14px;
  border-radius: 14px;
  background: #1f1f1f;
  color: #fff;
}
.realize-score-panel div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}
.realize-score-panel span {
  color: rgba(255,255,255,.68);
  font-size: 10px;
}
.realize-score-panel strong {
  font-size: 16px;
  letter-spacing: -.02em;
}
.realize-score-panel b { font-size: 24px; }
.realize-score-panel meter,
.model-score-mini meter {
  width: 100%;
  height: 7px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
}
.realize-score-panel meter::-webkit-meter-bar,
.model-score-mini meter::-webkit-meter-bar {
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
}
.realize-score-panel meter::-webkit-meter-optimum-value,
.model-score-mini meter::-webkit-meter-optimum-value {
  border-radius: 999px;
  background: linear-gradient(90deg, #f2545b, #e01861);
}
.realize-score-panel meter::-moz-meter-bar,
.model-score-mini meter::-moz-meter-bar {
  border-radius: 999px;
  background: linear-gradient(90deg, #f2545b, #e01861);
}
.model-edit-button {
  width: 100%;
  min-height: 46px;
  margin-top: 12px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 750;
}
.model-edit-button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.deal-card-front > .score-receipt { margin-top: 7px; }

.deal-card-back > p {
  margin: 9px 0 0;
  font-size: 11px;
}
.model-card-heading {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin: 0;
}
.model-card-heading > div { grid-column: 2; }
.model-card-heading span {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0;
  text-transform: none;
}
.model-card-heading h2 { margin-top: 3px; }
.model-card-heading button {
  grid-column: 1;
  grid-row: 1;
  width: 36px;
  height: 36px;
  border: 0;
  background: var(--soft);
  font-size: 16px;
}
.model-card-result {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 8px;
  margin-top: 15px;
  padding: 0;
}
.model-card-result div {
  min-width: 0;
  padding: 13px;
  border-radius: 13px;
  background: var(--soft);
}
.model-card-result span,
.model-card-result strong {
  display: block;
}
.model-card-result span {
  color: var(--muted);
  font-size: 9px;
}
.model-card-result strong {
  margin-top: 5px;
  font-size: 22px;
  letter-spacing: -.03em;
}
.model-card-result b { font-size: inherit; }
.model-score-mini {
  display: grid;
  gap: 8px;
  margin-top: 8px;
  padding: 11px 12px;
  border-radius: 13px;
  background: var(--ink);
  color: #fff;
}
.model-score-mini span {
  color: rgba(255,255,255,.78);
  font-size: 10px;
  line-height: 1.35;
}
.deal-adjust-form {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  border: 0;
}
.deal-adjust-form .model-field {
  display: block;
  padding: 13px 14px 12px;
  border: 0;
  border-radius: 13px;
  background: var(--soft);
}
.model-field-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.model-field-heading strong {
  font-size: 11px;
}
.model-field-heading output {
  font-size: 13px;
  font-weight: 750;
}
.model-field > small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.35;
}
.model-field input[type="range"] {
  width: 100%;
  height: 20px;
  margin: 8px 0 0;
  padding: 0;
  accent-color: var(--ink);
}
.model-card-actions {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 8px;
  margin-top: 12px;
}
.model-reset-button {
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
}
.model-card-actions .primary-button {
  height: 46px;
  border-radius: 999px;
}

@media (max-width: 780px) {
  .deal-card.mobile-open {
    inset: 8px 0 0;
    height: calc(100dvh - 8px);
    max-height: calc(100dvh - 8px);
    border-radius: 24px 24px 0 0;
    perspective: none;
  }
  .deal-card.mobile-open .deal-property-anchor {
    height: 56px;
    border-bottom: 1px solid var(--line-light);
    background: #fff;
  }
  .deal-card.mobile-open .deal-property-anchor:after,
  .deal-card.mobile-open .deal-property-anchor img { display: none; }
  .deal-card.mobile-open .deal-property-title {
    top: 20px;
    left: 18px;
    right: 66px;
    bottom: auto;
  }
  .deal-card.mobile-open .deal-property-anchor strong {
    color: var(--ink);
    font-size: 14px;
    text-shadow: none;
  }
  .deal-card.mobile-open .deal-card-inner,
  .deal-card.mobile-open.adjusting .deal-card-inner { height: calc(100% - 56px); }
  .deal-card.mobile-open .deal-card-face {
    padding: 16px 14px calc(14px + env(safe-area-inset-bottom));
    border-radius: 0;
    overflow: hidden;
  }
  .deal-card.mobile-open .mobile-deal-close {
    top: 8px;
    right: 10px;
    width: 38px;
    height: 38px;
    border: 0;
    background: var(--soft);
  }
  .deal-card.mobile-open h2 { font-size: 20px; }
  .deal-card.mobile-open .deal-sheet-heading h2 {
    margin: 0;
    font-size: 22px;
  }
  .deal-card.mobile-open .strategy-option-grid {
    gap: 7px;
    margin-top: 11px;
  }
  .deal-card.mobile-open .strategy-option-grid button {
    min-height: 58px;
    padding: 9px 11px;
    border-radius: 13px;
  }
  .deal-card.mobile-open .strategy-option-grid button strong { font-size: 13px; }
  .deal-card.mobile-open .strategy-option-grid button small { font-size: 9px; }
  .deal-card.mobile-open .strategy-option-grid button em { font-size: 11px; }
  .deal-card.mobile-open .selected-strategy-card {
    margin-top: 10px;
    padding: 13px;
    border-radius: 15px;
  }
  .deal-card.mobile-open .selected-strategy-heading h2 { font-size: 18px; }
  .deal-card.mobile-open .selected-strategy-card > p,
  .deal-card.mobile-open .strategy-flow { display: none; }
  .deal-card.mobile-open .deal-primary-outcome {
    margin-top: 10px;
    padding: 10px 0;
  }
  .deal-card.mobile-open .deal-primary-outcome strong { font-size: 29px; }
  .deal-card.mobile-open .selected-strategy-card .deal-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 9px;
  }
  .deal-card.mobile-open .selected-strategy-card .deal-metrics div {
    min-height: 48px;
    padding: 8px 10px;
  }
  .deal-card.mobile-open .selected-strategy-card .deal-metrics span { font-size: 9px; }
  .deal-card.mobile-open .selected-strategy-card .deal-metrics strong {
    margin-top: 3px;
    font-size: 13px;
  }
  .deal-card.mobile-open .model-edit-button {
    min-height: 44px;
    margin-top: 10px;
  }
  .deal-card.mobile-open .deal-card-front > .score-receipt,
  .deal-card.mobile-open .deal-card-back > p { display: none; }
  .deal-card.mobile-open .model-card-heading {
    grid-template-columns: 36px minmax(0, 1fr);
  }
  .deal-card.mobile-open .model-card-heading button {
    width: 36px;
    height: 36px;
  }
  .deal-card.mobile-open .model-card-heading h2 { font-size: 21px; }
  .deal-card.mobile-open .model-card-result {
    margin-top: 10px;
  }
  .deal-card.mobile-open .model-card-result div {
    padding: 11px 12px;
    border-radius: 13px;
  }
  .deal-card.mobile-open .model-card-result strong { font-size: 21px; }
  .deal-card.mobile-open .deal-adjust-form {
    gap: 6px;
    margin-top: 10px;
  }
  .deal-card.mobile-open .deal-adjust-form .model-field {
    padding: 10px 12px 8px;
    border-radius: 13px;
  }
  .deal-card.mobile-open .model-field-heading strong { font-size: 11px; }
  .deal-card.mobile-open .model-field-heading output { font-size: 13px; }
  .deal-card.mobile-open .model-field > small,
  .deal-card.mobile-open .model-card-heading span,
  .deal-card.mobile-open .deal-primary-outcome small { display: none; }
  .deal-card.mobile-open .model-field input[type="range"] {
    height: 18px;
    margin-top: 4px;
  }
  .deal-card.mobile-open .model-card-actions {
    position: static;
    margin: 8px 0 0;
    padding: 0;
    background: none;
  }
  .deal-card.mobile-open .model-card-actions .primary-button,
  .deal-card.mobile-open .model-reset-button {
    height: 44px;
  }
}

@media (max-width: 350px) {
  .deal-card.mobile-open .deal-property-anchor { height: 52px; }
  .deal-card.mobile-open .deal-property-title { top: 18px; }
  .deal-card.mobile-open .deal-card-inner,
  .deal-card.mobile-open.adjusting .deal-card-inner { height: calc(100% - 52px); }
  .deal-card.mobile-open .deal-card-face {
    padding: 12px 12px calc(10px + env(safe-area-inset-bottom));
  }
  .deal-card.mobile-open .deal-sheet-heading h2 { font-size: 21px; }
  .deal-card.mobile-open .strategy-option-grid { margin-top: 9px; }
  .deal-card.mobile-open .strategy-option-grid button {
    min-height: 55px;
    padding: 8px 9px;
  }
  .deal-card.mobile-open .selected-strategy-card {
    margin-top: 8px;
    padding: 11px;
  }
  .deal-card.mobile-open .selected-strategy-card .deal-metrics div {
    min-height: 45px;
    padding: 7px 9px;
  }
  .deal-card.mobile-open .model-card-actions {
    margin: 7px 0 0;
    padding: 0;
  }
}

/* Desktop report system
   Cards are reserved for comparison, media, and interaction. Editorial
   structure comes from type, whitespace, and rules. */
@media (min-width: 781px) {
  .analysis-active main {
    background: #fff;
  }

  .analysis-view {
    --report-max: 1240px;
    --report-sidebar: 360px;
    --report-gap: 64px;
    width: min(100%, calc(var(--report-max) + 64px));
    max-width: none;
    margin: 0 auto;
    padding: 28px 32px 120px;
    font-size: 16px;
  }

  .property-layout {
    display: block;
  }

  .property-body-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .property-content {
    min-width: 0;
    padding: 0;
    overflow: visible;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .property-hero-card {
    width: 100%;
    margin: 0 0 4px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .property-title-row {
    min-height: 92px;
    align-items: end;
    padding: 18px 0 24px;
  }

  .property-title-row h1 {
    margin: 0 0 7px;
    font-size: 34px;
    font-weight: 650;
    line-height: 1.12;
    letter-spacing: -.035em;
  }

  .property-title-row p {
    color: #5f5f5f;
    font-size: 15px;
    line-height: 1.4;
  }

  .property-title-row .price-fact {
    padding-bottom: 1px;
  }

  .price-fact:before {
    content: "Asking price";
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1;
  }

  .price-fact strong {
    font-size: 28px;
    font-weight: 650;
    line-height: 1;
    letter-spacing: -.035em;
  }

  .property-hero-media {
    display: block;
    padding: 0;
  }

  .property-hero-media .hero-map-card {
    display: none;
  }

  .photo-gallery {
    width: 100%;
    height: clamp(440px, 39vw, 535px);
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    border-radius: 18px;
  }

  .photo-gallery .photo-count {
    right: 18px;
    bottom: 18px;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid rgba(34,34,34,.18);
    border-radius: 9px;
    background: rgba(255,255,255,.96);
    color: var(--ink);
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    font-size: 12px;
  }

  .property-factbar {
    min-height: 88px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin: 0;
    border-bottom: 1px solid var(--line);
  }

  .fact {
    min-width: 0;
    padding: 0 24px;
    border-left-color: var(--line);
  }

  .fact:first-child {
    padding-left: 0;
  }

  .fact strong {
    margin: 0 0 5px;
    font-size: 18px;
    font-weight: 650;
  }

  .fact span {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.3;
  }

  .section-tabs {
    height: 64px;
    gap: 32px;
    top: 80px;
    border-bottom-color: var(--line);
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(12px);
  }

  .section-tabs a {
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
  }

  .section-tabs a:first-child {
    color: var(--ink);
  }

  .content-section,
  .supporting-research {
    padding: 60px 0 64px;
    border-bottom: 1px solid var(--line);
    scroll-margin-top: 146px;
  }

  .content-section h2,
  .supporting-research-header h2 {
    margin: 10px 0 0;
    font-size: 29px;
    font-weight: 650;
    line-height: 1.18;
    letter-spacing: -.035em;
    text-wrap: balance;
  }

  .section-label {
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
  }

  .section-lede,
  .supporting-research-header p {
    max-width: 700px;
    margin: 18px 0 0;
    color: #484848;
    font-size: 16px;
    line-height: 1.6;
  }

  .section-editorial-header {
    max-width: 740px;
  }

  .section-heading {
    align-items: end;
    margin-bottom: 28px;
  }

  .estimate-pill,
  .evidence-state {
    min-height: 26px;
    padding: 0 10px;
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0;
  }

  /* One lead decision, then two concise supporting decisions. */
  .decision-brief {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 34px;
  }

  .realization-strip {
    margin-top: 18px;
    border-radius: 16px;
    box-shadow: none;
  }

  .realization-strip article {
    padding: 24px;
  }

  .realization-strip span,
  .potential-priority-row span {
    font-size: 12px;
  }

  .realization-strip strong,
  .potential-priority-row strong {
    font-size: 19px;
    font-weight: 650;
  }

  .realization-strip p,
  .potential-priority-row p {
    font-size: 13px;
    line-height: 1.5;
  }

  .decision-card {
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: none;
  }

  .opportunity-card {
    grid-template-columns: minmax(260px, .9fr) minmax(0, 1.1fr);
  }

  .decision-image {
    min-height: 310px;
  }

  .decision-image > span {
    left: 18px;
    bottom: 18px;
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    font-size: 11px;
  }

  .decision-card-body {
    padding: 28px;
  }

  .decision-card-value {
    margin-top: 24px;
    font-size: clamp(34px, 3.2vw, 42px);
  }

  .decision-card h3 {
    margin-top: 18px;
    font-size: 21px;
    font-weight: 650;
    line-height: 1.25;
  }

  .decision-card-body > p,
  .risk-card a {
    font-size: 14px;
    line-height: 1.55;
  }

  .decision-card-stats dt,
  .decision-checklist span {
    font-size: 12px;
  }

  .decision-card-stats dd,
  .decision-checklist strong {
    font-size: 14px;
  }

  .decision-checklist b {
    font-size: 11px;
  }

  .risk-card,
  .verify-card {
    min-height: 380px;
  }

  .decision-fundamentals {
    gap: 16px;
    margin-top: 16px;
  }

  .advisor-data-card,
  .market-range-card {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: none;
  }

  .advisor-data-card h3,
  .market-range-card h3 {
    font-size: 20px;
    font-weight: 650;
  }

  .advisor-data-lead strong {
    font-size: 40px;
  }

  .advisor-data-lead span,
  .cost-breakdown dt,
  .cost-breakdown dd,
  .text-action,
  .exposure-rows span,
  .exposure-rows small,
  .market-rent-row span,
  .market-rent-row strong {
    font-size: 12px;
  }

  .advisor-data-note {
    font-size: 12px;
  }

  .exposure-rows strong {
    font-size: 14px;
  }

  /* Research reads as a briefing: visible status first, deeper receipts second. */
  .supporting-research-header {
    gap: 32px;
  }

  .supporting-research-header > span {
    padding-top: 4px;
    font-size: 12px;
  }

  .supporting-research .research-evidence-sheet {
    margin-top: 34px;
  }

  .research-evidence-heading {
    margin-bottom: 16px;
  }

  .research-evidence-heading h3 {
    font-size: 20px;
    font-weight: 650;
  }

  .supporting-research .evidence-condition-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
  }

  .supporting-research .evidence-condition {
    min-height: 218px;
    padding: 24px;
    border: 0;
    border-right: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
  }

  .supporting-research .evidence-condition:last-child {
    border-right: 0;
  }

  .supporting-research .research-heading {
    margin-top: 42px;
  }

  .briefing-heading {
    margin-bottom: 18px;
  }

  .briefing-heading h3 {
    margin-top: 7px;
    font-size: 20px;
    font-weight: 650;
  }

  .briefing-heading small,
  .research-carousel-controls > span {
    font-size: 12px;
  }

  .supporting-research .briefing-card-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-flow: row;
    grid-auto-columns: auto;
    gap: 16px;
    overflow: visible;
    padding: 0;
    scroll-snap-type: none;
  }

  .supporting-research .briefing-card {
    min-height: 306px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: none;
  }

  .supporting-research .briefing-visual {
    min-height: 132px;
  }

  .supporting-research .insight-receipt > summary {
    min-height: 306px;
    grid-template-rows: 132px auto auto;
  }

  .supporting-research .briefing-copy {
    min-height: 76px;
  }

  .supporting-research .research-carousel-controls {
    display: none;
  }

  .briefing-visual > span,
  .briefing-next strong {
    font-size: 12px;
  }

  .briefing-copy h4,
  .briefing-copy > strong {
    font-size: 19px;
    font-weight: 650;
    line-height: 1.3;
  }

  .research-evidence-sheet {
    margin-top: 34px;
  }

  .evidence-condition {
    min-height: 250px;
    padding: 24px;
  }

  .evidence-value {
    font-size: 30px;
  }

  .evidence-condition h4 {
    font-size: 16px;
  }

  .evidence-condition p,
  .evidence-condition a,
  .evidence-condition button {
    font-size: 12px;
  }

  .signal-group-title span,
  .signal-group-title small,
  .signal-table article > div > p,
  .signal-result strong,
  .signal-result a,
  .signal-result span {
    font-size: 12px;
  }

  .signal-group-title span {
    letter-spacing: 0;
    text-transform: none;
  }

  .signal-table article > div > strong {
    font-size: 14px;
  }

  .source-receipt {
    border-radius: 14px;
  }

  .source-receipt > summary {
    padding: 22px 18px;
  }

  .source-receipt > summary strong {
    font-size: 15px;
  }

  .source-receipt > summary span,
  .source-list b,
  .source-list a,
  .source-list button {
    font-size: 12px;
  }

  .source-list {
    padding: 0 18px 8px;
  }

  .source-list strong {
    font-size: 14px;
  }

  .source-list p {
    font-size: 12px;
  }

  .source-kind {
    font-size: 11px;
  }

  /* Potential: one site study, a calm metric line, then comparable paths. */
  .site-study {
    border-radius: 16px;
    box-shadow: none;
  }

  .site-study-toolbar {
    padding: 21px 24px;
  }

  .site-study-toolbar > div:first-child strong {
    font-size: 17px;
  }

  .site-study-toolbar > div:first-child span {
    font-size: 13px;
  }

  .site-aerial {
    height: 430px;
  }

  .lot-data span,
  .path-label,
  .path-footer span {
    font-size: 12px;
  }

  .lot-data strong {
    font-size: 17px;
  }

  .potential-callout {
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 30px;
    margin-top: 18px;
    padding: 26px 0;
    border: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
  }

  .potential-callout small {
    font-size: 12px;
  }

  .potential-callout p {
    font-size: 15px;
    line-height: 1.6;
  }

  .potential-priority-row {
    margin-top: 22px;
  }

  .potential-priority-row article {
    padding: 24px 24px 24px 0;
  }

  .potential-priority-row article + article {
    padding-left: 24px;
  }

  .possibility-grid {
    gap: 16px;
    margin-top: 30px;
  }

  .potential-path-card {
    min-height: 300px;
    padding: 26px;
    border-radius: 16px;
  }

  .path-outcome {
    font-size: clamp(30px, 3vw, 38px);
  }

  .potential-path-card h3 {
    font-size: 19px;
    font-weight: 650;
    line-height: 1.3;
  }

  .potential-path-card > p {
    font-size: 14px;
    line-height: 1.55;
  }

  .path-footer strong {
    font-size: 13px;
  }

  .next-step-card {
    margin-top: 32px;
    border-radius: 16px;
    background: #242424;
  }

  .next-step-card h3 {
    font-size: 27px;
    font-weight: 650;
  }

  .next-step-lead > p,
  .next-step-list strong {
    font-size: 14px;
  }

  .next-step-list span {
    font-size: 12px;
  }

  /* Comps read as one evidence system, not a stack of independent cards. */
  .comps-heading {
    margin-bottom: 30px;
  }

  .comp-read {
    grid-template-columns: 116px minmax(0, 1fr);
    padding: 26px 28px;
    border-radius: 14px;
    background: var(--soft);
  }

  .comp-read > span,
  .comp-read > p {
    font-size: 13px;
  }

  .comp-read > strong {
    font-size: 20px;
  }

  .market-range-card {
    margin-top: 16px;
    padding: 28px;
    background: #fff;
  }

  .market-range-values span,
  .market-range-card > p {
    font-size: 13px;
  }

  .market-range-values strong {
    font-size: 25px;
  }

  .comp-card-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 30px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
  }

  .comp-card {
    min-height: 330px;
    padding: 26px;
    border: 0;
    border-right: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
  }

  .comp-card:last-child {
    border-right: 0;
  }

  .comp-card:hover {
    border-color: var(--line);
    background: var(--soft);
  }

  .comp-card-kicker {
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
  }

  .comp-card h3 {
    margin-top: 24px;
    font-size: 18px;
    font-weight: 650;
  }

  .comp-card-place,
  .comp-facts,
  .comp-lesson,
  .comp-source {
    font-size: 12px;
  }

  .comp-sale-price {
    font-size: 30px;
  }

  .property-record-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
    gap: 0;
    margin-top: 16px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
  }

  .transaction-card,
  .grandfather-card {
    border: 0;
    border-radius: 0;
    background: #fff;
    color: var(--ink);
  }

  .transaction-card {
    padding: 27px 28px 14px;
  }

  .transaction-card h3 {
    font-size: 19px;
  }

  .transaction-card > header > a,
  .transaction-timeline time,
  .transaction-timeline small,
  .grandfather-actions a {
    color: var(--muted);
    font-size: 12px;
  }

  .transaction-timeline strong,
  .transaction-timeline > li > span {
    font-size: 13px;
  }

  .grandfather-card {
    padding: 28px;
    border-left: 1px solid var(--line);
  }

  .grandfather-card .section-label {
    color: var(--muted);
  }

  .grandfather-card > strong {
    font-size: 24px;
  }

  .grandfather-card > p {
    color: #5f5f5f;
    font-size: 13px;
  }

  .grandfather-actions a {
    color: var(--ink);
  }

  /* Location uses one wide map and an unboxed information row. */
  .proximity-list {
    gap: 0;
    margin: 30px 0 18px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .proximity-list article {
    min-height: 112px;
    padding: 22px 20px;
    border: 0;
    border-right: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
  }

  .proximity-list article:first-child {
    padding-left: 0;
  }

  .proximity-list article:last-child {
    border-right: 0;
  }

  .proximity-list span,
  .proximity-list small,
  .proximity-note {
    font-size: 12px;
  }

  .proximity-list strong {
    font-size: 18px;
  }

  .map-frame {
    height: 470px;
    border: 0;
    border-radius: 18px;
  }

  .hero-map-card .leaflet-control-attribution,
  .map-frame .leaflet-control-attribution,
  .site-aerial .leaflet-control-attribution {
    font-size: 9px !important;
  }

  /* Media tiles stay borderless; the image is the card. */
  .related-section {
    padding-bottom: 24px;
    border-bottom: 0;
  }

  .related-heading {
    margin-bottom: 24px;
  }

  .related-heading > span {
    font-size: 12px;
  }

  .related-property-rail {
    grid-auto-columns: minmax(218px, 1fr);
    gap: 16px;
  }

  .related-card-media {
    border-radius: 16px;
  }

  .related-card-media > span {
    font-size: 11px;
  }

  .related-card-copy strong {
    font-size: 15px;
  }

  .related-card-copy small,
  .related-card-copy em {
    font-size: 12px;
  }

  /* The model is the page's only elevated card. */
  .deal-card {
    width: min(100%, 620px);
    height: auto;
    max-height: none;
    position: relative;
    top: auto;
    justify-self: center;
    margin: 48px auto 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(0,0,0,.10);
    perspective: none;
  }

  .deal-property-anchor {
    height: 112px;
  }

  .deal-property-title {
    left: 22px;
    right: 22px;
    bottom: 17px;
  }

  .deal-property-anchor strong {
    font-size: 18px;
    font-weight: 650;
  }

  .deal-card-inner,
  .deal-card.adjusting .deal-card-inner {
    height: auto;
    min-height: 0;
    transform: none;
  }

  .deal-card-face {
    position: relative;
    inset: auto;
    padding: 24px;
    border-radius: 0;
    overflow: visible;
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
  }

  .deal-card-front {
    display: block;
  }

  .deal-card-back {
    display: none;
    transform: none;
  }

  .deal-card.adjusting .deal-card-front {
    display: none;
  }

  .deal-card.adjusting .deal-card-back {
    display: block;
  }

  .deal-sheet-heading h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 650;
  }

  .strategy-option-grid {
    gap: 8px;
    margin-top: 16px;
  }

  .strategy-option-grid button {
    min-height: 66px;
    padding: 12px 13px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
  }

  .strategy-option-grid button strong {
    font-size: 14px;
  }

  .strategy-option-grid button small {
    color: var(--muted);
    font-size: 11px;
  }

  .strategy-option-grid button em {
    font-size: 12px;
  }

  .strategy-option-grid button.active {
    border-color: var(--ink);
    background: var(--ink);
  }

  .selected-strategy-card {
    margin-top: 22px;
    padding: 22px 0 0;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
  }

  .selected-strategy-heading > div > span,
  .deal-sheet-heading > span {
    font-size: 12px;
  }

  .selected-strategy-heading h2 {
    font-size: 20px;
    font-weight: 650;
  }

  .selected-strategy-card > p,
  .strategy-flow {
    display: none;
  }

  .deal-risk {
    min-height: 28px;
    padding: 0 10px;
    font-size: 11px;
  }

  .deal-primary-outcome {
    margin-top: 16px;
    padding: 17px 0;
  }

  .deal-primary-outcome span,
  .deal-primary-outcome small {
    font-size: 11px;
  }

  .deal-primary-outcome strong {
    font-size: 34px;
  }

  .selected-strategy-card .deal-metrics {
    margin-top: 14px;
    border: 1px solid var(--line);
    background: var(--line);
  }

  .selected-strategy-card .deal-metrics div {
    min-height: 68px;
    padding: 13px;
    background: #fff;
  }

  .selected-strategy-card .deal-metrics span {
    font-size: 11px;
  }

  .selected-strategy-card .deal-metrics strong {
    margin-top: 6px;
    font-size: 15px;
  }

  .model-edit-button {
    min-height: 48px;
    margin-top: 16px;
    font-size: 13px;
  }

  .score-receipt {
    margin-top: 10px;
  }

  .score-receipt > summary {
    min-height: 42px;
  }

  .score-receipt > summary span,
  .score-receipt > summary strong,
  .score-driver-list span,
  .score-driver-list strong {
    font-size: 11px;
  }

  .model-card-heading span,
  .deal-card-back > p,
  .model-field-heading strong,
  .model-field-heading output,
  .model-field > small {
    font-size: 12px;
  }

  .model-card-heading h2 {
    font-size: 21px;
  }

  .model-card-result strong {
    font-size: 23px;
  }

  .deal-adjust-form .model-field {
    padding: 14px;
    border-radius: 12px;
  }

  .model-card-actions {
    margin-top: 16px;
  }
}

@media (min-width: 1080px) {
  .property-body-layout {
    grid-template-columns: minmax(0, 1fr) var(--report-sidebar);
    column-gap: var(--report-gap);
  }

  .deal-card {
    width: 100%;
    position: sticky;
    top: 104px;
    justify-self: stretch;
    margin: 56px 0 0;
  }
}

/* Owner case study: a compact proof record for properties with real operating history. */
.price-fact:before { content: none !important; }
.price-fact span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.case-study-section {
  display: grid;
  gap: 22px;
  --case-card-radius: 24px;
  --case-tile-radius: 18px;
  --case-card-pad: 24px;
  --case-tile-pad: 18px;
  --case-tile-bg: #f7f7f5;
  --case-copy: #565656;
}

.case-study-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

#caseStudy .section-label {
  font-size: 12px;
}

.case-study-stat-grid article,
.case-study-card,
.case-study-binder {
  border: 1px solid var(--line);
  border-radius: var(--case-card-radius);
  background: #fff;
  box-shadow: 0 16px 40px rgba(0,0,0,.04);
}

.case-study-stat-grid article {
  min-height: 105px;
  padding: 19px;
}

.case-study-stat-grid span,
.case-mini-rows span,
.case-rental-row span,
.case-rental-row small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.case-study-stat-grid strong {
  display: block;
  margin-top: 12px;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 34px);
  line-height: .95;
  letter-spacing: -.05em;
}

.case-study-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.case-study-card {
  min-width: 0;
  padding: var(--case-card-pad);
}

.case-study-card header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.case-study-card h3,
.case-study-binder h3 {
  margin: 9px 0 0;
  color: var(--ink);
  font-size: 23px;
  line-height: 1.13;
  letter-spacing: -.035em;
}

.case-study-card p {
  max-width: 520px;
  margin: 13px 0 0;
  color: var(--case-copy);
  font-size: 14px;
  line-height: 1.55;
}

.case-study-card header > strong {
  flex: 0 0 auto;
  padding: 8px 11px;
  border-radius: 999px;
  background: #f7f4ef;
  font-size: 12px;
}

.case-rental-chart {
  display: grid;
  gap: 13px;
  margin-top: 24px;
}

.case-rental-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 58px;
  align-items: center;
  gap: 10px;
}

.case-rental-row div {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #f0efec;
}

.case-rental-row i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #111, #e43d56);
}

.case-rental-row strong {
  color: var(--ink);
  font-size: 13px;
  text-align: right;
}

.case-rental-row small {
  grid-column: 2 / 4;
  margin-top: -7px;
}

.case-mini-rows {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.case-mini-rows div {
  min-height: 70px;
  padding: 13px;
  border-radius: 16px;
  background: #f7f7f5;
}

.case-mini-rows strong {
  display: block;
  margin-top: 7px;
  font-size: 16px;
  line-height: 1.15;
}

.case-pill-row,
.source-binder-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.case-pill-row span,
.source-binder-row span {
  padding: 9px 12px;
  border-radius: 999px;
  background: #f5f4f1;
  color: var(--ink);
  font-size: 12px;
  font-weight: 650;
}

.case-study-next ol {
  display: grid;
  gap: 12px;
  margin: 19px 0 0;
  padding: 0;
  list-style: none;
}

.case-study-next li {
  position: relative;
  padding-left: 22px;
  color: #3f3f3f;
  font-size: 14px;
  line-height: 1.45;
}

.case-study-next li:before {
  content: "";
  position: absolute;
  top: .62em;
  left: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.case-study-options-card {
  display: grid;
  gap: 20px;
}

.case-options-grid,
.case-confidence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.case-options-grid article,
.case-confidence-grid article,
.case-scenario-grid article,
.case-diligence-grid article,
.case-deep-model-grid article,
.case-risk-grid article {
  min-width: 0;
  padding: var(--case-tile-pad);
  border-radius: var(--case-tile-radius);
  background: var(--case-tile-bg);
}

.case-options-grid span,
.case-confidence-grid span,
.case-study-memo span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.case-options-grid strong,
.case-confidence-grid strong {
  display: block;
  margin-top: 9px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.case-options-grid p,
.case-confidence-grid p {
  margin: 10px 0 0;
  color: var(--case-copy);
  font-size: 13px;
  line-height: 1.45;
}

.rental-machine-card {
  display: grid;
  gap: 22px;
}

.rental-machine-card > header p {
  max-width: 680px;
}

.rental-machine-layout {
  display: grid;
  grid-template-columns: minmax(260px, .86fr) minmax(0, 1.14fr);
  gap: 12px;
  align-items: stretch;
}

.rental-machine-hero {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 22px;
  background: #111;
}

.rental-machine-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.58));
}

.rental-machine-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rental-machine-hero div {
  position: absolute;
  z-index: 1;
  left: 22px;
  right: 22px;
  bottom: 22px;
  color: #fff;
}

.rental-machine-hero span {
  display: block;
  color: rgba(255,255,255,.72);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.rental-machine-hero strong {
  display: block;
  max-width: 430px;
  margin-top: 8px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.02;
  letter-spacing: -.05em;
}

.rental-machine-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.rental-machine-grid article {
  min-width: 0;
  padding: 18px;
  border-radius: 20px;
  background: #f7f7f5;
}

.rental-machine-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.rental-machine-grid strong {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.05;
  letter-spacing: -.04em;
}

.rental-machine-grid p {
  margin-top: 10px;
}

.rental-machine-playbook {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.rental-machine-playbook span {
  display: block;
  min-height: 74px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: #343434;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.32;
  background: #fff;
}

.case-study-memo {
  padding: clamp(24px, 4vw, 38px);
  border-radius: 28px;
  background: #191919;
  color: #fff;
  box-shadow: 0 18px 55px rgba(0,0,0,.12);
}

.case-study-memo span {
  color: rgba(255,255,255,.58);
}

.case-study-memo p {
  max-width: 890px;
  margin: 13px 0 0;
  color: rgba(255,255,255,.9);
  font-size: clamp(19px, 2.6vw, 32px);
  line-height: 1.22;
  letter-spacing: -.04em;
}

.case-study-scenario-lab,
.case-study-diligence,
.case-study-deep-model,
.case-study-risk-register {
  display: grid;
  gap: 20px;
}

.case-study-scenario-lab header p,
.case-study-deep-model header p {
  max-width: 650px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.case-scenario-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}

.case-scenario-grid span,
.case-diligence-grid span,
.case-deep-model-grid span,
.case-risk-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.case-scenario-grid strong,
.case-diligence-grid strong,
.case-deep-model-grid strong,
.case-risk-grid strong {
  display: block;
  margin-top: 9px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.15;
  letter-spacing: -.025em;
}

.case-scenario-grid p,
.case-diligence-grid p,
.case-deep-model-grid p,
.case-risk-grid p {
  margin: 10px 0 0;
  color: var(--case-copy);
  font-size: 13px;
  line-height: 1.45;
}

.case-scenario-grid dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 15px 0 0;
  border-radius: 14px;
  background: #dedbd5;
}

.case-scenario-grid dl div {
  min-width: 0;
  padding: 10px;
  background: #fff;
}

.case-scenario-grid dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.case-scenario-grid dd {
  margin: 5px 0 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.2;
}

.case-diligence-grid,
.case-deep-model-grid,
.case-risk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}

.case-risk-grid span {
  width: max-content;
  padding: 6px 9px;
  border-radius: 999px;
  background: #fff;
  color: #7a3b00;
}

.case-risk-grid article:nth-child(-n+3) span {
  color: #8d1022;
}

.case-study-binder {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 24px;
}

.case-study-binder > div:first-child {
  max-width: 330px;
}

.source-binder-row {
  justify-content: flex-end;
  margin-top: 0;
}

@media (max-width: 780px) {
  .case-study-section {
    gap: 16px;
    --case-card-radius: 22px;
    --case-card-pad: 20px;
    --case-tile-radius: 16px;
    --case-tile-pad: 16px;
  }
  .case-study-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .case-study-stat-grid article {
    min-height: 91px;
    padding: 16px;
    border-radius: 20px;
  }
  .case-study-stat-grid strong {
    font-size: 27px;
  }
  .case-study-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .case-study-card,
  .case-study-binder {
    padding: 20px;
    border-radius: 22px;
  }
  .case-study-card header {
    display: block;
  }
  .case-study-card header > strong {
    display: inline-block;
    margin-top: 12px;
  }
  .case-mini-rows {
    grid-template-columns: 1fr;
  }
  .case-options-grid,
  .case-confidence-grid,
  .rental-machine-grid {
    grid-template-columns: 1fr;
  }
  .rental-machine-layout {
    grid-template-columns: 1fr;
  }
  .rental-machine-hero {
    min-height: 300px;
  }
  .rental-machine-playbook {
    grid-template-columns: 1fr;
  }
  .case-scenario-grid,
  .case-diligence-grid,
  .case-deep-model-grid,
  .case-risk-grid {
    grid-template-columns: 1fr;
  }
  .case-scenario-grid article,
  .case-diligence-grid article,
  .case-deep-model-grid article,
  .case-risk-grid article {
    padding: 16px;
  }
  .case-study-memo {
    border-radius: 24px;
  }
  .case-study-memo p {
    font-size: 21px;
  }
  .case-rental-row {
    grid-template-columns: 38px minmax(0, 1fr) 54px;
  }
  .case-study-binder {
    display: block;
  }
  .source-binder-row {
    justify-content: flex-start;
    margin-top: 18px;
  }
}

/* Final strategy-card simplification override. */
.deal-card .strategy-option-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 4px !important;
  margin-top: 0 !important;
  padding: 4px !important;
  border: 1px solid var(--line-light) !important;
  border-radius: 999px !important;
  background: #f6f6f4 !important;
}

.deal-card .strategy-option-grid button {
  min-height: 36px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 6px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: center !important;
}

.deal-card .strategy-option-grid button strong {
  font-size: 11px !important;
  line-height: 1 !important;
  background: transparent !important;
}

.deal-card .strategy-option-grid button small,
.deal-card .strategy-option-grid button em {
  display: none !important;
}

.deal-card .strategy-option-grid button.active {
  background: #fff !important;
  color: var(--ink) !important;
  box-shadow: 0 2px 10px rgba(0,0,0,.08) !important;
}

.deal-card .strategy-flow {
  display: none !important;
}

.deal-card .selected-strategy-card .deal-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.deal-card .selected-strategy-card .deal-metrics div:nth-child(2) {
  display: none !important;
}

/* Desktop deal card normalization.
   Keeps the sticky analyzer compact while the mobile sheet can keep its larger touch UI. */
@media (min-width: 760px) {
  .property-body-layout .deal-card {
    width: 360px;
    max-width: 360px;
    position: sticky;
    top: 108px;
    align-self: start;
    justify-self: end;
    margin: 48px 0 0;
    border: 1px solid rgba(34, 34, 34, .10);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(0, 0, 0, .10);
    overflow: hidden;
  }

  .property-body-layout .deal-property-anchor {
    height: 92px;
    margin: 0;
    border-radius: 0;
  }

  .property-body-layout .deal-property-anchor::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, .10), rgba(0, 0, 0, .58));
  }

  .property-body-layout .deal-property-title {
    left: 18px;
    right: 18px;
    bottom: 15px;
  }

  .property-body-layout .deal-property-anchor strong {
    font-size: 17px;
    line-height: 1.08;
    letter-spacing: -.02em;
  }

  .property-body-layout .deal-property-anchor span {
    display: none;
  }

  .property-body-layout .deal-card-inner,
  .property-body-layout .deal-card.adjusting .deal-card-inner {
    height: auto;
    min-height: 0;
    transform: none;
    perspective: none;
  }

  .property-body-layout .deal-card-face {
    position: relative;
    inset: auto;
    min-height: 0;
    height: auto;
    padding: 18px;
    overflow: visible;
    border-radius: 0;
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
  }

  .property-body-layout .deal-card-front {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .property-body-layout .deal-card-back {
    display: none;
    transform: none;
  }

  .property-body-layout .deal-card.adjusting .deal-card-front {
    display: none;
  }

  .property-body-layout .deal-card.adjusting .deal-card-back {
    display: block;
  }

  .property-body-layout .deal-sheet-heading h2 {
    margin: 0;
    font-size: 18px;
    line-height: 1.15;
    font-weight: 760;
    letter-spacing: -.02em;
  }

  .property-body-layout .deal-card .strategy-option-grid {
    margin: 0 !important;
    padding: 4px !important;
    gap: 4px !important;
    border-radius: 999px !important;
    border-color: rgba(34, 34, 34, .10) !important;
    background: #f5f5f3 !important;
  }

  .property-body-layout .deal-card .strategy-option-grid button {
    min-height: 36px !important;
    padding: 0 5px !important;
  }

  .property-body-layout .deal-card .strategy-option-grid button strong {
    font-size: 11px !important;
    font-weight: 720 !important;
  }

  .property-body-layout .selected-strategy-card {
    margin: 0;
    padding: 14px;
    border: 1px solid rgba(34, 34, 34, .10);
    border-radius: 20px;
    background: #fff;
  }

  .property-body-layout .selected-strategy-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: start;
  }

  .property-body-layout .selected-strategy-heading > div > span {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0;
    text-transform: none;
  }

  .property-body-layout .selected-strategy-heading h2 {
    max-width: 200px;
    margin: 0;
    font-size: 19px;
    line-height: 1.12;
    font-weight: 760;
    letter-spacing: -.035em;
  }

  .property-body-layout .deal-risk {
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #f5f5f3;
    color: var(--muted);
    font-size: 11px;
    font-weight: 650;
    white-space: nowrap;
  }

  .property-body-layout .selected-strategy-card > p,
  .property-body-layout .selected-strategy-card .strategy-flow {
    display: none !important;
  }

  .property-body-layout .deal-primary-outcome {
    min-height: 0;
    margin-top: 14px;
    padding: 14px 0 4px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "label value"
      "context value";
    gap: 3px 12px;
    align-items: end;
    border-top: 1px solid rgba(34, 34, 34, .10);
    color: var(--ink);
  }

  .property-body-layout .deal-primary-outcome span {
    grid-area: label;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.2;
  }

  .property-body-layout .deal-primary-outcome small {
    grid-area: context;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.2;
  }

  .property-body-layout .deal-primary-outcome strong {
    grid-area: value;
    color: var(--ink);
    font-size: 34px;
    line-height: .95;
    letter-spacing: -.05em;
  }

  .property-body-layout .selected-strategy-card .deal-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px;
    margin-top: 10px;
    border: 0;
    background: transparent;
  }

  .property-body-layout .selected-strategy-card .deal-metrics div {
    min-width: 0;
    min-height: 64px;
    padding: 11px 12px;
    border: 1px solid rgba(34, 34, 34, .10);
    border-radius: 16px;
    background: #fafaf8;
  }

  .property-body-layout .selected-strategy-card .deal-metrics span {
    display: block;
    max-width: 100%;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .property-body-layout .selected-strategy-card .deal-metrics strong {
    display: block;
    margin-top: 6px;
    color: var(--ink);
    font-size: 17px;
    line-height: 1.1;
    letter-spacing: -.02em;
  }

  .property-body-layout .realize-score-panel {
    margin-top: 10px;
    padding: 12px;
    border: 1px solid rgba(34, 34, 34, .10);
    border-radius: 16px;
    background: #fafaf8;
  }

  .property-body-layout .realize-score-panel div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
  }

  .property-body-layout .realize-score-panel span {
    color: var(--muted);
    font-size: 12px;
  }

  .property-body-layout .realize-score-panel strong {
    color: var(--ink);
    font-size: 18px;
    letter-spacing: -.02em;
  }

  .property-body-layout .realize-score-panel strong b {
    color: var(--ink);
  }

  .property-body-layout .realize-score-panel meter {
    height: 8px;
    margin-top: 10px;
  }

  .property-body-layout .model-edit-button {
    min-height: 44px;
    margin: 0;
    border-radius: 999px;
    border: 1px solid var(--ink);
    background: var(--ink);
    box-shadow: none;
    font-size: 14px;
    font-weight: 760;
  }

  .property-body-layout .score-receipt {
    margin: 0;
    border: 0;
  }

  .property-body-layout .score-receipt > summary {
    min-height: 44px;
    padding: 0 12px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    border: 1px solid rgba(34, 34, 34, .10);
    border-radius: 14px;
    background: #fafaf8;
  }

  .property-body-layout .score-receipt > summary span,
  .property-body-layout .score-receipt > summary strong {
    font-size: 12px;
    line-height: 1.15;
  }

  .property-body-layout .score-receipt > summary span {
    color: var(--ink);
    font-weight: 650;
  }

  .property-body-layout .score-receipt > summary strong {
    color: var(--muted);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* Device-local field notes remain quieter than verified source evidence. */
.research-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.field-finding-trigger {
  appearance: none;
  border: 1px solid rgba(34, 34, 34, .15);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  padding: 9px 13px;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}

.field-finding-trigger:hover { background: #f7f7f5; }
.field-finding-trigger.compact { padding: 7px 11px; }

.field-findings {
  margin: 0 0 26px;
  padding: 22px;
  border: 1px solid var(--line-light);
  border-radius: 22px;
  background: #fff;
}

.field-findings-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.field-findings h3 { margin: 5px 0 0; font-size: 20px; letter-spacing: -.025em; }
.field-findings-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; margin-top: 18px; }

.field-findings-list article {
  padding: 15px;
  border: 1px solid rgba(34, 34, 34, .10);
  border-radius: 15px;
  background: #fafaf8;
}

.field-findings-list article > div { display: flex; justify-content: space-between; gap: 10px; }
.field-findings-list span { color: var(--muted); font-size: 11px; font-weight: 650; }
.field-findings-list strong { display: block; margin-top: 8px; font-size: 14px; line-height: 1.28; }
.field-findings-list p { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.4; }
.field-findings-list a { display: inline-block; margin-top: 11px; color: var(--ink); font-size: 12px; font-weight: 650; }
.field-finding-remove { border: 0; padding: 0; background: none; color: var(--muted); font: inherit; font-size: 11px; text-decoration: underline; cursor: pointer; }

.field-finding-dialog {
  width: min(520px, calc(100vw - 32px));
  max-height: min(720px, calc(100dvh - 32px));
  margin: auto;
  border: 0;
  border-radius: 24px;
  padding: 0;
  background: #fff;
  box-shadow: 0 22px 70px rgba(0, 0, 0, .22);
}

.field-finding-dialog::backdrop { background: rgba(0, 0, 0, .4); }
.field-finding-form { padding: 26px; }
.field-finding-dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.field-finding-dialog h2 { margin: 6px 0 8px; font-size: 26px; letter-spacing: -.035em; }
.field-finding-dialog p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.4; }
.field-finding-close { width: 34px; height: 34px; border: 0; border-radius: 50%; background: #f5f5f3; color: var(--ink); font-size: 23px; line-height: 1; cursor: pointer; }
.field-finding-form label { display: block; margin-top: 15px; }
.field-finding-form label > span { display: block; margin-bottom: 7px; color: var(--ink); font-size: 12px; font-weight: 650; }
.field-finding-form em { color: var(--muted); font-style: normal; font-weight: 500; }
.field-finding-form input, .field-finding-form select, .field-finding-form textarea { box-sizing: border-box; width: 100%; border: 1px solid rgba(34, 34, 34, .18); border-radius: 12px; padding: 12px; background: #fff; color: var(--ink); font: inherit; font-size: 14px; }
.field-finding-form textarea { resize: vertical; }
.field-finding-form input:focus, .field-finding-form select:focus, .field-finding-form textarea:focus { outline: 2px solid rgba(255, 56, 92, .30); border-color: var(--accent); }
.field-finding-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 23px; }
.field-finding-actions .primary-button, .field-finding-actions .secondary-button { min-height: 42px; padding: 0 17px; border-radius: 12px; }

@media (max-width: 780px) {
  .research-header-actions { align-items: flex-start; justify-content: space-between; width: 100%; }
  .field-findings { padding: 18px; border-radius: 18px; }
  .field-findings-list { grid-template-columns: 1fr; }
  .field-finding-form { padding: 22px; }
  .field-finding-dialog h2 { font-size: 23px; }
}

/* Deal card visual repair: keep analysis modules quiet and integrated. */
.deal-card .deal-primary-outcome {
  min-height: 0 !important;
  margin-top: 14px !important;
  padding: 14px 0 4px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-areas:
    "label value"
    "context value" !important;
  gap: 3px 12px !important;
  align-items: end !important;
  border: 0 !important;
  border-top: 1px solid rgba(34, 34, 34, .10) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--ink) !important;
}

.deal-card .deal-primary-outcome span {
  grid-area: label !important;
  color: var(--muted) !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
}

.deal-card .deal-primary-outcome small {
  grid-area: context !important;
  margin: 0 !important;
  color: var(--muted) !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
}

.deal-card .deal-primary-outcome strong {
  grid-area: value !important;
  color: var(--ink) !important;
  font-size: 34px !important;
  line-height: .95 !important;
  letter-spacing: -.05em !important;
}

.deal-card .realize-score-panel {
  margin-top: 10px !important;
  padding: 12px !important;
  border: 1px solid rgba(34, 34, 34, .10) !important;
  border-radius: 16px !important;
  background: #fafaf8 !important;
  color: var(--ink) !important;
}

.deal-card .realize-score-panel span {
  color: var(--muted) !important;
  font-size: 12px !important;
}

.deal-card .realize-score-panel strong,
.deal-card .realize-score-panel b {
  color: var(--ink) !important;
}

.deal-card .realize-score-panel strong {
  font-size: 18px !important;
}

.deal-card .realize-score-panel b {
  font-size: inherit !important;
}

.deal-card .realize-score-panel meter,
.deal-card .realize-score-panel meter::-webkit-meter-bar {
  background: #e8e8e4 !important;
}

.deal-card .selected-strategy-card .deal-metrics span,
.deal-card .selected-strategy-card .deal-metrics strong {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

.deal-card .score-receipt > summary {
  min-height: 44px !important;
  padding: 0 12px !important;
  border: 1px solid rgba(34, 34, 34, .10) !important;
  border-radius: 14px !important;
  background: #fafaf8 !important;
}

.deal-card .score-receipt > summary span {
  color: var(--ink) !important;
  font-size: 12px !important;
  font-weight: 650 !important;
}

.deal-card .score-receipt > summary strong {
  color: var(--muted) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

@media (max-width: 780px) {
  .about-view { padding: 38px 22px 88px; }
  .about-hero { margin: 6px 0 46px; }
  .about-hero h1 { font-size: clamp(44px, 13vw, 62px); line-height: 1; }
  .about-hero p { font-size: 20px; }
  .about-intro-grid { grid-template-columns: 1fr; gap: 18px; margin-bottom: 68px; padding-top: 22px; }
  .about-intro-grid p { font-size: 16px; }
  .about-property-stories .about-section-heading h2 { font-size: 34px; }
  .about-story-list { margin: 28px -8px 0; border-radius: 18px; }
  .about-story-card { grid-template-columns: 1fr; }
  .about-story-card img { min-height: 210px; max-height: 270px; }
  .about-story-card > div { padding: 24px 22px 26px; }
  .about-story-card h3 { font-size: 25px; }
  .about-story-card p { font-size: 14px; }
  .about-process { grid-template-columns: 1fr; margin-top: 68px; }
  .about-process article { min-height: 0; padding: 24px 0 27px; border-right: 0; border-bottom: 1px solid var(--line-light); }
  .about-process article:last-child { border-bottom: 0; }
  .about-process h3 { margin-top: 28px; font-size: 22px; }
  .about-future { grid-template-columns: 1fr; gap: 22px; margin-top: 68px; padding: 34px 0; }
  .about-future h2 { font-size: 34px; }
  .about-future > p { font-size: 16px; }
  .about-close { margin-top: 52px; }
  .about-close h2 { font-size: 38px; }
}

/* Keep the gallery and analyzer header deliberately quiet: image-led scanning
   on the left, then just identity and price before the strategy controls. */
@media (min-width: 760px) {
  /* The location belongs in the photo mosaic as a fifth, always-on tile. */
  .photo-gallery .hero-map-card {
    display: block;
    grid-column: 3;
    grid-row: 2;
    height: auto;
    min-height: 0;
    border-radius: 0;
  }

  .property-body-layout .deal-property-anchor {
    height: auto;
    min-height: 0;
    padding: 18px 18px 15px;
    background: #fff;
    border-bottom: 1px solid rgba(34, 34, 34, .10);
  }

  .property-body-layout .deal-property-anchor::after,
  .property-body-layout .deal-property-anchor img {
    display: none;
  }

  .property-body-layout .deal-property-title {
    position: static;
  }

  .property-body-layout .deal-property-anchor strong {
    color: var(--ink);
    font-size: 16px;
    font-weight: 700;
    text-shadow: none;
  }

  .property-body-layout .deal-property-anchor span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
  }

  .property-body-layout .deal-card-inner {
    height: auto;
  }
}

@media (max-width: 780px) {
  .site-study-actions { width: 100%; margin-top: 14px; justify-content: space-between; }
  .site-study-action { min-height: 36px; font-size: 13px; }
  .site-concept-dialog { width: min(100vw, 560px); max-height: 100dvh; border-radius: 24px 24px 0 0; margin: auto 0 0; }
  .site-concept-dialog-heading { padding: 24px 20px 18px; }
  .site-concept-dialog-heading h2 { font-size: 30px; }
  .site-concept-map-wrap { height: min(48vw, 300px); margin: 0 14px; border-radius: 14px; }
  .site-concept-steps { grid-template-columns: 1fr; gap: 15px; padding: 20px; }
  .site-concept-steps article,
  .site-concept-steps article:first-child { display: grid; grid-template-columns: 24px 1fr; column-gap: 10px; padding: 0; border: 0; }
  .site-concept-steps strong { margin: 2px 0 0; }
  .site-concept-steps p { grid-column: 2; margin-top: 3px; }
  .site-concept-footer { display: grid; grid-template-columns: 1fr; margin: 4px 20px 24px; }
  .site-concept-footer .secondary-button { width: 100%; }
}
