/* BK Home Broker — public search page.
   Apple-style design system. Designed to embed at up to 760px content width. */

:root {
  /* Apple-style palette */
  --bg: #fbfbfd;
  --card: #ffffff;
  --ink: #1d1d1f;          /* Apple primary text */
  --ink-1: #1d1d1f;
  --ink-2: #424245;         /* Apple secondary text */
  --ink-3: #86868b;         /* Apple muted text */
  --muted: #86868b;
  --line: #e8e8ed;          /* Apple hairline */

  /* BK accent (kept — links & subtle CTAs) */
  --brand: #1d1d1f;         /* primary buttons go dark, Apple-style */
  --brand-deep: #1d1d1f;
  --brand-soft: #f5f5f7;
  --accent: #ff6b35;        /* matches area-report email accent */
  --link: #0066cc;          /* Apple link blue */
  --success: #1d7a3e;
  --shadow: 0 1px 3px rgba(0, 0, 0, .04);   /* very subtle */
  --radius: 18px;
  --radius-lg: 24px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
        "Helvetica Neue", Helvetica, Arial, "Apple SD Gothic Neo", "Pretendard", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.012em;
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 20px 64px;
}

/* ---------- Hero ---------- */
.hero { text-align: center; padding: 8px 0 22px; }
.logo-link { display: inline-block; line-height: 0; }
.brand-logo {
  width: 360px; height: auto; max-width: 80%;
  /* Source asset is ~3500px wide for retina; scaled down here. */
}
.kicker {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand);
  background: var(--brand-soft);
  padding: 6px 12px; border-radius: 999px;
}
.hero { padding: 16px 0 32px; }
.hero h1 {
  margin: 24px 0 12px;
  font-size: 44px;
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.hero .sub {
  margin: 0 auto; max-width: 560px;
  color: var(--ink-2);
  font-size: 19px;
  line-height: 1.45;
  letter-spacing: -0.012em;
}
@media (max-width: 520px) {
  .hero h1 { font-size: 32px; letter-spacing: -0.02em; }
  .hero .sub { font-size: 17px; }
}

/* ---------- Search ---------- */
.search {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 28px;
  margin-top: 24px;
}

.search-row {
  display: flex; gap: 10px;
}
.search-row input[type="text"] {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 17px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  color: var(--ink);
  background: #fff;
  letter-spacing: -0.012em;
  font-family: inherit;
}
.search-row input[type="text"]:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(0, 0, 0, .06);
}

button.primary {
  position: relative;
  border: 0;
  background: var(--brand);
  color: #fff;
  font-weight: 500;
  font-size: 16px;
  padding: 0 24px;
  border-radius: 14px;
  cursor: pointer;
  min-width: 150px;
  letter-spacing: -0.01em;
  font-family: inherit;
  transition: background .15s, transform .05s;
}
button.primary:hover { background: #000; }
button.primary:active { transform: translateY(1px); }
button.primary:disabled { opacity: .7; cursor: wait; }

button.primary .spinner {
  display: none;
  width: 14px; height: 14px; margin-left: 8px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  vertical-align: middle;
}
button.primary.loading .spinner { display: inline-block; }
button.primary.loading .label { opacity: .8; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Suggestion chips ---------- */
.suggestions {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 12px; align-items: center;
}
.suggestions-label {
  font-size: 12px; color: var(--muted); font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em;
  margin-right: 2px;
}
.chip-btn {
  font: inherit;
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  cursor: pointer;
  letter-spacing: -0.005em;
  transition: border-color .12s, color .12s, background .12s, transform .05s;
}
.chip-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: var(--brand-soft);
}
.chip-btn:active { transform: translateY(1px); }

/* ---------- Filters ---------- */
.filters { margin-top: 14px; }
.filters summary {
  cursor: pointer;
  list-style: none;
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  transition: border-color .12s, background .12s, color .12s;
}
.filters summary:hover {
  border-color: var(--ink);
  background: var(--brand-soft);
  color: var(--ink);
}
.filters summary::-webkit-details-marker { display: none; }
.filters-icon {
  display: inline-block;
  color: var(--brand);
  font-size: 11px;
  transition: transform .15s;
}
.filters[open] .filters-icon { transform: rotate(90deg); }
.filters-label { letter-spacing: .01em; }
.filters-hint {
  color: var(--muted);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0;
}
.filters[open] .filters-hint { display: none; }

.filters .grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 14px;
  padding: 16px;
  background: #fafbfc;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.filters label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 12px; color: var(--ink-2); font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em;
}
.filters select, .filters input[type="text"] {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  text-transform: none; letter-spacing: 0;
  outline: none;
  transition: border-color .12s, box-shadow .12s;
}
.filters select:focus, .filters input[type="text"]:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, .06);
}

/* ---------- Results ---------- */
.results { margin-top: 20px; }
.count {
  font-size: 14px; color: var(--muted);
  margin: 6px 2px 10px;
}
.count strong { color: var(--ink); font-weight: 700; }

.teasers {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 10px;
}
.teaser { display: block; }
.teaser-card {
  position: relative;
  display: flex; align-items: stretch; gap: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px 14px 46px;
  cursor: pointer;
  transition: transform .1s, border-color .15s, box-shadow .15s;
}
.teaser-card:hover { border-color: #bae6fd; }
.teaser-check {
  position: absolute; left: 14px; top: 50%;
  width: 20px; height: 20px;
  margin: 0;
  transform: translateY(-50%);
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}
.check-indicator {
  position: absolute; left: 14px; top: 50%;
  width: 20px; height: 20px;
  transform: translateY(-50%);
  border: 2px solid var(--line);
  border-radius: 6px;
  background: #fff;
  transition: all .15s;
  display: flex; align-items: center; justify-content: center;
}
.check-indicator::after {
  content: "";
  width: 6px; height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  margin-bottom: 2px;
  transition: transform .15s;
}
.teaser-check:checked ~ .check-indicator {
  background: var(--brand);
  border-color: var(--brand);
}
.teaser-check:checked ~ .check-indicator::after { transform: rotate(45deg) scale(1); }
.teaser-card:has(.teaser-check:checked) {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(8,145,178,.08);
}

.thumb {
  width: 64px; height: 64px; border-radius: 10px;
  background: linear-gradient(135deg, #cffafe 0%, #a5f3fc 60%, #67e8f9 100%);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-fallback { font-size: 28px; opacity: .7; }

.teaser-card .meta { flex: 1; min-width: 0; }
.teaser-card .line1 {
  display: flex; justify-content: space-between; gap: 8px;
  align-items: baseline;
}
.teaser-card .where { font-weight: 700; font-size: 15px; color: var(--ink); }
.teaser-card .price { color: var(--brand); font-weight: 700; font-size: 14px; white-space: nowrap; }
.teaser-card .line2 {
  margin-top: 4px; color: var(--muted); font-size: 13px;
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
}
.specs {
  margin-top: 6px;
  display: flex; flex-wrap: wrap; gap: 4px 6px;
  font-size: 12.5px; color: var(--ink-2);
}
.specs strong { color: var(--ink); font-weight: 700; }
.specs .dot { color: #cbd5e1; }
.specs.muted { color: var(--muted); font-style: italic; font-size: 12px; }

.chip {
  display: inline-block;
  font-size: 11px; font-weight: 600;
  padding: 2px 8px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand-deep);
}
.chip.hot { background: #fff7ed; color: var(--accent); }
.project { font-weight: 600; color: var(--ink-2); }
.muted-inline { color: var(--muted); font-size: 12.5px; }

.selection-bar {
  position: sticky; bottom: 10px;
  margin: 14px 0 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
  box-shadow: 0 6px 18px rgba(15,23,42,.08);
  z-index: 5;
}
.sel-info {
  font-size: 14px; color: var(--ink-2);
  display: flex; align-items: center; gap: 10px;
}
.sel-info #sel-count {
  font-weight: 800; color: var(--brand-deep);
  font-size: 16px;
}
.linkish {
  background: none; border: none; color: var(--muted);
  cursor: pointer; font-size: 13px; padding: 0;
  text-decoration: underline;
}
.linkish:hover { color: var(--brand); }
#sel-continue { min-width: 200px; }
#sel-continue:disabled { opacity: .5; cursor: not-allowed; }

.empty {
  padding: 22px 18px;
  background: var(--card);
  border: 1px dashed var(--line);
  border-radius: 12px;
  color: var(--ink-2);
  text-align: center;
}

/* ---------- Email gate ---------- */
.gate {
  margin-top: 32px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}
.gate h2 {
  margin: 0 0 8px;
  font-size: 24px; font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.gate > p {
  margin: 0 0 20px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.5;
}
#gate-form {
  display: grid; gap: 10px;
  grid-template-columns: 1fr 1fr;
}
#gate-form input[type="text"],
#gate-form input[type="email"],
#gate-form input[type="tel"] {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
#gate-form input:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, .06);
}
#g-name { grid-column: 1; }
#g-email { grid-column: 2; }
#g-phone { grid-column: 1 / -1; }
#gate-form button.primary { grid-column: 1 / -1; padding: 14px; }
.disclaimer {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  text-align: center;
}
.success {
  background: #f0f9f4;
  border: 1px solid #bbe5c9;
  color: var(--success);
  padding: 18px 20px;
  border-radius: 14px;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

/* ---------- Footer ---------- */
footer {
  margin-top: 32px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  line-height: 1.5;
}

/* ---------- Responsive ---------- */
@media (max-width: 560px) {
  .wrap { padding: 32px 18px 48px; }
  .search { padding: 22px; }
  .ar-card, .gate { padding: 24px 22px; }
  .search-row { flex-direction: column; }
  .search-row input[type="text"] { width: 100%; }
  button.primary { width: 100%; padding: 14px; }
  .filters .grid { grid-template-columns: 1fr; }
  #gate-form { grid-template-columns: 1fr; }
  #g-name, #g-email, #g-phone { grid-column: 1; }
}

/* ---------- Alert / Watchlist banner ---------- */
/* Prominent enough to read as a peer of "Get details on N selected" — same
   pill-button visual weight, with a left accent so the bell + value prop are
   first read of the section. Bill flagged the old version as too easy to
   miss. */
.alert-banner {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 14px;
  padding: 18px 22px;
  margin: 16px 0 10px;
  box-shadow: 0 1px 3px rgba(10, 31, 68, 0.05);
}
.alert-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.alert-bell { font-size: 24px; flex-shrink: 0; }
.alert-text {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  min-width: 160px;
  line-height: 1.35;
}
.alert-btn {
  flex-shrink: 0;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: background .15s, transform .1s;
  box-shadow: 0 1px 2px rgba(10, 31, 68, 0.15);
}
.alert-btn:hover { background: var(--brand-deep); transform: translateY(-1px); }
.alert-btn:active { transform: translateY(0); }

.alert-form-wrap {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 20px;
  margin: 8px 0 12px;
}
.alert-form-inner {
  display: grid;
  grid-template-columns: 1fr 1fr auto auto;
  gap: 8px;
  align-items: center;
}
.alert-form-inner input {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 14px;
  color: var(--ink);
  background: var(--bg);
  transition: border-color .15s;
}
.alert-form-inner input:focus { outline: none; border-color: var(--brand); }
.alert-disclaimer {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--muted);
}
@media (max-width: 540px) {
  .alert-form-inner { grid-template-columns: 1fr 1fr; }
  .alert-form-inner button.primary { grid-column: 1; }
  .alert-form-inner .linkish { grid-column: 2; }
}
@media (max-width: 380px) {
  .alert-form-inner { grid-template-columns: 1fr; }
  .alert-form-inner button, .alert-form-inner .linkish { grid-column: 1; }
}

/* ---------- Filter chips (State / Type multi-select) ---------- */
.filter-full-row {
  grid-column: 1 / -1;
  display: flex; flex-direction: column; gap: 7px;
}
.filter-label {
  font-size: 12px; color: var(--ink-2); font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em;
}
.filter-chips {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.fchip-break { flex-basis: 100%; height: 0; }
/* Override .filters label which forces flex-direction:column */
.filters .fchip {
  display: inline-flex !important;
  flex-direction: row !important;
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  color: inherit;
  gap: 0;
}
.filters .fchip input[type="checkbox"] { display: none; }
.filters .fchip span {
  font-size: 13px; font-family: inherit;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  cursor: pointer;
  user-select: none;
  transition: all .12s;
  white-space: nowrap;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}
.filters .fchip:hover span {
  border-color: var(--brand);
  color: var(--brand-deep);
  background: var(--brand-soft);
}
.filters .fchip input:checked + span {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  font-weight: 600;
}

/* ---------- Filter hint text ---------- */
.filter-hint-text {
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  margin-top: 3px;
}

/* ---------- Suburb tag-input ---------- */
.tag-input-wrap {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 6px 10px;
  display: flex; flex-wrap: wrap; gap: 5px; align-items: center;
  min-height: 44px;
  transition: border-color .12s, box-shadow .12s;
  cursor: text;
}
.tag-input-wrap:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(8,145,178,.12);
}
.tag-chips { display: contents; }
.tag-chip {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--brand);
  color: #fff;
  font-size: 12.5px; font-weight: 600;
  padding: 3px 8px 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.tag-chip-remove {
  background: none; border: none; color: rgba(255,255,255,.8);
  cursor: pointer; padding: 0; font-size: 14px; line-height: 1;
  display: flex; align-items: center;
}
.tag-chip-remove:hover { color: #fff; }
#f-loc {
  border: none !important; outline: none !important;
  box-shadow: none !important;
  padding: 4px 4px !important;
  font-size: 14px;
  min-width: 120px; flex: 1;
  background: transparent;
  color: var(--ink);
}

/* ---------- Iframe-friendly ---------- */
@media (max-width: 480px) { .wrap { padding: 16px 12px 32px; } }

/* ---------- Hot picks side rail (desktop) / inline card (mobile) ---------- */
.hot-picks {
  position: fixed;
  top: 100px;
  right: 24px;
  width: 300px;
  max-height: calc(100vh - 140px);
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .08);
  padding: 16px 16px 14px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  font-family: inherit;
}
.hot-picks-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
}
.hot-picks-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand-deep);
}
.hot-picks-close {
  background: none; border: none; cursor: pointer;
  font-size: 22px; line-height: 1; color: #94a3b8; padding: 0 4px;
}
.hot-picks-close:hover { color: #475569; }
.hot-picks-list {
  list-style: none; margin: 0; padding: 0;
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 10px;
}
.hot-picks-card {
  border: 1px solid #e2e8f0; border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  transition: border-color .15s ease, transform .15s ease;
}
.hot-picks-card:hover { border-color: var(--brand); }
.hot-picks-card-rank {
  display: inline-block; width: 20px; height: 20px; line-height: 20px;
  text-align: center; background: var(--brand-deep); color: #fff;
  font-size: 11px; font-weight: 700; border-radius: 999px;
  margin-right: 6px; vertical-align: middle;
}
.hot-picks-card-name {
  font-size: 14px; font-weight: 700; color: #0f172a;
  display: inline; vertical-align: middle;
}
.hot-picks-card-loc {
  font-size: 12px; color: #64748b; margin-top: 3px;
}
.hot-picks-card-price {
  font-size: 13px; color: var(--brand-deep); font-weight: 700; margin-top: 4px;
}
.hot-picks-card-specs {
  font-size: 11.5px; color: #64748b; margin-top: 3px;
}
.hot-picks-card-actions {
  margin-top: 8px; display: flex; gap: 6px;
}
.hot-picks-card-actions a,
.hot-picks-card-actions button {
  flex: 1; font-size: 12px; font-weight: 600;
  padding: 6px 8px; border-radius: 6px; text-align: center;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  white-space: nowrap;
}
.hot-picks-card-actions .view {
  background: #f1f5f9; color: #0f172a; border-color: #e2e8f0;
}
.hot-picks-card-actions .view:hover { background: #e2e8f0; }
.hot-picks-card-actions .brochure {
  background: var(--accent); color: #fff;
}
.hot-picks-card-actions .brochure:hover { background: #ea580c; }
.hot-picks-card-meta {
  display: inline-block; margin-left: 6px;
  font-size: 10.5px; color: #94a3b8;
}
.hot-picks-foot {
  font-size: 10.5px; color: #94a3b8; margin-top: 10px; line-height: 1.45;
}
.hot-picks-form-wrap {
  margin-top: 12px; padding-top: 12px;
  border-top: 1px dashed #e2e8f0;
}
.hot-picks-form-title {
  font-size: 12.5px; font-weight: 700; color: var(--brand-deep);
  margin-bottom: 8px;
}
.hot-picks-form-wrap form { display: flex; flex-direction: column; gap: 6px; }
.hot-picks-form-wrap input {
  font-size: 13px; padding: 7px 9px;
  border: 1px solid #e2e8f0; border-radius: 6px; outline: none;
}
.hot-picks-form-wrap input:focus { border-color: var(--brand); }
.hot-picks-form-wrap .primary { padding: 8px 10px; font-size: 13px; }
.hot-picks-form-wrap .linkish {
  background: none; border: none; color: #94a3b8;
  font-size: 12px; cursor: pointer; padding: 4px;
}

/* Mobile / narrow viewport: drop the floating rail into the main flow,
   placed at the top so visitors see it before the search form. */
@media (max-width: 1100px) {
  .hot-picks {
    position: static;
    width: auto;
    max-height: none;
    margin: 0 auto 18px;
    max-width: 720px;
  }
  .hot-picks-list {
    overflow-y: visible;
    flex-direction: row; flex-wrap: wrap;
  }
  .hot-picks-card { flex: 1 1 220px; }
}
@media (max-width: 600px) {
  .hot-picks-card { flex-basis: 100%; }
}

/* Hot picks multi-select toolbar + submit CTA */
.hot-picks-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 4px 8px; border-bottom: 1px dashed #e2e8f0;
  margin-bottom: 4px;
  font-size: 12.5px;
}
.hp-select-all {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; color: #334155; cursor: pointer;
}
.hp-select-all input { cursor: pointer; }
.hp-selected-count {
  color: #94a3b8; font-size: 11.5px; font-weight: 600;
}
.hp-card-pick {
  display: flex; gap: 10px; align-items: flex-start;
  cursor: pointer;
}
.hp-card-pick > input[type="checkbox"] {
  margin-top: 4px; cursor: pointer;
}
.hp-card-body { flex: 1; min-width: 0; }
.hot-picks-cta {
  margin-top: 4px;
}
.hp-submit-btn {
  width: 100%; background: var(--accent); color: #fff;
  font-size: 13.5px; font-weight: 700; padding: 10px 14px;
  border: none; border-radius: 8px; cursor: pointer;
  transition: background .15s ease, opacity .15s ease;
}
.hp-submit-btn:hover:not(:disabled) { background: #ea580c; }
.hp-submit-btn:disabled { opacity: .45; cursor: not-allowed; }

.hot-picks-card-typerow {
  margin-bottom: 4px;
}
.hot-picks-type-badge {
  display: inline-block;
  font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand-deep); background: var(--brand-soft);
  padding: 2px 8px; border-radius: 999px;
}

/* Multiple badges stack neatly inline */
.hot-picks-card-typerow {
  display: flex; flex-wrap: wrap; gap: 4px;
  margin-bottom: 6px;
}

/* ---------- Area report CTA ---------- */
.area-report-cta {
  margin-top: 32px;
}
.ar-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}
.ar-eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 8px;
}
.ar-card h2 {
  margin: 0 0 10px;
  font-size: 26px; font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.ar-sub {
  margin: 0 0 20px;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.012em;
}
#ar-form {
  display: grid; gap: 10px;
}
.ar-row { display: flex; gap: 10px; }
.ar-row-split { display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 520px) {
  .ar-row-split { grid-template-columns: 1fr; }
}
#ar-form input[type="text"],
#ar-form input[type="email"],
#ar-form select {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
  font-family: inherit;
  color: var(--ink-1, #1e293b);
}
#ar-form input:focus,
#ar-form select:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, .06);
}
.ar-disclaimer {
  margin: 4px 0 0;
  color: var(--ink-3, #94a3b8);
  font-size: 12px; line-height: 1.45;
}

/* ---------- Two-column CTA grid (area-report left, search right) ---------- */
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
  align-items: start;
}
@media (max-width: 880px) {
  .cta-grid { grid-template-columns: 1fr; }
}

/* When in the grid the cards reset their own top margin */
.cta-grid .area-report-cta,
.cta-grid .search { margin-top: 0; }

/* Area-report header row: eyebrow + sample link */
.ar-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.ar-head .ar-eyebrow { margin-bottom: 0; }
.ar-sample-link {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: 1px solid var(--accent);
  padding: 7px 14px;
  border-radius: 999px;
  text-decoration: none;
  letter-spacing: -0.005em;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(255, 107, 53, .25);
  transition: background .15s, border-color .15s, transform .05s, box-shadow .15s;
}
.ar-sample-link:hover {
  background: #ea5a26;
  border-color: #ea5a26;
  box-shadow: 0 2px 6px rgba(255, 107, 53, .35);
}
.ar-sample-link:active { transform: translateY(1px); }
@media (max-width: 480px) {
  .ar-sample-link { padding: 6px 12px; font-size: 12px; }
}

/* Search card: matches area-report card styling — same rounded white card */
.cta-grid .search {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: none;
}
.search-eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.search-title {
  margin: 0 0 10px;
  font-size: 26px; font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.search-sub {
  margin: 0 0 20px;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.012em;
}
/* Stack search-row vertically inside the narrower column for readability */
.cta-grid .search .search-row { flex-direction: column; gap: 10px; }
.cta-grid .search button.primary { width: 100%; padding: 13px; }

/* Suggestion chips: more compact, no leading "Popular:" label */
.cta-grid .suggestions { margin-top: 12px; }
.cta-grid .suggestions-label { display: none; }

/* Filters expander: tone down hint text */
.cta-grid .filters-hint { display: none; }

/* ---------- Address autocomplete dropdown ---------- */
.ar-addr-wrap { position: relative; }
.ar-suggestions {
  position: absolute;
  top: calc(100% + 4px); left: 0; right: 0;
  z-index: 50;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  overflow: hidden;
  max-height: 320px;
  overflow-y: auto;
}
.ar-suggestion {
  padding: 11px 16px;
  cursor: pointer;
  border-bottom: 1px solid var(--line);
  transition: background .1s;
}
.ar-suggestion:last-child { border-bottom: none; }
.ar-suggestion:hover,
.ar-suggestion.active {
  background: var(--brand-soft);
}
.ar-sug-main {
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.ar-sug-sub {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 2px;
  letter-spacing: -0.005em;
  line-height: 1.3;
}

/* ---------- Area-report chip multi-select ---------- */
.ar-field-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 8px;
  letter-spacing: -0.005em;
}
.ar-field-hint {
  font-weight: 400;
  color: var(--ink-3);
}
.ar-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ar-chip {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}
.ar-chip input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.ar-chip span {
  display: inline-block;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: -0.005em;
  transition: background .12s, border-color .12s, color .12s;
}
.ar-chip:hover span {
  border-color: var(--ink);
  color: var(--ink);
}
.ar-chip input:checked + span {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* ---------- Feedback CTA (above footer) ---------- */
.feedback-cta {
  margin-top: 56px;
  text-align: center;
  padding: 32px 20px;
  border-top: 1px solid var(--line);
}
.feedback-cta h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.feedback-cta p {
  margin: 0 0 14px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.01em;
}
.feedback-link {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: var(--link);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.feedback-link:hover { text-decoration: underline; }

/* ---------- Suburb Recommender ---------- */
.recommender {
  max-width: 760px;
  margin: 8px auto 32px;
  padding: 0 16px;
}
.rec-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--line);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.04);
}
.rec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.rec-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.rec-eyebrow-meta {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.rec-card h2 {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.18;
}
.rec-sub {
  margin: 0 0 20px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.01em;
}
.rec-input-wrap { margin-bottom: 12px; }
#rec-message {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 16px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  resize: vertical;
  min-height: 84px;
  letter-spacing: -0.01em;
  line-height: 1.5;
}
#rec-message:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}
.rec-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
.rec-row input {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  letter-spacing: -0.01em;
}
.rec-row input:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}
#rec-submit-btn {
  width: 100%;
  padding: 14px;
}
.rec-disclaimer {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--ink-3);
  text-align: center;
  letter-spacing: -0.005em;
}
.rec-loading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding: 16px 18px;
  background: #fbfbfd;
  border-radius: 14px;
  font-size: 14px;
  color: var(--ink-2);
}
.rec-loading-pulse {
  width: 10px; height: 10px; flex-shrink: 0;
  background: var(--accent);
  border-radius: 50%;
  animation: rec-pulse 1.2s ease-in-out infinite;
}
@keyframes rec-pulse {
  0%, 100% { opacity: 0.3; transform: scale(0.85); }
  50%      { opacity: 1;   transform: scale(1.1); }
}
.rec-error {
  margin-top: 22px;
  padding: 14px 18px;
  background: #fff7f0;
  border: 1px solid #ffd9c2;
  border-radius: 12px;
  color: #9c3500;
  font-size: 14px;
}
.rec-results {
  margin-top: 24px;
  display: grid;
  gap: 14px;
}
.rec-interpretation {
  font-size: 13px;
  color: var(--ink-3);
  font-style: italic;
  letter-spacing: -0.005em;
  padding: 0 2px;
}
.rec-suburb-card {
  background: #fbfbfd;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 22px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.rec-suburb-card:hover {
  border-color: var(--ink-2);
  transform: translateY(-1px);
}
.rec-suburb-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.rec-suburb-name {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.018em;
}
.rec-suburb-name .rec-suburb-loc {
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-3);
  margin-left: 6px;
  letter-spacing: -0.005em;
}
.rec-median {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  letter-spacing: -0.005em;
}
.rec-reason {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
  letter-spacing: -0.005em;
}
.rec-highlights {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 4px;
}
.rec-highlights li {
  font-size: 13px;
  color: var(--ink-2);
  padding-left: 16px;
  position: relative;
  line-height: 1.45;
  letter-spacing: -0.005em;
}
.rec-highlights li::before {
  content: '•';
  position: absolute;
  left: 4px;
  color: var(--accent);
  font-weight: 700;
}
.rec-card-cta {
  display: inline-block;
  padding: 8px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: -0.005em;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.rec-card-cta:hover { background: #000; }

@media (max-width: 600px) {
  .rec-card { padding: 26px 20px; }
  .rec-card h2 { font-size: 22px; }
  .rec-row { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════
   APPLE-STYLE RENEWAL — overrides the legacy section above. Loaded last so
   identical selectors win the cascade. Only restyles the layout-level
   surfaces (hero, three-tool grid, tabs, primary button, inputs);
   functional UI deeper down (results, alert banner, brochure form, gate)
   inherits the new tokens via variables and stays as-is.
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  --bg: #ffffff;
  --tool-bg: #f5f5f7;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --line: #d2d2d7;
  --gold: #c9a84c;
  --accent: #c9a84c;
  --link: #0066cc;
  --shadow: none;
}

body { background: var(--bg); }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 32px 80px;
}

/* ── Hero ──────────────────────────────────────────────────────────── */
.hero {
  text-align: center;
  padding: 40px 0 72px;
}
.brand-logo {
  width: 360px;
  height: auto;
  max-width: 70%;
  margin-bottom: 32px;
}
.hero h1 {
  margin: 0 0 24px;
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.06;
  color: var(--ink);
  animation: bk-fade 200ms ease both;
}
.hero .sub {
  margin: 0 auto;
  max-width: 640px;
  color: var(--ink-2);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.01em;
  animation: bk-fade 200ms ease 60ms both;
}

@keyframes bk-fade {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Tabs (shown only ≤1023px) ─────────────────────────────────────── */
.tools-tabs {
  display: none;
  justify-content: center;
  gap: 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0;
}
.tools-tab {
  flex: 1 1 0;
  max-width: 200px;
  padding: 14px 8px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border-bottom: 2px solid transparent;
  transition: color 200ms ease, border-color 200ms ease;
  cursor: pointer;
}
.tools-tab .tab-icon { font-size: 18px; line-height: 1; }
.tools-tab .tab-label { font-size: 13px; }
.tools-tab.is-active {
  color: var(--ink);
  border-bottom-color: var(--gold);
}

/* ── Tools section (white-bg surrounding, off-white block inside) ─── */
.tools-grid {
  background: var(--tool-bg);
  margin: 0 -32px;
  padding: 64px 32px;
  border-radius: 0;
}

/* Desktop: 3 columns side-by-side, divider between, equal height. */
@media (min-width: 1024px) {
  .tools-track {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    max-width: 1080px;
    margin: 0 auto;
  }
  .tools-track > section {
    padding: 0 36px;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .tools-track > section + section {
    border-left: 1px solid var(--line);
  }
}

/* Tablet + Mobile: tabs control which tool is visible; sliding track. */
@media (max-width: 1023px) {
  .tools-tabs { display: flex; }
  .tools-grid {
    overflow: hidden;
    margin: 0 -32px;
    padding: 0 0 24px;
  }
  .tools-track {
    display: flex;
    width: 200%;
    transition: transform 300ms ease;
  }
  .tools-track > section {
    width: 50%;
    flex-shrink: 0;
    padding: 32px 24px 48px;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .tools-track.show-report { transform: translateX(0); }
  .tools-track.show-match  { transform: translateX(-50%); }
}

/* ── Drop card chrome on the three sections ───────────────────────── */
.recommender,
.area-report-cta,
.search {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

/* ── Tool head (eyebrow + h2 + sub) — uniform across the three ───── */
.tool-head {
  margin-bottom: 28px;
  animation: bk-fade 200ms ease 100ms both;
}
.tool-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.tool-head h2 {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: var(--ink);
}
.tool-sub {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink-2);
  letter-spacing: -0.005em;
}
.tool-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  color: var(--gold);
  font-weight: 500;
  text-decoration: none;
  letter-spacing: -0.005em;
}
.tool-link:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .hero { padding: 24px 0 48px; }
  .hero h1 { font-size: 36px; letter-spacing: -0.02em; }
  .hero .sub { font-size: 17px; }
  .tool-head h2 { font-size: 24px; }
}

/* ── Inputs / textarea / select — uniform Apple field ─────────────── */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="search"],
textarea,
select {
  border-radius: 12px !important;
  border: 1px solid var(--line) !important;
  padding: 16px !important;
  font-size: 17px !important;
  background: #ffffff;
  font-family: inherit;
  color: var(--ink);
  letter-spacing: -0.01em;
}
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--ink) !important;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

/* Recommender textarea fix-ups */
#rec-message {
  width: 100%;
  min-height: 96px;
  resize: vertical;
  line-height: 1.5;
}

/* ── Primary button — Apple pill ──────────────────────────────────── */
button.primary {
  background: var(--ink);
  color: #ffffff;
  font-weight: 500;
  font-size: 17px;
  padding: 16px 32px;
  border-radius: 980px;
  border: 0;
  min-width: 0;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 200ms ease, opacity 200ms ease;
}
button.primary:hover { background: #000; }
button.primary:active { transform: translateY(1px); }

/* Recommender + area-report submit fill column */
#rec-form button.primary,
#ar-form button.primary {
  width: 100%;
  margin-top: 8px;
}

/* ── Tighten + restyle bits inside the three tools ───────────────── */
.recommender h2,
.area-report-cta h2,
.search h2 { font-size: 28px; }

/* Strip dead-but-still-rendered legacy chrome */
.rec-eyebrow,
.rec-eyebrow-meta,
.ar-eyebrow,
.ar-sample-link,
.search-eyebrow,
.search-title,
.search-sub,
.cta-grid { display: none !important; }

/* Area-report rows: keep stack but lose the "card" feel */
.ar-row { margin-bottom: 12px; }
.ar-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 600px) {
  .ar-row-split { grid-template-columns: 1fr; }
}

/* Search row inputs/button stay inline-ish at desktop, stack at mobile */
.search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-bottom: 16px;
}
.search-row input { width: 100%; }
@media (max-width: 600px) {
  .search-row { grid-template-columns: 1fr; }
}

/* Results render INSIDE the .search section now — sit them tight under
   the form so matches land in the user's viewport without scrolling. */
#results { margin-top: 24px; }
.feedback-cta { margin-top: 96px; }
/* On desktop 3-col grid the search column gets tall once matches load;
   forcing align-items: start prevents the empty recommender / area-report
   columns from stretching into a vast vertical gap alongside it. */
@media (min-width: 1024px) {
  .tools-track { align-items: start !important; }
  .tools-track > section + section { border-left: 1px solid var(--line); }
}

/* ── Disable bouncy/orange hangovers ──────────────────────────────── */
.chip-btn:hover,
.fchip:hover,
.ar-chip:hover {
  background: transparent !important;
}

/* ── Property-type chips: unambiguous multi-select ─────────────────
   The default rule .ar-chip input:checked + span used the same ink
   colour as hover, so users couldn't tell which chips were actually
   selected vs just-clicked. Gold tint + checkmark glyph makes the
   picked state read instantly and signals "you can pick more". */
.ar-chip span::before {
  content: '';
  display: inline-block;
  width: 0;
  margin-right: 0;
  transition: width 120ms ease, margin-right 120ms ease;
}
.ar-chip input:checked + span {
  background: rgba(201, 168, 76, 0.12) !important;
  border-color: var(--gold) !important;
  color: var(--ink) !important;
  font-weight: 600;
}
.ar-chip input:checked + span::before {
  content: '✓';
  width: auto;
  margin-right: 6px;
  color: var(--gold);
  font-weight: 700;
}
/* Same treatment for the search-side filter chips so the language is
   consistent across the page. */
.fchip input:checked + span {
  background: rgba(201, 168, 76, 0.12) !important;
  border-color: var(--gold) !important;
  color: var(--ink) !important;
  font-weight: 600;
}

/* ── Search loading: skeleton rows + dot indicator ────────────────────
   Notion fetch on a cold lambda runs 5-8s. The previous "Searching…"
   text was tiny grey and easy to miss — users thought the button hadn't
   fired. Skeleton rows + the pulsing gold dot in the count line make it
   unmistakable that work is happening. */
.count .searching-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  margin-right: 8px;
  vertical-align: middle;
  animation: bk-pulse 1.1s ease-in-out infinite;
}
@keyframes bk-pulse {
  0%, 100% { opacity: 0.35; transform: scale(0.85); }
  50%      { opacity: 1;    transform: scale(1.15); }
}
.teaser-skeleton {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 18px 22px;
  list-style: none;
  margin-bottom: 10px;
}
.teaser-skeleton .sk-line {
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, #f0f0f3 0%, #e5e5ea 50%, #f0f0f3 100%);
  background-size: 200% 100%;
  animation: bk-shimmer 1.4s linear infinite;
  margin-bottom: 10px;
}
.teaser-skeleton .sk-line-lg { width: 60%; height: 16px; }
.teaser-skeleton .sk-line-sm { width: 35%; margin-bottom: 0; }
@keyframes bk-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Inline feedback form (replaces the legacy mailto link) ─────────── */
.feedback-cta form {
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}
#fb-message {
  width: 100%;
  min-height: 84px;
  resize: vertical;
  line-height: 1.5;
  margin-bottom: 10px;
}
.fb-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: stretch;
}
@media (max-width: 600px) {
  .fb-row { grid-template-columns: 1fr; }
}
.fb-row input { width: 100%; }
#fb-submit-btn { white-space: nowrap; }
.fb-error {
  margin: 12px 0 0;
  padding: 10px 14px;
  background: #fff7f0;
  border: 1px solid #ffd9c2;
  border-radius: 12px;
  color: #9c3500;
  font-size: 14px;
}
.fb-success {
  max-width: 560px;
  margin: 0 auto;
  padding: 16px 18px;
  background: rgba(201, 168, 76, 0.10);
  border: 1px solid var(--gold);
  border-radius: 14px;
  color: var(--ink);
  font-size: 15px;
  text-align: center;
}

/* ── Momentum badge — organic social-proof signal on search results ──
   Driven by rolling 7-day brochure-request counts (lib/engagement.js).
   Tone is intentionally muted: not "BUY NOW" red — just a light pill
   that reads as a fact, the way an online shop says "12 viewed today". */
.momentum {
  display: inline-block;
  margin-left: 10px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
  vertical-align: middle;
  white-space: nowrap;
  border: 1px solid transparent;
}
.momentum-hot {
  background: rgba(201, 168, 76, 0.14);
  color: #8a6f2a;
  border-color: var(--gold);
}
/* Soft row tint for the strongest tier only — gives a hint without
   shouting. Popular gets the badge but no row treatment. */
.teaser.momentum-row-hot .teaser-card {
  background: linear-gradient(180deg, rgba(201, 168, 76, 0.04) 0%, #ffffff 50%);
  border-color: rgba(201, 168, 76, 0.5);
}

/* ── Smart-pick: curator-driven recommendation ─────────────────────── */
.momentum-smart {
  background: rgba(201, 168, 76, 0.18);
  color: #6e561e;
  border-color: var(--gold);
}
.teaser.is-smart-pick .teaser-card {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(201, 168, 76, 0.06) 0%, #ffffff 60%);
  box-shadow: 0 1px 0 rgba(201, 168, 76, 0.18);
}
.teaser.is-smart-pick .teaser-card:hover {
  border-color: #b58f30;
}
/* "Why this fits" one-liner — small, slate, italic. Pure fact density;
   reads as the assistant noticing what matched, not as marketing. */
.smart-reason {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--ink-2);
  letter-spacing: -0.005em;
  line-height: 1.45;
  font-style: italic;
}
.smart-reason::before {
  content: '✦ ';
  color: var(--gold);
  font-style: normal;
  font-weight: 700;
  margin-right: 2px;
}

