:root {
  font-family: Inter, system-ui, -apple-system, sans-serif;
  color: #172b28;
  background: #f5f6f0;
  font-synthesis: none;
  line-height: 1.5;
}
* {
  box-sizing: border-box;
}
html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
}
body {
  margin: 0;
  overflow-anchor: none;
}
header {
  max-width: 1120px;
  margin: auto;
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 104px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  font-size: 24px;
  font-weight: 750;
  letter-spacing: -1px;
}
.brand span {
  font-size: 11px;
  background: #dce8c7;
  padding: 5px 8px;
  line-height: 1;
  letter-spacing: 1px;
  border-radius: 4px;
}
main {
  max-width: 1120px;
  margin: auto;
  padding: 0 32px 32px;
}
.intro {
  padding: 48px 0 32px;
  max-width: 810px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #487052;
}
h1 {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.08;
  letter-spacing: -2px;
  margin: 18px 0 24px;
}
h2 {
  font-size: 21px;
  letter-spacing: -0.5px;
  margin: 0 0 12px;
}
.lede {
  font-size: 18px;
  color: #52645e;
  max-width: 680px;
}
.card {
  background: #fff;
  border: 1px solid #dfe4d8;
  border-radius: 14px;
  padding: 28px;
  margin-bottom: 22px;
}
.columns {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 22px;
  align-items: start;
}
.membership,
.inline {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 16px 0 6px;
}
input,
select {
  font: inherit;
  border: 1px solid #c9d3c5;
  border-radius: 7px;
  background: #fff;
  padding: 11px 12px;
  width: 100%;
  min-width: 0;
  color: inherit;
}
input:focus-visible,
select:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid #769855;
  outline-offset: 2px;
}
.inline input {
  flex: 1;
}
.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
button {
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  color: white;
  background: #274f3c;
  border: 0;
  border-radius: 7px;
  padding: 12px 18px;
  cursor: pointer;
  white-space: nowrap;
  min-height: 44px;
  transition:
    background-color 140ms,
    opacity 140ms;
}
button:hover {
  background: #193c2c;
}
button:disabled,
button[aria-disabled="true"] {
  opacity: 0.5;
  cursor: wait;
}
.secondary {
  color: #274f3c;
  background: #edf2e8;
  border: 1px solid #d0ddc7;
}
.secondary:hover {
  background: #dce8d0;
}
.fine,
footer {
  font-size: 12px;
  color: #66776d;
}
.item {
  border-top: 1px solid #e7ebe2;
  padding: 16px 0;
  overflow-wrap: anywhere;
}
.item:first-child {
  border: 0;
}
.item p {
  margin: 5px 0;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.item a {
  color: #28523c;
}
.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  line-height: 1.3;
  vertical-align: middle;
  font-size: 11px;
  background: #e7efdf;
  border-radius: 4px;
  padding: 3px 6px;
}
.empty {
  color: #748178;
  font-size: 14px;
}
.notice {
  position: fixed;
  z-index: 50;
  inset: auto 20px 20px;
  width: min(560px, calc(100% - 40px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  background: #e5eddc;
  border-left: 3px solid #537849;
  padding: 12px 16px;
  border-radius: 8px;
  box-shadow: 0 6px 24px #172b2820;
  visibility: hidden;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 180ms,
    transform 180ms,
    visibility 180ms;
}
.notice.visible {
  visibility: visible;
  opacity: 1;
  transform: none;
}
#message {
  margin: 0;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.notice button {
  padding: 10px;
}
#app-content,
.stable-list {
  position: relative;
}
.stable-list {
  min-height: 120px;
}
#searches {
  min-height: 240px;
}
.loading-card {
  min-height: 280px;
}
.loading-placeholder {
  height: 72px;
  margin: 20px 0;
  background: #edf2e8;
  border-radius: 8px;
}
.item-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px;
  align-items: start;
  gap: 12px;
  margin-bottom: 8px;
}
.item-heading strong {
  min-height: 3em;
}
.search-status {
  width: 64px;
}
.search-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.search-actions button {
  min-width: 0;
  padding-inline: 6px;
}
.form-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.form-actions button {
  padding-inline: 6px;
}
.form-mode {
  color: #487052;
  font-size: 12px;
  font-weight: 600;
  min-height: 18px;
  margin: 12px 0 0;
}
footer {
  padding: 24px 0;
}
.columns > *,
.pair > * {
  min-width: 0;
}
fieldset {
  min-width: 0;
  border: 0;
  padding: 0;
  margin: 20px 0 0;
}
legend {
  font-size: 13px;
  font-weight: 600;
  padding: 0;
}
.field-hint {
  font-size: 12px;
  color: #66776d;
  margin: 5px 0 10px;
}
.optional {
  font-weight: 400;
  color: #66776d;
}
.rent-field label {
  margin: 0;
}
.rent-field .pair > div {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 2;
  row-gap: 6px;
}
.money-input {
  position: relative;
}
.money-input span {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  line-height: 1;
  color: #66776d;
  pointer-events: none;
}
.money-input input {
  padding-left: 28px;
}
summary {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
summary::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 180ms;
}
details[open] > summary::before {
  transform: rotate(45deg);
}
.neighborhood-picker {
  position: relative;
  border: 1px solid #c9d3c5;
  border-radius: 7px;
}
.neighborhood-picker > summary {
  cursor: pointer;
  padding: 12px;
  font-size: 14px;
  min-height: 46px;
}
.picker-content {
  position: absolute;
  inset: calc(100% + 8px) -1px auto;
  z-index: 20;
  padding: 12px;
  background: white;
  border: 1px solid #c9d3c5;
  border-radius: 8px;
  box-shadow: 0 8px 24px #172b2820;
}
.picker-content.above {
  top: auto;
  bottom: calc(100% + 8px);
}
.picker-results {
  position: relative;
  height: clamp(140px, 30vh, 235px);
  margin: 12px 0;
}
.neighborhood-options {
  height: 100%;
  overflow-y: auto;
  scrollbar-gutter: stable;
  overscroll-behavior: contain;
}
#neighborhood-empty {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 12px 6px;
}
.neighborhood-group {
  margin: 0 0 12px;
}
.neighborhood-group legend {
  color: #66776d;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.neighborhood-option {
  display: flex;
  align-items: start;
  gap: 10px;
  cursor: pointer;
  margin: 0;
  padding: 10px 6px;
  border-radius: 4px;
  font-weight: 400;
}
.neighborhood-option:hover,
.neighborhood-option:has(input:checked) {
  background: #edf2e8;
}
.neighborhood-option input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: #274f3c;
}
.neighborhood-option:has(input:disabled) {
  opacity: 0.5;
}
.chips {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  align-items: start;
  gap: 8px;
  height: 104px;
  overflow-y: auto;
  scrollbar-gutter: stable;
  overscroll-behavior: contain;
  padding: 4px;
  margin: 8px 0;
}
.neighborhood-chip {
  display: inline-grid;
  grid-template-columns: minmax(0, 1fr) 16px;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  color: #274f3c;
  background: #edf2e8;
  padding: 10px 12px;
  font-size: 12px;
  white-space: nowrap;
  text-align: left;
}
.chip-label {
  overflow: hidden;
  text-overflow: ellipsis;
}
.chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  line-height: 1;
  font-size: 16px;
}
.neighborhood-chip:hover {
  background: #dce8d0;
}
.field-error {
  color: #a12b20;
  font-size: 13px;
  margin: 6px 0 0;
  height: 3em;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
[hidden] {
  display: none;
}
.reserve-space[hidden] {
  display: block;
  visibility: hidden;
  pointer-events: none;
}
html[data-preview="true"] #preview-banner {
  display: block;
}
.membership[data-billing="disabled"] #checkout {
  display: none;
}
#preview-messages {
  min-height: 72px;
}
.preview-banner {
  background: #e8eddb;
  border: 1px solid #d0ddc7;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
}
.preview-message summary {
  cursor: pointer;
  font-weight: 600;
  padding: 12px 0;
}
.mail-content {
  display: flow-root;
}
.preview-message pre {
  font: inherit;
  font-size: 14px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 12px 0;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none;
    scroll-behavior: auto;
  }
}
@media (max-width: 720px) {
  header,
  main {
    padding-left: 20px;
    padding-right: 20px;
  }
  .intro {
    padding-top: 20px;
  }
  .columns {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .inline,
  .membership {
    align-items: stretch;
    flex-direction: column;
  }
  .card {
    padding: 22px;
  }
  .pair {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .rent-field .pair {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  h1 {
    letter-spacing: -1px;
  }
}
