/* BizListings v2. Phone first, system fonts (no font downloads), one file. */
:root {
  --bg: #0a0d14;
  --bg-2: #0f131c;
  --card: #141a25;
  --card-2: #1a2130;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #f3f5f9;
  --muted: #9aa3b2;
  --faint: #6b7385;
  --gold: #f5c542;
  --gold-2: #ffd766;
  --gold-ink: #1b1505;
  --gold-soft: rgba(245, 197, 66, .12);
  --green: #3ad69a;
  --red: #ff7a7a;
  --r: 16px;
  --r-sm: 12px;
  --tab-h: 64px;
  --top-h: 56px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.45 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; padding-bottom: calc(var(--tab-h) + var(--safe-b));
}
body.has-actionbar { padding-bottom: calc(var(--tab-h) + 76px + var(--safe-b)); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--gold-ink); padding: 8px 12px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }
.icon { width: 20px; height: 20px; flex: none; }
.num { font-variant-numeric: tabular-nums; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 640px; }
[hidden] { display: none !important; }

/* ---- Top bar ---- */
.top { position: sticky; top: 0; z-index: 40; height: var(--top-h); background: rgba(10, 13, 20, .86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); }
.top .wrap { height: 100%; display: flex; align-items: center; gap: 12px; }
.logo img { height: 26px; width: auto; }
.top-nav { display: none; gap: 4px; margin-left: 16px; }
.top-nav a { padding: 8px 12px; border-radius: 10px; color: var(--muted); font-weight: 600; font-size: 15px; }
.top-nav a[aria-current="page"], .top-nav a:hover { color: var(--text); background: var(--card); }
.mobile-brokers-link { display: inline-flex; align-items: center; min-height: 40px; padding: 0 9px; color: var(--muted); font-size: 14px; font-weight: 700; border-radius: 10px; }
.mobile-brokers-link[aria-current="page"] { color: var(--gold); background: var(--card); }
@media (max-width: 420px) {
  .top .wrap { gap: 6px; padding-left: 12px; padding-right: 12px; }
  .mobile-brokers-link { padding: 0 6px; font-size: 13px; }
  .top .top-right { gap: 4px; }
  .top .top-right .btn { padding: 0 8px; font-size: 12px; }
}
.top-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: transparent; border: 1px solid transparent; color: var(--text); }
.icon-btn:hover { background: var(--card); }
.avatar-sm { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold), #e09b1f); color: var(--gold-ink); font-weight: 800; font-size: 14px; }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card); font-weight: 700; font-size: 15px; transition: transform .08s ease, background .15s ease; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn-gold { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-2); }
.btn-ghost { background: transparent; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-lg { min-height: 52px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: default; transform: none; }
.link { color: var(--gold); font-weight: 600; }

/* ---- Bottom tabs (phone) ---- */
.tabs { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; height: calc(var(--tab-h) + var(--safe-b)); padding-bottom: var(--safe-b); display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(12, 15, 23, .94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line); }
.tabs a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; font-weight: 600; color: var(--faint); position: relative; }
.tabs a .icon { width: 22px; height: 22px; }
.tabs a[aria-current="page"] { color: var(--gold); }
.badge-count { position: absolute; top: 8px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--gold); color: var(--gold-ink); font-size: 11px; font-weight: 800; display: grid; place-items: center; }

/* ---- EWS banner and Bidding Floor hero, ported from the approved go-live reference ---- */
.bl-ews-banner { background: #0b1533; border-top: 5px solid var(--gold); overflow: hidden; }
.bl-ews3 { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "copy speakers cta"; align-items: center; column-gap: 28px; min-height: 136px; max-width: 1385px; margin: 0 auto; padding: 0 24px; text-align: left; }
.bl-ews3, .bl-ews3 * { box-sizing: border-box; }
.bl-ews3 p { margin: 0; }
.bl-ews3-copy { grid-area: copy; min-width: 0; padding: 18px 0; }
.bl-ews3-av { display: none; line-height: 0; }
.bl-ews3-h { color: var(--gold); font-size: clamp(19px, 1.6vw, 24px); font-weight: 800; line-height: 1.2; }
.bl-ews3-h .bl-ews3-short { display: none; }
.bl-ews3-sub { max-width: 620px; margin-top: 6px !important; color: #f7fafc; font-size: 13px; font-weight: 600; line-height: 1.4; opacity: .92; }
.bl-ews3-spk { grid-area: speakers; align-self: end; line-height: 0; position: relative; }
.bl-ews3-spk::before { position: absolute; inset: 10% -8% -20%; background: radial-gradient(closest-side, rgba(56, 96, 200, .45), transparent); content: ""; pointer-events: none; }
.bl-ews3-spk img { display: block; height: 124px; max-width: none; position: relative; width: auto; }
.bl-ews3-cta { grid-area: cta; }
.bl-ews3-btn { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 10px 26px; border: 1px solid #ffe19a; border-radius: 999px; background: var(--gold); box-shadow: 0 6px 18px rgba(245, 197, 66, .18); color: var(--gold-ink); font-size: 16px; font-weight: 800; white-space: nowrap; }
.bl-ews3-btn:hover { background: var(--gold-2); }
.summit-bar { min-height: 40px; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 6px 16px; background: var(--gold); color: #17213c; font-size: 12px; font-weight: 800; letter-spacing: .05em; text-align: center; text-transform: uppercase; }
.summit-bar .dot { width: 6px; height: 6px; flex: none; border-radius: 50%; background: currentColor; }
.summit-bar .short { display: none; }
.summit-bar .go { display: inline-flex; align-items: center; gap: 6px; }
.summit-bar .go .icon { width: 14px; height: 14px; }
.top { position: relative; background: #07142e; border-bottom-color: rgba(197, 218, 255, .15); }

.hero { position: relative; isolation: isolate; min-height: 600px; overflow: hidden; background: #07142e; }
.hero-media, .hero-media img, .hero-shade { position: absolute; inset: 0; }
.hero-media { z-index: -3; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; filter: saturate(.86) contrast(1.06) brightness(.8); transform: scale(1.05); }
.hero-media::after { position: absolute; inset: 0; background: #1d56aa; content: ""; mix-blend-mode: color; opacity: .5; }
.hero-shade { z-index: -2; background: linear-gradient(180deg, rgba(7, 20, 46, 0) 52%, #07142e 100%), linear-gradient(90deg, #07142e 0%, rgba(7, 20, 46, .96) 32%, rgba(7, 20, 46, .63) 60%, rgba(7, 20, 46, .22) 100%); }
.hero-inner { position: relative; padding: clamp(46px, 7vh, 96px) 16px clamp(36px, 5vh, 64px); }
.hero-copy { max-width: 820px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.hero-badges li { padding: 7px 12px; border: 1px solid rgba(245, 197, 66, .75); background: rgba(245, 197, 66, .12); color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero h1 { margin: 24px 0 0; color: #f7fafc; font-size: clamp(42px, 5vw + 1rem, 76px); font-weight: 850; letter-spacing: -.045em; line-height: .98; }
.hero-sub { margin: 22px 0 0; color: var(--gold); font-size: clamp(20px, 1vw + 16px, 28px); font-weight: 750; line-height: 1.2; }
.hero-lede { max-width: 58ch; margin: 16px 0 0; color: #d6e1f3; font-size: 17px; line-height: 1.55; }
.hero-lede b { color: #fff; }
.hero-console { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; max-width: 820px; margin-top: 32px; padding: 6px; border: 1px solid rgba(214, 228, 255, .22); border-radius: 999px; background: rgba(6, 17, 42, .9); box-shadow: 0 24px 52px -28px rgba(0, 0, 0, .9); }
.hero-console:focus-within { border-color: rgba(245, 197, 66, .82); box-shadow: 0 0 0 6px rgba(245, 197, 66, .13), 0 24px 52px -28px rgba(0, 0, 0, .9); }
.hero-search-field { position: relative; display: flex; align-items: center; min-width: 0; }
.hero-search-field .icon { position: absolute; left: 18px; color: #9badc8; pointer-events: none; }
.hero-console input { width: 100%; height: 52px; min-width: 0; padding: 0 16px 0 50px; border: 0; outline: 0; background: transparent; color: #fff; font-size: 16px; }
.hero-console input::placeholder { color: #9badc8; }
.hero-console .btn { min-height: 52px; border-radius: 999px; }
.quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; color: #9badc8; font-size: 14px; }
.quick button { padding: 7px 14px; border: 1px solid rgba(214, 228, 255, .16); border-radius: 999px; background: rgba(247, 250, 252, .06); color: #e3ecfa; font-size: 14px; font-weight: 700; }
.quick button:hover { border-color: rgba(245, 197, 66, .65); background: rgba(245, 197, 66, .14); color: #fff; }

/* The V2 browse form keeps its compact input treatment outside the hero. */
.searchbar { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 8px 0 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line-2); }
.searchbar input { flex: 1; min-width: 0; height: 100%; background: transparent; border: 0; outline: 0; font-size: 16px; }
.searchbar input::placeholder { color: var(--faint); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 14px 16px 4px; margin: 0 -16px; scrollbar-width: none; scroll-snap-type: x proximity; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; scroll-snap-align: start; height: 36px; padding: 0 14px; border-radius: 18px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--muted); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.chip[aria-pressed="true"], .chip.is-on { color: var(--gold); border-color: rgba(245, 197, 66, .55); background: var(--gold-soft); }

/* ---- Sections ---- */
.section { padding: 18px 0 6px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.section-head h2 { margin: 0; font-size: 20px; letter-spacing: -.01em; }
.section-head a { color: var(--gold); font-weight: 600; font-size: 14px; }
.muted { color: var(--muted); }
.fine { color: var(--faint); font-size: 13px; }

/* ---- Featured carousel ---- */
.featured-section { padding-top: 20px; }
.featured-head { align-items: center; }
.featured-count { margin: 3px 0 0; color: var(--muted); font-size: 13px; font-weight: 600; }
.carousel-controls { display: flex; gap: 8px; }
.carousel-button { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; background: var(--card); color: var(--text); }
.carousel-button:hover:not([disabled]) { border-color: var(--gold); background: var(--card-2); }
.carousel-button .icon { width: 18px; height: 18px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 12px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-behavior: smooth; scroll-snap-type: x mandatory; padding: 2px 16px 8px; margin: 0 -16px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.fc { scroll-snap-align: start; position: relative; border-radius: var(--r); overflow: hidden; background: var(--card); border: 1px solid var(--line); }
.fc-media { aspect-ratio: 16 / 10; position: relative; background: var(--card-2); }
.fc-media img { width: 100%; height: 100%; object-fit: cover; }
.fc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(10, 13, 20, .9)); }
.fc-tag { position: absolute; z-index: 2; top: 10px; left: 10px; }
.fc-body { padding: 0 14px 14px; margin-top: -42px; position: relative; z-index: 2; }
.fc-body h3 { margin: 0 0 4px; font-size: 17px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.featured-expanded { margin-top: 2px; }
.featured-expand-row { display: flex; justify-content: center; margin: 12px 0 0; }
.featured-expand { border: 0; background: transparent; padding: 8px 12px; }

/* ---- Listing card (compact) ---- */
.list { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.lc { min-width: 0; position: relative; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); padding: 12px; transition: border-color .15s ease; content-visibility: auto; contain-intrinsic-size: 160px; }
.lc:hover { border-color: var(--line-2); }
.lc-link { position: absolute; inset: 0; z-index: 1; border-radius: var(--r); }
.lc-top { display: flex; gap: 12px; align-items: flex-start; }
.thumb { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; flex: none; background: var(--card-2); display: grid; place-items: center; color: var(--gold); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb .icon { width: 26px; height: 26px; }
.tile { background: radial-gradient(120% 120% at 0% 0%, rgba(245, 197, 66, .22), transparent 55%), linear-gradient(160deg, #1d2536, #121824); }
.lc-head { flex: 1; min-width: 0; padding-right: 40px; }
.lc-head h3 { margin: 0 0 4px; font-size: 16px; line-height: 1.3; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.loc { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 13px; margin: 0; min-width: 0; }
.loc .icon { width: 14px; height: 14px; }
.loc span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.metrics { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin-top: 12px; }
.m { min-width: 0; }
.m > span { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: 2px; }
.m b { display: block; font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-ask b { color: var(--gold); font-size: 18px; }
.m.locked b { color: var(--muted); font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 4px; }
.m.locked .icon { width: 13px; height: 13px; }
.m .nd, .t .nd { color: var(--faint); font-weight: 500; font-size: 13px; text-transform: none; letter-spacing: 0; }
.heart { position: absolute; z-index: 3; top: 8px; right: 8px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 0; background: transparent; color: var(--muted); }
.heart .icon { width: 22px; height: 22px; transition: transform .15s ease; }
.heart[aria-pressed="true"] { color: #ff5d7a; }
.heart[aria-pressed="true"] .icon { fill: currentColor; transform: scale(1.06); }
.heart.pop .icon { animation: pop .3s ease; }
@keyframes pop { 50% { transform: scale(1.3); } }
.pill { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 12px; font-size: 12px; font-weight: 700; background: rgba(10, 13, 20, .7); border: 1px solid var(--line-2); color: var(--text); }
.pill-gold { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.pill-green { color: var(--green); border-color: rgba(58, 214, 154, .4); background: rgba(58, 214, 154, .1); }
.pill .icon { width: 14px; height: 14px; }
.more { display: flex; justify-content: center; padding: 18px 0 8px; }
.empty { text-align: center; padding: 40px 16px; color: var(--muted); }
.empty h2 { color: var(--text); font-size: 19px; margin: 12px 0 6px; }
.empty .icon { width: 36px; height: 36px; color: var(--gold); }
.skeleton { height: 136px; border-radius: var(--r); background: linear-gradient(100deg, var(--card) 30%, var(--card-2) 50%, var(--card) 70%); background-size: 300% 100%; animation: shimmer 1.2s infinite linear; }
@keyframes shimmer { to { background-position: -150% 0; } }

/* ---- Unlock banner ---- */
.unlock { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--r); background: linear-gradient(120deg, rgba(245, 197, 66, .16), rgba(245, 197, 66, .04)); border: 1px solid rgba(245, 197, 66, .3); margin: 6px 0 4px; }
.unlock .lockdot { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); }
.unlock p { margin: 0; font-size: 14px; color: var(--muted); }
.unlock strong { display: block; color: var(--text); font-size: 15px; }

/* ---- Search filters ---- */
.filters { display: grid; gap: 10px; padding: 12px 0 4px; }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin: 0 0 6px; }
.input, select.input, textarea.input { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); font-size: 16px; outline: 0; appearance: none; -webkit-appearance: none; }
select.input { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
textarea.input { min-height: 110px; resize: vertical; line-height: 1.5; }
.input:focus { border-color: rgba(245, 197, 66, .6); box-shadow: 0 0 0 3px var(--gold-soft); }
.input[aria-invalid="true"] { border-color: var(--red); }
.result-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 12px 0; color: var(--muted); font-size: 14px; }
.result-bar b { color: var(--text); }

/* ---- Listing detail ---- */
.detail-media { position: relative; aspect-ratio: 16 / 10; max-height: 46vh; width: 100%; overflow: hidden; background: var(--card-2); }
.detail-media img { width: 100%; height: 100%; object-fit: cover; }
.detail-media.tile { display: grid; place-items: center; color: var(--gold); }
.detail-media.tile .icon { width: 64px; height: 64px; opacity: .9; }
.detail-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 13, 20, .5), transparent 30%, transparent 55%, var(--bg)); pointer-events: none; }
.media-bar { position: absolute; z-index: 3; top: 10px; left: 0; right: 0; display: flex; justify-content: space-between; padding: 0 12px; }
.glass { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(10, 13, 20, .6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line-2); color: var(--text); }
.glass[aria-pressed="true"] { color: #ff5d7a; }
.glass[aria-pressed="true"] .icon { fill: currentColor; }
.media-bar .group { display: flex; gap: 8px; }
.detail { position: relative; margin-top: -36px; z-index: 2; }
.detail h1 { font-size: 26px; margin: 10px 0 6px; }
.kicker { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--muted); font-size: 14px; }
.cat { color: var(--gold); font-weight: 700; font-size: 13px; padding: 3px 9px; border-radius: 8px; border: 1px solid rgba(245, 197, 66, .45); background: var(--gold-soft); }
.price { margin: 16px 0 4px; }
.price > span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.price b { font-size: 34px; letter-spacing: -.02em; color: var(--gold); }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 14px 0 6px; }
.t { border-radius: var(--r-sm); background: var(--card); border: 1px solid var(--line); padding: 12px 10px; text-align: center; min-width: 0; }
.t > span { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.t b { display: block; font-size: 17px; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t.locked { color: var(--muted); }
.t.locked .icon { width: 16px; height: 16px; color: var(--gold); margin: 0 auto 4px; display: block; }
.t.locked b { font-size: 12px; overflow: visible; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.panel { border-radius: var(--r); background: var(--card); border: 1px solid var(--line); padding: 16px; margin: 12px 0; }
.panel h2 { font-size: 17px; margin: 0 0 10px; }
.facts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; margin: 0; }
.facts div { padding: 10px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.facts div:nth-last-child(-n + 2) { border-bottom: 0; }
.facts dt { font-size: 12px; color: var(--faint); font-weight: 600; }
.facts dd { margin: 2px 0 0; font-weight: 600; font-size: 15px; overflow-wrap: anywhere; }
.gate { text-align: center; padding: 22px 16px; border-radius: var(--r); border: 1px dashed rgba(245, 197, 66, .4); background: linear-gradient(180deg, rgba(245, 197, 66, .08), transparent); margin: 14px 0; }
.gate .lockdot { width: 52px; height: 52px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); border: 1px solid rgba(245, 197, 66, .35); }
.gate h2 { font-size: 18px; margin: 0 0 6px; }
.gate p { margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.gate ul { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.gate li { font-size: 12px; font-weight: 600; color: var(--muted); padding: 4px 9px; border-radius: 8px; background: var(--card); border: 1px solid var(--line); display: inline-flex; gap: 4px; align-items: center; }
.gate li .icon { width: 12px; height: 12px; color: var(--gold); }
.broker { display: flex; align-items: center; gap: 12px; }
.avatar { width: 52px; height: 52px; border-radius: 50%; flex: none; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold), #e09b1f); color: var(--gold-ink); font-weight: 800; font-size: 18px; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.broker-info { flex: 1; min-width: 0; }
.broker-info b { display: flex; align-items: center; gap: 4px; }
.broker-info b .icon { width: 16px; height: 16px; color: var(--gold); }
.broker-info span { display: block; color: var(--muted); font-size: 14px; }
.btn-row { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.btn-row .btn { flex: 1; }
.claim-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-radius: var(--r); border: 1px solid var(--line); color: var(--muted); font-size: 14px; margin: 12px 0 8px; }
.claim-link b { color: var(--text); display: block; font-size: 15px; }
.actionbar { position: fixed; z-index: 44; left: 0; right: 0; bottom: calc(var(--tab-h) + var(--safe-b)); padding: 10px 16px; background: linear-gradient(180deg, rgba(10, 13, 20, 0), rgba(10, 13, 20, .96) 30%); display: flex; gap: 10px; }
.actionbar .btn-gold { flex: 1; }
.actionbar .sq { width: 52px; flex: none; padding: 0; }
.actionbar .sq[aria-pressed="true"] { color: #ff5d7a; }
.actionbar .sq[aria-pressed="true"] .icon { fill: currentColor; }
.sent { color: var(--green); }

/* ---- Sheet (modal) ---- */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(4, 6, 10, .6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .2s ease; }
.scrim.open { opacity: 1; }
.sheet { position: fixed; z-index: 61; left: 0; right: 0; bottom: 0; max-height: 92vh; overflow-y: auto; background: var(--bg-2); border-top-left-radius: 22px; border-top-right-radius: 22px; border: 1px solid var(--line-2); padding: 10px 18px calc(20px + var(--safe-b)); transform: translateY(100%); transition: transform .26s cubic-bezier(.2, .8, .2, 1); box-shadow: var(--shadow); }
.sheet.open { transform: translateY(0); }
.sheet .grab { width: 40px; height: 5px; border-radius: 3px; background: var(--line-2); margin: 0 auto 12px; }
.sheet .close { position: absolute; top: 10px; right: 10px; }
.sheet h2 { font-size: 21px; margin: 6px 0 6px; padding-right: 36px; }
.sheet .lead { color: var(--muted); margin: 0 0 16px; font-size: 15px; }
.sheet-icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); border: 1px solid rgba(245, 197, 66, .35); margin: 4px 0 8px; }
.sheet-icon.ok { background: rgba(58, 214, 154, .12); color: var(--green); border-color: rgba(58, 214, 154, .35); }
.form { display: grid; gap: 12px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--gold); flex: none; }
.status { font-size: 14px; margin: 0; color: var(--red); }
.status.ok { color: var(--green); }
.seg { display: flex; padding: 4px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.seg button { flex: 1; min-height: 38px; white-space: nowrap; padding: 0 6px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font-weight: 700; font-size: 14px; }
.seg button[data-status="under-contract"] { flex: 1.5; }
.seg button[aria-pressed="true"] { background: var(--card-2); color: var(--text); box-shadow: 0 1px 0 var(--line-2) inset; }
.divider { text-align: center; color: var(--faint); font-size: 13px; }

/* ---- Toast ---- */
.toast { position: fixed; z-index: 80; left: 50%; top: calc(var(--top-h) + 10px + env(safe-area-inset-top, 0px)); transform: translate(-50%, -12px); opacity: 0; transition: all .2s ease; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 12px; font-weight: 600; font-size: 14px; box-shadow: var(--shadow); max-width: calc(100% - 32px); pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---- Broker profile (link-in-bio) ---- */
.bio-page { text-align: center; padding: 26px 0 8px; }
.bio-avatar { width: 104px; height: 104px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; font-size: 36px; font-weight: 800; color: var(--gold-ink); background: linear-gradient(135deg, var(--gold), #e09b1f); overflow: hidden; box-shadow: 0 0 0 4px var(--bg), 0 0 0 6px rgba(245, 197, 66, .45); }
.bio-avatar img { width: 100%; height: 100%; object-fit: cover; }
.bio-page h1 { font-size: 26px; margin: 4px 0 2px; display: inline-flex; align-items: center; gap: 6px; }
.bio-page h1 .icon { width: 22px; height: 22px; color: var(--gold); }
.bio-firm { color: var(--muted); margin: 0; font-weight: 600; }
.bio-areas { color: var(--faint); font-size: 13px; margin: 6px 0 0; }
.bio-text { color: var(--muted); max-width: 460px; margin: 12px auto 0; font-size: 15px; }
.links { display: grid; gap: 10px; max-width: 460px; margin: 20px auto 6px; }
.linkbtn { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line-2); font-weight: 700; text-align: left; width: 100%; }
.linkbtn .icon { color: var(--gold); }
.linkbtn span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.linkbtn small { color: var(--faint); font-weight: 600; display: inline-flex; gap: 4px; align-items: center; }
.linkbtn small .icon { width: 14px; height: 14px; }
.linkbtn.primary { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.linkbtn.primary .icon { color: var(--gold-ink); }

/* ---- Footer ---- */
.foot { padding: 28px 0 24px; color: var(--faint); font-size: 13px; border-top: 1px solid var(--line); margin-top: 28px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; justify-content: space-between; }
.foot nav { display: flex; gap: 16px; }
.foot a:hover { color: var(--text); }

/* ---- Larger screens ---- */
@media (min-width: 720px) {
  h1 { font-size: 40px; }
  .rail { grid-auto-columns: calc((100% - 24px) / 3); }
  .list.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail h1 { font-size: 34px; }
  .sheet { left: 50%; right: auto; bottom: auto; top: 50%; width: 440px; border-radius: 22px; transform: translate(-50%, -46%); opacity: 0; transition: all .2s ease; }
  .sheet.open { transform: translate(-50%, -50%); opacity: 1; }
  .sheet .grab { display: none; }
}
@media (min-width: 960px) {
  body, body.has-actionbar { padding-bottom: 0; }
  .tabs { display: none; }
  .top-nav { display: flex; }
  .mobile-brokers-link { display: none; }
  .actionbar { bottom: 0; }
  body.has-actionbar { padding-bottom: 84px; }
  .list.grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .detail-wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; }
  .detail-media { border-radius: 0 0 24px 24px; max-width: 1120px; margin: 0 auto; }
}

/* Broker directory */
.broker-directory { padding-top: 32px; padding-bottom: 36px; }
.broker-directory h1 { margin: 12px 0 6px; }
.broker-search { display: flex; align-items: center; gap: 8px; max-width: 640px; margin: 24px 0 14px; }
.broker-search .input { flex: 1; min-width: 0; }
.directory-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 18px; }
.directory-filters button[aria-pressed="true"] { color: var(--gold-ink); background: var(--gold); border-color: var(--gold); }
.broker-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 12px; }
.directory-card { display: flex; flex-direction: column; min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.directory-card-featured { border-color: rgba(245,197,66,.32); }
.directory-card-main { display: flex; align-items: center; gap: 13px; min-width: 0; }
.directory-avatar { width: 56px; height: 56px; flex: 0 0 56px; display: grid; place-items: center; border-radius: 50%; overflow: hidden; background: rgba(245,197,66,.12); color: var(--gold); font-size: 19px; font-weight: 800; }
.directory-avatar img { width: 100%; height: 100%; object-fit: cover; }
.directory-person { min-width: 0; }
.directory-person h2 { font-size: 17px; margin: 3px 0; overflow-wrap: anywhere; }
.directory-person p, .directory-areas { font-size: 13px; color: var(--muted); margin: 0; overflow-wrap: anywhere; }
.directory-tag { font-size: 10px; letter-spacing: .06em; font-weight: 800; text-transform: uppercase; color: var(--gold); }
.directory-areas { margin: 14px 0 0; }
.directory-card-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 16px; font-size: 13px; }
.directory-card-foot a { display: inline-flex; align-items: center; gap: 2px; }
.directory-card-foot .icon { width: 16px; height: 16px; }
.directory-more { margin-top: 10px; font-size: 12px; color: var(--muted); }
.directory-more summary { cursor: pointer; }
.directory-more a { display: block; margin-top: 7px; }
.directory-pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; margin-top: 24px; font-size: 13px; }
.broker-social-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 16px auto; max-width: 540px; }
.broker-social-links .icon { width: 14px; height: 14px; }
@media (min-width: 660px) { .broker-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (min-width: 960px) { .broker-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 1199px) {
  .bl-ews3 { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "copy speakers" "cta speakers"; column-gap: 24px; }
  .bl-ews3-cta { padding-bottom: 18px; }
  .bl-ews3-spk { grid-row: 1 / span 2; }
  .bl-ews3-spk img { height: clamp(100px, 10.5vw, 124px); }
}
@media (max-width: 720px) {
  .summit-bar { font-size: 10.5px; }
  .summit-bar .long { display: none; }
  .summit-bar .short { display: inline; }
  .bl-ews3 { display: flex; flex-direction: column; padding: 10px 16px 12px; text-align: center; }
  .bl-ews3-copy { display: flex; flex-direction: column; align-items: center; padding: 0; }
  .bl-ews3-av { display: block; }
  .bl-ews3-avatars { width: auto; height: 40px; margin: 0 auto 5px; max-width: none; }
  .bl-ews3-spk { display: none; }
  .bl-ews3-h { max-width: 22em; font-size: 16.5px; }
  .bl-ews3-h .bl-ews3-full { display: none; }
  .bl-ews3-h .bl-ews3-short { display: inline; }
  .bl-ews3-sub { max-width: 34em; font-size: 11.5px; }
  .bl-ews3-cta { width: 100%; max-width: 420px; margin-top: 8px; padding: 0; }
  .bl-ews3-btn { display: flex; min-height: 44px; }
  .hero { min-height: 0; }
  .hero-media img { object-position: 63% 50%; }
  .hero-shade { background: linear-gradient(180deg, rgba(7, 20, 46, .2) 0%, #07142e 58%); }
  .hero-inner { padding-top: 52px; }
  .hero h1 { font-size: clamp(42px, 13vw, 58px); }
  .hero-console { grid-template-columns: 1fr; border-radius: 20px; }
  .hero-console .btn { width: 100%; }
}
/* ---- Admin: buyer leads (phone first: stacked cards, table from 960px) ---- */
.admin-head h1 { font-size: 26px; margin: 0 0 4px; letter-spacing: -.01em; }
.admin-head p { margin: 0; font-size: 15px; }
.admin-tabs { margin: 16px 0 12px; }
.admin-tabs button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.admin-tabs .long { display: none; }
.admin-tabs .count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--bg-2); color: var(--muted); font-size: 12px; display: inline-grid; place-items: center; }
.admin-tabs .count:empty { display: none; }
.admin-tabs button[aria-pressed="true"] .count { background: var(--gold-soft); color: var(--gold); }
.admin-filters { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.admin-filters .f-q, .admin-filters .f-actions { grid-column: 1 / -1; }
.admin-filters .f-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.admin-filters .f-actions .check { align-items: center; min-height: 44px; margin-right: auto; }
.admin-filters .f-actions .btn { min-height: 44px; }
.lead-table { width: 100%; border-collapse: collapse; }
.lead-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.lead-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "buyer when" "listing listing" "note note" "route route"; gap: 8px 12px; padding: 14px; margin: 0 0 10px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.lead-table td { display: block; min-width: 0; padding: 0; overflow-wrap: anywhere; }
.lead-table .c-when { grid-area: when; color: var(--faint); font-size: 13px; white-space: nowrap; }
.lead-table .c-buyer { grid-area: buyer; display: grid; gap: 2px; justify-items: start; }
.lead-table .c-buyer b { font-size: 16px; }
.lead-table .c-link { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; color: var(--text); font-size: 15px; }
.lead-table .c-link .icon { width: 16px; height: 16px; color: var(--muted); }
.lead-table .c-link:hover span { text-decoration: underline; }
.lead-table .c-listing { grid-area: listing; display: grid; gap: 2px; padding-top: 10px; border-top: 1px solid var(--line); }
.lead-table .c-title { color: var(--gold); font-weight: 600; line-height: 1.35; }
.lead-table a.c-title:hover { text-decoration: underline; }
.lead-table .c-note { grid-area: note; }
.lead-table .c-note p { margin: 0; color: var(--muted); font-size: 14px; white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.lead-table .c-note .fine { display: none; }
.lead-table .c-route { grid-area: route; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.pill-test { color: var(--gold); border-color: rgba(245, 197, 66, .5); background: var(--gold-soft); }
@media (min-width: 720px) {
  .admin-filters { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
  .admin-filters .f-q { grid-column: auto; }
}
@media (min-width: 960px) {
  .admin-head h1 { font-size: 32px; }
  .admin-tabs { display: inline-flex; }
  .admin-tabs button { flex: none; padding: 0 16px; }
  .admin-tabs .long { display: inline; }
  .admin-tabs .short { display: none; }
  #ad-list { border-radius: var(--r); background: var(--card); border: 1px solid var(--line); overflow: hidden; }
  #ad-list:has(.empty), #ad-list:has(.skeleton), #ad-list:has([role="alert"]) { background: none; border: 0; }
  .lead-table thead { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .lead-table th { text-align: left; font-size: 12px; font-weight: 700; color: var(--faint); padding: 12px 14px; border-bottom: 1px solid var(--line-2); background: var(--bg-2); }
  .lead-table tr { display: table-row; padding: 0; margin: 0; border: 0; border-radius: 0; background: none; }
  .lead-table td { display: table-cell; vertical-align: top; padding: 14px; border-bottom: 1px solid var(--line); }
  .lead-table tbody tr:last-child td { border-bottom: 0; }
  .lead-table tbody tr:hover td { background: var(--bg-2); }
  .lead-table .c-when { width: 120px; }
  .lead-table .c-buyer { display: table-cell; width: 26%; }
  .lead-table .c-buyer > * { display: flex; }
  .lead-table .c-listing { display: table-cell; border-top: 0; padding-top: 14px; width: 30%; }
  .lead-table .c-listing > * { display: block; }
  .lead-table .c-note .fine { display: inline; }
  .lead-table .c-route { display: table-cell; width: 180px; }
  .lead-table .c-route .fine { display: block; margin-top: 6px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Make illustrative category art distinguishable from publisher images. */
.photo-caption { position: absolute; z-index: 2; left: 12px; bottom: 12px; padding: 4px 8px; border-radius: 6px; background: rgba(12,16,24,.86); color: #fff; font-size: 11px; font-weight: 500; line-height: 1.3; }
