.property-list-row__access {
  display: block;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  -webkit-line-clamp: unset;
}

/* Market snapshot: total inventory, its live subset, then the next regions to move. */
.browse-intro {
  display: none;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.36fr);
  align-items: end;
  gap: 1.5rem 3rem;
  padding-top: 2.5rem;
}

body.is-public-home-mode .browse-intro,
html.public-home-hint .browse-intro {
  display: grid;
}

.browse-intro__eyebrow {
  margin: 0 0 0.55rem;
  color: #5d6d65;
  font-size: 0.75rem;
  font-weight: 700;
}

.browse-intro h1 {
  margin: 0;
  color: #17251f;
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.14;
}

.browse-intro__copy {
  margin: 0.9rem 0 0;
  color: #52615a;
  font-size: 0.95rem;
  line-height: 1.8;
}

.browse-intro__note {
  margin: 0;
  padding: 0.85rem 0 0.85rem 1rem;
  border-left: 2px solid #78968a;
  color: #5d6d65;
  font-size: 0.78rem;
  line-height: 1.7;
}

.portal-summary {
  display: grid;
  grid-template-columns: minmax(310px, 0.82fr) minmax(0, 1.58fr);
  min-height: 90px;
  margin: 28px 0 1.5rem;
  border-color: #c7d2cc;
  background: #fff;
  box-shadow: 0 10px 24px rgba(24, 59, 50, 0.08);
}

@media (max-width: 720px) {
  .browse-intro {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-top: 1.5rem;
  }

  .browse-intro h1 {
    font-size: 2rem;
  }

  .browse-intro__copy br {
    display: none;
  }

  .browse-intro__note {
    padding: 0.65rem 0 0.65rem 0.8rem;
  }
}

.portal-summary__counts {
  display: grid;
  min-width: 0;
  grid-template-columns: 1.08fr 0.92fr;
}

.portal-summary__total,
.portal-summary__open {
  display: flex;
  min-width: 0;
  min-height: 88px;
  flex-direction: column;
  justify-content: center;
  padding: 0.85rem 1rem;
}

.portal-summary__total {
  background: #183b32;
  color: #fff;
}

.portal-summary__open {
  border-right: 1px solid #c7d2cc;
  background: #eef5f1;
  color: #183b32;
}

.portal-summary__label {
  color: #53625b;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.3;
}

.portal-summary__total .portal-summary__label {
  color: rgba(255, 255, 255, 0.7);
}

.portal-summary__open .portal-summary__label {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
}

.portal-summary__open .portal-summary__label i {
  width: 0.45rem;
  height: 0.45rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #2f7a57;
  box-shadow: 0 0 0 3px rgba(47, 122, 87, 0.12);
}

.portal-summary__total p,
.portal-summary__open p {
  display: flex;
  align-items: baseline;
  gap: 0.28rem;
  margin: 0.35rem 0 0;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.portal-summary__total strong {
  font-family: 'Inter', sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
}

.portal-summary__open strong {
  font-family: 'Inter', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
}

.portal-summary__total small,
.portal-summary__open small {
  font-size: 0.68rem;
  font-weight: 700;
}

.portal-summary__total small {
  color: rgba(255, 255, 255, 0.7);
}

.portal-summary__open small {
  color: #617169;
}

.portal-summary__upcoming {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 0.9rem;
}

.portal-summary__regions-head {
  display: flex;
  min-width: 0;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.portal-summary__regions-label {
  color: #46554e;
  font-size: 0.69rem;
  font-weight: 700;
}

.portal-summary__regions-note {
  color: #7a867f;
  font-size: 0.58rem;
  white-space: nowrap;
}

.portal-summary__region-list {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
}

.portal-summary__region {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
  min-height: 50px;
  padding: 0.42rem 0.5rem 0.38rem;
  border: 1px solid #d7dfdb;
  border-radius: 3px;
  background: #f8faf9;
  color: #263c32;
  font-size: 0.72rem;
}

.portal-summary__region-name {
  overflow: hidden;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portal-summary__region-date {
  color: #506a5f;
  font-size: 0.63rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  line-height: 1.25;
  white-space: nowrap;
}

.portal-summary__region-empty {
  grid-column: 1 / -1;
}

/* Property detail: image first, then one consolidated summary and detail tabs. */
.property-detail-section {
  width: 100%;
  padding: calc(72px + 1.5rem) 0 4rem;
  background: #f7f8f7;
}

.property-detail__bit-header {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 1.25rem;
  padding: 0;
  overflow: hidden;
  border: 1px solid #d8dfdb;
  border-top: 0;
  border-radius: 6px;
  background: #fff;
}

.property-detail__bit-hero {
  order: 0;
  width: 100%;
  border-bottom: 1px solid #d8dfdb;
  background: #eef1ef;
}

.property-detail__media-viewer {
  width: 100%;
  max-width: none;
  gap: 0;
}

.property-detail__media-main {
  height: clamp(240px, 28vw, 360px);
  border: 0;
  border-radius: 0;
  background: #eef1ef;
}

.property-detail__media-image {
  background: #eef1ef;
}

.property-detail__media-placeholder--empty {
  min-height: 320px;
  border: 0;
  border-radius: 0;
}

.property-detail__media-caption {
  min-height: 32px;
  justify-content: flex-end;
  padding: 0.35rem 0.75rem;
  border-top: 1px solid #e2e7e4;
  background: #fff;
}

.property-detail__media-caption span {
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #5d6a64;
}

.property-detail__bit-info {
  order: 1;
  gap: 0;
  padding: 0;
}

.property-detail__bit-title-row {
  min-height: 24px;
}

.property-detail__bit-address {
  display: block;
  margin: 0;
  color: #15201b;
  font-size: 1.5rem;
  font-weight: 750;
  line-height: 1.4;
}

.property-detail__summary-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.property-detail__summary-table th,
.property-detail__summary-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #e1e6e3;
  vertical-align: top;
  text-align: left;
}

.property-detail__summary-table th {
  width: 8rem;
  background: #f5f7f6;
  color: #66726c;
  font-size: 0.72rem;
  font-weight: 750;
}

.property-detail__summary-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.property-detail__summary-items {
  display: grid;
  min-width: 0;
  gap: 0.65rem 1rem;
}

.property-detail__summary-items--identity,
.property-detail__summary-items--prices {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.property-detail__summary-items--schedule {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.property-detail__summary-items--result {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.property-detail__summary-result-row > th {
  background: #eef4f0;
  color: #2f5b4a;
}

.property-detail__summary-items--result .is-primary strong {
  color: #a43a2c;
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
}

.property-detail__summary-items > span {
  display: grid;
  min-width: 0;
  gap: 0.15rem;
}

.property-detail__summary-items small {
  color: #758079;
  font-size: 0.68rem;
  line-height: 1.35;
}

.property-detail__summary-items strong {
  min-width: 0;
  color: #26322c;
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.property-detail__summary-items--prices strong {
  font-variant-numeric: tabular-nums;
}

.property-detail__summary-items--prices .is-primary strong {
  color: #a43a2c;
  font-size: 1.05rem;
}

.property-detail__identity {
  margin: -0.3rem 0 0;
  color: #67736d;
  font-size: 0.78rem;
  line-height: 1.5;
}

.property-detail__bid-deadline {
  border-left-color: #2f5b4a;
  background: #f1f5f2;
}

.property-detail__bit-actions {
  align-items: center;
  margin-top: 0;
  padding: 1rem;
}

.property-detail__tabs {
  position: sticky;
  top: 60px;
  z-index: 5;
  margin-bottom: 1rem;
  border: 1px solid #d8dfdb;
  border-radius: 4px;
  background: #fff;
}

.property-detail__content {
  min-width: 0;
}

/* The library data is a report table, not a card dashboard. */
.reinfolib-data {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.reinfolib-item {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.reinfolib-item__title {
  margin: 0;
  padding: 0.55rem 0.7rem;
  border: 1px solid #d8dfdb;
  border-bottom: 0;
  background: #f3f6f4;
  color: #3f4d46;
  font-size: 0.78rem;
}

.reinfolib-item .reinfolib-table-wrap {
  border-radius: 0;
}

/* Preserve the transcript, while giving existing section and page markers visual hierarchy. */
.property-detail__transcript {
  max-height: 68vh;
  padding: 1.1rem 1.25rem 2rem;
  border: 1px solid #d8dfdb;
  background: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.9rem;
  line-height: 1.9;
}

.property-detail__transcript .transcript-section {
  display: block;
  margin: 1.6rem -1.25rem 0.75rem;
  padding: 0.65rem 1.25rem;
  border-top: 1px solid #d8dfdb;
  border-bottom: 1px solid #d8dfdb;
  background: #f3f6f4;
  color: #1d2b24;
  font-size: 1rem;
  font-weight: 750;
}

.property-detail__transcript .transcript-section:first-child {
  margin-top: -1.1rem;
  border-top: 0;
}

.property-detail__transcript .transcript-marker {
  display: inline-flex;
  min-width: 2.7rem;
  justify-content: center;
  margin: 1.35rem 0 0.55rem;
  padding: 0.18rem 0.45rem;
  border: 1px solid #b9c6bf;
  border-radius: 2px;
  background: #fff;
  color: #4b5d54;
  font-size: 0.7rem;
  font-weight: 750;
}

/* Favorites are a task page, not an account setting. */
.favorites-section {
  min-height: calc(100vh - 60px);
  padding: 2.25rem 0 4rem;
  background: #f7f8f7;
}

body.is-app-mode .favorites-section {
  width: 100%;
  max-width: none;
}

.favorites-header {
  margin-bottom: 1.25rem;
}

.favorites-header h1 {
  margin: 0;
  color: #15201b;
  font-size: 1.55rem;
}

.favorites-header p {
  margin: 0.35rem 0 0;
  color: #67736d;
  font-size: 0.88rem;
}

.favorites-section .favorites-empty {
  padding: 4rem 1rem;
  border: 1px solid #d8dfdb;
  border-radius: 4px;
  background: #fff;
}

.favorites-section .favorites-empty .btn {
  margin-top: 1rem;
}

/* Upload workspace: one clear action, detail context, then history. */
.upload-section {
  background: #f7f8f7;
}

.upload-section .container {
  max-width: 960px;
  padding-top: 2.25rem;
}

.upload-workspace__masthead {
  max-width: none;
  margin: 0 0 1.25rem;
  text-align: left;
}

.upload-workspace__title {
  color: #15201b;
  font-size: 1.75rem;
  line-height: 1.3;
}

.upload-workspace__lead {
  max-width: none;
  margin: 0.35rem 0 0;
  color: #67736d;
  font-size: 0.92rem;
  line-height: 1.6;
}

.upload-source-context {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 0.8rem 1rem;
  border-left: 3px solid #2f5b4a;
  background: #edf3ef;
}

.upload-source-context > div {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.upload-source-context__label {
  color: #5f6d66;
  font-size: 0.7rem;
}

.upload-source-context strong {
  overflow: hidden;
  color: #1f382d;
  font-size: 0.9rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-area {
  margin-bottom: 0;
}

.upload-area .upload-panel {
  max-width: none;
  padding: 1.25rem;
  border-color: #cdd6d1;
  background: #fff;
  box-shadow: none;
}

.upload-area .upload-panel__header {
  margin-bottom: 0.85rem;
  text-align: left;
}

.upload-area .upload-panel__title {
  color: #15201b;
  font-size: 1.1rem;
}

.upload-area .upload-panel__desc {
  color: #67736d;
  font-size: 0.8rem;
}

.upload-area .upload-dropzone {
  min-height: 190px;
  padding: 1.5rem;
  border-color: #9baba3;
  background: #f7f9f8;
}

.upload-area .upload-dropzone:hover,
.upload-area .upload-dropzone.is-dragover,
.upload-area .upload-dropzone.is-active {
  border-color: #2f5b4a;
  background: #f0f5f2;
  box-shadow: none;
}

.upload-area .upload-dropzone__icon {
  width: 50px;
  height: 50px;
  border-color: #c9d8d0;
  background: #e8f0eb;
  color: #2f5b4a;
}

.upload-area .upload-dropzone__action,
.upload-area .upload-submit {
  background: #2f5b4a;
  color: #fff;
  box-shadow: none;
}

.upload-area .upload-submit:disabled {
  display: inline-flex;
  background: #dce2df;
  color: #78827d;
}

.upload-support-links {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0.75rem 0 0;
  color: #67736d;
  font-size: 0.78rem;
}

.upload-support-links a {
  color: #2f5b4a;
  font-weight: 700;
}

.upload-history {
  max-width: none;
  margin-top: 2rem;
  padding: 1.25rem 0 0;
  border: 0;
  border-top: 1px solid #cdd6d1;
  border-radius: 0;
  background: transparent;
}

body.is-app-mode .result-section {
  min-height: calc(100vh - 60px);
  padding: 2rem 0 4rem;
  background: #f7f8f7;
}

.result-section .back-btn {
  margin-bottom: 1rem;
}

@media (max-width: 720px) {
  .portal-summary {
    grid-template-columns: 1fr;
    min-height: 0;
    margin-top: 8px;
  }

  .portal-summary__counts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portal-summary__total,
  .portal-summary__open {
    min-height: 76px;
    padding: 0.7rem 0.75rem;
  }

  .portal-summary__open {
    border-right: 0;
  }

  .portal-summary__upcoming {
    gap: 0.5rem;
    padding: 0.7rem 0.75rem 0.75rem;
    border-top: 1px solid #c7d2cc;
  }

  .portal-summary__region-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portal-summary__region {
    min-height: 50px;
  }

  .portal-summary__region:nth-child(n + 5) {
    display: none;
  }

  .property-detail__media-main {
    height: min(68vw, 300px);
  }

  .property-detail__media-caption {
    padding-inline: 0.75rem;
  }

  .property-detail__bit-info {
    padding: 0;
  }

  .property-detail__bit-address {
    font-size: 1.05rem;
  }

  .property-detail__summary-table th,
  .property-detail__summary-table td {
    padding: 0.7rem;
  }

  .property-detail__summary-table th {
    width: 5.2rem;
  }

  .property-detail__summary-items--identity,
  .property-detail__summary-items--schedule {
    grid-template-columns: 1fr;
  }

  .property-detail__summary-items--prices {
    gap: 0.5rem;
  }

  .property-detail__summary-items--prices small {
    font-size: 0.61rem;
  }

  .property-detail__summary-items--prices strong,
  .property-detail__summary-items--prices .is-primary strong {
    font-size: 0.78rem;
  }

  .property-detail__tabs {
    top: 56px;
    overflow-x: auto;
  }

  .property-detail__tab {
    flex: 0 0 auto;
    min-width: 6.5rem;
  }

  .upload-source-context {
    align-items: stretch;
    flex-direction: column;
  }

  .upload-source-context strong {
    white-space: normal;
  }

  .upload-support-links {
    align-items: flex-start;
    flex-wrap: wrap;
  }
}

/* One header is shared by every route; session state only changes its controls. */
.site-header {
  display: block;
}

.site-header__inner {
  grid-template-columns: minmax(180px, 1fr) auto minmax(120px, 1fr);
}

.site-header__inner {
  display: grid;
}

.site-header__nav {
  min-width: 0;
  justify-self: center;
}

.site-header__link {
  letter-spacing: 0;
  white-space: nowrap;
}

.site-header__link.is-active,
.site-header__link[aria-current='page'] {
  color: #214a3a;
  font-weight: 700;
}

.site-header__link.is-active,
.site-header__link[aria-current='page'] {
  border-radius: 3px;
  background: #edf3ef;
}

.app-account-button {
  display: inline-flex;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: #466057;
  cursor: pointer;
}

.app-account-button:hover,
.app-account-button:focus-visible,
.app-account-button.is-active {
  border-color: #cad8d0;
  background: #edf3ef;
  color: #214a3a;
  outline: none;
}

.app-account-button.is-active,
.app-account-button[aria-current='page'] {
  border-color: #8fa99c;
  box-shadow: inset 0 0 0 1px #8fa99c;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

@media (max-width: 768px) {
  .site-header__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.5rem;
  }

  .site-header__brand {
    grid-column: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .site-header__actions {
    grid-column: 2;
    justify-self: end;
    margin-left: 0;
  }

  .site-header__menu-toggle {
    order: 3;
  }
}

.footer__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem 1rem;
  flex-wrap: wrap;
}

.footer__links strong {
  color: #425149;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.footer__links a {
  color: #5f6d66;
}

/* Search keeps the primary choices visible and groups optional filters by purpose. */
.search-optional,
.search-optional__content,
.search-optional-section,
.search-optional-section__body {
  min-width: 0;
}

.search-optional__toggle {
  display: none;
}

.search-optional-section__heading {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0;
}

.search-optional-section__heading h2 {
  margin: 0;
  color: #26352e;
  font-size: 0.84rem;
  font-weight: 800;
}

.search-optional-section__body {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.saved-search-picker {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.55rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid #e7ebe9;
}

.saved-search-picker.u-hidden {
  display: none;
}

.saved-search-picker label {
  flex: 0 0 auto;
  color: #53625b;
  font-size: 0.72rem;
  font-weight: 750;
}

.saved-search-picker .search-filter {
  width: min(100%, 32rem);
  min-width: 0;
}

#filter-sale-statuses {
  display: inline-flex;
}

@media (min-width: 841px) {
  .search-toolbox {
    display: grid;
    grid-template-columns: 148px minmax(0, 1fr);
    align-self: center;
    width: min(100%, 1120px);
    max-width: 1120px !important;
    padding: 0;
    overflow: hidden;
  }

  .search-toolbox__section-head {
    align-self: stretch;
    align-items: flex-start;
    gap: 0.55rem;
    margin: 0;
    padding: 0.85rem 0.75rem;
    border-right: 1px solid #e0e5e2;
    background: #f6f8f7;
  }

  .search-toolbox__section-head--region {
    grid-column: 1;
    grid-row: 1;
  }

  .search-toolbox__section-head--conditions {
    grid-column: 1;
    grid-row: 2;
    margin: 0;
    padding-top: 0.85rem;
    border-top: 1px solid #e0e5e2;
  }

  .search-toolbox > .region-selector {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    margin: 0;
    padding: 0.65rem 0.8rem;
    border-top: 0;
  }

  .search-toolbox .region-chips {
    gap: 0.4rem;
  }

  .search-toolbox .region-chip {
    min-height: 34px;
    padding: 0.4rem 0.7rem;
  }

  .search-filters.search-filters--primary {
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
    gap: 0.55rem;
    margin: 0;
    padding: 0.65rem 0.8rem;
    border-top: 1px solid #e0e5e2;
  }

  .search-filters--primary .price-stepper-group {
    flex-wrap: nowrap;
  }

  .search-optional {
    grid-column: 1 / -1;
    grid-row: 3;
    margin: 0;
  }

  .search-optional__content {
    display: grid;
  }

  .search-optional-section {
    display: grid;
    grid-template-columns: 148px minmax(0, 1fr);
    margin: 0;
    border-top: 1px solid #e0e5e2;
  }

  .search-optional-section__heading {
    grid-column: 1;
    align-self: stretch;
    padding: 0.85rem 0.75rem;
    border-right: 1px solid #e0e5e2;
    background: #f6f8f7;
  }

  .search-optional-section__body {
    grid-column: 2;
    padding: 0.65rem 0.8rem;
  }

  .search-optional-section__body--area {
    display: block;
  }

  .search-advanced,
  .search-advanced__grid {
    width: auto;
    margin: 0;
    padding: 0;
    border: 0;
  }

  .search-advanced__grid {
    gap: 0.75rem;
  }

  .search-size-group {
    grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 0.4rem;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .search-size-group .price-stepper {
    width: 100%;
    min-width: 0;
  }

  .search-size-group .price-stepper__btn {
    width: 1.9rem;
  }

  .search-size-group .price-stepper__field {
    grid-template-columns: auto minmax(2.5rem, 1fr) auto;
    min-width: 0;
    padding-inline: 0.35rem;
  }

  .search-toolbox__footer {
    grid-column: 1 / -1;
    grid-row: 4;
    gap: 1rem;
    margin: 0;
    padding: 0.65rem 0.8rem;
  }
}

@media (max-width: 840px) {
  .search-optional {
    margin-top: 0.85rem;
    border-top: 1px solid #e0e5e2;
  }

  .search-optional__toggle {
    display: grid;
    position: relative;
    width: 100%;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0.15rem 0.75rem;
    padding: 0.8rem 1.75rem 0.8rem 0;
    border: 0;
    background: transparent;
    color: #26352e;
    text-align: left;
    cursor: pointer;
  }

  .search-optional__toggle::after {
    content: '';
    position: absolute;
    right: 0.2rem;
    width: 0.5rem;
    height: 0.5rem;
    border-right: 2px solid #65736c;
    border-bottom: 2px solid #65736c;
    transform: rotate(45deg);
    transition: transform 160ms ease;
  }

  .search-optional[data-expanded='true'] .search-optional__toggle::after {
    transform: rotate(225deg);
  }

  .search-optional__toggle span {
    font-size: 0.84rem;
    font-weight: 800;
  }

  .search-optional__toggle small {
    grid-column: 1;
    color: #718078;
    font-size: 0.68rem;
  }

  .search-optional[data-expanded='false'] .search-optional__content {
    display: none;
  }

  .search-optional-section {
    margin: 0;
    border-top: 1px solid #e7ebe9;
  }

  .search-optional-section__heading {
    padding: 0.75rem 0 0.6rem;
  }

  .search-optional-section__body {
    align-items: stretch;
    padding: 0 0 0.75rem;
  }

  .search-advanced,
  .search-advanced__grid {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
  }

  .search-advanced__grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .search-optional-section__body > .search-filter {
    width: 100%;
  }

  #filter-sale-statuses {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }
}

/* Property detail keeps the image first but shortens the scan to the summary and tabs. */
body.is-property-detail-mode .property-detail-section > .container {
  max-width: 1120px;
}

.property-detail-section .back-btn {
  min-height: 36px;
  margin-bottom: 0.75rem;
  padding: 0.45rem 0.75rem;
  font-size: 0.82rem;
}

.property-detail__notice .btn {
  margin-top: 1.25rem;
}

body.is-property-detail-mode:not(.is-app-mode) .lp-wrapper,
body.is-property-detail-mode:not(.is-app-mode) .footer.lp-only {
  display: none !important;
}

/* Direct LP: show the input, the real output, and the next action without detours. */
.lp-direct-hero {
  overflow: hidden;
  padding: 8.5rem 0 0;
  border-bottom: 1px solid #d8dfdb;
  background: #fff;
  color: #15201b;
}

.lp-direct-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lp-direct-hero__copy {
  width: min(100%, 880px);
  text-align: center;
}

.lp-direct-hero__copy h1 {
  margin: 0;
  color: #15201b;
  font-size: 3.75rem;
  font-weight: 750;
  line-height: 1.18;
  letter-spacing: 0;
}

.lp-direct-hero__copy h1 strong {
  color: #245a4b;
  font-weight: inherit;
  box-shadow: inset 0 -0.16em 0 #dcebe5;
}

.lp-direct-hero__copy > p {
  max-width: 760px;
  margin: 1.4rem auto 0;
  color: #53625b;
  font-size: 1.08rem;
  line-height: 1.85;
}

.lp-direct-hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.8rem;
}

.lp-direct-hero .btn--primary {
  border-color: #183b32;
  border-radius: 5px;
  background: #183b32;
  box-shadow: none;
  color: #fff;
}

.lp-direct-hero .btn--primary:hover,
.lp-direct-hero .btn--primary:focus-visible {
  border-color: #245a4b;
  background: #245a4b;
  box-shadow: 0 8px 22px rgba(24, 59, 50, 0.18);
  transform: translateY(-2px);
}

.lp-direct-link {
  color: #365f70;
  font-size: 0.95rem;
  font-weight: 700;
  text-underline-offset: 0.25rem;
}

.lp-direct-hero__copy .lp-direct-hero__note {
  margin-top: 0.85rem;
  color: #718078;
  font-size: 0.82rem;
  line-height: 1.6;
}

.lp-direct-preview {
  position: relative;
  width: min(100%, 1100px);
  margin: 3.5rem auto 0;
  overflow: hidden;
  border: 1px solid #cfd8d3;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  background: #fff;
  box-shadow: 0 22px 60px rgba(24, 59, 50, 0.12);
}

.lp-direct-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 1084 / 571;
  object-fit: cover;
  object-position: top left;
}

.lp-direct-preview figcaption {
  margin: 0;
  padding: 0.85rem 1rem;
  border-top: 1px solid #d8dfdb;
  background: #f7f9f8;
  color: #53625b;
  font-size: 0.82rem;
  text-align: center;
}

.lp-direct-preview figcaption::before {
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.5rem;
  border-radius: 50%;
  background: #3c8a68;
  content: "";
  vertical-align: 0.05rem;
  animation: lp-direct-status-pulse 2.8s ease-in-out infinite;
}

.lp-wrapper .js-fade-up {
  transform: translateY(18px);
  transition-property: opacity, transform, border-color, box-shadow, background-color, padding-left;
  transition-duration: 0.65s;
  transition-delay: var(--lp-reveal-delay, 0s);
  transition-timing-function: cubic-bezier(0.22, 0.72, 0.2, 1);
}

.lp-wrapper .js-fade-up.is-visible {
  transform: translateY(0);
}

.lp-direct-preview.js-fade-up {
  transform: translateY(22px) scale(0.988);
}

.lp-direct-preview.js-fade-up.is-visible {
  transform: translateY(0) scale(1);
}

.lp-reveal-delay-1 {
  --lp-reveal-delay: 0.08s;
}

.lp-reveal-delay-2 {
  --lp-reveal-delay: 0.16s;
}

.lp-reveal-delay-3 {
  --lp-reveal-delay: 0.24s;
}

.lp-direct-contrast,
.lp-direct-uses {
  padding: 5.5rem 0;
  color: #15201b;
}

.lp-direct-contrast {
  background: #f2f6f8;
}

.lp-direct-contrast h2,
.lp-direct-uses h2,
.lp-direct-reading h2,
.lp-direct-closing h2 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.35;
  letter-spacing: 0;
}

.lp-direct-contrast__heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1.45fr);
  gap: 2.5rem;
  align-items: end;
}

.lp-direct-contrast__heading > p {
  margin: 0 0 0.3rem;
  color: #5f6d66;
  font-size: 0.84rem;
  font-weight: 750;
}

.lp-direct-contrast__heading > p span {
  margin: 0 0.5rem;
  color: #245a4b;
}

.lp-direct-contrast__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2.5rem minmax(0, 1fr);
  gap: 1.25rem;
  align-items: center;
  margin-top: 2.75rem;
}

.lp-direct-state {
  display: grid;
  grid-template-columns: minmax(150px, 0.72fr) minmax(0, 1.28fr);
  gap: 1.5rem;
  align-items: center;
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid #cfd8d3;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(34, 59, 68, 0.04);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.lp-direct-state:hover {
  border-color: #aebfca;
  box-shadow: 0 12px 28px rgba(34, 59, 68, 0.1);
  transform: translateY(-3px);
}

.lp-wrapper .lp-direct-state.js-fade-up.is-visible:hover {
  transform: translateY(-3px);
}

.lp-direct-state img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 4px;
  object-fit: cover;
}

.lp-direct-state span {
  color: #68766f;
  font-size: 0.76rem;
  font-weight: 750;
}

.lp-direct-state--after span {
  color: #245a4b;
}

.lp-direct-state--after.is-visible img {
  animation: lp-direct-after-float 4.8s ease-in-out 0.8s infinite;
}

.lp-direct-state h3 {
  margin: 0.45rem 0 0;
  color: #15201b;
  font-size: 1.08rem;
  line-height: 1.55;
}

.lp-direct-state p {
  margin: 0.7rem 0 0;
  color: #5f6d66;
  font-size: 0.88rem;
  line-height: 1.7;
}

.lp-direct-contrast__arrow {
  color: #245a4b;
  font-size: 1.75rem;
  text-align: center;
}

.lp-direct-contrast__arrow::before {
  display: inline-block;
  content: "→";
  animation: lp-direct-arrow-shift 2.6s ease-in-out infinite;
}

.lp-direct-use-list strong {
  display: block;
  color: #15201b;
  font-size: 1.08rem;
}

.lp-direct-use-list p {
  margin: 0.7rem 0 0;
  color: #5f6d66;
  font-size: 0.92rem;
  line-height: 1.75;
}

.lp-direct-uses {
  background: #fff;
}

.lp-direct-use-list {
  margin-top: 2.75rem;
  border-bottom: 1px solid #d8dfdb;
}

.lp-direct-use-list article {
  position: relative;
  display: grid;
  grid-template-columns: minmax(180px, 0.65fr) minmax(0, 1.8fr);
  gap: 2rem;
  align-items: baseline;
  padding: 1.35rem 0;
  border-top: 1px solid #d8dfdb;
  transition: background-color 0.22s ease, padding-left 0.22s ease;
}

.lp-direct-use-list article::before {
  position: absolute;
  top: 1.8rem;
  left: 0;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 1px;
  background: #3f8268;
  content: "";
  opacity: 0;
  transform: translateX(-0.4rem);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.lp-direct-use-list article:nth-child(2)::before {
  background: #477a99;
}

.lp-direct-use-list article:nth-child(3)::before {
  background: #b47a39;
}

.lp-direct-use-list article:hover {
  padding-left: 1rem;
  background: #fafcfb;
}

.lp-direct-use-list article:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.lp-direct-use-list p {
  margin: 0;
}

.lp-direct-reading {
  padding: 5rem 0;
  border-top: 1px solid #d8dfdb;
  background: #f8f7f3;
  color: #15201b;
}

.lp-direct-reading__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
}

.lp-direct-reading__heading nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.lp-direct-reading__heading nav a {
  color: #365f70;
  font-size: 0.86rem;
  font-weight: 750;
  text-underline-offset: 0.25rem;
}

.lp-direct-reading__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 3rem;
  margin-top: 2.5rem;
  border-bottom: 1px solid #d8dfdb;
}

.lp-direct-reading__list a {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr) 1rem;
  gap: 1rem;
  align-items: baseline;
  min-width: 0;
  padding: 1.25rem 0;
  border-top: 1px solid #d8dfdb;
  color: inherit;
  text-decoration: none;
  transition: background-color 0.22s ease;
}

.lp-direct-reading__list a:hover,
.lp-direct-reading__list a:focus-visible {
  background: rgba(255, 255, 255, 0.72);
}

.lp-direct-reading__list a:hover strong,
.lp-direct-reading__list a:focus-visible strong {
  color: #245a4b;
  text-decoration: underline;
  text-underline-offset: 0.22rem;
}

.lp-direct-reading__list span {
  color: #68766f;
  font-size: 0.72rem;
  font-weight: 750;
}

.lp-direct-reading__list a[data-kind="note"] span {
  color: #477a99;
}

.lp-direct-reading__list a[data-kind="guide"] span {
  color: #3f8268;
}

.lp-direct-reading__list strong {
  min-width: 0;
  font-size: 0.98rem;
  line-height: 1.65;
}

.lp-direct-reading__list i {
  color: #245a4b;
  font-size: 0.9rem;
  font-style: normal;
  transition: transform 0.22s ease;
}

.lp-direct-reading__list a:hover i,
.lp-direct-reading__list a:focus-visible i {
  transform: translate(2px, -2px);
}

.lp-direct-closing {
  padding: 4.5rem 0;
  background: #17382f;
  color: #fff;
}

.lp-direct-closing__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.lp-direct-closing h2 {
  color: #fff;
}

.lp-direct-closing p {
  margin: 1rem 0 0;
  color: #c8d7d1;
  line-height: 1.75;
}

.lp-direct-closing .btn--primary {
  flex: 0 0 auto;
  border-color: #fff;
  border-radius: 5px;
  background: #fff;
  box-shadow: none;
  color: #17382f;
}

.lp-direct-closing .btn--primary:hover,
.lp-direct-closing .btn--primary:focus-visible {
  border-color: #e8efec;
  background: #e8efec;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  transform: translateY(-2px);
}

@keyframes lp-direct-status-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(60, 138, 104, 0); transform: scale(1); }
  45% { box-shadow: 0 0 0 0.3rem rgba(60, 138, 104, 0.12); transform: scale(1.08); }
}

@keyframes lp-direct-arrow-shift {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}

@keyframes lp-direct-after-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@media (max-width: 760px) {
  .lp-direct-hero {
    padding-top: 6.5rem;
  }

  .lp-direct-hero__copy {
    text-align: left;
  }

  .lp-direct-hero__copy h1 {
    font-size: 2.25rem;
    line-height: 1.3;
  }

  .lp-direct-hero__copy > p {
    margin-top: 1rem;
    font-size: 0.98rem;
    line-height: 1.75;
  }

  .lp-direct-hero__actions {
    align-items: stretch;
    flex-direction: column;
    gap: 0.9rem;
    margin-top: 1.4rem;
  }

  .lp-direct-hero__actions .btn {
    width: 100%;
  }

  .lp-direct-link {
    align-self: flex-start;
  }

  .lp-direct-hero__copy .lp-direct-hero__note {
    margin-top: 1rem;
  }

  .lp-direct-preview {
    width: calc(100% + 1.5rem);
    margin-top: 2.5rem;
  }

  .lp-direct-preview img {
    aspect-ratio: 1 / 1;
  }

  .lp-direct-preview figcaption {
    text-align: left;
  }

  .lp-direct-contrast,
  .lp-direct-uses {
    padding: 4rem 0;
  }

  .lp-direct-contrast h2,
  .lp-direct-uses h2,
  .lp-direct-reading h2,
  .lp-direct-closing h2 {
    font-size: 1.65rem;
  }

  .lp-direct-contrast__heading {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .lp-direct-contrast__grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    margin-top: 2rem;
  }

  .lp-direct-state {
    grid-template-columns: minmax(105px, 0.75fr) minmax(0, 1.25fr);
    gap: 1rem;
    padding: 0.85rem;
  }

  .lp-direct-contrast__arrow {
    line-height: 1;
  }

  .lp-direct-contrast__arrow::before {
    content: "↓";
    animation-name: lp-direct-arrow-drop;
  }

  .lp-direct-use-list {
    margin-top: 2rem;
  }

  .lp-direct-use-list article {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .lp-direct-use-list article:hover {
    padding-left: 0.75rem;
  }

  .lp-direct-reading {
    padding: 4rem 0;
  }

  .lp-direct-reading__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .lp-direct-reading__list {
    grid-template-columns: 1fr;
    margin-top: 2rem;
  }

  .lp-direct-reading__list a {
    grid-template-columns: 3.25rem minmax(0, 1fr) 1rem;
    gap: 0.75rem;
  }

  .lp-direct-closing {
    padding: 3.5rem 0;
  }

  .lp-direct-closing__inner {
    align-items: stretch;
    flex-direction: column;
    gap: 2rem;
  }

  .lp-direct-closing .btn--primary {
    width: 100%;
  }
}

@keyframes lp-direct-arrow-drop {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

@media (prefers-reduced-motion: reduce) {
  .lp-wrapper .js-fade-up,
  .lp-direct-state,
  .lp-direct-state img,
  .lp-direct-contrast__arrow::before,
  .lp-direct-preview figcaption::before,
  .lp-direct-use-list article,
  .lp-direct-use-list article::before,
  .lp-direct-reading__list a,
  .lp-direct-reading__list i,
  .lp-direct-hero .btn--primary,
  .lp-direct-closing .btn--primary {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}

.property-detail__media-main {
  height: clamp(220px, 23vw, 300px);
}

.property-detail__media-placeholder--empty {
  min-height: 260px;
}

.property-detail__bit-address {
  font-size: 1.25rem;
}

.property-detail__summary-table th,
.property-detail__summary-table td {
  padding-block: 0.72rem;
}

.property-detail__summary-table th {
  width: 7rem;
}

.property-detail__bit-actions {
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-top: 0;
  background: #fafbfa;
}

.property-detail__bit-actions .btn {
  min-height: 38px;
}

.property-detail__tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow-x: clip;
  scrollbar-width: none;
  margin-bottom: 0.75rem;
}

.property-detail__tabs::-webkit-scrollbar {
  display: none;
}

.property-detail__tab {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding-block: 0.65rem;
  padding-inline: 0.5rem;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}

.property-detail__transcript-empty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid #d8dfdb;
  background: #fff;
}

.property-detail__transcript-empty h3,
.property-detail__transcript-empty p {
  margin: 0;
}

.property-detail__transcript-empty h3 {
  color: #1d2b24;
  font-size: 1rem;
}

.property-detail__transcript-empty p {
  margin-top: 0.25rem;
  color: #66726c;
  font-size: 0.8rem;
}

@media (max-width: 900px) {
  .site-header__inner {
    display: flex;
  }
}

@media (max-width: 720px) {
  .property-detail__transcript-empty {
    align-items: stretch;
    flex-direction: column;
  }

  .property-detail__transcript-empty .btn {
    width: 100%;
  }

  body.is-property-detail-mode .property-detail-section {
    padding: calc(72px + 0.5rem) 0 2rem;
  }

  body.is-property-detail-mode .property-detail-section > .container {
    width: calc(100% - 0.75rem);
    max-width: none;
    padding-inline: 0;
  }

  .property-detail {
    gap: 0.6rem;
  }

  .property-detail-section .back-btn {
    min-height: 32px;
    margin-bottom: 0.4rem;
    padding: 0.3rem 0.5rem;
    font-size: 0.76rem;
  }

  .property-detail__bit-header {
    margin-bottom: 0.5rem;
    border-radius: 3px;
  }

  .property-detail__media-main {
    height: min(48vw, 180px);
  }

  .property-detail__media-placeholder--empty {
    height: 100%;
    min-height: 0;
  }

  .property-detail__media-caption {
    min-height: 26px;
    padding: 0.15rem 0.5rem;
    font-size: 0.72rem;
  }

  .property-detail__bit-address {
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .property-detail__summary-table th,
  .property-detail__summary-table td {
    padding: 0.48rem 0.5rem;
  }

  .property-detail__summary-table th {
    width: 4.3rem;
    font-size: 0.67rem;
  }

  .property-detail__summary-items {
    gap: 0.35rem 0.5rem;
  }

  .property-detail__summary-items--identity {
    grid-template-columns: 0.65fr 1.35fr;
  }

  .property-detail__summary-items--identity > span:last-child {
    grid-column: 1 / -1;
  }

  .property-detail__summary-items--schedule {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .property-detail__summary-items--result {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .property-detail__summary-items--result .is-primary strong {
    font-size: 0.86rem;
  }

  .property-detail__summary-items--schedule > span:nth-child(2) {
    grid-column: 1 / -1;
  }

  .property-detail__summary-items small {
    font-size: 0.62rem;
  }

  .property-detail__summary-items strong {
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .property-detail__summary-items--prices .is-primary strong {
    font-size: 0.86rem;
  }

  .property-detail__bit-actions {
    gap: 0.35rem;
    padding: 0.5rem;
  }

  .property-detail__bit-actions .btn {
    min-height: 34px;
    padding: 0.4rem 0.55rem;
    font-size: 0.75rem;
  }

  .property-detail__tabs {
    margin: 0 0 0.45rem;
    padding: 0;
  }

  .property-detail__tab {
    min-width: 0;
    min-height: 38px;
    flex: 1 1 0;
    padding: 0.45rem 0.5rem;
    font-size: 0.78rem;
  }

  .property-section--item,
  .property-section--access,
  .property-section--hazard,
  .property-section--risk,
  .property-section--reinfolib {
    margin-top: 0.75rem;
    margin-bottom: 1rem;
  }

  .property-section__title {
    margin-bottom: 0.5rem;
    padding-bottom: 0.35rem;
    font-size: 0.88rem;
  }

  .property-bit-table {
    font-size: 0.78rem;
  }

  .property-bit-table th,
  .property-bit-table td {
    padding: 0.45rem 0.5rem;
  }

  .property-bit-table--source {
    margin-top: 0.45rem;
    font-size: 0.7rem;
  }

  .property-bit-table--source th {
    width: 3.5rem;
  }

  .property-bit-table--source td {
    line-height: 1.4;
  }

  .property-access-map__iframe {
    height: 220px;
  }

  .property-access-map__note {
    margin-top: 0.35rem;
    padding: 0.35rem 0.45rem;
    font-size: 0.67rem;
    line-height: 1.4;
  }

  .reinfolib-data {
    gap: 0.6rem;
  }

  .reinfolib-item__title {
    padding: 0.4rem 0.5rem;
    font-size: 0.72rem;
  }

  .reinfolib-table {
    font-size: 0.72rem;
    line-height: 1.4;
  }

  .reinfolib-table th,
  .reinfolib-table td {
    padding: 0.35rem 0.4rem;
  }

  .hazard-map-controls,
  .risk-assessment {
    gap: 0.5rem;
    margin-bottom: 0.5rem;
  }

  .hazard-map-control,
  .risk-summary-card,
  .risk-item,
  .risk-detail-panel {
    padding: 0.65rem;
  }
}
