/* Local Home Builders Online - map page (adapted from the eLRE CRM New Builds page) */
body.nb .main { padding-top: 12px; }

.nb-app { --nb-head: 106px; position: relative; }
.nb-app svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- title + search */
.nb-top { display: flex; flex-direction: column; gap: 10px; margin-bottom: 10px; }
.nb-title h1 { margin: 0 0 2px; }
.nb-title p { margin: 0; }
@media (max-width: 699px) { .nb-sub-long { display: none; } }
.nb-search { position: relative; }
.nb-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.nb-search input[type=search] { margin: 0; min-height: 50px; padding-left: 42px; border-radius: 12px; font-size: 16px; box-shadow: var(--shadow); border-color: #d5dbe7; }
@media (min-width: 980px) {
  .nb-top { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 24px; }
  .nb-search { flex: 0 1 560px; }
}

/* ---------- region chips */
.nb-regions { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 2px 8px; margin: 0 -2px; }
.nb-regions::-webkit-scrollbar { display: none; }
.nb-chip {
  flex: none; display: inline-flex; align-items: baseline; gap: 6px; border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  padding: 7px 13px; border-radius: 999px; font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; box-shadow: var(--shadow); white-space: nowrap;
}
.nb-chip:hover { border-color: #b9c3d8; }
.nb-chip small { font-size: .74rem; font-weight: 700; color: var(--muted); }
.nb-chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.nb-chip.on small { color: #b9c6ea; }
.nb-chip[disabled] { opacity: .45; cursor: default; }

/* ---------- filter row */
.nb-bar { display: flex; align-items: flex-start; gap: 8px; }
.nb-selects { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; flex: 1; }
.nb-selects select { margin: 0; width: auto; flex: 0 1 190px; min-width: 0; min-height: 40px; padding: 7px 30px 7px 11px; font-size: 15px; border-radius: 10px; }
.nb-selects select.set { border-color: var(--blue); background-color: var(--blue-soft); color: #1a3c99; font-weight: 600; }
.nb-price { display: flex; align-items: center; gap: 4px; flex: 0 1 250px; }
.nb-price select { flex: 1 1 0; }
.nb-check { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: .88rem; color: var(--ink-2); white-space: nowrap; cursor: pointer; }
.nb-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--blue); }
.nb-filter-btn { display: none; min-height: 44px; }
.nb-mrow { display: none; }
.nb-fcount { background: var(--blue); color: #fff; border-radius: 999px; font-size: .74rem; padding: 0 7px; line-height: 1.6; }

/* ---------- results bar */
.nb-results-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 10px 0 8px; }
.nb-count { font-weight: 700; font-size: .98rem; }
.nb-count span { font-weight: 500; color: var(--muted); }
.nb-tools { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.nb-sort { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.nb-sort select { margin: 0; width: auto; min-height: 36px; padding: 5px 28px 5px 10px; font-size: 14px; }

/* ---------- split view */
.nb-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.nb-list { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.nb-mapwrap { display: none; }
.nb-map { width: 100%; height: 100%; border-radius: var(--radius); box-shadow: var(--shadow); background: #e8ecf2; z-index: 1; }
@media (min-width: 900px) {
  .nb-split { grid-template-columns: minmax(360px, 1fr) minmax(0, 1.15fr); align-items: start; }
  .nb-mapwrap { display: block; position: sticky; top: calc(var(--nb-head) + 10px); height: calc(100vh - var(--nb-head) - 24px); min-height: 420px; }
}
@media (min-width: 1280px) {
  .nb-split { grid-template-columns: minmax(420px, 0.95fr) minmax(0, 1.2fr); }
}

/* ---------- community cards */
.nb-card {
  display: flex; flex-direction: column; background: #fff; border-radius: 13px; box-shadow: var(--shadow);
  color: var(--ink); overflow: hidden; border: 2px solid transparent; transition: border-color .12s, box-shadow .12s; cursor: pointer;
}
.nb-card-main { display: grid; grid-template-columns: 132px minmax(0, 1fr); color: inherit; text-decoration: none; }
.nb-card-main:hover { text-decoration: none; }
/* builder rep strip on the result card */
.nb-card-rep { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-top: 1px solid #e9edf5; background: linear-gradient(180deg, #f8faff, #f2f5fc); }
.nb-cr-img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; background: var(--blue-soft); box-shadow: 0 0 0 2px #fff, 0 1px 5px rgba(13,27,61,.28); }
.nb-cr-img.ini { display: grid; place-items: center; color: #2548b8; font-weight: 800; font-size: .9rem; }
.nb-cr-t { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.nb-cr-t b { font-size: .95rem; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nb-cr-t > span { font-size: .78rem; font-weight: 600; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nb-cr-act { display: flex; gap: 6px; flex: none; }
.nb-cr-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--navy); box-shadow: 0 1px 2px rgba(16,24,40,.06); }
.nb-cr-btn.call { background: var(--green); border-color: var(--green); color: #fff; }
.nb-cr-btn:hover { text-decoration: none; filter: brightness(1.06); }
.nb-app .nb-cr-btn svg { width: 18px; height: 18px; }
.nb-card.sold .nb-card-rep { background: #f6f7fa; }
.nb-card:hover, .nb-card.hot { text-decoration: none; box-shadow: 0 4px 16px rgba(16,24,40,.12); border-color: #c9d6ff; }
.nb-card.sel { border-color: var(--blue); }
.nb-card.sold { opacity: .72; }
.nb-ph { position: relative; background: linear-gradient(135deg, #dfe6f3, #eef2f9); min-height: 112px; }
.nb-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nb-ph.noimg::after, .nb-hero.noimg::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 38px; height: 38px; opacity: .35;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d1b3d' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11 12 4l9 7'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3Cpath d='M10 20v-6h4v6'/%3E%3C/svg%3E");
}
.nb-badge { position: absolute; left: 7px; top: 7px; background: rgba(13,27,61,.86); color: #fff; font-size: .68rem; font-weight: 700; padding: 2px 7px; border-radius: 6px; letter-spacing: .02em; }
.nb-badge.sold { background: #6b7489; }
.nb-body { padding: 10px 12px 10px 13px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nb-price-l { font-size: 1.12rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
.nb-price-l small { font-size: .74rem; font-weight: 600; color: var(--muted); margin-right: 3px; letter-spacing: 0; }
.nb-price-l .na { font-size: .9rem; font-weight: 600; color: var(--muted); }
.nb-name { font-weight: 700; font-size: .98rem; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nb-where { font-size: .84rem; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nb-builder { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--muted); font-weight: 600; margin-top: 2px; min-width: 0; }
.nb-builder img { height: 18px; max-width: 64px; object-fit: contain; flex: none; }
.nb-builder span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nb-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.nb-tag { font-size: .72rem; font-weight: 600; padding: 1px 7px; border-radius: 6px; background: #f1f3f8; color: var(--ink-2); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 560px) {
  .nb-card-main { grid-template-columns: 172px minmax(0, 1fr); }
  .nb-card-rep { padding-left: 14px; }
  .nb-ph { min-height: 124px; }
}
.nb-more { text-align: center; margin: 6px 0 20px; }
.nb-empty { text-align: center; padding: 40px 16px; color: var(--muted); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.nb-empty b { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: 6px; }

/* ---------- map pins + clusters + popups */
.leaflet-marker-icon.nb-pin-wrap { background: none; border: 0; }
.nb-map { --ps: 1; }
.nb-map.nb-zmid { --ps: .86; }
.nb-map.nb-zfar { --ps: .72; }
.nb-pin { display: block; width: 28px; height: 36px; cursor: pointer; transform-origin: 50% 97%; transition: transform .12s ease; transform: scale(var(--ps, 1));
  filter: drop-shadow(0 1px 1.5px rgba(0,0,0,.45)); }
.nb-pin svg { display: block; width: 28px; height: 36px; } /* beats the .nb-app svg icon size */
.nb-pin.sold { opacity: .9; }
.nb-pin.hot, .leaflet-marker-icon:hover .nb-pin { transform: scale(calc(var(--ps, 1) * 1.18)); }
.nb-pin.sel { transform: scale(calc(var(--ps, 1) * 1.32)); filter: drop-shadow(0 2px 3px rgba(0,0,0,.5)); }
.nb-bdot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; margin-left: 2px; box-shadow: 0 0 0 1.5px #fff, 0 0 0 2.5px rgba(13,27,61,.12); }
.nb-tip { padding: 6px 9px; border-radius: 8px; border: 0; box-shadow: 0 2px 10px rgba(13,27,61,.25); font: 13px/1.3 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; color: var(--ink); }
.nb-tip b { display: block; font-weight: 700; }
.nb-tip span { color: var(--muted); font-size: 12px; }
.nb-legend { background: #fff; border-radius: 10px; box-shadow: 0 1px 6px rgba(13,27,61,.3); font: 12.5px/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; max-width: 210px; overflow: hidden; }
.nb-legend-t { display: flex; align-items: center; gap: 7px; width: 100%; border: 0; background: none; padding: 7px 10px; font: inherit; font-weight: 700; color: var(--ink); cursor: pointer; }
.nb-legend-t::after { content: ""; margin-left: auto; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-135deg) translate(-2px,-1px); opacity: .6; }
.nb-legend.open .nb-legend-t::after { transform: rotate(45deg) translate(-2px,-2px); }
.nb-legend-dots { display: inline-flex; }
.nb-legend-dots i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid #fff; margin-left: -4px; }
.nb-legend-dots i:first-child { margin-left: 0; }
.nb-legend.open .nb-legend-dots { display: none; }
.nb-legend ul { display: none; list-style: none; margin: 0; padding: 0 4px 6px; max-height: min(236px, 45vh); overflow-y: auto; }
.nb-legend.open ul { display: block; }
.nb-legend li button { display: flex; align-items: center; gap: 7px; width: 100%; border: 0; background: none; padding: 3px 6px; border-radius: 6px; font: inherit; color: var(--ink); cursor: pointer; text-align: left; }
.nb-legend li button:hover { background: #f1f4f9; }
.nb-legend li button.on { background: #e8eefb; font-weight: 700; }
.nb-legend li button.off { opacity: .5; }
.nb-legend li i { width: 11px; height: 11px; border-radius: 50%; flex: 0 0 auto; box-shadow: 0 0 0 1.5px #fff, 0 0 0 2.5px rgba(0,0,0,.12); }
.nb-legend li small { margin-left: auto; color: var(--muted); font-size: 12px; padding-left: 8px; }
.nb-pop { border-top: 4px solid var(--bc, var(--navy)); }
.nb-muted { filter: saturate(.35) brightness(1.05) contrast(.95); }
.leaflet-gl-layer { z-index: 1; }
.leaflet-popup-content-wrapper { border-radius: 12px; padding: 0; overflow: hidden; }
.leaflet-popup-content { margin: 0; width: 240px !important; font: 14px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; }
.nb-pop > img { width: 100%; height: 120px; object-fit: cover; display: block; background: #e6ebf3; }
.nb-pop-rep { display: flex; align-items: center; gap: 7px; margin-top: 7px; font-size: .8rem; color: var(--ink-2); line-height: 1.25; }
.nb-pop .nb-pop-rep b { display: inline; font-size: inherit; color: var(--ink); }
.nb-pr-img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex: none; background: var(--blue-soft); }
.nb-pr-img.ini { display: grid; place-items: center; color: #2548b8; font-weight: 800; font-size: .66rem; }
.nb-pop > div { padding: 8px 11px 10px; }
.nb-pop b { display: block; font-size: 1rem; }
.nb-pop .nb-pop-n { font-weight: 700; color: var(--ink); }
.nb-pop .nb-pop-s { color: var(--muted); font-size: .82rem; }
.nb-pop button { margin-top: 7px; width: 100%; min-height: 34px; font-size: .86rem; }
.leaflet-container a.leaflet-popup-close-button { color: #fff; text-shadow: 0 0 3px rgba(0,0,0,.6); }

/* ---------- details drawer */
.nb-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(480px, 100%); background: var(--bg); z-index: 60;
  transform: translateX(105%); transition: transform .22s ease; box-shadow: -8px 0 30px rgba(13,27,61,.2); display: flex; flex-direction: column;
}
.nb-drawer.open { transform: none; }
.nb-drawer-in { overflow-y: auto; flex: 1; overscroll-behavior: contain; }
.nb-scrim { position: fixed; inset: 0; background: rgba(13,27,61,.35); z-index: 55; }
@media (min-width: 1200px) { .nb-scrim { background: rgba(13,27,61,.12); } }
.nb-hero { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(135deg, #dfe6f3, #eef2f9); }
.nb-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nb-x {
  position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer; z-index: 2;
  background: rgba(13,27,61,.78); color: #fff; display: grid; place-items: center;
}
.nb-x:hover { background: var(--navy); }
.nb-d { padding: 14px 16px 30px; display: flex; flex-direction: column; gap: 12px; }
.nb-d-head h2 { font-size: 1.35rem; margin: 0 0 4px; }
.nb-d-price { font-size: 1.5rem; font-weight: 800; letter-spacing: -.01em; }
.nb-d-price small { font-size: .8rem; font-weight: 600; color: var(--muted); margin-right: 4px; letter-spacing: 0; }
.nb-d-sub { color: var(--ink-2); font-size: .92rem; }
.nb-d-builder { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 600; color: var(--ink-2); font-size: .9rem; }
.nb-d-builder img { height: 26px; max-width: 110px; object-fit: contain; }
.nb-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.nb-actions .btn { min-height: 46px; font-size: .88rem; padding: 8px 6px; flex-direction: column; gap: 3px; }
.nb-actions .btn svg { width: 19px; height: 19px; }
.nb-box { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; }
.nb-box h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 10px; }
.nb-rep { display: flex; gap: 12px; align-items: center; }
.nb-rep-img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; flex: none; background: var(--blue-soft); }
.nb-rep-ini { width: 58px; height: 58px; border-radius: 50%; flex: none; background: var(--blue-soft); color: #2548b8; display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; }
.nb-rep-n { font-weight: 700; font-size: 1.05rem; }
.nb-rep-s { color: var(--muted); font-size: .85rem; }
.nb-rep-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.nb-rep-links .btn { min-height: 44px; font-size: .9rem; }
.nb-rep-meta { font-size: .85rem; color: var(--ink-2); margin-top: 8px; word-break: break-word; }
.nb-warn { background: var(--amber-soft); border: 1px solid #f3d9a6; color: #6b4200; border-radius: 12px; padding: 11px 13px; font-size: .88rem; }
.nb-warn b { color: #5a3700; }
.nb-kv { display: grid; grid-template-columns: auto 1fr; gap: 7px 14px; font-size: .92rem; margin: 0; }
.nb-kv dt { color: var(--muted); font-weight: 600; }
.nb-kv dd { margin: 0; min-width: 0; word-break: break-word; }
.nb-mini { height: 200px; border-radius: 10px; overflow: hidden; margin-top: 10px; z-index: 1; }
.nb-near { display: flex; flex-direction: column; gap: 2px; }
.nb-near a { display: flex; justify-content: space-between; gap: 10px; padding: 8px 2px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: .9rem; }
.nb-near a:last-child { border-bottom: 0; }
.nb-near a:hover { text-decoration: none; color: var(--blue); }
.nb-near span { color: var(--muted); white-space: nowrap; font-size: .84rem; }
.nb-copied { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 80; font-weight: 600; font-size: .92rem; box-shadow: 0 6px 20px rgba(0,0,0,.25); }

.nb-foot { margin: 18px 0 8px; text-align: center; }
.nb-view-toggle { display: none; }

/* ---------- phones and small tablets */
@media (max-width: 899px) {
  .nb-regions { display: none; }
  .nb-mrow { display: flex; align-items: center; gap: 8px; }
  .nb-region-m { flex: 1 1 auto; min-width: 0; max-width: 360px; width: auto; margin: 0; min-height: 42px; padding: 8px 34px 8px 14px;
    border-radius: 999px; font-size: 15px; font-weight: 700; box-shadow: var(--shadow); }
  .nb-region-m.set { border-color: var(--blue); background-color: var(--blue-soft); color: #1a3c99; }
  .nb-filter-btn { display: inline-flex; flex: none; }
  .nb-bar { flex-direction: column-reverse; align-items: stretch; }
  .nb-selects { display: none; }
  .nb-bar.open .nb-selects {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; background: #fff; border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 12px; margin-top: 8px;
  }
  .nb-bar.open .nb-selects select, .nb-bar.open .nb-price { flex: none; width: 100%; }
  .nb-bar.open .nb-price { grid-column: span 2; }
  .nb-bar.open .nb-price select { width: auto; flex: 1 1 0; min-width: 0; }
  .nb-bar.open .nb-check { grid-column: span 2; min-height: 36px; }
  .nb-filter-btn { min-height: 42px; }
  .nb-inview { display: none; }
  body.nb-mapview .nb-list, body.nb-mapview .nb-foot, body.nb-mapview .nb-title, body.nb-mapview .nb-sort { display: none; }
  body.nb-mapview .nb-mapwrap { display: block; height: calc(100vh - 250px); min-height: 320px; }
  body.nb-mapview .nb-results-bar { margin: 6px 0; }
  /* keep the map credits clear of the floating List button */
  body.nb-mapview .nb-map .leaflet-bottom { bottom: 58px; }
  .nb-sort > span { display: none; }
  .nb-results-bar { margin: 8px 0 8px; }
  .nb-view-toggle {
    display: inline-flex; position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 40; align-items: center; gap: 7px;
    background: var(--navy); color: #fff; border: 0; border-radius: 999px; padding: 12px 20px; font: inherit; font-weight: 700; font-size: .95rem;
    box-shadow: 0 6px 20px rgba(13,27,61,.35); cursor: pointer;
  }
  .nb-view-toggle span { display: inline-flex; align-items: center; gap: 7px; }
  .nb-drawer { width: 100%; }
  .nb-list { padding-bottom: 70px; }
}
@media (max-width: 420px) {
  .nb-card-main { grid-template-columns: 112px minmax(0, 1fr); }
  .nb-cr-ph { display: none; }
  .nb-card-rep { padding: 8px 10px; gap: 9px; }
  .nb-ph { min-height: 104px; }
  .nb-body { padding: 8px 10px; }
}

/* ---------- v1.9: link to the Full Builder List */
.nb-fulllist {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 6px 12px; border-radius: 999px;
  background: var(--navy); color: #fff; font-weight: 700; font-size: .86rem; box-shadow: var(--shadow);
}
.nb-fulllist:hover { text-decoration: none; background: var(--navy-2); }
.nb-fulllist span { font-weight: 600; color: #b9c6ea; font-size: .8rem; }
.nb-app .nb-fulllist svg { width: 16px; height: 16px; }

/* ======================================================================
   Local Home Builders Online additions
   ====================================================================== */
.nb-title h1 { font-size: 1.5rem; }
.nb-promo { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: linear-gradient(90deg, #0d1b3d, #1b2c5a); color: #fff;
  border-radius: 14px; padding: 12px 16px; margin: 0 0 12px; box-shadow: var(--shadow); }
.nb-promo p { margin: 0; flex: 1 1 260px; font-size: .95rem; }
.nb-promo b { color: #ffd27a; }
.nb-promo .btn { background: var(--gold); border-color: var(--gold); color: #1d2433; }
.nb-promo .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.nb-pending { background: var(--amber-soft); border: 1px solid #f3d9a6; color: #6b4200; border-radius: 12px; padding: 10px 14px; margin-bottom: 12px; font-size: .93rem; }

/* public cards: no builder line - the card opens the pin instead of a details panel */
.nb-mode-public .nb-card-main { cursor: pointer; }
.nb-lock { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; font-weight: 700; color: var(--blue); margin-top: 4px; }
.nb-app .nb-lock svg { width: 13px; height: 13px; }

/* rep strip on realtor cards - initials, never a photo */
.nb-cr-img.ini { background: #fff1db; color: #8a5200; }
.nb-cr-t .nb-cr-model { color: #8a5200; }

/* popups */
.nb-pop .nb-pop-gate { font-size: .8rem; color: var(--ink-2); margin-top: 6px; line-height: 1.35; }

/* gate (public "Get details") */
.gate-opts { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.gate-opt { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.gate-opt b { font-size: 1rem; }
.gate-opt span { color: var(--muted); font-size: .86rem; grid-column: 1; }
.gate-opt .acts { grid-row: 1 / span 2; grid-column: 2; display: flex; flex-direction: column; gap: 6px; }
.gate-photo { width: 100%; height: 150px; object-fit: cover; border-radius: 12px; display: block; margin-bottom: 12px; background: #e6ebf3; }

/* drawer: rep boxes (no photos) */
.nb-repbox { display: flex; flex-direction: column; gap: 12px; }
.nb-rep2 { border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.nb-rep2-h { display: flex; gap: 11px; align-items: center; }
.nb-rep2-h .ini { width: 46px; height: 46px; border-radius: 50%; background: #fff1db; color: #8a5200; display: grid; place-items: center; font-weight: 800; flex: none; }
.nb-rep2-n { font-weight: 800; font-size: 1.04rem; line-height: 1.25; }
.nb-rep2-s { color: var(--muted); font-size: .84rem; }
.nb-rep2-tag { display: inline-block; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: 2px 7px; border-radius: 6px; background: #fff1db; color: #8a5200; margin-bottom: 3px; }
.nb-rep2-tag.svc { background: #e8eefb; color: #1a3c99; }
.nb-rep2-model { background: #f6f8fc; border-radius: 9px; padding: 8px 10px; font-size: .86rem; margin-top: 10px; color: var(--ink-2); }
.nb-rep2-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.nb-rep2-acts .btn { min-height: 42px; }
.nb-rep2-reg { grid-column: 1 / -1; }
.nb-allreps { font-weight: 700; font-size: .9rem; }

/* drawer: buyer inquiry box */
.nb-ask .nb-ask-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 12px; }
.nb-ask-tabs button { border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 9px 4px; font: inherit; font-weight: 700; font-size: .84rem; cursor: pointer; color: var(--ink-2); }
.nb-ask-tabs button.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.nb-ask textarea { min-height: 80px; margin-bottom: 10px; }
.nb-ask .days { padding-top: 2px; }
.nb-ask .day { width: 74px; min-height: 58px; }
.nb-ask-to { font-size: .84rem; color: var(--muted); margin: 8px 0 0; }
.nb-ask-done { background: var(--green-soft); color: #0b6b41; border-radius: 10px; padding: 12px; font-weight: 600; }
.nb-d-builder a { font-weight: 700; }
.nb-rep2-tag.feat { background: #fdf3c7; color: #7a5b00; }
.nb-contact { margin-top: 2px; }

/* ---------- v1.3: two rep spots (Featured / your rep / top rep) with photos */
.nb-card-reps { border-top: 1px solid #e9edf5; background: linear-gradient(180deg, #f8faff, #f2f5fc); }
.nb-card-reps .nb-card-rep { border-top: 0; background: none; }
.nb-card-reps .nb-card-rep + .nb-card-rep { border-top: 1px dashed #dfe5f0; }
.nb-card.sold .nb-card-reps { background: #f6f7fa; }
img.nb-cr-img, img.nb-pr-img { background: #e9edf5; }
.nb-lab { font-style: normal; font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: 1px 6px; border-radius: 5px; background: #eef1f6; color: var(--ink-2); }
.nb-lab.l-f { background: #fdf3c7; color: #7a5b00; }
.nb-lab.l-y { background: var(--green-soft); color: #0b6b41; }
.nb-lab.l-t { background: #e8eefb; color: #1a3c99; }
.nb-rep2-ph { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; flex: none; background: #e9edf5; box-shadow: 0 0 0 2px #fff, 0 1px 6px rgba(13,27,61,.22); }
span.nb-rep2-ph { display: grid; place-items: center; background: #fff1db; color: #8a5200; font-weight: 800; font-size: 1.05rem; }
.nb-rep2-tags { display: flex; gap: 5px; flex-wrap: wrap; align-items: center; margin-bottom: 3px; }
.nb-rep2-tags .nb-rep2-tag { margin: 0; }
.nb-rep2-tag.t-f { background: #fdf3c7; color: #7a5b00; }
.nb-rep2-tag.t-y { background: var(--green-soft); color: #0b6b41; }
.nb-rep2-tag.t-t { background: #e8eefb; color: #1a3c99; }
.nb-rep2-tag.t-r { background: #eef1f6; color: var(--ink-2); }
.nb-rep2-pts { font-size: .74rem; font-weight: 700; color: var(--muted); }
.nb-rep2.s-f { border-color: #f0d98a; box-shadow: 0 0 0 1px #f7e7ad inset; }
