/* Florida marketplace: deliberately self-contained layout overrides. */
:root {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #213c34;
  background: #f7f8f5;
  font-synthesis: none;
  font-size: 14px;
  --green: #17694f;
  --border: #dfe5df;
  --muted: #6a7b72;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f7f8f5;
}
a {
  color: var(--green);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #56a88b;
  outline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(27px, 3vw, 39px);
  letter-spacing: -1.3px;
  line-height: 1.16;
  margin-bottom: 12px;
  font-weight: 650;
}
h2 {
  font-size: 19px;
  letter-spacing: -0.4px;
  line-height: 1.4;
  margin-bottom: 12px;
}
h3 {
  font-size: 15px;
}
p {
  line-height: 1.65;
}
small,
.fine {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
strong {
  font-weight: 650;
}
.muted {
  color: var(--muted);
}
.wide {
  grid-column: 1/-1;
}
.preserve {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
svg {
  vertical-align: middle;
  flex-shrink: 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: white;
  padding: 10px 14px;
  color: #315346;
  font-size: 13px;
  font-weight: 600;
  line-height: 20px;
  white-space: normal;
}
.button:hover {
  background: #eef5ef;
  text-decoration: none;
}
.button.primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
  box-shadow: 0 2px 3px #153c3010;
}
.button.primary:hover {
  background: #11573f;
}
.button.full {
  width: 100%;
}
.button.text-button {
  border: 0;
  background: transparent;
  color: var(--muted);
}
.actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.badge {
  display: inline-flex;
  background: #eaf3e9;
  color: #35634d;
  border-radius: 5px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.6px;
  font-weight: 700;
  color: #658374;
  margin-bottom: 10px;
}
.rail {
  width: 218px;
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  border-right: 1px solid var(--border);
  background: #fff;
  padding: 29px 17px 20px;
  display: flex;
  flex-direction: column;
  z-index: 10;
  overflow: auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.5px;
  color: #1d4c3a;
  flex-wrap: wrap;
  line-height: 1.1;
}
.brand img {
  width: 30px;
  height: 30px;
  grid-row: span 2;
}
.rail .brand {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 0 9px;
}
.rail .brand span {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-top: 4px;
}
.edition {
  margin: 27px 10px 14px;
  font-size: 10px;
  letter-spacing: 1.7px;
  color: #8a968e;
  font-weight: 650;
}
.rail nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.rail nav a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  border-radius: 7px;
  color: #6a796f;
  font-size: 13px;
  font-weight: 550;
}
.rail nav a:hover {
  background: #f5f7f3;
  text-decoration: none;
}
.rail nav a.selected {
  color: #17694f;
  background: #eaf3e9;
  font-weight: 700;
}
.nav-label {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #8b978f;
  padding: 28px 12px 10px;
  font-weight: 700;
}
.rail-bottom {
  margin-top: auto;
  padding: 32px 8px 0;
}
.rail-bottom p {
  font-size: 11px;
  color: #89958c;
  line-height: 1.7;
  margin: 12px 0;
}
.rail-bottom .button {
  font-size: 11px;
  width: 100%;
  padding: 8px;
}
.free-label {
  font-size: 9px;
  color: #43775c;
  letter-spacing: 1px;
  background: #f0f5eb;
  border: 1px solid #dde8d5;
  padding: 6px 8px;
  border-radius: 5px;
}
.workspace {
  margin-left: 218px;
  min-height: 100vh;
  display: block;
}
.topbar {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 34px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  color: #7a887e;
  gap: 16px;
}
.topbar > div {
  display: flex;
  gap: 17px;
  align-items: center;
}
.demo-strip {
  background: #fff7e6;
  border-bottom: 1px solid #ecdfc3;
  color: #887543;
  font-size: 11px;
  padding: 10px 34px;
  line-height: 1.6;
}
.demo-strip a {
  margin-left: 10px;
  color: #6b5828;
  font-weight: 650;
}
main#main {
  max-width: 1700px;
  margin: auto;
  padding: 36px 34px 55px;
  min-height: calc(100vh - 150px);
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}
.page-heading p:last-child {
  margin-bottom: 0;
  font-size: 13px;
}
.page-heading > .button {
  flex-shrink: 0;
}
.market-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 17px 22px;
  background: #eef3ea;
  border: 1px solid #e0e9d9;
  border-radius: 8px;
  font-size: 12px;
  color: #62785a;
  margin-bottom: 26px;
}
.market-banner > div {
  font-weight: 650;
  color: #3e614a;
}
.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6e9756;
  margin-right: 9px;
}
.filters {
  display: grid;
  grid-template-columns: minmax(150px, 2fr) minmax(140px, 1.4fr) minmax(
      130px,
      1.2fr
    ) minmax(110px, 1fr);
  gap: 14px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: 9px;
  margin-bottom: 26px;
  align-items: end;
}
.filters .button {
  height: 39px;
}
.filters label {
  font-size: 10px;
  letter-spacing: 0.2px;
  color: #738276;
}
.filters input,
.filters select {
  font-size: 12px;
  min-height: 39px;
  background: #fafbf8;
}
label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  font-weight: 550;
  color: #4c6558;
  min-width: 0;
}
input,
select,
textarea {
  border: 1px solid #dce3db;
  border-radius: 6px;
  padding: 10px 11px;
  background: #fff;
  width: 100%;
  min-width: 0;
  color: #294e3c;
  min-height: 41px;
}
textarea {
  min-height: 98px;
  resize: vertical;
  line-height: 1.6;
}
input[type="checkbox"] {
  width: 16px;
  min-height: 16px;
  accent-color: var(--green);
}
label.check {
  flex-direction: row;
  align-items: flex-start;
  gap: 9px;
  line-height: 1.6;
}
label.check input {
  flex: 0 0 16px;
  margin-top: 3px;
}
.results-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 19px;
  font-size: 12px;
}
.view-options {
  display: flex;
  align-items: center;
  gap: 17px;
}
.view-options > label {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-size: 10px;
  gap: 6px;
}
.view-options select {
  font-size: 11px;
  min-height: 34px;
  padding: 6px;
  max-width: 147px;
}
.segmented {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  padding: 3px;
  gap: 2px;
}
.segmented .button {
  border: 0;
  padding: 6px 10px;
  min-height: 30px;
  font-size: 11px;
  border-radius: 4px;
  background: transparent;
  gap: 6px;
}
.segmented .button.active {
  background: #e7f0e6;
  color: #236044;
}
.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.deal-card {
  border: 1px solid var(--border);
  border-radius: 9px;
  overflow: hidden;
  background: white;
  box-shadow: 0 3px 8px #243d2810;
  min-width: 0;
  transition: box-shadow 0.15s;
}
.deal-card:hover {
  box-shadow: 0 6px 15px #243d281a;
}
.property-visual {
  height: 170px;
  position: relative;
  background: #e8eee4;
}
.property-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.property-art {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 9px;
  background:
    radial-gradient(ellipse at 75% 30%, #f3f2df 0%, transparent 65%),
    linear-gradient(135deg, #e1e9d8, #dbe9e4);
  color: #57735b;
}
.property-art > svg {
  opacity: 0.45;
}
.property-art span {
  font-size: 13px;
  font-weight: 600;
}
.property-art small {
  font-size: 8px;
  letter-spacing: 1.2px;
  color: #8a9a85;
}
.card-tag {
  position: absolute;
  left: 12px;
  top: 12px;
  font-size: 9px;
  font-weight: 700;
  background: #ffffffde;
  color: #36563e;
  border: 1px solid #ffffff80;
  border-radius: 4px;
  padding: 5px 8px;
  box-shadow: 0 2px 4px #213c3410;
}
.save-button.button {
  position: absolute;
  right: 11px;
  top: 10px;
  width: 31px;
  height: 31px;
  min-height: 31px;
  padding: 0;
  background: #ffffffdf;
  border: 1px solid #ffffffab;
  border-radius: 50%;
  color: #66806b;
}
.save-button.saved {
  background: #17694f;
  color: white;
}
.card-body {
  padding: 18px 17px 0;
}
.price-line {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  margin-bottom: 11px;
}
.price-line > strong {
  font-size: 23px;
  letter-spacing: -0.8px;
  color: #224936;
}
.price-line > span {
  font-size: 9px;
  color: #859084;
}
.deal-card h2 {
  font-size: 15px;
  letter-spacing: -0.2px;
  margin: 0 0 3px;
}
.address {
  font-size: 10px;
  color: #869084;
  margin: 0 0 12px;
  overflow-wrap: anywhere;
}
.facts {
  display: flex;
  font-size: 10px;
  color: #6c7d70;
  gap: 0;
  margin-bottom: 17px;
}
.facts span + span:before {
  content: "·";
  margin: 0 9px;
  color: #bec7b8;
}
.underwrite {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #edf0e9;
  padding: 13px 0;
}
.underwrite > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.underwrite span {
  font-size: 9px;
  color: #899588;
}
.underwrite strong {
  font-size: 12px;
  color: #5a6c59;
}
.card-bottom {
  border-top: 1px solid #edf0e9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  padding: 13px 0;
}
.card-bottom > span {
  color: #929d8d;
}
.card-bottom > a {
  font-weight: 700;
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}
.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
  font-size: 12px;
}
.table-wrap th {
  text-align: left;
  padding: 15px;
  color: #73826e;
  font-size: 10px;
  background: #f0f4ec;
}
.table-wrap td {
  padding: 19px 15px;
  border-top: 1px solid #e9ede5;
}
.table-wrap small {
  display: block;
  margin-top: 5px;
  font-size: 10px;
}
.table-wrap .button {
  padding: 6px;
}
.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  height: 650px;
  gap: 18px;
}
.deal-map {
  height: 100%;
  border: 1px solid #cddbd0;
  border-radius: 9px;
  overflow: hidden;
  min-width: 0;
  position: relative;
}
.map-list {
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-right: 4px;
}
.compact {
  flex-shrink: 0;
}
.compact .property-visual {
  height: 85px;
}
.compact .property-art > svg {
  display: none;
}
.compact .card-body {
  padding-top: 12px;
}
.compact .underwrite {
  display: none;
}
.compact .facts {
  margin-bottom: 8px;
}
.compact .price-line > strong {
  font-size: 20px;
}
.price-pin {
  display: block;
  background: #fff;
  color: #18553a;
  border: 1px solid #559771;
  box-shadow: 0 2px 6px #203e3b35;
  border-radius: 20px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 750;
  text-align: center;
}
.price-pin:hover {
  background: var(--green);
  color: #fff;
  text-decoration: none;
  z-index: 2;
}
.map-note {
  position: absolute;
  bottom: 35px;
  left: 10px;
  right: 50px;
  max-width: 440px;
  background: #ffffffec;
  color: #526d5c;
  font-size: 10px;
  padding: 7px 10px;
  border-radius: 4px;
  pointer-events: none;
  line-height: 1.5;
}
.small-map {
  height: 300px;
  border: 1px solid var(--border);
  border-radius: 7px;
  position: relative;
  overflow: hidden;
}
.maplibregl-ctrl button {
  padding: 0;
  font-size: 10px;
  font-weight: 750;
}
.panel {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #fff;
  margin-bottom: 22px;
  min-width: 0;
}
.callout {
  padding: 14px 16px;
  border: 1px solid #dce6d4;
  border-radius: 6px;
  font-size: 12px;
  color: #6e7d63;
  background: #f4f7ef;
  line-height: 1.65;
  margin-bottom: 22px;
}
.empty {
  text-align: center;
  background: #fff;
  border: 1px dashed #cddbc8;
  border-radius: 10px;
  padding: 70px 20px;
  color: #7b8e77;
}
.empty h2 {
  color: #345a3d;
  margin-top: 15px;
}
.empty p {
  max-width: 420px;
  margin: 0 auto 20px;
  font-size: 13px;
}
.locked-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.locked {
  padding: 40px;
}
.locked .badge {
  float: right;
  font-size: 9px;
  letter-spacing: 1px;
  color: #879479;
  background: #eef1e8;
}
.locked h2 {
  margin-top: 28px;
}
.locked p {
  font-size: 13px;
  color: #85917b;
}
.locked > svg {
  color: #99aa90;
}
.back {
  display: block;
  margin-bottom: 22px;
  font-size: 12px;
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 26px;
}
.detail-image {
  height: 300px;
  background: linear-gradient(120deg, #e2eadb, #e4eee7);
  border-radius: 9px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #99ad91;
  gap: 20px;
  overflow: hidden;
}
.detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-image span {
  font-size: 12px;
  padding: 0 15px;
  text-align: center;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
}
.section-title h2 {
  margin-bottom: 0;
}
dl {
  margin: 20px 0;
}
dl:not(.result-values) {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) minmax(0, 1.5fr);
  gap: 15px 12px;
}
dt {
  font-size: 11px;
  color: #8a9682;
}
dd {
  margin: 0;
  color: #4e6951;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.big-price {
  font-size: 36px;
  font-weight: 700;
  color: #2b593d;
  letter-spacing: -1px;
  margin: 8px 0;
}
.sticky {
  position: sticky;
  top: 20px;
}
.thread {
  background: #f7f9f4;
  border: 1px solid #e6ecdf;
  padding: 18px;
  border-radius: 7px;
  margin: 18px 0;
  font-size: 13px;
}
.thread .section-title {
  font-size: 12px;
}
.thread .section-title small {
  font-size: 10px;
}
.thread form {
  margin-top: 14px;
}
.thread form button {
  margin-top: 10px;
}
.reply {
  border-left: 2px solid #a7c19b;
  padding: 10px 14px;
  margin: 14px 0;
  background: #eef4e8;
}
.reply p {
  margin: 6px 0;
}
.tool-tabs {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.tool-tabs .active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.tool-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 1fr);
  gap: 25px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.form-grid h3 {
  margin: 10px 0 0;
}
.form-error {
  color: #ac3e31;
  font-size: 12px;
  margin: 0;
  line-height: 1.5;
}
.form-error:empty {
  display: none;
}
.result-panel {
  border-top: 3px solid #4d8b5d;
}
.result-placeholder {
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a7bea0;
}
.result-values > div {
  padding: 17px 0;
  border-bottom: 1px solid #e9eee3;
}
.result-values dt {
  font-size: 11px;
  line-height: 1.6;
}
.result-values dd {
  font-size: 23px;
  letter-spacing: -0.6px;
  color: #325c3e;
  margin-top: 6px;
}
.result-values > div:first-child {
  padding-top: 0;
}
.result-values > div:first-child dd {
  font-size: 32px;
  color: var(--green);
}
.result-panel .callout {
  margin-top: 22px;
}
.result-panel .actions .button {
  font-size: 11px;
}
.comp-row {
  border: 1px solid #dce5d7;
  border-radius: 6px;
  padding: 18px;
  margin: 12px 0 20px;
  min-width: 0;
}
.comp-row legend {
  padding: 0 6px;
  font-size: 12px;
  font-weight: 650;
  color: #5a7c53;
}
.comp-row .form-grid {
  gap: 12px;
}
.comp-row label {
  font-size: 10px;
}
.saved-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 17px 0;
  border-bottom: 1px solid var(--border);
}
.saved-row small {
  display: block;
  margin-top: 5px;
}
.auth {
  max-width: 530px;
  padding: 40px 20px;
  margin: 30px auto;
}
.auth > .brand {
  margin: 0 0 35px;
}
.auth .panel {
  padding: 34px;
}
.auth h1 {
  font-size: 30px;
}
.auth form {
  display: grid;
  gap: 20px;
  margin: 24px 0;
}
.auth p {
  font-size: 13px;
  color: #7d8b74;
}
dialog {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px;
  width: min(800px, calc(100% - 28px));
  max-width: none;
  max-height: 90vh;
  color: #31543b;
  box-shadow: 0 20px 80px #213c3433;
  background: #fff;
}
dialog::backdrop {
  background: #173d2c66;
  backdrop-filter: blur(3px);
}
.dialog-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}
.dialog-heading .button {
  border: 0;
  font-size: 22px;
  padding: 4px 10px;
}
dialog > p {
  font-size: 12px;
  color: #849078;
}
dialog .small-map {
  margin-top: 15px;
}
.dialog-heading h2 {
  font-size: 25px;
}
dialog .actions {
  margin-top: 0;
}
footer {
  font-size: 10px;
  color: #9aa491;
  border-top: 1px solid #e7ebdf;
  padding: 20px 34px;
}
#notice {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: #214d37;
  color: #fff;
  z-index: 9999;
  padding: 13px 20px;
  border-radius: 8px;
  box-shadow: 0 5px 25px #12372033;
  max-width: 90%;
  width: max-content;
  font-size: 13px;
  opacity: 0;
  transition: 0.2s;
  pointer-events: none;
}
#notice.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 24px 0;
}
.skip {
  position: fixed;
  left: 15px;
  top: -100px;
  background: #fff;
  padding: 12px;
  z-index: 10000;
}
.skip:focus {
  top: 10px;
}
@media (min-width: 1550px) {
  .listing-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .filters {
    grid-template-columns: 2fr 1.4fr 1.2fr 1fr 0.8fr 0.8fr auto auto;
  }
}
@media (max-width: 1200px) {
  .listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rail {
    width: 190px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .workspace {
    margin-left: 190px;
  }
  main#main {
    padding: 30px 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  .market-banner > span:last-child {
    display: none;
  }
  .map-layout {
    grid-template-columns: minmax(0, 1fr) 250px;
  }
  .detail-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
  .tool-layout {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 0.9fr);
  }
}
@media (max-width: 950px) {
  .rail {
    width: 70px;
    padding: 20px 10px;
  }
  .rail .brand {
    display: block;
    font-size: 0;
  }
  .rail .brand span,
  .edition,
  .nav-label,
  .rail nav a span,
  .rail-bottom {
    display: none;
  }
  .rail .brand img {
    display: block;
    margin: 0 auto 30px;
    width: 32px;
    height: 32px;
  }
  .rail nav a {
    justify-content: center;
    padding: 14px 10px;
  }
  .workspace {
    margin-left: 70px;
  }
  .page-heading {
    align-items: flex-start;
  }
  .page-heading > .button {
    font-size: 11px;
    padding: 8px 10px;
  }
  .filters {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .filters > label:first-child {
    grid-column: span 2;
  }
  .filters > .button {
    height: 41px;
  }
  .tool-layout,
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .detail-layout > aside {
    grid-row: 1;
  }
  .detail-layout .sticky {
    position: static;
  }
  .detail-layout .sticky dl {
    grid-template-columns: 1fr 1fr;
  }
  .big-price {
    font-size: 30px;
  }
  .map-layout {
    grid-template-columns: minmax(0, 1fr) 235px;
  }
  .view-options {
    gap: 8px;
  }
  .results-toolbar > .muted {
    display: none;
  }
}
@media (max-width: 650px) {
  .rail {
    position: sticky;
    top: 0;
    width: 100%;
    height: auto;
    display: block;
    padding: 7px 10px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .rail .brand {
    display: none;
  }
  .rail nav {
    flex-direction: row;
    justify-content: space-between;
    gap: 2px;
  }
  .rail nav a {
    padding: 10px;
    flex: 1;
  }
  .workspace {
    margin-left: 0;
  }
  .topbar {
    height: 52px;
    padding: 0 18px;
    font-size: 10px;
  }
  .topbar > div {
    gap: 10px;
  }
  .demo-strip {
    padding: 8px 18px;
    font-size: 10px;
  }
  .demo-strip a {
    margin-left: 0;
    display: block;
  }
  main#main {
    padding: 27px 17px 35px;
  }
  .page-heading {
    display: block;
    margin-bottom: 23px;
  }
  .page-heading > .button {
    margin-top: 18px;
    font-size: 12px;
  }
  .page-heading p:last-child {
    font-size: 12px;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 1.2px;
  }
  h1 {
    font-size: 30px;
    letter-spacing: -1px;
  }
  .market-banner {
    padding: 13px 15px;
    margin-bottom: 20px;
    font-size: 10px;
  }
  .market-banner > span {
    display: none;
  }
  .filters {
    padding: 15px;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .filters label {
    font-size: 10px;
  }
  .filters > .button {
    font-size: 11px;
  }
  .results-toolbar {
    display: block;
  }
  .view-options {
    justify-content: space-between;
    margin-top: 14px;
  }
  .view-options > label {
    font-size: 0;
  }
  .view-options select {
    font-size: 10px;
    max-width: 127px;
  }
  .segmented .button {
    font-size: 10px;
    padding: 5px 8px;
    gap: 5px;
  }
  .segmented .button svg {
    width: 14px;
  }
  .listing-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .property-visual {
    height: 180px;
  }
  .price-line > strong {
    font-size: 25px;
  }
  .card-body {
    padding: 20px 19px 0;
  }
  .deal-card h2 {
    font-size: 17px;
  }
  .address,
  .facts {
    font-size: 12px;
  }
  .underwrite span,
  .card-bottom {
    font-size: 10px;
  }
  .underwrite strong {
    font-size: 14px;
  }
  .map-layout {
    display: flex;
    flex-direction: column;
    height: auto;
    gap: 18px;
  }
  .deal-map {
    height: 450px;
    flex-shrink: 0;
  }
  .map-list {
    max-height: 450px;
    display: grid;
    grid-template-columns: 1fr;
  }
  .map-list .property-visual {
    height: 90px;
  }
  .locked-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .locked {
    padding: 28px;
  }
  .panel {
    padding: 20px;
  }
  .form-grid {
    gap: 14px;
  }
  .form-grid label {
    font-size: 11px;
  }
  .form-grid input,
  .form-grid select {
    font-size: 12px;
  }
  .tool-tabs {
    gap: 6px;
  }
  .tool-tabs .button {
    font-size: 11px;
    padding: 7px 10px;
  }
  .comp-row .form-grid {
    grid-template-columns: 1fr;
  }
  .tool-layout {
    gap: 0;
  }
  .tool-layout .panel {
    padding: 20px 16px;
  }
  .result-values dd {
    font-size: 21px;
  }
  .detail-layout {
    gap: 0;
  }
  .detail-image {
    height: 220px;
  }
  .small-map {
    height: 270px;
  }
  dialog {
    padding: 22px 16px;
    max-height: 92vh;
  }
  .dialog-heading h2 {
    font-size: 22px;
  }
  dialog .form-grid {
    grid-template-columns: 1fr;
  }
  dialog .small-map {
    height: 270px;
  }
  .section-title {
    flex-wrap: wrap;
  }
  .thread {
    padding: 14px;
  }
  .auth {
    padding: 22px 16px;
    margin: 15px auto;
  }
  .auth .panel {
    padding: 25px 20px;
  }
  footer {
    padding: 18px;
    font-size: 9px;
  }
  #notice {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
