/* Harbourfield demo — design system */
:root {
  --navy: #0E2A3B; --navy-2: #163B52; --ink: #17212B; --ink-2: #4A5561; --muted: #6E7781; --line: #E4DFD6; --line-2: #EFEBE4;
  --paper: #FBF9F5; --tint: #F3EFE7; --white: #fff; --gold: #C8963E; --gold-2: #E2B66B; --gold-ink: #6E4E14;
  --sale: #1E6FE8; --pending: #E8790E; --sold: #D93636; --rent: #0F8A7E; --soon: #1E6FE8; --ok: #1F8A4C;
  --r: 14px; --r-sm: 9px; --sh: 0 1px 2px rgba(14,42,59,.06), 0 8px 24px rgba(14,42,59,.08); --sh-lg: 0 20px 60px rgba(14,42,59,.22);
  --serif: 'Fraunces', Georgia, serif; --sans: 'Instrument Sans', system-ui, -apple-system, Segoe UI, sans-serif;
  --hdr: 68px; --rib: 30px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.55 var(--sans); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--navy); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; line-height: 1.15; margin: 0 0 .4em; color: var(--navy); }
h1 { font-size: clamp(32px, 4.4vw, 52px); } h2 { font-size: clamp(24px, 2.6vw, 32px); } h3 { font-size: 20px; }
p { margin: 0 0 1em; }
.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; z-index: 9999; background: #fff; padding: 8px 12px; border-radius: 8px; } .skip:focus { left: 8px; }
.muted { color: var(--muted); } .fine { font-size: 12.5px; color: var(--muted); line-height: 1.45; } .center { text-align: center; } .mt { margin-top: 32px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; } .wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.eyebrow { display: inline-block; font: 600 12px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 10px; } .eyebrow.light { color: var(--gold-2); }
.lead { font-size: 18.5px; color: var(--ink-2); }
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 2px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .12s, background .15s, box-shadow .15s; }
.btn:active { transform: translateY(1px); } .btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--navy); color: #fff; } .btn-primary:hover { background: var(--navy-2); box-shadow: 0 6px 18px rgba(14,42,59,.25); }
.btn-gold { background: var(--gold); color: #fff; } .btn-gold:hover { background: #B5852F; }
.btn-outline { background: #fff; border-color: #CFC8BB; color: var(--navy); } .btn-outline:hover { border-color: var(--navy); }
.btn-ghost { background: transparent; color: var(--navy); } .btn-ghost:hover { background: var(--tint); }
.btn-light { background: rgba(255,255,255,.95); color: var(--navy); }
.btn-ok { background: #E6F4EC; color: var(--ok); border-color: #BFE3CD; }
.btn-sm { height: 34px; padding: 0 13px; font-size: 13.5px; } .btn-lg { height: 52px; padding: 0 26px; font-size: 16px; } .btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: default; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 20px; line-height: 1; display: inline-grid; place-items: center; color: var(--navy); flex: none; } .icon-btn.is-on { color: var(--sold); }
.pill { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; } .pill-muted { background: var(--tint); color: var(--ink-2); }
.tag { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-ink); background: #F6EBD6; padding: 3px 8px; border-radius: 6px; margin-bottom: 8px; vertical-align: middle; }
.link-arrow { font-weight: 600; text-decoration: none; color: var(--navy); white-space: nowrap; } .link-arrow:hover { color: var(--gold-ink); }

/* demo ribbon + header */
.demo-ribbon { height: var(--rib); display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 12px; background: #F6EBD6; color: var(--gold-ink); font-size: 12.5px; text-align: center; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.sh-inner { max-width: 1400px; margin: 0 auto; height: var(--hdr); display: flex; align-items: center; gap: 22px; padding: 0 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); flex: none; }
.logo-mark { width: 38px; height: 38px; }
.logo-word { display: flex; flex-direction: column; line-height: 1; } .logo-word span { font: 600 21px/1 var(--serif); letter-spacing: -.01em; } .logo-word small { font: 600 10.5px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--gold-ink); margin-top: 4px; }
.logo.light { color: #fff; } .logo.light .logo-word small { color: var(--gold-2); }
.main-nav { display: flex; gap: 2px; flex: 1; justify-content: center; }
.main-nav a { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 8px 11px; border-radius: 8px; text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 15px; white-space: nowrap; }
.main-nav a:hover { color: var(--navy); background: var(--tint); }
.main-nav a.is-on { color: var(--navy); font-weight: 600; } .main-nav a.is-on::after { content: ''; position: absolute; left: 11px; right: 11px; bottom: 1px; height: 2px; background: var(--gold); border-radius: 2px; }
.nav-dot { width: 8px; height: 8px; border-radius: 2px; background: var(--sale); box-shadow: 5px 5px 0 -1px var(--sold); margin-right: 4px; }
.sh-right { display: flex; align-items: center; gap: 14px; flex: none; }
.sh-phone { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--navy); font-size: 14.5px; } .sh-phone svg { width: 16px; height: 16px; color: var(--gold); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; flex-direction: column; justify-content: center; align-items: center; gap: 4px; cursor: pointer; }
.nav-toggle span { width: 18px; height: 2px; background: var(--navy); border-radius: 2px; }
body[data-page=dashboard] .site-header { display: none; }

/* stock tag */
.stock-tag { position: absolute; right: 8px; bottom: 8px; z-index: 2; background: rgba(14,20,27,.62); color: #fff; font-size: 10.5px; font-weight: 500; padding: 3px 7px; border-radius: 5px; letter-spacing: .01em; pointer-events: none; backdrop-filter: blur(2px); }

/* status pills */
.spill { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 6px; font-size: 12px; font-weight: 700; letter-spacing: .02em; color: #fff; background: #888; white-space: nowrap; }
.spill.s-sale { background: var(--sale); } .spill.s-pending { background: var(--pending); } .spill.s-sold { background: var(--sold); } .spill.s-rent { background: var(--rent); }
.spill.s-soon { background: #fff; color: var(--sale); box-shadow: inset 0 0 0 1.5px var(--sale); } .spill.s-none { background: #EDE8DF; color: var(--ink-2); } .spill.s-oh { background: #F6EBD6; color: var(--gold-ink); }

/* hero */
.hero { position: relative; min-height: 640px; display: flex; align-items: center; background: var(--navy) center 40% / cover no-repeat; color: #fff; overflow: hidden; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,28,40,.88) 0%, rgba(10,28,40,.62) 45%, rgba(10,28,40,.15) 100%), linear-gradient(0deg, rgba(10,28,40,.5), transparent 40%); }
.hero-inner { position: relative; z-index: 1; width: 100%; padding-top: 60px; padding-bottom: 80px; }
.hero h1 { color: #fff; font-size: clamp(36px, 4.8vw, 62px); max-width: 960px; } .hero h1 em { font-style: italic; color: var(--gold-2); font-weight: 400; }
.hero-sub { font-size: 19px; max-width: 580px; color: rgba(255,255,255,.88); }
.hero-search { margin-top: 28px; max-width: 720px; background: rgba(255,255,255,.98); border-radius: 18px; padding: 10px; box-shadow: var(--sh-lg); color: var(--ink); }
.hs-tabs { display: flex; gap: 4px; padding: 2px 4px 10px; }
.hs-tabs button { border: 0; background: none; padding: 6px 12px; border-radius: 8px; font-weight: 600; color: var(--muted); cursor: pointer; } .hs-tabs button.is-on { background: var(--tint); color: var(--navy); }
.hs-row { display: flex; gap: 8px; } .hs-row input { flex: 1; min-width: 0; height: 52px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 16px; font-size: 16.5px; background: #fff; } .hs-row input:focus { outline: none; border-color: var(--navy); }
.hs-try { padding: 10px 6px 2px; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.hs-try button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 3px 10px; font-size: 13px; cursor: pointer; color: var(--navy); } .hs-try button:hover { border-color: var(--navy); }
.stats-strip { background: var(--navy); color: #fff; } .stats-strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-strip .wrap > div { padding: 26px 20px; border-left: 1px solid rgba(255,255,255,.1); } .stats-strip .wrap > div:first-child { border-left: 0; }
.stats-strip b { display: block; font: 500 34px/1.1 var(--serif); color: var(--gold-2); } .stats-strip span { font-size: 14px; color: rgba(255,255,255,.75); }

/* sections */
.sec { padding: 72px 24px; } .wrap.sec { padding: 72px 24px; } .sec-tint { background: var(--tint); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 26px; } .sec-head h2 { margin: 0; }
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
.map-promo { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 40px; }
.map-promo h2 { font-size: clamp(32px, 3.6vw, 46px); } .map-promo h2 em { color: var(--gold); font-style: italic; }
.ticks { list-style: none; padding: 0; margin: 18px 0 26px; } .ticks li { position: relative; padding: 6px 0 6px 30px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 10px; width: 18px; height: 18px; border-radius: 50%; background: #F6EBD6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%236E4E14' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.mp-shot { position: relative; display: block; border-radius: 20px; overflow: hidden; box-shadow: var(--sh-lg); aspect-ratio: 16/11; background: #EAE5DA; border: 6px solid #fff; }
.mp-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; } .mp-shot:hover img { transform: scale(1.03); }
.mp-chip { position: absolute; display: inline-flex; align-items: center; gap: 7px; background: #fff; border-radius: 999px; padding: 7px 13px; font-size: 13px; font-weight: 600; box-shadow: var(--sh); color: var(--navy); }
.mp-chip i { width: 12px; height: 12px; border-radius: 3px; } .mp-chip i.s-sale { background: var(--sale); } .mp-chip i.s-sold { background: var(--sold); } .mp-chip i.s-none { background: #E3DDD1; border: 1px solid #8F8778; }
.mp-chip.c1 { left: 18px; top: 18px; } .mp-chip.c2 { left: 18px; top: 60px; } .mp-chip.c3 { right: 18px; bottom: 18px; }

/* listing cards */
.lgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; } .lgrid-2 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.lcard { background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s; }
.lcard:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(14,42,59,.06), 0 18px 40px rgba(14,42,59,.14); }
.lc-img { position: relative; display: block; aspect-ratio: 3/2; background: #E9E4DA; overflow: hidden; } .lc-img img { width: 100%; height: 100%; object-fit: cover; }
.lc-img .spill { position: absolute; left: 12px; top: 12px; }
.hf-badge { position: absolute; right: 12px; top: 12px; background: var(--navy); color: var(--gold-2); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; }
.oh-badge { position: absolute; left: 12px; bottom: 10px; background: #F6EBD6; color: var(--gold-ink); font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 6px; }
.lc-body { padding: 16px 18px 14px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.lc-price { font: 600 24px/1.2 var(--serif); color: var(--navy); display: flex; align-items: baseline; gap: 10px; } .lc-price small { font: 500 13px var(--sans); color: var(--sold); }
.lc-addr { font-weight: 600; text-decoration: none; color: var(--ink); font-size: 15.5px; } .lc-addr:hover { color: var(--navy); text-decoration: underline; }
.lc-comm { font-size: 14px; color: var(--muted); }
.lc-facts { font-size: 14px; color: var(--ink-2); margin-top: 4px; } /* listing brokerage uses the same font/size as the facts (NSAR IDX) */
.lc-brk { margin-top: 2px; }
.lc-foot { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line-2); margin-top: 12px; } .lc-map { font-size: 13.5px; font-weight: 600; text-decoration: none; color: var(--navy); }
.noimg { display: block; width: 100%; height: 100%; background: repeating-linear-gradient(45deg, #EEE9E0 0 10px, #E6E0D4 10px 20px); }

/* bands */
.band { padding: 56px 24px; } .band-navy { background: var(--navy); color: #fff; } .band-navy h2 { color: #fff; } .band-navy p { color: rgba(255,255,255,.8); }
.band-gold { background: #F6EBD6; } .band-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; } .band-inner > div { max-width: 560px; }
.val-inline { display: flex; gap: 8px; flex: 1; max-width: 560px; } .val-inline input { flex: 1; min-width: 0; height: 52px; border-radius: 999px; border: 0; padding: 0 20px; font-size: 16px; }

/* open houses */
.oh-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.ohcard { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: var(--r); padding: 12px; box-shadow: var(--sh); text-decoration: none; color: var(--ink); }
.oh-date { display: flex; flex-direction: column; align-items: center; width: 54px; padding: 6px 0; border-radius: 10px; background: var(--navy); color: #fff; line-height: 1.1; flex: none; } .oh-date b { font: 600 22px var(--serif); color: var(--gold-2); } .oh-date small { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.oh-img img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.oh-txt { display: flex; flex-direction: column; font-size: 13.5px; min-width: 0; } .oh-txt strong { font-size: 15px; }
.day-h { margin: 8px 0 20px; } .day-h:not(:first-child) { margin-top: 48px; }

/* communities */
.cgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; } .cgrid-lg .ccard { aspect-ratio: 4/3; }
.ccard { position: relative; aspect-ratio: 16/10; border-radius: var(--r); overflow: hidden; background: var(--navy) center/cover; text-decoration: none; color: #fff; display: flex; align-items: flex-end; transition: transform .2s; }
.ccard:hover { transform: translateY(-3px); } .cc-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,28,40,.85), rgba(10,28,40,.05) 65%); }
.ccard .stock-tag { top: 10px; bottom: auto; }
.cc-txt { position: relative; padding: 18px 20px; display: flex; flex-direction: column; } .cc-txt small { color: var(--gold-2); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: 11px; } .cc-txt strong { font: 500 26px/1.15 var(--serif); } .cc-txt span { font-size: 13.5px; color: rgba(255,255,255,.85); }

/* agents */
.avatar { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--av, var(--navy)); color: #fff; font: 600 16px var(--serif); letter-spacing: .02em; flex: none; box-shadow: inset 0 0 0 2px rgba(255,255,255,.25); }
.avatar-stack { display: inline-flex; } .avatar-stack .avatar { margin-left: -8px; box-shadow: 0 0 0 2px #fff; } .avatar-stack .avatar:first-child { margin-left: 0; } .avatar-stack.big { margin: 6px 0 14px; }
.agrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.acard { background: #fff; border-radius: var(--r); padding: 28px 20px 22px; box-shadow: var(--sh); text-decoration: none; color: var(--ink); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; transition: transform .18s; }
.acard:hover { transform: translateY(-3px); } .acard .avatar { margin-bottom: 12px; } .acard strong { font: 500 20px var(--serif); color: var(--navy); }
.acard-areas { font-size: 13.5px; color: var(--ink-2); margin-top: 6px; } .acard-stats { display: flex; gap: 6px; align-items: baseline; font-size: 12.5px; color: var(--muted); margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-2); width: 100%; justify-content: center; } .acard-stats b { color: var(--navy); font-size: 15px; margin-left: 8px; } .acard-stats b:first-child { margin-left: 0; }
.agent-hero { background: linear-gradient(120deg, var(--navy), #1D4A63); color: #fff; padding: 64px 0; }
.ah-inner { display: flex; align-items: center; gap: 40px; } .agent-hero h1 { color: #fff; margin-bottom: 6px; } .agent-hero p { color: rgba(255,255,255,.8); }
.ah-stats { display: flex; flex-wrap: wrap; gap: 22px; font-size: 14px; color: rgba(255,255,255,.8); margin-bottom: 20px; } .ah-stats b { color: var(--gold-2); }
.ah-cta { display: flex; gap: 10px; flex-wrap: wrap; }

/* posts + quotes */
.prow { display: flex; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.prow-img img { width: 110px; height: 76px; object-fit: cover; border-radius: 10px; } .prow strong { display: block; font: 500 19px/1.25 var(--serif); color: var(--navy); } .prow .muted { font-size: 13.5px; }
.quotes blockquote { margin: 0 0 16px; background: #fff; border-radius: var(--r); padding: 20px 22px; box-shadow: var(--sh); border-left: 4px solid var(--gold); }
.quotes blockquote p { font: 400 18px/1.45 var(--serif); color: var(--navy); margin-bottom: 8px; } .quotes cite { font-style: normal; font-size: 13px; color: var(--muted); }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; margin-top: 40px; }
.pcard-post { background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); text-decoration: none; color: var(--ink); display: flex; flex-direction: column; padding-bottom: 18px; }
.pcard-post > *:not(.pp-img) { margin-left: 18px; margin-right: 18px; } .pp-img { position: relative; aspect-ratio: 16/10; margin-bottom: 14px; } .pp-img img { width: 100%; height: 100%; object-fit: cover; }
.pcard-post .tag { align-self: flex-start; } .pcard-post strong { font: 500 20px/1.25 var(--serif); color: var(--navy); margin-bottom: 6px; } .pcard-post p { font-size: 14.5px; color: var(--ink-2); } .pcard-post .muted { font-size: 13px; margin-top: auto; }
.post { padding-top: 40px; padding-bottom: 80px; } .post h1 { margin-top: 8px; } .back { display: block; margin-bottom: 18px; }
.byline { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.post-fig { position: relative; margin: 0 0 24px; border-radius: var(--r); overflow: hidden; } .post h2 { margin-top: 36px; }

/* page hero */
.page-hero { position: relative; background: var(--tint); padding: 64px 0 52px; border-bottom: 1px solid var(--line); overflow: hidden; }
.page-hero p { font-size: 18.5px; color: var(--ink-2); max-width: 680px; margin: 0; }
.page-hero.has-img { background-color: var(--navy); background-position: center; background-size: cover; color: #fff; padding: 96px 0 72px; border: 0; }
.page-hero.has-img::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,28,40,.88), rgba(10,28,40,.45)); }
.page-hero.has-img .wrap { position: relative; } .page-hero.has-img h1 { color: #fff; } .page-hero.has-img p { color: rgba(255,255,255,.86); } .page-hero.has-img .eyebrow { color: var(--gold-2); }

/* toolbar / tabs / kpis */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; } .toolbar h2 { margin: 0; }
.tabs { display: flex; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px; flex-wrap: wrap; }
.tabs a { padding: 7px 15px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 14px; color: var(--ink-2); } .tabs a.is-on { background: var(--navy); color: #fff; }
.tb-right { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.tb-right select, .fsel select { height: 40px; border: 1px solid #CFC8BB; border-radius: 999px; padding: 0 30px 0 14px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%230E2A3B' stroke-width='1.6'/%3E%3C/svg%3E") right 10px center/12px no-repeat; appearance: none; font-size: 14px; cursor: pointer; }
.count { margin: 0 0 14px; font-size: 14px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 36px; }
.kpis > div { background: #fff; border-radius: var(--r); padding: 20px; box-shadow: var(--sh); } .kpis b { display: block; font: 500 30px/1.15 var(--serif); color: var(--navy); } .kpis span { font-size: 13.5px; color: var(--muted); }
.kpis.sm b { font-size: 22px; } .kpis.sm { gap: 10px; margin: 16px 0 20px; } .kpis.sm > div { box-shadow: none; border: 1px solid var(--line); padding: 14px; }
.idx-note { font-size: 13px; color: var(--muted); margin-top: 32px; padding: 14px 16px; background: var(--tint); border-radius: var(--r-sm); }
.crumbs { font-size: 13.5px; color: var(--muted); padding-top: 20px; padding-bottom: 14px; } .crumbs a { color: var(--ink-2); }

/* listing detail */
.ld-gallery { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 8px; border-radius: 18px; overflow: hidden; }
.ldg { border: 0; padding: 0; cursor: zoom-in; background: #E9E4DA; overflow: hidden; } .ldg img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; } .ldg:hover img { transform: scale(1.04); }
.ldg-0 { grid-row: span 2; } .ldg-3 { grid-column: span 2; }
.ldg-all { position: absolute; left: 14px; bottom: 14px; z-index: 2; } .ld-gallery .stock-tag { right: 12px; bottom: 12px; font-size: 12px; }
.ld-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; padding-top: 32px; padding-bottom: 24px; align-items: start; }
.ld-head { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; } .ld-head h1 { font-size: clamp(28px, 3.2vw, 40px); margin: 10px 0 4px; }
.ld-price { font: 600 36px/1.1 var(--serif); color: var(--navy); text-align: right; white-space: nowrap; } .ld-keys { font: 500 15px var(--sans); color: var(--ink-2); margin: 6px 0 0; }
.ld-brk { font-size: 15px; color: var(--ink-2); margin: 10px 0 0; } /* same size as other listing details */
.ld-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0 8px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.ld-sec { padding: 28px 0; border-bottom: 1px solid var(--line); } .ld-sec h2 { font-size: 24px; display: flex; align-items: center; gap: 10px; } .ld-sec h2 .tag { margin: 0; font-family: var(--sans); }
.dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin: 0; } .dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: 15px; }
.dl dt { color: var(--muted); } .dl dd { margin: 0; font-weight: 600; text-align: right; color: var(--ink); } .dl-1 { grid-template-columns: 1fr; }
.ld-lot { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: start; }
.ld-map { position: relative; height: 300px; border-radius: var(--r); overflow: hidden; background: #DDE3E6; }
.ld-map-note { position: absolute; left: 10px; top: 10px; z-index: 500; background: #fff; padding: 6px 10px; border-radius: 8px; font-size: 13px; font-weight: 600; box-shadow: var(--sh); text-decoration: none; }
.zone-plain { margin-top: 16px; padding: 14px 16px; background: #F1F5F8; border-radius: var(--r-sm); font-size: 14.5px; } .zone-plain.flood { background: #EAF3FB; }
.ld-side { position: sticky; top: calc(var(--hdr) + 20px); display: flex; flex-direction: column; gap: 16px; }
.side-card { background: #fff; border-radius: var(--r); padding: 22px; box-shadow: var(--sh); border: 1px solid var(--line-2); } .side-card h3 { margin-bottom: 6px; } .side-card.mini p { font-size: 14.5px; color: var(--ink-2); }
.side-card.side-sep { border-top: 4px solid var(--gold); } .side-card.agent-front { border-top: 4px solid var(--navy); }
.side-card.wide { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.sa-row { display: flex; align-items: center; gap: 14px; margin: 6px 0 16px; } .sa-row > div { display: flex; flex-direction: column; font-size: 14px; color: var(--muted); } .sa-row strong { font: 500 20px var(--serif); color: var(--navy); }
.inline-form { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.inline-form input, .inline-form textarea, .inline-form select { width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 15px; background: #fff; resize: vertical; } .inline-form input:focus, .inline-form textarea:focus { outline: none; border-color: var(--navy); }
.calc { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 12px; align-items: end; }
.calc label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); font-weight: 600; } .calc input, .calc select { height: 42px; border: 1.5px solid var(--line); border-radius: 10px; padding: 0 10px; font-size: 15px; background: #fff; color: var(--ink); font-weight: 500; min-width: 0; }
.calc-out { grid-column: 1 / -1; background: var(--navy); color: #fff; border-radius: 12px; padding: 14px 18px; display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: center; } .calc-out span { grid-column: 1; } .calc-out b { grid-column: 1; } .calc-out small { grid-column: 2; grid-row: 1 / span 2; } .calc-out span { font-size: 12px; color: rgba(255,255,255,.7); } .calc-out b { font: 500 26px var(--serif); color: var(--gold-2); } .calc-out small { font-size: 11px; color: rgba(255,255,255,.6); line-height: 1.35; }
.side-card .calc { grid-template-columns: 1fr 1fr; }  .side-card .calc-out { grid-column: span 2; }

/* steps / guides */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; } .steps.compact { grid-template-columns: 1fr; gap: 12px; }
.steps li { background: #fff; border-radius: var(--r); padding: 22px; box-shadow: var(--sh); } .steps.compact li { display: flex; gap: 14px; padding: 16px 18px; }
.step-n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #F6EBD6; color: var(--gold-ink); font: 600 17px var(--serif); margin-bottom: 12px; flex: none; } .steps.compact .step-n { margin: 0; }
.steps h3 { font-size: 18px; margin-bottom: 4px; } .steps p { font-size: 14.5px; color: var(--ink-2); margin: 0; }
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; } .perk { background: #fff; border-radius: var(--r); padding: 24px; box-shadow: var(--sh); border-top: 3px solid var(--gold); } .perk p { font-size: 14.5px; color: var(--ink-2); margin: 0; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } .plan { background: #fff; border-radius: var(--r); padding: 24px; box-shadow: var(--sh); text-align: center; } .plan b { display: block; font: 500 40px var(--serif); color: var(--navy); } .plan span { font-size: 14px; color: var(--muted); } .plan.is-pop { box-shadow: 0 0 0 2px var(--gold), var(--sh); }
.area-list { list-style: none; padding: 0; margin: 0; } .area-list li { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line-2); } .area-list li span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }

/* forms */
.fld { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); } .fld i { color: var(--sold); font-style: normal; }
.fld input, .fld select, .fld textarea { height: 46px; border: 1.5px solid var(--line); border-radius: 10px; padding: 0 12px; font-size: 15.5px; font-weight: 400; color: var(--ink); background: #fff; width: 100%; } .fld textarea { height: auto; padding: 10px 12px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(14,42,59,.08); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; } .fgrid .fld:nth-child(3):last-child { grid-column: span 2; }
.chk { display: flex; gap: 8px; align-items: center; font-size: 14px; margin: 6px 0; } .chk input { width: 18px; height: 18px; accent-color: var(--navy); }
.val-sec h2 { margin-bottom: 4px; } .val-form { margin-top: 18px; } .ac-wrap { position: relative; }
.val-result { margin-top: 24px; background: #fff; border-radius: var(--r); padding: 24px; box-shadow: var(--sh); border-top: 4px solid var(--gold); }
.vr-range { font: 500 40px/1.1 var(--serif); color: var(--navy); margin-bottom: 8px; }

/* modal */
.modal-backdrop { position: fixed; inset: 0; z-index: 3000; background: rgba(10,20,30,.55); display: grid; place-items: center; padding: 20px; backdrop-filter: blur(3px); animation: fade .15s; }
.modal-backdrop[hidden] { display: none; }
.modal { background: #fff; border-radius: 20px; width: min(560px, 100%); max-height: calc(100vh - 40px); overflow: auto; box-shadow: var(--sh-lg); animation: pop .18s; }
.modal-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; padding: 22px 24px 8px; } .modal-head h2 { font-size: 24px; margin: 0 0 4px; } .modal-head p { margin: 0; font-size: 14px; }
.modal-body { padding: 10px 24px; } .modal-foot { display: flex; justify-content: flex-end; align-items: center; gap: 10px; padding: 14px 24px 22px; border-top: 1px solid var(--line-2); flex-wrap: wrap; } .modal-foot .pill { margin-right: auto; }
.modal textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 12px; font-size: 15px; line-height: 1.5; resize: vertical; }
.disclaimer { margin: 10px 0; padding: 14px 16px; background: var(--tint); border-radius: 10px; font-size: 13px; color: var(--ink-2); max-height: 200px; overflow: auto; } .disclaimer p { margin-bottom: .6em; }
.slot-days { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-bottom: 10px; }
.slot input, .chip-r input { position: absolute; opacity: 0; } .slot span { display: flex; flex-direction: column; align-items: center; padding: 8px 0; border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; line-height: 1.2; } .slot b { font: 600 20px var(--serif); color: var(--navy); } .slot small { font-size: 11px; color: var(--muted); text-transform: uppercase; }
.slot input:checked + span { border-color: var(--navy); background: var(--navy); } .slot input:checked + span b, .slot input:checked + span small { color: #fff; }
.slot-times { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; } .chip-r span, button.chip-r { display: inline-block; padding: 7px 12px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 14px; cursor: pointer; background: #fff; } .chip-r input:checked + span, button.chip-r.on { border-color: var(--navy); background: var(--navy); color: #fff; }
.tone { display: flex; gap: 6px; margin-bottom: 10px; }
.modal.lightbox { width: min(1100px, 100%); background: #0B1219; position: relative; overflow: hidden; } .lightbox figure { margin: 0; } .lightbox img { width: 100%; max-height: 78vh; object-fit: contain; } .lightbox figcaption { color: #cfd6dc; font-size: 13px; padding: 12px 16px; }
.lb-close { position: absolute; right: 12px; top: 12px; z-index: 2; } .lb-nav { position: absolute; top: 45%; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); font-size: 28px; cursor: pointer; } .lb-nav.prev { left: 12px; } .lb-nav.next { right: 12px; }
@keyframes pop { from { transform: translateY(8px) scale(.98); opacity: 0; } } @keyframes fade { from { opacity: 0; } }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 160%); visibility: hidden; opacity: 0; z-index: 4000; background: var(--navy); color: #fff; padding: 13px 20px; border-radius: 14px; box-shadow: var(--sh-lg); font-size: 14.5px; max-width: min(620px, calc(100vw - 32px)); transition: transform .25s; } .toast.show { transform: translate(-50%, 0); visibility: visible; opacity: 1; } .toast { transition: transform .25s, opacity .25s, visibility .25s; } .toast a { color: var(--gold-2); font-weight: 600; }

/* footer */
.site-footer { background: #0A1F2C; color: rgba(255,255,255,.72); padding: 64px 0 28px; font-size: 14.5px; }
.ft-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-footer h3 { font: 600 12px var(--sans); color: var(--gold-2); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.ft-grid a:not(.logo) { display: block; color: rgba(255,255,255,.8); text-decoration: none; padding: 4px 0; } .ft-grid a:hover { color: #fff; }
.ft-brand p { margin-top: 16px; line-height: 1.7; } .ft-fict { font-size: 12.5px; color: var(--gold-2); }
.ft-legal { padding-top: 24px; font-size: 12.5px; line-height: 1.6; color: rgba(255,255,255,.58); } .ft-legal b { color: rgba(255,255,255,.82); }
.ft-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 10px; } .powered b { color: var(--gold-2); letter-spacing: .02em; }

/* ================= MAP VIEW ================= */
body[data-page=map] { overflow: hidden; }
.mapview { position: fixed; top: calc(var(--rib) + var(--hdr)); left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; background: #EDE9E1; }
.mapview[hidden] { display: none; }
.mv-bar { display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: #fff; border-bottom: 1px solid var(--line); z-index: 600; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.mv-bar::-webkit-scrollbar { display: none; }
.omni { position: relative; flex: 0 0 300px; } .omni svg { position: absolute; left: 12px; top: 50%; width: 17px; height: 17px; transform: translateY(-50%); color: var(--muted); }
.omni input { width: 100%; height: 40px; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 14px 0 36px; font-size: 14.5px; background: var(--paper); } .omni input:focus { outline: none; border-color: var(--navy); background: #fff; }
.omni-out { position: fixed; z-index: 2000; list-style: none; margin: 6px 0 0; padding: 6px; background: #fff; border-radius: 14px; box-shadow: var(--sh-lg); width: 380px; max-height: 60vh; overflow: auto; border: 1px solid var(--line); }
.ac-wrap .omni-out { position: absolute; top: 100%; left: 0; width: 100%; margin-top: -8px; }
.omni-out li { display: flex; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 10px; cursor: pointer; } .omni-out li:hover { background: var(--tint); } .omni-out li.none { color: var(--muted); font-size: 13.5px; cursor: default; }
.omni-out strong { display: block; font-size: 14.5px; } .omni-out small { font-size: 12.5px; color: var(--muted); }
.oi { width: 14px; height: 14px; border-radius: 4px; flex: none; background: #E3DDD1; border: 1px solid #8F8778; } .oi.s-sale { background: var(--sale); border: 0; } .oi.s-sold { background: var(--sold); border: 0; } .oi.s-pending { background: var(--pending); border: 0; } .oi.s-rent { background: var(--rent); border: 0; } .oi.s-soon { background: #fff; border: 2px solid var(--sale); } .oi.oi-area { background: var(--gold); border: 0; border-radius: 50%; }
.fchips { display: flex; gap: 6px; flex: none; }
.fchip { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: 13.5px; font-weight: 600; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.fchip .sw { width: 12px; height: 12px; border-radius: 3px; } .fchip.s-sale .sw { background: var(--sale); } .fchip.s-pending .sw { background: var(--pending); } .fchip.s-sold .sw { background: var(--sold); } .fchip.s-rent .sw { background: var(--rent); } .fchip.s-soon .sw { background: #fff; border: 2px solid var(--sale); }
.fchip[aria-pressed=true] { border-color: var(--navy); color: var(--navy); background: #F1F4F7; } .fchip[aria-pressed=false] { opacity: .55; } .fchip[aria-pressed=false] .sw { filter: grayscale(1); }
.fsel { display: flex; gap: 6px; flex: none; } .fsel select { height: 36px; font-size: 13.5px; }
.ftoggles { display: flex; gap: 14px; align-items: center; margin-left: auto; flex: none; }
.tog { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); cursor: pointer; white-space: nowrap; } .tog input { position: absolute; opacity: 0; }
.tog-ui { width: 34px; height: 20px; border-radius: 999px; background: #CFC8BB; position: relative; transition: background .15s; flex: none; } .tog-ui::after { content: ''; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.tog input:checked + .tog-ui { background: var(--navy); } .tog input:checked + .tog-ui::after { transform: translateX(14px); } .tog input:focus-visible + .tog-ui { outline: 3px solid var(--gold-2); }
.mv-body { position: relative; flex: 1; display: flex; min-height: 0; }
.mv-panel { width: 360px; flex: none; background: #fff; border-right: 1px solid var(--line); display: flex; flex-direction: column; z-index: 500; }
.mv-grip { display: none; } .mv-panel-body { overflow: auto; flex: 1; padding: 6px 10px 20px; }
.mvp-head { padding: 12px 8px 10px; display: flex; flex-direction: column; } .mvp-head h2 { font-size: 22px; margin: 0; } .mvp-head .muted { font-size: 13px; }
.lrow { display: flex; gap: 12px; width: 100%; text-align: left; border: 1px solid transparent; background: none; padding: 10px 8px; border-radius: 12px; cursor: pointer; align-items: flex-start; }
.lrow:hover { background: var(--paper); border-color: var(--line); } .lrow.is-sel { background: #F1F4F7; border-color: var(--navy); }
.lrow-img { width: 92px; height: 74px; border-radius: 9px; overflow: hidden; flex: none; background: #E9E4DA; } .lrow-img img { width: 100%; height: 100%; object-fit: cover; }
.lrow-main { display: flex; flex-direction: column; min-width: 0; font-size: 13px; color: var(--ink-2); gap: 1px; } .lrow-main .spill { align-self: flex-start; height: 20px; font-size: 11px; padding: 0 7px; margin-bottom: 3px; }
.lrow-main strong { font: 600 18px/1.2 var(--serif); color: var(--navy); } .lrow-addr { font-weight: 600; color: var(--ink); font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lrow-brk, .lrow-facts { font-size: 13px; }
.empty { padding: 24px 10px; text-align: center; }
.mv-map-wrap { position: relative; flex: 1; min-width: 0; } #map { position: absolute; inset: 0; background: #EDE9E1; }
.base-tiles { filter: saturate(.35) sepia(.1) brightness(1.06) contrast(.88); }
.mv-status { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); z-index: 700; background: rgba(14,42,59,.92); color: #fff; padding: 8px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; box-shadow: var(--sh); white-space: nowrap; }
.mv-status[hidden] { display: none; }
.mv-status.is-action { background: var(--gold); cursor: pointer; }
.spin { width: 13px; height: 13px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; } .nl-out .spin { border-color: #ccc; border-top-color: var(--navy); }
@keyframes spin { to { transform: rotate(360deg); } }
.mv-legend { position: absolute; left: 14px; bottom: 26px; z-index: 600; background: rgba(255,255,255,.97); border-radius: 14px; box-shadow: var(--sh); padding: 10px 14px 12px; min-width: 200px; font-size: 13px; }
.lg-toggle { border: 0; background: none; padding: 0 0 6px; font: 600 11.5px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); cursor: pointer; width: 100%; text-align: left; }
.mv-legend ul { list-style: none; margin: 0; padding: 0; } .mv-legend.is-closed ul { display: none; } .mv-legend.is-closed { padding-bottom: 4px; min-width: 0; }
.mv-legend li { display: flex; align-items: center; gap: 9px; padding: 3px 0; } .mv-legend li b { margin-left: auto; padding-left: 16px; color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.lg-sw { width: 18px; height: 13px; border-radius: 3px; flex: none; } .lg-sw.s-sale { background: rgba(30,111,232,.6); border: 1.5px solid var(--sale); } .lg-sw.s-pending { background: rgba(232,121,14,.6); border: 1.5px solid var(--pending); } .lg-sw.s-sold { background: rgba(217,54,54,.6); border: 1.5px solid var(--sold); } .lg-sw.s-rent { background: rgba(15,138,126,.6); border: 1.5px solid var(--rent); } .lg-sw.s-soon { background: #fff; border: 1.5px dashed var(--sale); } .lg-sw.s-none { background: rgba(227,221,209,.6); border: 1px solid #8F8778; }
.lg-note { font-size: 12px; color: var(--muted); border-top: 1px solid var(--line-2); margin-top: 5px; padding-top: 7px !important; } .lg-hf { width: 14px; height: 14px; border-radius: 50%; border: 2.5px solid var(--gold); flex: none; }
.mv-tools { position: absolute; right: 14px; top: 14px; z-index: 650; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.tgroup { display: flex; flex-direction: column; background: #fff; border-radius: 12px; box-shadow: var(--sh); overflow: hidden; }
.tgroup button { min-width: 42px; height: 42px; border: 0; border-bottom: 1px solid var(--line-2); background: #fff; font-size: 20px; cursor: pointer; color: var(--navy); display: flex; align-items: center; gap: 8px; padding: 0 12px; justify-content: center; } .tgroup button:last-child { border-bottom: 0; }
.tgroup button span { font-size: 13px; font-weight: 600; } .tgroup button svg { width: 18px; height: 18px; } .tgroup button[aria-pressed=true] { background: var(--navy); color: #fff; } .tgroup button:hover:not([aria-pressed=true]) { background: var(--tint); }
.tgroup:nth-child(2) button { justify-content: flex-start; }
.areas-pop { background: #fff; border-radius: 12px; box-shadow: var(--sh); padding: 6px; display: flex; flex-direction: column; } .areas-pop[hidden] { display: none; } .areas-pop button { border: 0; background: none; text-align: left; padding: 8px 12px; border-radius: 8px; cursor: pointer; font-size: 14px; font-weight: 500; } .areas-pop button:hover { background: var(--tint); }
.is-measuring { cursor: crosshair !important; } .measure-tip span { display: inline-block; background: var(--navy); color: #fff; font-size: 12.5px; font-weight: 600; padding: 4px 8px; border-radius: 6px; white-space: nowrap; transform: translate(10px, -26px); }
/* price pills on the map */
.pill-mk { background: none; border: 0; } .pill-mk span { position: relative; display: inline-flex; align-items: center; gap: 4px; transform: translate(-50%, calc(-100% - 9px)); padding: 3px 8px; border-radius: 999px; background: #fff; color: var(--ink); font: 700 12px/1.2 var(--sans); white-space: nowrap; box-shadow: 0 1px 4px rgba(0,0,0,.25); border: 2px solid currentColor; cursor: pointer; transition: transform .12s; }
.pill-mk.s-sale span { color: var(--sale); } .pill-mk.s-pending span { color: var(--pending); } .pill-mk.s-sold span { color: var(--sold); } .pill-mk.s-rent span { color: var(--rent); } .pill-mk.s-soon span { color: var(--sale); border-style: dashed; }
.pill-mk span b.oh { background: var(--gold); color: #fff; font-size: 9.5px; border-radius: 4px; padding: 1px 3px; }
.pill-mk.is-hf span { box-shadow: 0 0 0 2.5px var(--gold), 0 2px 6px rgba(0,0,0,.25); }
.pill-mk span::after { content: ''; position: absolute; left: 50%; bottom: -7px; width: 8px; height: 8px; background: inherit; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateX(-50%) rotate(45deg); border-radius: 0 0 2px 0; }
.pill-mk.is-sel span::after { border-color: var(--navy); }
.pill-mk span:hover, .pill-mk.is-sel span { transform: translate(-50%, calc(-100% - 9px)) scale(1.1); transform-origin: 50% 100%; } .pill-mk.is-sel span { background: var(--navy); color: #fff; border-color: var(--navy); }
.pill-mk.is-dot span { width: 14px; height: 14px; padding: 0; background: currentColor; border: 2px solid #fff; transform: translate(-50%, -50%); } .pill-mk.is-dot span::after { display: none; }
.civic span { display: inline-block; transform: translate(-50%, -50%); font: 600 10.5px/1 var(--sans); color: #5B554B; text-shadow: 0 0 2px #fff, 0 0 2px #fff, 0 0 3px #fff; white-space: nowrap; pointer-events: none; } .civic i { font-style: normal; font-size: 8.5px; margin-left: 3px; background: #6C665C; color: #fff; padding: 1px 3px; border-radius: 3px; text-shadow: none; }
body.is-sat .civic span { color: #fff; text-shadow: 0 0 3px #000, 0 0 2px #000; }
.hf-tip { background: var(--navy); color: #fff; border: 0; border-radius: 8px; font-size: 12.5px; font-weight: 600; padding: 5px 9px; box-shadow: var(--sh); } .hf-tip::before { display: none; }
.leaflet-container { font-family: var(--sans); } .leaflet-control-attribution { font-size: 10.5px; background: rgba(255,255,255,.85) !important; } .leaflet-control-scale { margin-bottom: 26px !important; }
/* property card */
.pcard { position: absolute; top: 12px; right: 12px; bottom: 12px; width: 430px; z-index: 800; background: #fff; border-radius: 18px; box-shadow: var(--sh-lg); transform: translateX(calc(100% + 30px)); transition: transform .28s cubic-bezier(.2,.8,.2,1); overflow: hidden; display: flex; }
.pcard.is-open { transform: none; } .pcard-inner { overflow: auto; flex: 1; }
body.card-open .mv-tools { right: 456px; transition: right .28s; }
.pc-top { position: relative; } .pc-close { position: absolute; right: 12px; top: 12px; z-index: 3; box-shadow: var(--sh); }
.pc-gallery { position: relative; display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 110px 110px; gap: 4px; }
.pc-ph { border: 0; padding: 0; overflow: hidden; cursor: zoom-in; background: #E9E4DA; } .pc-ph img { width: 100%; height: 100%; object-fit: cover; } .pc-ph.main { grid-row: span 2; }
.pc-noimg { height: 120px; background: var(--tint); display: grid; place-items: center; color: var(--muted); font-size: 13px; }
.pc-unlisted-art { height: 170px; background: linear-gradient(135deg, #F3EFE7, #E7E1D5); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; } .pc-unlisted-art svg { width: 150px; } .pc-unlisted-art span { font-size: 12.5px; font-weight: 600; color: var(--muted); letter-spacing: .04em; }
.pc-body { padding: 18px 22px 24px; }
.pc-status { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; }
.pc-price { font: 600 32px/1.15 var(--serif); color: var(--navy); margin-top: 10px; } .pc-price small { font: 500 14px var(--sans); color: var(--muted); }
.pc-addr { font: 600 19px/1.3 var(--sans); color: var(--ink); margin: 6px 0 0; } .pc-comm { color: var(--muted); font-size: 14px; margin: 0 0 8px; }
.pc-keys { display: flex; gap: 14px; font-size: 15px; font-weight: 600; color: var(--ink-2); margin: 0 0 12px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; margin: 10px 0 14px; }
.fact { background: #fff; padding: 9px 12px; display: flex; flex-direction: column; gap: 1px; font-size: 14px; } .fact span { font-size: 12px; color: var(--muted); font-weight: 600; } .fact strong { font-weight: 600; color: var(--ink); font-size: 14px; } .fact-wide { grid-column: span 2; }
.fact-brk strong { font-size: 14px; } /* listing brokerage: same font + size as other facts */
.est { font-style: normal; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--gold-ink); background: #F6EBD6; padding: 1px 5px; border-radius: 4px; margin-left: 4px; vertical-align: 1px; }
.shimmer { color: var(--muted); font-weight: 500; }
.pc-blurb { font-size: 14.5px; color: var(--ink-2); }
.pc-actions { display: flex; gap: 8px; margin: 16px 0; flex-wrap: wrap; } .pc-actions .btn { flex: 1; }
.pc-agent { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); flex-wrap: wrap; }
.pc-agent > div { display: flex; flex-direction: column; font-size: 13.5px; color: var(--muted); flex: 1; min-width: 160px; } .pc-agent strong { font: 500 18px var(--serif); color: var(--navy); } .pc-agent .eyebrow { margin: 0 0 2px; font-size: 10.5px; } .pc-agent a { font-weight: 600; text-decoration: none; }
.pc-contact-band { margin-top: 4px; padding: 16px; border-radius: 14px; background: #F6EBD6; } .pc-contact-band .eyebrow { margin-bottom: 4px; } .pc-contact-band p { font-size: 14px; color: var(--ink-2); margin-bottom: 10px; }
.pc-cb-row { display: flex; align-items: center; justify-content: space-between; } .pc-cb-row a { font-weight: 700; text-decoration: none; }

/* ================= DASHBOARD ================= */
.dash { display: flex; min-height: calc(100vh - var(--rib)); background: #F4F2EE; }
.dside { width: 248px; flex: none; background: var(--navy); color: #fff; padding: 22px 14px; display: flex; flex-direction: column; position: sticky; top: 0; height: calc(100vh - var(--rib)); }
.dside .logo { padding: 0 8px 22px; } .dside .logo-word small { letter-spacing: .14em; }
.dnav { display: flex; flex-direction: column; gap: 2px; }
.dnav a { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 10px; color: rgba(255,255,255,.75); text-decoration: none; font-size: 14.5px; font-weight: 500; } .dnav a svg { width: 19px; height: 19px; flex: none; }
.dnav a:hover { background: rgba(255,255,255,.07); color: #fff; } .dnav a.is-on { background: rgba(226,182,107,.16); color: var(--gold-2); }
.badge { margin-left: auto; background: var(--gold); color: #fff; font-size: 11.5px; border-radius: 999px; padding: 1px 7px; }
.dside-foot { margin-top: auto; display: flex; flex-direction: column; gap: 8px; padding: 0 12px; font-size: 13px; } .dside-foot a { color: rgba(255,255,255,.85); text-decoration: none; } .dside-foot button { background: none; border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.8); border-radius: 8px; padding: 6px; cursor: pointer; font-size: 12.5px; } .dside-foot span { color: var(--gold-2); font-size: 12px; }
.dmain { flex: 1; min-width: 0; }
.dtop { display: flex; justify-content: space-between; align-items: center; padding: 14px 32px; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.me { display: inline-flex; align-items: center; gap: 8px; } .me select { border: 1px solid var(--line); border-radius: 999px; height: 36px; padding: 0 12px; background: #fff; font-size: 14px; font-weight: 600; }
.dcontent { padding: 28px 32px 60px; max-width: 1400px; }
.dh { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 22px; } .dh h1 { font-size: 32px; margin-bottom: 4px; } .dh p { margin: 0; }
.dkpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
.dk { background: #fff; border-radius: var(--r); padding: 18px 20px; box-shadow: var(--sh); display: flex; flex-direction: column; } .dk b { font: 500 30px/1.15 var(--serif); color: var(--navy); } .dk span { font-size: 13.5px; color: var(--muted); } .dk em { font-style: normal; font-size: 12.5px; color: var(--ok); font-weight: 600; margin-top: 4px; }
.dgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; } .span2 { grid-column: span 2; } .span3 { grid-column: span 3; }
.dpanel { background: #fff; border-radius: var(--r); padding: 18px 20px; box-shadow: var(--sh); margin-bottom: 16px; min-width: 0; overflow-x: auto; } .dgrid .dpanel { margin-bottom: 0; }
.dp-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; gap: 10px; } .dp-head h2 { font-size: 19px; margin: 0; } .dp-head a { font-size: 13.5px; font-weight: 600; text-decoration: none; }
.dtable { width: 100%; border-collapse: collapse; font-size: 14px; } .dtable th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.dtable td { padding: 11px 10px; border-bottom: 1px solid var(--line-2); vertical-align: middle; } .dtable tr:last-child td { border-bottom: 0; } .dtable td small { display: block; color: var(--muted); font-size: 12.5px; } .dtable tbody tr[data-lead] { cursor: pointer; } .dtable tbody tr:hover { background: #FBFAF7; }
.who { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.lstat { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: #EEE; color: #555; white-space: nowrap; }
.ls-new, .ls-requested { background: #FDECEC; color: #B42323; } .ls-contacted, .ls-new-time-proposed { background: #EAF1FD; color: #1D57B5; } .ls-appointment-set, .ls-showing-booked, .ls-confirmed, .ls-feedback-sent { background: #E6F4EC; color: var(--ok); } .ls-nurture, .ls-draft { background: #F6EBD6; color: var(--gold-ink); } .ls-feedback-due, .ls-pending { background: #FFF2E1; color: #A85A07; } .ls-declined, .ls-closed { background: #EEE; color: #666; }
.hbars { list-style: none; padding: 0; margin: 0; } .hbars li { display: grid; grid-template-columns: 130px 1fr 30px; gap: 10px; align-items: center; padding: 6px 0; font-size: 13.5px; } .hbars i { height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--navy), #2C6A8E); } .hbars b { text-align: right; }
.mini-row { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line-2); } .mini-row > span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 14px; } .mini-row small { color: var(--muted); font-size: 12.5px; }
.md { display: flex; flex-direction: column; align-items: center; width: 42px; background: var(--tint); border-radius: 8px; padding: 4px 0; line-height: 1.1; } .md b { font: 600 17px var(--serif); color: var(--navy); } .md small { font-size: 10.5px; text-transform: uppercase; }
.parcel-ico { width: 44px; height: 44px; border-radius: 8px; background: #E3DDD1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M8 12l20-4 5 18-21 6z' fill='none' stroke='%230E2A3B' stroke-width='2' stroke-dasharray='4 3'/%3E%3C/svg%3E") center/30px no-repeat; flex: none; }
/* inbox */
.inbox { display: grid; grid-template-columns: 400px 1fr; gap: 16px; align-items: start; }
.ib-list { background: #fff; border-radius: var(--r); box-shadow: var(--sh); overflow: hidden; max-height: calc(100vh - 220px); overflow-y: auto; }
.ib-tabs { display: flex; gap: 4px; padding: 10px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 1; flex-wrap: wrap; } .ib-tabs button { border: 0; background: none; padding: 6px 10px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; } .ib-tabs button b { color: var(--ink-2); margin-left: 3px; } .ib-tabs button.is-on { background: var(--navy); color: #fff; } .ib-tabs button.is-on b { color: var(--gold-2); }
.ib-row { display: flex; flex-direction: column; gap: 3px; width: 100%; text-align: left; border: 0; border-bottom: 1px solid var(--line-2); background: #fff; padding: 13px 16px; cursor: pointer; border-left: 3px solid transparent; }
.ib-row:hover { background: #FBFAF7; } .ib-row.is-sel { background: #F1F4F7; border-left-color: var(--navy); } .ib-row.is-new .ib-top strong::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--sold); margin-right: 7px; vertical-align: 1px; }
.ib-top { display: flex; justify-content: space-between; gap: 8px; } .ib-top small { color: var(--muted); font-size: 12px; white-space: nowrap; }
.ib-src { font-size: 12.5px; font-weight: 600; color: var(--gold-ink); } .fresh { font-style: normal; background: var(--ok); color: #fff; padding: 1px 6px; border-radius: 4px; font-size: 10.5px; margin-left: 4px; }
.ib-msg { font-size: 13.5px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ib-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; font-size: 12.5px; }
.ib-detail { background: #fff; border-radius: var(--r); box-shadow: var(--sh); padding: 24px; }
.ibd-head { display: flex; justify-content: space-between; gap: 16px; } .ibd-head h2 { font-size: 26px; margin-bottom: 2px; }
.score { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; border: 3px solid var(--gold); flex: none; } .score b { font: 600 22px/1 var(--serif); color: var(--navy); } .score small { font-size: 10px; color: var(--muted); text-transform: uppercase; }
.ibd-msg { background: var(--paper); border-radius: 12px; padding: 14px 16px; margin: 16px 0; } .ibd-msg p { font: 400 18px/1.45 var(--serif); color: var(--navy); margin: 0; }
.ibd-prop { display: flex; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); margin-bottom: 16px; } .ibd-prop img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; } .ibd-prop span { display: flex; flex-direction: column; font-size: 14px; } .ibd-prop small { color: var(--muted); font-size: 12.5px; }
.route-box, .crm-box { border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin-bottom: 14px; } .route-box p { font-size: 14px; color: var(--ink-2); margin: 10px 0; }
.rb-row { display: flex; gap: 12px; align-items: center; } .rb-row > div { display: flex; flex-direction: column; font-size: 13.5px; color: var(--muted); } .rb-row strong { font: 500 18px var(--serif); color: var(--navy); }
.rb-ctl { display: flex; gap: 12px; flex-wrap: wrap; } .rb-ctl label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; } .rb-ctl select { height: 38px; border: 1.5px solid var(--line); border-radius: 9px; padding: 0 10px; font-size: 14px; text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--ink); background: #fff; }
.crm-btns { display: flex; gap: 8px; flex-wrap: wrap; } .crm-box p { font-size: 14px; } .ok { color: var(--ok); font-weight: 600; } code { background: var(--tint); padding: 1px 5px; border-radius: 4px; font-size: 12.5px; }
.ibd-actions { display: flex; gap: 8px; margin: 16px 0; flex-wrap: wrap; }
.timeline { list-style: none; padding: 0 0 0 16px; margin: 10px 0 0; border-left: 2px solid var(--line); } .timeline li { position: relative; font-size: 13.5px; color: var(--ink-2); padding: 5px 0 5px 10px; } .timeline li::before { content: ''; position: absolute; left: -22px; top: 11px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); border: 2px solid #fff; } .timeline b { color: var(--navy); margin-right: 6px; }
/* showings week */
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-bottom: 16px; }
.wday { background: #fff; border-radius: 12px; padding: 10px; min-height: 130px; box-shadow: var(--sh); display: flex; flex-direction: column; gap: 6px; } .wday.is-today { box-shadow: 0 0 0 2px var(--gold), var(--sh); }
.wd-h { display: flex; justify-content: space-between; align-items: baseline; } .wd-h small { font-size: 11.5px; text-transform: uppercase; color: var(--muted); font-weight: 700; } .wd-h b { font: 600 20px var(--serif); color: var(--navy); }
.wd-ev { font-size: 11.5px; padding: 6px 7px; border-radius: 7px; background: #EAF1FD; color: #1D57B5; line-height: 1.3; } .wd-ev b { font-weight: 600; } .ev-requested { background: #FDECEC; color: #B42323; } .ev-confirmed { background: #E6F4EC; color: var(--ok); } .ev-feedback-due { background: #FFF2E1; color: #A85A07; }
.row-acts { white-space: nowrap; } .row-acts .btn { margin-left: 4px; }
/* listing manager */
.lm-prop { display: flex; align-items: center; gap: 10px; } .lm-prop img { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; } .lm-prop span { display: flex; flex-direction: column; }
.sel-status { height: 34px; border-radius: 8px; border: 1.5px solid var(--line); padding: 0 8px; font-size: 13.5px; font-weight: 600; background: #fff; }
.sel-status.s-sale { color: var(--sale); border-color: var(--sale); } .sel-status.s-pending { color: var(--pending); border-color: var(--pending); } .sel-status.s-sold { color: var(--sold); border-color: var(--sold); } .sel-status.s-soon { color: var(--sale); border-style: dashed; border-color: var(--sale); } .sel-status.s-rent { color: var(--rent); }
.price-in { width: 120px; height: 34px; border: 1.5px solid var(--line); border-radius: 8px; padding: 0 8px; font-size: 14px; font-weight: 600; }
/* report */
.rgen { display: grid; grid-template-columns: 320px 1fr; gap: 16px; align-items: start; } .rg-form fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; margin: 4px 0 14px; } .rg-form legend { font-size: 13px; font-weight: 600; color: var(--ink-2); padding: 0 4px; }
.report { background: #fff; border-radius: var(--r); padding: 32px 36px; box-shadow: var(--sh); border-top: 6px solid var(--navy); } .rp-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--line); } .rp-head .logo-mark { width: 34px; height: 34px; }
.report h2 { font-size: 30px; margin: 0; } .report h3 { margin-top: 20px; font-size: 18px; }
.rp-note { display: flex; gap: 14px; align-items: flex-start; background: var(--paper); border-radius: 12px; padding: 16px; margin-top: 20px; } .rp-note p { margin: 0; font: 400 16px/1.5 var(--serif); color: var(--navy); } .rp-note b { font-family: var(--sans); font-size: 14px; }
.rp-foot { margin-top: 20px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.rg-acts { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 180px; padding: 10px 0 0; } .bar { flex: 1; display: flex; flex-direction: column; align-items: center; height: 100%; justify-content: flex-end; gap: 6px; }
.bar span { width: 100%; max-width: 54px; background: linear-gradient(180deg, #2C6A8E, var(--navy)); border-radius: 8px 8px 3px 3px; position: relative; display: flex; justify-content: center; } .bar span b { position: absolute; top: -20px; font-size: 12px; font-weight: 700; color: var(--navy); } .bar small { font-size: 12px; color: var(--muted); font-weight: 600; } .bar:last-child span { background: linear-gradient(180deg, var(--gold-2), var(--gold)); }
.snapshot { background: #fff; border-radius: var(--r); padding: 28px; box-shadow: var(--sh); } .snapshot .kpis > div { box-shadow: none; border: 1px solid var(--line); }
.email-prev { border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: var(--paper); } .ep-top { display: flex; justify-content: space-between; font-size: 13px; border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 10px; } .email-prev h3 { font-size: 17px; }
.ep-row { display: flex; gap: 10px; align-items: center; padding: 8px 0; } .ep-row img { width: 56px; height: 44px; border-radius: 6px; object-fit: cover; } .ep-row span { display: flex; flex-direction: column; font-size: 13px; } .ep-row small { color: var(--muted); font-size: 12px; }
.num { font: 600 18px var(--serif); color: var(--navy); }
.rules { list-style: none; padding: 0; margin: 0 0 20px; } .rules li { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line-2); } .rules li > div { flex: 1; display: flex; flex-direction: column; font-size: 14px; } .rules small { color: var(--muted); font-size: 13px; } .rules span { color: var(--ink-2); }
.rule-n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--gold-2); font-weight: 700; flex: none; }
.spec { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .spec > div { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; background: var(--paper); border-radius: 10px; font-size: 13.5px; gap: 8px; }
.crm-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line-2); gap: 10px; } .crm-row div { display: flex; flex-direction: column; font-size: 14px; } .crm-row small { color: var(--muted); font-size: 12.5px; }
.nl-out { min-height: 40px; font-size: 14px; }

/* print: report only */
@media print { body.print-report * { visibility: hidden; } body.print-report #reportDoc, body.print-report #reportDoc * { visibility: visible; } body.print-report #reportDoc { position: absolute; left: 0; top: 0; width: 100%; box-shadow: none; } }

/* ================= RESPONSIVE ================= */
@media (max-width: 1320px) { .main-nav a { padding: 8px 8px; font-size: 14.5px; } .sh-phone span { display: none; } }
@media (max-width: 1180px) {
  .main-nav { position: fixed; top: calc(var(--rib) + var(--hdr)); left: 0; right: 0; flex-direction: column; background: #fff; padding: 10px 16px 18px; border-bottom: 1px solid var(--line); box-shadow: var(--sh-lg); display: none; gap: 0; }
  .main-nav.is-open { display: flex; } .main-nav a { padding: 13px 10px; font-size: 16.5px; border-bottom: 1px solid var(--line-2); } .main-nav a.is-on::after { display: none; }
  .nav-toggle { display: flex; } .sh-inner { justify-content: space-between; }
  .steps { grid-template-columns: repeat(2, 1fr); } .perks { grid-template-columns: repeat(2, 1fr); }
  .dgrid { grid-template-columns: 1fr 1fr; } .span3 { grid-column: span 2; }
  .fsel #fType { display: none; }
}
@media (max-width: 980px) {
  .map-promo, .two-col, .ld-grid { grid-template-columns: 1fr; gap: 32px; } .ld-side { position: static; }
  .cgrid { grid-template-columns: 1fr 1fr; } .kpis, .dkpis { grid-template-columns: 1fr 1fr; }
  .stats-strip .wrap { grid-template-columns: 1fr 1fr; } .stats-strip .wrap > div:nth-child(3) { border-left: 0; }
  .ft-grid { grid-template-columns: 1fr 1fr; } .calc { grid-template-columns: 1fr 1fr; } .calc-out { grid-column: span 2; }
  .dside { width: 76px; padding: 18px 10px; } .dside .logo-word, .dnav a span, .dside-foot { display: none; } .dnav a { justify-content: center; padding: 12px; position: relative; } .dnav a .badge { position: absolute; top: 2px; right: 2px; } .dside .logo { padding: 0 0 18px; justify-content: center; }
  .inbox { grid-template-columns: 1fr; } .ib-list { max-height: 420px; } .rgen { grid-template-columns: 1fr; }
  .mv-panel { width: 300px; } .omni { flex-basis: 240px; } .pcard { width: 390px; } body.card-open .mv-tools { right: 414px; }
  .ftoggles .btn span, #saveSearch { font-size: 0; gap: 0; padding: 0 10px; } #saveSearch svg { width: 18px; height: 18px; }
}
@media (max-width: 820px) {
  :root { --hdr: 60px; --rib: 26px; }
  .demo-ribbon { font-size: 11px; } .demo-ribbon span.long { display: none; }
  .sh-inner { padding: 0 14px; gap: 10px; } .logo-mark { width: 34px; height: 34px; } .logo-word span { font-size: 19px; } .sh-right .btn-outline { display: none; } .sh-phone { display: none; }
  .wrap, .wrap-narrow { padding: 0 18px; } .sec, .wrap.sec { padding: 48px 18px; }
  .hero { min-height: 0; } .hero-inner { padding-top: 48px; padding-bottom: 48px; } .hero-sub { font-size: 16.5px; }
  .hs-row { flex-direction: column; } .hs-row .btn { width: 100%; } .hero-search { padding: 8px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .band-inner { flex-direction: column; align-items: stretch; gap: 20px; } .val-inline { flex-direction: column; max-width: none; }
  .cgrid { grid-template-columns: 1fr; } .steps, .perks, .plans { grid-template-columns: 1fr; }
  .ld-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 120px; border-radius: 14px; } .ldg-0 { grid-column: span 2; grid-row: auto; } .ldg-3, .ldg-2 { display: none; }
  .ld-head { flex-direction: column; gap: 6px; } .ld-price { text-align: left; font-size: 30px; } .ld-lot, .dl { grid-template-columns: 1fr; } .ld-actions .btn { flex: 1 1 45%; }
  .ah-inner { flex-direction: column; align-items: flex-start; gap: 20px; } .agent-hero .avatar { width: 96px !important; height: 96px !important; font-size: 34px !important; }
  .page-hero { padding: 44px 0 36px; } .page-hero.has-img { padding: 64px 0 48px; }
  .ft-grid { grid-template-columns: 1fr; gap: 24px; } .ft-bottom { flex-direction: column; }
  .slot-days { grid-template-columns: repeat(3, 1fr); } .fgrid { grid-template-columns: 1fr; } .fgrid .fld:nth-child(3):last-child { grid-column: auto; }
  .modal-backdrop { padding: 0; align-items: end; } .modal { border-radius: 20px 20px 0 0; max-height: 92vh; width: 100%; }
  .side-card.wide { flex-direction: column; align-items: flex-start; }
  /* map on phones: bar scrolls, panel becomes bottom sheet, card becomes sheet */
  .mv-bar { padding: 8px 10px; gap: 8px; } .omni { flex: 0 0 210px; } .fsel { display: none; } .ftoggles { margin-left: 0; } .ftoggles .tog:first-child { display: none; }
  .mv-body { flex-direction: column-reverse; }
  .mv-panel { position: absolute; left: 0; right: 0; bottom: 0; width: auto; height: 44%; border-right: 0; border-radius: 18px 18px 0 0; box-shadow: 0 -8px 30px rgba(14,42,59,.18); transition: height .25s; }
  .mv-panel.is-collapsed { height: 54px; } .mv-grip { display: flex; flex-direction: column; align-items: center; gap: 6px; border: 0; background: none; padding: 8px 0 6px; font-weight: 600; font-size: 14px; color: var(--navy); cursor: pointer; } .grip-bar { width: 40px; height: 4px; border-radius: 4px; background: #CFC8BB; }
  .mvp-head { display: none; } .mv-map-wrap { position: absolute; inset: 0; }
  .mv-legend { bottom: auto; top: 12px; left: 10px; min-width: 0; font-size: 12px; padding: 8px 10px; } .mv-legend:not(.is-closed) ul li:nth-child(n+6) { display: none; }
  .mv-tools { right: 10px; top: 12px; } .tgroup button span { display: none; } .tgroup:nth-child(2) button { justify-content: center; } .tgroup:first-child { display: none; }
  .mv-status { top: auto; bottom: calc(44% + 14px); font-size: 12.5px; } .mv-panel.is-collapsed ~ .mv-map-wrap .mv-status { bottom: 70px; }
  .pcard { top: auto; left: 0; right: 0; bottom: 0; width: auto; height: 74%; border-radius: 20px 20px 0 0; transform: translateY(105%); }
  body.card-open .mv-tools { right: 10px; } body.card-open .mv-panel { display: none; }
  .omni-out { width: calc(100vw - 20px); left: 10px !important; }
  .dtop { padding: 10px 14px; } .dtop .pill { display: none; } .dcontent { padding: 18px 14px 50px; } .dh { flex-direction: column; } .dh h1 { font-size: 26px; }
  .dgrid { grid-template-columns: 1fr; } .span2, .span3 { grid-column: auto; } .week { grid-template-columns: repeat(7, 120px); overflow-x: auto; }
  .dside { width: 60px; padding: 14px 6px; } .dnav a { padding: 11px 8px; }
  .report { padding: 22px 18px; } .kpis.sm { grid-template-columns: 1fr 1fr; }
  .hbars li { grid-template-columns: 110px 1fr 24px; }
}
@media (max-width: 420px) { .kpis { grid-template-columns: 1fr 1fr; gap: 10px; } .kpis b { font-size: 24px; } .dkpis { gap: 10px; } .dk b { font-size: 24px; } }

.mv-legend select { border: 1px solid var(--line); border-radius: 6px; font-size: 11.5px; padding: 1px 2px; margin-left: 2px; background: #fff; }
@media (max-width: 1520px) { .fsel #fType { display: none; } }

.rb-short { display: none; }
@media (max-width: 820px) { .rb-long { display: none; } .rb-short { display: inline; } }

@media (max-width:820px){.leaflet-control-scale{display:none}}
