/* Door 6 — the commercial pair's skin: the family refresh language
   (paper ground, dark ink, ONE evergreen accent; gold only in the
   logo's ".direct"). Business-plain: facts first, no decoration
   competing with the listings. */
:root {
  --paper: #faf7f2;
  --ink: #1d2420;
  --ink-soft: #4a554e;
  --accent: #1f5c46;
  --accent-dark: #174534;
  --line: #ddd5c7;
  --card: #ffffff;
  --gold: #b98a1d;
  --radius: 10px;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px; line-height: 1.5;
}
a { color: var(--accent); }
header.top {
  background: var(--ink); color: #f3efe7;
  padding: 12px 20px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
}
header.top .brand { font-size: 22px; font-weight: bold; color: #f3efe7; text-decoration: none; }
header.top .brand .direct { color: var(--gold); }
header.top nav { display: flex; gap: 18px; margin-left: auto; }
header.top nav a { color: #f3efe7; text-decoration: none; font-size: 15px; }
header.top nav a:hover { text-decoration: underline; }
main { max-width: 1060px; margin: 0 auto; padding: 26px 18px 60px; }
h1 { font-size: 34px; line-height: 1.2; margin: 8px 0 8px; }
.sub { font-size: 18px; color: var(--ink-soft); margin: 0 0 22px; max-width: 46em; }
.panel {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; margin: 0 0 18px;
}
.search-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: end; }
.field { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.field label { font-weight: bold; font-size: 13px; letter-spacing: .02em; }
input, select, textarea {
  font: inherit; font-size: 16px; padding: 8px 10px;
  border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink);
}
input[type="number"] { width: 9em; }
.town-wrap { position: relative; flex: 1 1 240px; }
.town-wrap input { width: 100%; }
.suggest-box {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 30;
  background: #fff; border: 1px solid var(--line); border-radius: 6px;
  box-shadow: 0 8px 24px rgba(29,36,32,.16); overflow: hidden;
}
.suggest-box button {
  display: block; width: 100%; text-align: left; padding: 9px 12px;
  background: none; border: none; font: inherit; font-size: 15px; cursor: pointer;
}
.suggest-box button:hover, .suggest-box button.active { background: #eef3f0; }
.chips { display: flex; gap: 6px; align-items: center; }
.chips .chip {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 5px 12px; font: inherit; font-size: 14px; cursor: pointer;
}
.chips .chip[aria-pressed="true"] { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn {
  background: var(--accent); color: #fff; border: none; border-radius: 6px;
  padding: 9px 18px; font: inherit; font-size: 16px; cursor: pointer;
}
.btn:hover { background: var(--accent-dark); }
.btn.ghost { background: none; color: var(--accent); border: 1px solid var(--accent); }
.btn.small { padding: 5px 12px; font-size: 14px; }
.more-filters-toggle { margin-top: 12px; }
.more-filters { border-top: 1px dashed var(--line); margin-top: 12px; padding-top: 12px; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 4px 16px; font-size: 15px; }
.checks label { font-weight: normal; display: flex; gap: 7px; align-items: baseline; }
.count-line { font-size: 19px; margin: 20px 0 12px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
}
.card .photo { aspect-ratio: 16/10; background: #e8e2d4; display: block; width: 100%; object-fit: cover; }
.card .tile {
  aspect-ratio: 16/10; display: flex; align-items: center; justify-content: center;
  background: var(--ink); color: #f3efe7; font-size: 21px; padding: 14px; text-align: center;
}
.card .body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 3px; }
.card .type { font-weight: bold; font-size: 18px; }
.card .money { font-size: 18px; }
.card .meta { color: var(--ink-soft); font-size: 15px; }
.badge {
  display: inline-block; font-size: 12px; letter-spacing: .04em; text-transform: uppercase;
  border: 1px solid var(--gold); color: var(--gold); border-radius: 4px; padding: 1px 6px;
}
.zero { text-align: left; }
.zero h2 { margin-top: 0; }
.wantlist { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; align-items: end; }
table.space { border-collapse: collapse; width: 100%; margin: 8px 0 4px; }
table.space td { padding: 6px 10px 6px 0; vertical-align: top; font-size: 16px; }
table.space td.k { font-weight: bold; white-space: nowrap; width: 11em; }
.gloss { color: var(--ink-soft); font-size: 15px; }
.notice { border: 1px solid var(--accent); background: #eef3f0; border-radius: 6px; padding: 10px 14px; margin: 12px 0; }
.notice.err { border-color: #a33; background: #f9eeee; }
footer.bottom { border-top: 1px solid var(--line); padding: 20px; text-align: center; color: var(--ink-soft); font-size: 15px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px 18px; }
.form-grid .field { margin-bottom: 4px; }
textarea { width: 100%; }
.small { font-size: 14px; color: var(--ink-soft); }
