/* Texas Buyer Seller: the site's one stylesheet. Mobile first, no framework.
   Part 1 is the design kit (brand\2026-11-26 texas buyer seller design kit.html), copied as is: tokens, links, buttons,
   fields, choice tiles, checkboxes, the account card, badges and tags, the property card, the Buyer Demand card, the
   filter bar with its panels and place list, the facts grid. They are the only rules for those things.
   Part 2 is the frame and the three templates (design spec 4d). Part 3 is page layout. */

/* ================= PART 1: THE DESIGN KIT ================= */

/* ---- Tokens */
:root {
  --slate: #162430; --slate-2: #22323F; --copper: #B85D19; --copper-dk: #9A4D14; --copper-bg: #F6EADF;
  --pine: #1E5B41; --pine-bg: #E7F0EB; --stone: #FAF8F5; --white: #FFFFFF; --line: #E2DED5; --line-2: #CFC9BC;
  --muted: #52606D; --err: #B3261E; --err-bg: #FBEAE8;
  --r: 10px; --r-sm: 8px; --shadow: 0 1px 2px rgba(22,36,48,.06), 0 8px 24px rgba(22,36,48,.08);
  --ring: 0 0 0 3px rgba(184,93,25,.28);
  /* layout (design spec 4d) */
  --pad: 16px; --sec: 40px; --gap: 24px; --g: 16px; --page: 1280px; --read: 760px; --form: 640px;
  color-scheme: only light;   /* the site is drawn for light only */
}
@media (min-width: 900px) { :root { --pad: 32px; --sec: 64px; } }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; }   /* every page the same width, scrollbar or not: the frame never shifts */
html.lp-on, html:has(body.filters-open) { scrollbar-gutter: auto; }   /* a sheet or panel over the page covers the whole window */
body { margin: 0; background: var(--stone); color: var(--slate); font: 16px/1.5 Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; -webkit-font-smoothing: antialiased;
  min-height: 100vh; display: flex; flex-direction: column; }
.num { font-variant-numeric: tabular-nums; }

/* ---- Links: one rule for light, one for dark. Never white on light. */
a { color: var(--copper-dk); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; font-weight: 600; }
a:hover { color: var(--slate); text-decoration-thickness: 2px; }
a:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 4px; }
.on-dark a:not(.btn) { color: #fff; }
.on-dark a:not(.btn):hover { color: #F3C9A6; }

/* ---- Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: var(--r-sm);
  border: 1px solid transparent; font: inherit; font-weight: 600; font-size: 15px; line-height: 1; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s; }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }
/* a phone: a long label wraps inside its button instead of pushing the page wider than the window (320 to 360 px) */
@media (max-width: 479px) { .btn { max-width: 100%; white-space: normal; text-align: center; line-height: 1.25; padding-top: 10px; padding-bottom: 10px; } }
.btn-main { background: var(--copper); color: #fff; }
.btn-main:hover { background: var(--copper-dk); color: #fff; }
.btn-line { background: var(--white); border-color: var(--line-2); color: var(--slate); }
.btn-line:hover { border-color: var(--slate); color: var(--slate); background: var(--white); }
.btn-dark-line { background: transparent; border-color: rgba(255,255,255,.45); color: #fff; }
.btn-dark-line:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }
.btn-quiet { background: #EFECE6; color: #5E6873; cursor: not-allowed; }
.btn-block { width: 100%; }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 14px; }

/* ---- Form fields (one style everywhere; every text box, list box and text area of a form) */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .legend { font-size: 14px; font-weight: 600; color: var(--slate); }
.field .hint { font-size: 13px; color: var(--muted); }
.input, .field input:not([type=checkbox]):not([type=radio]):not([type=hidden]), .field select, .field textarea, .inline-form input {
  width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--white); color: var(--slate); font: inherit; }
.field textarea { padding: 12px 14px; min-height: 120px; resize: vertical; }
.field input[type=file] { padding: 10px 14px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2352606D' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center; }
.input::placeholder, .field input::placeholder, .field textarea::placeholder { color: #8A939C; }

/* ---- LONG FORMS (design kit section 8, the only styles for them): What I'm Buying, Post a Property, Pitch a Property,
   Contact Seller, Paperwork Help, Account, the admin forms. The form on the left in numbered section cards, a live
   summary on the right that stays in view. A from / to pair is one control; several-choice lists are chips; either-or
   choices are tiles; yes / no settings are switches; short fixed lists are a row of buttons. */
.formhead { max-width: 1180px; margin: 0 auto 24px; }
.formhead h1 { font-size: 32px; letter-spacing: -.02em; line-height: 1.2; margin: 0; }
.formhead p { color: var(--muted); margin: 8px 0 0; max-width: 640px; }
.formhead .flash { margin-top: 16px; border-radius: var(--r-sm); }
.formhead .flash > div { padding: 0 16px; }
.formpage { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; max-width: 1180px; margin: 0 auto; }
.fstack { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.fsec { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 28px 28px 30px; min-width: 0; }
.fsec-h { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; margin-bottom: 22px; }
.fsec-n { width: 36px; height: 36px; border-radius: 50%; background: var(--copper-bg); color: var(--copper-dk); font-weight: 700; font-size: 15px; display: grid; place-content: center; }
.fsec-h h2 { font-size: 19px; line-height: 1.3; letter-spacing: -.01em; margin: 0; }
.fsec-h p { font-size: 14px; color: var(--muted); margin: 2px 0 0; }
.fsec-h + .switch, .fsec-h + input[type=hidden] + .switch { border-top: 0; padding-top: 0; }
.fgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 16px; }
.fgrid .wide { grid-column: 1 / -1; }
.fgrid.one { grid-template-columns: minmax(0, 1fr); }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form .fgrid { gap: 14px 12px; }
.choices.tight .choice span { min-height: 44px; font-size: 14px; padding: 8px 10px; }
.contact-form .field textarea { min-height: 96px; }
@media (max-width: 1279px) { .contact-form .fgrid { grid-template-columns: minmax(0, 1fr); } }
.fgrid + .fgrid, .fgrid + .switch, .switch + .fgrid, .fnote + .fgrid, .fgrid + .fnote, .fgrid + .factions-in { margin-top: 18px; }
.fnote { font-size: 14px; color: var(--muted); margin: 0; }
.fnote + .switch { margin-top: 8px; }
.fsec > .choices + .fnote, .fsec > .choices + .fgrid, .fsec > .fgrid + .fnote, .fsec > .fnote + .fnote, .fsec > .thumbs + .fgrid, .fsec > .docs + .fgrid { margin-top: 16px; }
.fsec > .fnote + .fnote { margin-top: 8px; }
.opt { font-weight: 400; color: var(--muted); }
/* a from / to pair is ONE control with one label */
.range { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--white); min-height: 48px; }
.range:hover { border-color: #B3AC9D; }
.range:focus-within { border-color: var(--copper); box-shadow: var(--ring); }
.field .range input:not([type=hidden]):not([type=checkbox]):not([type=radio]) { border: 0; background: transparent; min-height: 46px; padding: 0 14px; font: inherit; color: var(--slate); width: 100%; min-width: 0; outline: none; box-shadow: none; font-variant-numeric: tabular-nums; }
.range input::placeholder { color: #8A939C; }
.range i { font-style: normal; font-size: 13px; color: var(--muted); padding: 0 2px; }
.field.bad .range { border-color: var(--err); background: var(--err-bg); }
/* chips: several can be picked (a pick-one list drawn the same way has radio buttons underneath) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips .chip { position: relative; }
.chips .chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chips .chip span { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--white); font-size: 14px; font-weight: 500; transition: border-color .15s, background-color .15s; }
.chips .chip input:hover + span { border-color: var(--slate); }
.chips .chip input:focus-visible + span { box-shadow: var(--ring); }
.chips .chip input:checked + span { background: var(--slate); border-color: var(--slate); color: #fff; }
.chips .chip input:checked + span::before { content: ""; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translateY(-2px); }
/* picked values (counties): each one removable */
.picked { display: flex; flex-wrap: wrap; gap: 8px; }
.picked:not(:empty) { margin-top: 10px; }
.picked span { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 6px 0 12px; border-radius: 999px; background: var(--copper-bg); color: var(--copper-dk); font-size: 13px; font-weight: 600; }
.picked button { width: 20px; height: 20px; border-radius: 50%; border: 0; background: rgba(154,77,20,.15); color: var(--copper-dk); font-size: 14px; line-height: 1; cursor: pointer; display: grid; place-content: center; padding: 0; }
.picked button svg { width: 12px; height: 12px; }
.picked button:hover, .picked button:focus-visible { background: var(--copper-dk); color: #fff; outline: none; }
/* a field with a leading icon: the text never sits under the icon (this rule outranks the plain field rule, which
   used to win and put the county box's text under its magnifier) */
.withicon { position: relative; }
.withicon > svg { position: absolute; left: 14px; top: 15px; width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; pointer-events: none; z-index: 1; }
.withicon input.input:not([type=hidden]):not([type=checkbox]):not([type=radio]) { padding-left: 42px; }
/* tiles in a row, smaller than the join tiles */
.choices.sm .choice span { min-height: 72px; flex-direction: row; gap: 10px; font-size: 15px; }
.choices.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choices.col .choice span { flex-direction: column; gap: 2px; }
/* a short fixed list: one row of buttons (radio buttons underneath) */
.fsec .seg { grid-auto-columns: minmax(0, 1fr); }
.fsec .seg span { min-height: 46px; padding: 0 6px; }
@media (max-width: 700px) {   /* a long row of buttons wraps on a phone, each one still a button */
  .fsec .seg.many { display: flex; flex-wrap: wrap; gap: 8px; border: 0; overflow: visible; }
  .fsec .seg.many span { border: 1px solid var(--line-2); border-radius: 999px; padding: 0 16px; min-height: 42px; }
  .fsec .seg.many label:first-child span { border-left: 1px solid var(--line-2); }
}
/* a switch with its sentence */
.switch { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 14px 0; border-top: 1px solid var(--line); cursor: pointer; }
.switch input { appearance: none; -webkit-appearance: none; width: 44px; height: 26px; border-radius: 999px; background: #CFC9BC; position: relative; cursor: pointer; margin: 0; transition: background-color .15s; }
.switch input::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.25); transition: transform .15s; }
.switch input:checked { background: var(--copper); }
.switch input:checked::after { transform: translateX(18px); }
.switch input:focus-visible { outline: none; box-shadow: var(--ring); }
.switch b { display: block; font-size: 15px; font-weight: 600; }
.switch small { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }
.factions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding-top: 4px; }
.factions .form-msg, .factions .fnote { flex-basis: 100%; margin: 0; }
/* the summary column */
.fside { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.fside .lbl { font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.fside .pcard a.cover, .fside .bcard .end .btn { pointer-events: none; }
.assure { background: var(--slate); color: #DCE2E7; border-radius: 14px; padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 14px; font-size: 14px; line-height: 1.45; }
.assure b { color: #fff; display: block; font-size: 15px; }
.assure > div { display: grid; grid-template-columns: 24px 1fr; gap: 12px; }
.assure .tick { width: 24px; height: 24px; }
.fside .assure.next { display: flex; }
/* the posting steps above the summary */
.fsteps { list-style: none; margin: 0; padding: 0; background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; counter-reset: st; }
.fsteps li { counter-increment: st; border-top: 1px solid var(--line); }
.fsteps li:first-child { border-top: 0; }
.fsteps a, .fsteps span { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: center; padding: 11px 16px; font-size: 14px; font-weight: 500; color: var(--slate); text-decoration: none; }
.fsteps a::before, .fsteps span::before { content: counter(st); width: 26px; height: 26px; border-radius: 50%; display: grid; place-content: center; font-size: 13px; font-weight: 700; background: #EFECE6; color: var(--muted); }
.fsteps .done a::before, .fsteps .done span::before { background: var(--pine-bg); color: var(--pine); }
.fsteps .on span { font-weight: 700; background: #F3F0EA; }
.fsteps .on span::before { background: var(--copper); color: #fff; }
.fsteps a:hover { background: #F3F0EA; color: var(--slate); }
.fsteps-phone { display: none; font-size: 14px; font-weight: 600; color: var(--copper-dk); margin: 0; }
@media (max-width: 980px) {
  .formpage { grid-template-columns: minmax(0, 1fr); }
  .fside { position: static; order: -1; }
  .assure:not(.next), .fsteps { display: none; }
  .fsteps-phone { display: block; }
  .fgrid { grid-template-columns: minmax(0, 1fr); }
  .fsec { padding: 20px 18px 22px; border-radius: 0; border-left: 0; border-right: 0; margin: 0 calc(-1 * var(--pad)); }
  .choices.sm, .choices.two { grid-template-columns: minmax(0, 1fr); }
  .factions { position: sticky; bottom: 0; z-index: 30; background: var(--stone); padding: 12px 0; border-top: 1px solid var(--line); }
  .factions .btn-main { flex: 1; }
  .fsec .factions { position: static; background: none; border-top: 0; padding: 0; }   /* buttons inside a card (Password, Close my account) stay in their card */
}
.input:hover, .field input:hover, .field select:hover, .field textarea:hover { border-color: #B3AC9D; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus, .inline-form input:focus { outline: none; border-color: var(--copper); box-shadow: var(--ring); }
.field.bad .input, .field.bad input, .field.bad select, .field.bad textarea { border-color: var(--err); background-color: var(--err-bg); }
.field .err, .check .err, fieldset .err { font-size: 13px; color: var(--err); font-weight: 500; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.row2 > * { min-width: 0; }

/* ---- Choice tiles: a group of big equal options */
.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 92px; padding: 14px 10px; border: 1px solid var(--line-2);
  border-radius: var(--r-sm); background: var(--white); font-weight: 600; font-size: 15px; text-align: center; transition: border-color .15s, background-color .15s, box-shadow .15s; }
.choice small { font-weight: 400; font-size: 13px; color: var(--muted); }
.choice svg { width: 24px; height: 24px; stroke: var(--muted); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.choice input:hover + span { border-color: var(--slate); }
.choice input:focus-visible + span { box-shadow: var(--ring); }
.choice input:checked + span { border-color: var(--copper); background: var(--copper-bg); box-shadow: inset 0 0 0 1px var(--copper); }
.choice input:checked + span svg { stroke: var(--copper-dk); }

/* ---- A checkbox (or a radio) and its sentence: the box is one column, the whole sentence is the other */
.check { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; font-size: 14px; line-height: 1.5; color: var(--slate); cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: 1px 0 0; border: 1px solid var(--line-2); border-radius: 5px; background: var(--white); cursor: pointer; display: grid; place-content: center; }
.check input:hover { border-color: var(--slate); }
.check input:focus-visible { outline: none; box-shadow: var(--ring); }
.check input:checked { background: var(--copper); border-color: var(--copper); }
.check input:checked::after { content: ""; width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translateY(-1px); }
.check span { display: block; }
.check input[type=radio] { border-radius: 50%; }
.check input[type=radio]:checked { background: var(--white); border: 6px solid var(--copper); }
.check input[type=radio]:checked::after { content: none; }

/* ---- Account pages (join, sign in, the emailed-link pages, confirm, reset password, notices): two panels */
.auth { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); max-width: 1120px; margin: 0 auto; background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.auth-side { background: var(--slate); color: #fff; padding: 48px 44px; display: flex; flex-direction: column; gap: 28px; }
.auth-side .mark { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.auth-side h2 { font-size: 30px; line-height: 1.2; letter-spacing: -.01em; margin: 0; }
.auth-side ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.auth-side li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; font-size: 15px; line-height: 1.45; color: #DCE2E7; }
.auth-side li b { display: block; color: #fff; font-weight: 600; }
.tick { width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-content: center; }
.tick::after { content: ""; width: 10px; height: 6px; border-left: 2px solid #F3C9A6; border-bottom: 2px solid #F3C9A6; transform: rotate(-45deg) translateY(-1px); }
.auth-side .fine { margin: auto 0 0; font-size: 13px; color: #9FAAB4; }
.auth-form { padding: 48px 52px; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.auth-form h1 { font-size: 28px; line-height: 1.2; letter-spacing: -.01em; margin: 0; }
.auth-form .lede { color: var(--muted); font-size: 15px; margin: -10px 0 0; }
.auth-form .legend { margin-bottom: -12px; }
.auth-form .foot { padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); text-align: center; margin: 0; }
.auth-form .auth-sub { text-align: center; margin: -8px 0 0; font-size: 14px; }
.auth-form .stack { gap: 20px; }
.auth-form .flash { margin: 0; border-radius: var(--r-sm); }
@media (max-width: 860px) { .auth { grid-template-columns: 1fr; border-radius: 0; border-left: 0; border-right: 0; } .auth-side { padding: 28px 20px; gap: 16px; } .auth-side h2 { font-size: 22px; }
  .auth-side ul, .auth-side .fine { display: none; } .auth-form { padding: 28px 20px; } .row2 { grid-template-columns: 1fr; }
  .auth-sec { padding-top: 0 !important; } .auth-sec .wrap { padding: 0; } }

/* ---- Badges and tags */
.badge { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .01em; }
.badge.owner { background: var(--pine); color: #fff; }
.badge.holder { background: var(--slate); color: #fff; }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 6px; font-size: 12px; font-weight: 600; }
.tag.fin { background: var(--pine-bg); color: var(--pine); }
.tag.warn { background: var(--copper-bg); color: var(--copper-dk); }

/* ---- Property card (the whole card is the link: a cover link over it, the heart above that) */
.pcard { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s, border-color .15s; color: inherit; font-weight: 400; min-width: 0; }
.pcard:hover { box-shadow: var(--shadow); border-color: var(--line-2); color: inherit; }
.pcard .ph { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(160deg, #C9D3CC, #8FA08F); }
.pcard .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pcard .ph .badge { position: absolute; left: 12px; top: 12px; }
.pcard .heart { position: absolute; right: 12px; top: 12px; width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 0; display: grid; place-content: center; box-shadow: 0 1px 3px rgba(0,0,0,.2); cursor: pointer; color: var(--slate); }
.pcard .heart svg { width: 18px; height: 18px; fill: none; stroke: var(--slate); stroke-width: 2; }
.pcard .bd { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; }
.pcard .price { font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.pcard .line { font-size: 14px; font-weight: 500; }
.pcard .place { font-size: 14px; color: var(--muted); }
.pcard .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; min-height: 24px; }

/* ---- Buyer Demand card: the same rows in the same places, the button pinned to the bottom */
.bcard { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: flex; flex-direction: column; gap: 14px; min-height: 0; min-width: 0; }
.bcard h3 { font-size: 18px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0; }
.bcard .where { font-size: 14px; color: var(--muted); margin: -8px 0 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bcard .three { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.bcard .three > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.bcard .k { font-size: 14px; color: var(--muted); }
.bcard .v { font-size: 14px; font-weight: 600; text-align: right; white-space: nowrap; }
.bcard .note { font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
.bcard .end { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bcard .end small { font-size: 13px; color: var(--muted); }

/* ---- Filter bar, its panels and the place list */
.fbar { display: flex; align-items: center; gap: 8px; position: relative; flex-wrap: wrap; }
/* 12 px above and below the controls at every width (the kit). The bar is also a .wrap, whose padding: 0 var(--pad) comes
   later in this file and used to wipe a plain .fbar's 12 px: the two-class selector keeps it */
.filters .fbar, .wrap.fbar { padding-top: 12px; padding-bottom: 12px; }
/* the filter bar's What I'm Buying: the white outline button, as tall as the pills (one copper button per screen: the header's) */
.fbar .btn-line { min-height: 44px; }
.placebox { flex: 0 1 320px; position: relative; min-width: 0; }
.placebox .input { padding-left: 40px; border-radius: 999px; min-height: 44px; }
.placebox svg { position: absolute; left: 14px; top: 13px; width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; z-index: 1; }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--white); font: inherit; font-size: 14px; font-weight: 500; color: var(--slate); cursor: pointer; white-space: nowrap; text-decoration: none; }
.pill:hover { border-color: var(--slate); color: var(--slate); }
.pill.on { background: var(--slate); border-color: var(--slate); color: #fff; }
.pill svg { width: 16px; height: 16px; }
.pill:focus-visible { outline: none; box-shadow: var(--ring); }
.pd { position: relative; flex: none; }
.pd > summary { list-style: none; }
.pd > summary::-webkit-details-marker { display: none; }
.pd:not([open]) .pop { display: none; }
.pop { position: absolute; left: 0; top: 52px; z-index: 60; width: 340px; max-width: calc(100vw - 2 * var(--pad)); background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.pop-wide { width: 440px; }
.pd-right .pop { left: auto; right: 0; }
.pop-h { font-size: 14px; font-weight: 600; color: var(--slate); margin: 0 0 -6px; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border: 1px solid var(--line-2); border-radius: var(--r-sm); overflow: hidden; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; pointer-events: none; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 8px; border-left: 1px solid var(--line-2); background: var(--white); font-size: 14px; font-weight: 500; color: var(--slate); white-space: nowrap; }
.seg label:first-child span { border-left: 0; }
.seg label:hover span { background: #F3F0EA; }
.seg input:checked + span { background: var(--slate); color: #fff; }
.seg input:focus-visible + span { box-shadow: inset 0 0 0 3px rgba(184,93,25,.5); }
.pop-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--line); }
.sugg { position: absolute; left: 0; top: 50px; z-index: 70; width: 100%; min-width: 260px; max-width: calc(100vw - 2 * var(--pad)); background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 8px; margin: 0; list-style: none; text-align: left; }
.sugg[hidden] { display: none; }
.sugg .g { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 8px 10px 4px; }
.sugg .o { padding: 9px 10px; border-radius: 6px; font-size: 14px; cursor: pointer; color: var(--slate); }
.sugg .o.on, .sugg .o[aria-selected=true], .sugg .o:hover { background: #F3F0EA; }
/* the sort menu: the same list look */
.pop.pop-menu { width: 240px; padding: 8px; gap: 0; }
.menu-opt { display: flex; align-items: center; padding: 9px 10px; border-radius: 6px; cursor: pointer; position: relative; font-size: 14px; color: var(--slate); }
.menu-opt input { position: absolute; opacity: 0; pointer-events: none; }
.menu-opt:hover { background: #F3F0EA; }
.menu-opt input:checked + span { font-weight: 700; }
.menu-opt input:focus-visible + span { box-shadow: var(--ring); border-radius: 4px; }

/* ---- Facts grid: always full rows, real borders on each cell */
.facts { --cols: var(--c, 3); display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin: 0; }
.facts > div { padding: 14px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; min-width: 0; grid-column: span var(--sd, 1); }
.facts .k { font-size: 12px; color: var(--muted); margin: 0; }
.facts .v { font-size: 15px; font-weight: 600; margin: 0; overflow-wrap: anywhere; }
@media (max-width: 699px) { .facts { --cols: 2; } .facts > div { grid-column: span var(--sp, 1); } }
.facts.one { --cols: 1; }   /* a summary beside a long form: one fact per row at every width */

/* ================= PART 2: THE FRAME AND THE TEMPLATES (design spec 4d) ================= */
body > main { flex: 1 0 auto; }
body > footer, body > header { flex: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 12px; letter-spacing: -0.01em; }
h1 { font-size: 30px; font-weight: 700; }
h2 { font-size: 24px; font-weight: 700; }
h3 { font-size: 18px; font-weight: 600; }
p { margin: 0 0 12px; }
@media (min-width: 900px) { h1 { font-size: 36px; } h2 { font-size: 28px; } }
.wrap { max-width: calc(var(--page) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.lede { font-size: 18px; color: var(--muted); }
.unverified { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); opacity: 0; }
.js .nojs-only { display: none; }
html:not(.js) .js-only { display: none; }
.pop-foot > .btn:only-child { margin-left: auto; }
:focus-visible { outline: none; box-shadow: var(--ring); }

/* The header: full window, the same on every page. Its menu links are the one exception to the link rule. */
.top { background: var(--slate); color: #fff; position: sticky; top: 0; z-index: 50; }
.top .wrap { max-width: none; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px; min-height: 68px; }
.on-dark .logo, .on-dark .logo:hover { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -0.015em; }
.logo svg { flex: none; }
.nav { display: none; justify-content: center; gap: 4px; min-width: 0; flex-wrap: wrap; row-gap: 0; }
.top .nav a { color: #DCE2E7; text-decoration: none; font-weight: 500; font-size: 15px; padding: 10px 14px; border-radius: 6px; transition: color .15s, background-color .15s; }
.top .nav a:hover, .top .nav a[aria-current] { color: #fff; background: rgba(255,255,255,.08); }
.acct { display: flex; align-items: center; gap: 8px; justify-self: end; flex: none; white-space: nowrap; }
.acct .signin, .acct .btn-main { display: none; }
.top .hlink { text-decoration: none; padding: 10px 6px; }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--r-sm); background: transparent; border: 1px solid rgba(255,255,255,.45); color: #fff; cursor: pointer; }
@media (min-width: 1200px) { .nav { display: flex; } .acct .signin, .acct .btn-main { display: inline-flex; align-items: center; } .menu-btn { display: none; } }
.drawer { display: none; background: var(--slate); border-top: 1px solid rgba(255,255,255,.1); padding: 8px var(--pad) 20px; }
.drawer.open { display: block; }
.top .drawer a:not(.btn) { display: block; color: #fff; text-decoration: none; padding: 12px 0; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,.08); }
.drawer .btn { margin-top: 16px; width: 100%; }
.drawer-acct { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px 0 8px; }
.drawer .drawer-acct .btn { margin-top: 0; }
/* the signed-in member's menu: white panel, dark words (the header's own link look) */
@media (min-width: 1200px) { .acct details.umenu { display: block; } }
.umenu > summary { gap: 6px; cursor: pointer; }
.umenu > summary svg { width: 16px; height: 16px; }
.umenu .pop { top: 52px; }
.top .umenu .pop .um-link { display: block; width: 100%; text-align: left; padding: 9px 10px; border: 0; border-radius: 6px; background: none; font: inherit; font-size: 14px; font-weight: 500; color: var(--slate); text-decoration: none; cursor: pointer; }
.top .umenu .pop .um-link:hover, .top .umenu .pop .um-link:focus-visible { background: #F3F0EA; color: var(--slate); outline: none; }
.umenu .um-out { margin: 4px 0 0; padding-top: 4px; border-top: 1px solid var(--line); }
.drawer-user { padding: 8px 0 4px; border-bottom: 1px solid rgba(255,255,255,.2); }
.drawer-user .small { color: rgba(255,255,255,.75); margin: 4px 0; }
.top .drawer .drawer-user .um-link { display: block; width: 100%; text-align: left; color: #fff; text-decoration: none; padding: 12px 0; font: inherit; font-weight: 500; background: none; border: 0; border-bottom: 1px solid rgba(255,255,255,.08); cursor: pointer; }
.top .drawer .drawer-user .um-link:hover { color: #fff; text-decoration: underline; }
.drawer-user .um-out { margin: 0; }
/* the first visit to the dashboard: the two next steps (master plan A6) */
.report { margin-top: 16px; }
.report > details > summary { list-style: none; cursor: pointer; display: inline; }
.report > details > summary::-webkit-details-marker { display: none; }
.report-form { margin-top: 12px; padding: 20px; }
.ends-soon { color: var(--copper-dk); font-weight: 600; }
.next-steps { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); margin-top: 8px; }
@media (min-width: 800px) { .next-steps { grid-template-columns: 1fr 1fr; } }
.next-steps .panel { display: flex; flex-direction: column; gap: 12px; padding: 28px; }
.next-steps h2 { font-size: 20px; margin: 0; }
.next-steps p { margin: 0; color: var(--muted); }
.next-steps .btn { align-self: flex-start; margin-top: auto; }
.next-steps .num { font-size: 13px; font-weight: 700; color: var(--copper-dk); margin: 0; }
.notice-bar { background: var(--copper-bg); color: var(--slate); font-size: 14px; text-align: center; padding: 10px var(--pad); }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--copper-dk); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.linkbtn:hover { color: var(--slate); }

/* The footer: full window, the same on every page. Its links follow the kit's dark rule. */
.foot-main { background: var(--slate); color: #C9D1D8; padding: 56px 0 28px; }
.foot-main .wrap { max-width: none; }
.foot-main a:not(.btn) { text-decoration: none; font-weight: 500; }
.foot-main a:not(.btn):hover { text-decoration: underline; }
.foot-grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.6fr repeat(4, 1fr); } }
.foot-grid .brandcol { grid-column: 1 / -1; }
@media (min-width: 900px) { .foot-grid .brandcol { grid-column: auto; } }
.foot-grid .fh { color: #fff; font-size: 14px; margin-bottom: 12px; font-weight: 600; letter-spacing: 0; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14px; }
.foot-note { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; font-size: 13px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.tagline { color: #F3C9A6; font-weight: 600; margin: 12px 0 8px; }

/* Messages */
.flash { padding: 12px 0; font-size: 15px; }
.flash > div { max-width: calc(var(--page) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
.flash-ok { background: var(--pine-bg); color: var(--pine); }
.flash-warn { background: var(--copper-bg); color: #6B3510; }
.flash-err { background: var(--err-bg); color: #8A1C12; }
.form-col .flash, .dash-main .flash, .wrap > .flash, .auth-form .flash { border-radius: var(--r-sm); margin-bottom: 16px; }
.form-col .flash > div, .dash-main .flash > div, .wrap > .flash > div, .auth-form .flash > div { padding: 0 16px; }
.form-errs ul { margin: 6px 0 0; padding-left: 20px; }
.form-msg { margin: 12px 0 0; font-weight: 600; }
.form-msg.ok { color: var(--pine); }
.form-msg.err { color: var(--err); }
.empty { padding: 32px; border: 1px dashed var(--line-2); border-radius: var(--r); background: var(--white); display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.empty p { margin: 0; }
.empty-center { flex-direction: column; text-align: center; justify-content: center; padding: 48px 32px; }

/* Template: every page title one size, the same space above it */
main > .sec:first-child, main > .hero:first-child, main > section:first-of-type { padding-top: 40px; }
.sec { padding: var(--sec) 0; }
.page-head { max-width: var(--read); margin: 0 auto 40px; text-align: center; }
.page-head .lede { margin: 8px auto 0; }
.eyebrow { font-weight: 600; color: var(--copper-dk); font-size: 14px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 12px; }
.center-text { text-align: center; }
.center-text .lede { margin-left: auto; margin-right: auto; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 40px 0 0; }
.page-head .btn-row { margin-top: 24px; }

/* Template 1, Browse: full width; the title line (title left; count and sort right), then the grid */
body.tpl-browse main .wrap { max-width: none; }
.filters { position: sticky; top: 68px; z-index: 45; background: var(--stone); border-bottom: 1px solid var(--line); }
.filters .wrap { max-width: none; }
.fpills { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.fbar-end { margin-left: auto; display: flex; gap: 8px; align-items: center; flex: none; }
.mapchip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 999px; background: var(--copper-bg); color: var(--copper-dk); font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.mapchip:hover { color: var(--slate); }
.title-line { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; padding: 40px 0 20px; }
.title-line h1 { margin: 0; }
.tl-left { min-width: 0; }
.tl-sub { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.tl-right { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.title-line .count { color: var(--muted); font-size: 15px; white-space: nowrap; }
.sortf { margin: 0; }
.results { display: grid; grid-template-columns: 1fr; }
@media (min-width: 1100px) { .results { grid-template-columns: 3fr 2fr; } .results.results-one { grid-template-columns: 1fr; } }
.results-one { display: block; }
.list { padding: 0 var(--pad) var(--sec); min-width: 0; }
#results.loading .list { opacity: .5; transition: opacity .15s; }
.browse-body { padding-bottom: var(--sec); }
.browse-body .title-line + .cards, .browse-body .title-line + .demand { margin-bottom: 16px; }
.market-text { max-width: var(--read); margin: -8px 0 20px; color: var(--muted); }
.hub-intro { margin: -4px 0 16px; max-width: 75ch; }
.cards, .demand { display: grid; gap: var(--g); grid-template-columns: 1fr; }
.demand { grid-auto-rows: 1fr; }
@media (min-width: 700px) { .cards, .cards.grid-map, .cards.grid-full, .demand { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cards.grid-full, .demand { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1500px) { .cards.grid-map { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cards.four, .cards.grid-full, .demand { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.pcard a.cover, .bcard a.cover { position: absolute; inset: 0; z-index: 1; border-radius: var(--r); }
.heart-f { position: absolute; right: 12px; top: 12px; z-index: 2; margin: 0; }
.pcard .heart-f .heart { position: static; }
.pcard .heart.on svg { fill: var(--copper); stroke: var(--copper); }
.bcard .end .btn { position: relative; z-index: 2; }
.noph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: #fff; }
.mine-line { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; font-size: 13px; margin-top: 6px; }
.matches { font-weight: 600; color: var(--pine); display: inline-flex; gap: 4px; align-items: center; }
.st { font-weight: 600; }
.st-active { color: var(--pine); }
.st-pending_review, .st-draft { color: var(--copper-dk); }
.st-rejected, .st-suspended { color: #8A1C12; }
.card-h { font-size: 17px; margin: 4px 0; }
.cards.mini { margin-top: 16px; flex-basis: 100%; }
.pager { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; }
.pager a, .pager span { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--white); color: var(--slate); text-decoration: none; font-variant-numeric: tabular-nums; }
.pager a:hover { border-color: var(--slate); color: var(--slate); }
.pager span { background: var(--slate); color: #fff; border-color: var(--slate); }
.teasers { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.teasers li { display: flex; gap: 8px; align-items: center; padding: 12px 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); font-size: 14px; }
.sponsored { display: flex; gap: 16px; align-items: flex-start; background: var(--white); position: relative; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); font-size: 13px; color: var(--muted); }
.cards .sponsored { grid-column: 1 / -1; }
.sponsored img { width: 120px; border-radius: 6px; }
.sponsored .sp-label { position: absolute; top: 8px; right: 12px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.sponsored b { display: block; font-size: 16px; color: var(--slate); margin-bottom: 4px; }
.sponsored .btn { margin: 8px 12px 0 0; }
/* the map beside the list */
.map-col { display: none; position: relative; }
@media (min-width: 1100px) { .map-col { display: block; } }
.map-col .map { position: sticky; top: 136px; height: calc(100vh - 136px); min-height: 520px; border-left: 1px solid var(--line); }
.map { background: #E9E6DF; isolation: isolate; }
.map .leaflet-tile-pane { filter: grayscale(1) sepia(.12) contrast(.92) brightness(1.04); }
.leaflet-container { font-family: inherit; }
.mk { background: var(--slate); color: #fff; font-weight: 700; font-size: 13px; padding: 4px 9px; border-radius: 999px; white-space: nowrap; box-shadow: 0 2px 6px rgba(0,0,0,.25); font-variant-numeric: tabular-nums; border: 2px solid #fff; display: inline-block; transform: translate(-50%, -50%); }
.mk.of { background: var(--pine); }
.mk.masked { background: #fff; color: var(--slate); border-color: var(--copper); }
/* H4: when the tile server refuses the map pictures, the map is a plain background with its pins */
.map.tiles-down .leaflet-tile-pane { visibility: hidden; }
/* H3: the small card of a pin (the property card's look, smaller), and the pin and its list card lit together */
.mk.hl { background: var(--copper); color: #fff; border-color: #fff; transform: translate(-50%, -50%) scale(1.12); }
.pcard.hl { border-color: var(--copper); box-shadow: 0 0 0 2px var(--copper); }
.mpop .leaflet-popup-content-wrapper { padding: 0; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.mpop .leaflet-popup-content { margin: 0; width: 240px !important; }
.mpop .leaflet-popup-tip { box-shadow: none; border: 1px solid var(--line); }
.mcard { display: block; color: var(--slate); text-decoration: none; font-weight: 400; background: var(--white); }
.leaflet-container a.mcard, .leaflet-container a.mcard:hover, .leaflet-container a.mcard:visited { color: var(--slate); text-decoration: none; }
.leaflet-container a.mcard .mc-place { color: var(--muted); }
.mpop.shifted .leaflet-popup-tip-container { display: none; }
.mcard img, .mcard .mc-noph { display: block; width: 100%; height: 132px; object-fit: cover; background: #DDE3D3; }
.mcard .mc-bd { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 12px; }
.mcard .mc-price { font-size: 17px; font-weight: 700; }
.mcard .mc-line { font-size: 13px; }
.mcard .mc-place { font-size: 13px; color: var(--muted); }
body.show-map .list { display: none; }
body.show-map .map-col { display: block; }
body.show-map .map-col .map { position: relative; top: 0; height: calc(100vh - 136px); }
.btn.map-toggle { position: fixed; left: 50%; transform: translateX(-50%); bottom: 20px; z-index: 35; box-shadow: 0 6px 18px rgba(22,36,48,.25); background: var(--slate); border-color: var(--slate); color: #fff; }
.btn.map-toggle:hover { background: var(--slate-2); color: #fff; }
@media (min-width: 1100px) { .btn.map-toggle { display: none; } }
/* the filter bar's widths; on narrower windows one Filters button opens every panel as a full-screen sheet */
.fbar .placebox { flex: 1 1 220px; max-width: 360px; min-width: 180px; }
.amounts { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.amt { width: 100%; min-height: 40px; border: 1px solid var(--line-2); background: var(--white); color: var(--slate); border-radius: 6px; font: inherit; font-size: 13px; cursor: pointer; }
.amt:hover { border-color: var(--slate); }
.amt:focus-visible { box-shadow: var(--ring); outline: none; }
.pop-links { display: flex; gap: 16px; font-size: 14px; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.checks.col { flex-direction: column; }
.reset-all { font-size: 14px; white-space: nowrap; }
.sheet-title, .sheet-foot { display: none; }
.filters-btn { display: none; }
@media (max-width: 1279px) {
  .filters-btn { display: inline-flex; }
  .fpills .pd, .fbar-end .save-search, .fbar .reset-all { display: none; }
  .fbar .placebox { flex: 1 1 auto; max-width: none; }
  body.filters-open { overflow: hidden; }
  body.filters-open .filters { z-index: 80; }
  body.filters-open .map-toggle { display: none; }
  body.filters-open .fpills { position: fixed; inset: 0; z-index: 70; background: var(--stone); flex-direction: column; align-items: stretch; padding: 16px var(--pad) 96px; overflow-y: auto; gap: 16px; flex-wrap: nowrap; }
  body.filters-open .sheet-title { display: block; font-weight: 700; font-size: 20px; margin: 4px 0 0; }
  body.filters-open .fpills .pd { display: block; }
  body.filters-open .fpills .pd > summary { pointer-events: none; border: 0; background: none; font-weight: 700; padding: 0; min-height: 0; color: var(--slate); }
  body.filters-open .fpills .pd > summary svg { display: none; }
  body.filters-open .fpills .pd .pop { display: flex; position: static; width: auto; max-width: none; box-shadow: none; }
  body.filters-open .fpills .pop-foot { display: none; }
  body.filters-open .fpills .pop > .pop-h:first-child { display: none; }
  body.filters-open .sheet-foot { display: block; position: fixed; left: 0; right: 0; bottom: 0; padding: 12px var(--pad); background: var(--white); border-top: 1px solid var(--line); z-index: 71; }
  body.filters-open .filters-btn { position: fixed; top: 12px; right: var(--pad); z-index: 72; }
}
@media (max-width: 699px) { .fbar-end { display: none; } .fbar { flex-wrap: nowrap; } .fbar .placebox { min-width: 0; } .filters-btn span { display: none; } }
/* the listing panel over the list (design spec 4a) */
html.lp-on { overflow: hidden; }
.lpanel { width: 92vw; max-width: 92vw; height: 100vh; max-height: 100vh; margin: 0 auto; padding: 0; border: 0; background: var(--stone); color: var(--slate); box-shadow: 0 0 40px rgba(0,0,0,.25); }
.lpanel[open] { display: flex; flex-direction: column; }
.lpanel::backdrop { background: rgba(22,36,48,.55); }
@media (max-width: 899px) { .lpanel { width: 100vw; max-width: 100vw; } }
.lp-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 16px; background: var(--white); border-bottom: 1px solid var(--line); flex: none; }
.lp-full { font-size: 14px; }
.lp-x { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--white); font-size: 26px; line-height: 1; cursor: pointer; color: var(--slate); }
.lp-x:hover { border-color: var(--slate); }
.lp-body { flex: 1; overflow-y: auto; min-height: 0; }
.lp-body:focus { outline: none; }
.lp-loading { padding: 40px; color: var(--muted); }
.lpanel .contact { top: 16px; }
.lpanel .bar { position: sticky; }

/* Template 2, Content: the centered 1280 px container; grids that fill it */
.hero { padding: 48px 0 var(--sec); }
@media (min-width: 900px) { .hero { padding: 88px 0 72px; } }
.hero h1 { max-width: 900px; }
@media (min-width: 900px) { .hero h1 { font-size: 48px; } }
.hero .lede { max-width: 720px; margin-bottom: 28px; }
.hero-center { text-align: center; }
.hero-center h1, .hero-center .lede { margin-left: auto; margin-right: auto; }
.hero-links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 20px; }
.hero-center .hero-links { justify-content: center; }
.search { display: grid; grid-template-columns: 1fr; gap: 8px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 8px; max-width: 920px; box-shadow: var(--shadow); }
.hero-center .search { margin: 0 auto; text-align: left; }
.search .btn { min-height: 52px; }
@media (min-width: 700px) { .search { grid-template-columns: 1.6fr 1fr auto; align-items: center; } .search .s-field + .s-field { border-left: 1px solid var(--line); } }
.search .s-field { display: flex; flex-direction: column; padding: 6px 12px; border-radius: 6px; position: relative; min-width: 0; }
.search .s-label { font-size: 12px; font-weight: 600; color: var(--muted); }
.search .combo-plain input { border: 0; font: inherit; font-size: 16px; color: var(--slate); background: transparent; padding: 4px 0; min-height: 32px; width: 100%; }
.search .combo-plain input:focus { outline: none; box-shadow: none; }
.search .combo-plain svg { display: none; }
.search .s-field:focus-within { box-shadow: var(--ring); }
.s-type > summary { list-style: none; cursor: pointer; display: flex; flex-direction: column; }
.s-type > summary::-webkit-details-marker { display: none; }
.s-type .s-val { font-size: 16px; min-height: 32px; display: flex; align-items: center; color: var(--slate); }
.s-type > summary > svg { position: absolute; right: 12px; top: 26px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.sec-head p { margin: 0; color: var(--muted); }
.band { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 700px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .tiles { grid-template-columns: repeat(6, 1fr); gap: var(--gap); } }
.tile { display: flex; flex-direction: column; gap: 14px; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--slate); min-height: 132px; transition: border-color .15s, box-shadow .15s; }
.tile:hover { border-color: var(--line-2); box-shadow: var(--shadow); color: var(--slate); }
.tile .ic { color: var(--copper); }
.tile b { font-size: 16px; }
.tile small { color: var(--muted); font-size: 13px; font-weight: 400; margin-top: -10px; }
.steps { display: grid; gap: var(--gap); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step, .feature { padding: 28px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); min-width: 0; }
.step .n, .feature .n { display: inline-flex; width: 36px; height: 36px; border-radius: 8px; align-items: center; justify-content: center; background: var(--slate); color: #fff; font-weight: 700; margin-bottom: 16px; }
.step p, .feature p { color: var(--muted); margin: 0; }
.feature h2 { font-size: 19px; margin-bottom: 8px; }
.split { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.panel { padding: 32px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.panel.dark { background: var(--slate); border-color: var(--slate); color: #fff; }
.panel.dark p, .panel.dark li { color: #DCE2E7; }
.panel ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.panel li { display: flex; gap: 10px; }
.panel li .ic { color: var(--copper); flex: none; margin-top: 2px; }
.panel.dark li .ic, .panel.dark .eyebrow { color: #F3C9A6; }
.quiet { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; padding-bottom: 24px; }
.quiet p { margin: 0; color: var(--muted); max-width: 820px; }
.quiet b { color: var(--slate); }
@media (max-width: 699px) { .quiet .btn { width: 100%; } }
.feature-grid { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
@media (min-width: 760px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .feature-grid.three { grid-template-columns: repeat(3, 1fr); } }
.qa-grid { display: grid; gap: var(--g); grid-template-columns: 1fr; }
@media (min-width: 760px) { .qa-grid { grid-template-columns: repeat(2, 1fr); } }
.two-grid { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
@media (min-width: 900px) { .two-grid { grid-template-columns: 3fr 2fr; } }
.side-stack { display: flex; flex-direction: column; gap: var(--gap); }
.guides-body .cards { grid-template-columns: 1fr; }
@media (min-width: 700px) { .guides-body .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .guides-body .cards { grid-template-columns: repeat(3, 1fr); } }
.guides-grid { display: grid; gap: 40px; }
@media (min-width: 1100px) { .guides-grid { grid-template-columns: 1fr 320px; } }
.video { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--r); overflow: hidden; margin-bottom: 16px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lead-img { border-radius: var(--r); margin-bottom: 24px; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { font-weight: 600; cursor: pointer; min-height: 32px; }
.faq p { margin: 10px 0 0; color: var(--muted); }

/* Template 3, Reading and forms: a centered 760 px reading column or a 640 px form column, the title centered */
.read { max-width: calc(var(--read) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
.read > h1, .read > .lede, .read > .muted.small, .read .crumbs { text-align: center; }
.read .lede { margin: 8px auto 32px; }
.prose p, .prose-wide p { max-width: 75ch; }
.prose h2 { margin-top: 28px; }
.legal h2 { font-size: 20px; margin-top: 32px; }
.legal ul { padding-left: 20px; }
.form-col { max-width: calc(var(--form) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
.form-col > h1, .form-col > .lede { text-align: center; }
.form-col > .lede { margin-left: auto; margin-right: auto; }
.narrow-form { max-width: 480px; }
.form-col-left { max-width: 640px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.row3 { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 560px) { .row3 { grid-template-columns: 1fr 1fr 1fr; } }
.row3 > * { min-width: 0; }
@media (max-width: 420px) { .row2 { grid-template-columns: 1fr; } }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.fine { font-size: 13px; color: var(--muted); margin-top: 12px; }
.plain-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.plain-list li { display: flex; gap: 8px; align-items: flex-start; flex-wrap: wrap; }
.plain-list .ic { color: var(--copper); flex: none; }
.inline { display: inline; }
.inline-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0; }
.inline-form input { width: auto; min-width: 240px; }
.mt { margin-top: 40px; }
.mt-s { margin-top: 16px; }
.join-choice { display: grid; gap: 10px; }
.join-choice.inline { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.auth-sec .join-choice { margin-top: 4px; }
/* the posting wizard */
.agent-only { display: none; }
.agent-on .agent-only { display: grid; margin-top: 16px; }
.w-map { height: 320px; border-radius: var(--r); border: 1px solid var(--line); cursor: crosshair; }
.thumbs { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.thumbs li { display: flex; flex-direction: column; gap: 6px; font-size: 13px; align-items: flex-start; }
.thumbs img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); width: 100%; }
.missing { color: #8A1C12; padding-left: 20px; }
.docs { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.docs a { display: inline-flex; gap: 8px; align-items: center; }

/* ================= PART 3: PAGE LAYOUT ================= */
/* A property or a buyer's page */
.crumbs { font-size: 14px; color: var(--muted); padding: 16px 0; }
.mosaic { display: grid; gap: 8px; grid-template-columns: 1fr; border-radius: var(--r); overflow: hidden; position: relative; }
.mosaic a { display: block; overflow: hidden; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; background: #EDE9E1; }
.mosaic a.big { aspect-ratio: 4 / 3; }
.mosaic a.sm { display: none; }
@media (min-width: 900px) {
  .mosaic { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 240px 240px; }
  .mosaic a.big { grid-row: span 2; aspect-ratio: auto; }
  .mosaic a.sm { display: block; }
  .mosaic.one { grid-template-columns: 1fr; grid-template-rows: 480px; } .mosaic.one a.big { grid-row: auto; height: 480px; }
  .mosaic.m2 { grid-template-columns: 1fr 1fr; grid-template-rows: 480px; } .mosaic.m2 a.big { grid-row: auto; }
  .mosaic.m3 { grid-template-columns: 2fr 1fr; }
  .mosaic.m4 a.sm:last-of-type { grid-column: span 2; }
}
.mosaic .all { position: absolute; right: 16px; bottom: 16px; z-index: 2; }
.detail { display: grid; gap: 40px; padding: 32px 0 var(--sec); }
@media (min-width: 1000px) { .detail { grid-template-columns: minmax(0, 1fr) 400px; gap: 56px; } }
.detail > * { min-width: 0; }
.d-head .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.d-head h1 { font-size: 26px; margin-bottom: 6px; }
@media (min-width: 900px) { .d-head h1 { font-size: 30px; } }
.d-head .place { color: var(--muted); margin-bottom: 16px; display: flex; gap: 6px; align-items: center; }
.d-price { font-size: 34px; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.detail .facts { margin: 24px 0 32px; }
.block { margin-bottom: 36px; }
.block h2 { font-size: 20px; }
.block .facts { margin-bottom: 12px; }
.notice { border: 1px solid var(--line); border-radius: var(--r); background: var(--white); padding: 20px; }
.notice h3 { font-size: 16px; display: flex; gap: 8px; align-items: center; }
.notice p { color: var(--muted); font-size: 15px; margin: 0; }
.d-map { height: 300px; border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; }
.aside { position: relative; }
/* the Contact Seller box stays in view only where the whole form fits in the window; else it scrolls with the page and
   never covers the Report link under it (2026-11-27) */
.contact { position: static; top: 92px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.contact h2 { font-size: 20px; margin: 0; }
.contact form { display: flex; flex-direction: column; gap: 14px; }
.who { display: flex; gap: 10px; align-items: center; margin: 12px 0 18px; font-size: 14px; color: var(--muted); }
.help-link { margin-top: 16px; font-size: 14px; color: var(--muted); padding: 0 4px; }
.agent-line { margin-top: 8px; }
.bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; background: var(--white); border-top: 1px solid var(--line); padding: 12px var(--pad); gap: 12px; align-items: center; justify-content: space-between; box-shadow: 0 -6px 18px rgba(22,36,48,.08); }
.bar .price { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
@media (min-width: 1000px) { .bar { display: none; } }
@media (min-width: 1280px) and (min-height: 1000px) { .contact { position: sticky; } }
@media (max-width: 999px) { .contact { position: static; } body.has-bar { padding-bottom: 76px; } }
.gallery { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #0F1A23; color: #fff; }
.gallery::backdrop { background: rgba(0,0,0,.8); }
.gallery[open] { display: flex; flex-direction: column; }
.g-top { display: flex; justify-content: space-between; align-items: center; padding: 12px var(--pad); }
.g-body { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 0; padding: 0 8px 16px; }
.g-body img { max-width: calc(100% - 120px); max-height: 100%; object-fit: contain; }
.g-nav { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.45); background: transparent; color: #fff; font-size: 28px; cursor: pointer; flex: none; }
.bcard.pitch-for { margin: 16px 0 24px; }

/* The dashboard and the admin console: the left menu, the same cards, wide tables */
.dash { display: grid; grid-template-columns: 1fr; max-width: none; margin: 0; padding: 40px var(--pad) var(--sec); gap: 24px; }
@media (min-width: 1000px) { .dash { grid-template-columns: 220px 1fr; gap: 40px; } }
.dash-nav { display: flex; flex-wrap: wrap; gap: 4px; align-content: flex-start; }
@media (min-width: 1000px) { .dash-nav { flex-direction: column; flex-wrap: nowrap; position: sticky; top: 92px; align-self: start; } }
.dash-nav a { padding: 10px 12px; border-radius: 6px; text-decoration: none; font-weight: 500; min-height: 44px; display: flex; align-items: center; color: var(--slate); }
.dash-nav a:hover { background: #F3F0EA; color: var(--slate); }
.dash-nav a[aria-current] { background: var(--slate); color: #fff; }
.dash-nav form { padding: 10px 12px; }
.dash-main { min-width: 0; }
.dash-main h1 { font-size: 30px; }
.dash-main h2 { font-size: 20px; }
.dash-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.row-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 20px; margin-bottom: 16px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.rc-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1 1 320px; }
.rc-act { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; }
.rc-more { flex-basis: 100%; border-top: 1px solid var(--line); padding-top: 10px; }
.rc-more summary { cursor: pointer; font-weight: 600; font-size: 14px; min-height: 32px; }
.tbl { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); font-size: 14px; display: block; overflow-x: auto; }
@media (min-width: 1000px) { .tbl { display: table; } }
.tbl th, .tbl td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.tbl .btn { min-height: 36px; padding: 0 12px; font-size: 13px; }
.tbl-empty td { padding: 16px; }
.filters-inline { display: flex; flex-wrap: wrap; gap: 8px; }

/* Narrow screens: nothing may push the page wider than the window */
@media (max-width: 420px) {
  .tiles { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tile { padding: 14px; min-height: 0; }
  .search .btn { width: 100%; }
  .title-line { padding-top: 28px; }
  .choices { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .choice span { min-height: 84px; padding: 12px 6px; }
}
.feature > .form-title { font-size: 19px; margin-bottom: 16px; }
