/* A deal's pages (nexturncre.com/deals/<slug>/ and its deal room, functions/deals/). Laid out as Revere's deal pages are (Reed
   2026-11-10, of a Revere project page: "look like this link and be whitelableable with colors and branding"): the cover full width
   with the name across it — or the listing's own video behind it —, a price box in the accent colour, the overview and highlights
   beside photos, the Video OM, the virtual tour, a carousel, the map, the sales team on the accent. In the brokerage's own look
   (0198, Settings → Deal rooms): /deals/brand.css, loaded after this sheet, sets --brand, --accent, their inks, the heading face and
   the logo's tint — the values below are NexTurn's own, for a workspace that sets none. */

:root {
  --brand: #6d28d9; --brand-ink: #ffffff;
  --accent: #120e38; --accent-ink: #ffffff;
  --f-head: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --head-weight: 500; --hero-weight: 400; --head-case: uppercase; --head-track: .01em;
  --logo-dark: brightness(0) invert(1); --logo-bar: brightness(0) invert(1); --logo-accent: brightness(0) invert(1);
  --ink: #17181c;
  --ink-soft: #4f5560;
  --ink-faint: #646a75;
  --paper: #ffffff;
  --page: #f6f5f2;
  --line: #e4e2dc;
  /* The deal room's own parts (the account, the CA, the documents, Ask) draw in the brand through these. */
  --violet: var(--brand);
  --violet-hi: var(--brand);
  --violet-wash: color-mix(in srgb, var(--brand) 9%, #ffffff);
  --ok: #157f3d;
  --warn: #9a5b00;
  --f-display: var(--f-head);
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --wrap: 1200px;
  --radius: 4px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--f-body); overflow-x: hidden; }
h1, h2, h3, p, dl, dd, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: var(--brand); }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 50; background: var(--paper); padding: 8px 12px; }
.rv-sr, .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.msym {
  font-family: "Material Symbols Outlined"; font-weight: normal; font-style: normal; font-size: 1.2em; line-height: 1;
  letter-spacing: normal; text-transform: none; white-space: nowrap; direction: ltr; display: inline-block; vertical-align: -.2em;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24; -webkit-font-smoothing: antialiased;
}
.msym[data-i]::before { content: attr(data-i); }

/* A heading in the brand's face: Revere's light serif capitals by default. */
.rv-overview h2, .rv-highlights h2, .rv-details h2, .rv-gallery h2, .rv-team h2, .rv-inquire-card h2, .rv-video h2, .rv-tour h2, .dl-room-team h2, .rv-comps h2 {
  font: var(--head-weight) clamp(26px, 2.8vw, 34px)/1.25 var(--f-head); text-transform: var(--head-case); letter-spacing: var(--head-track);
}

/* ── The bar: the brokerage's mark, the sections, the account, Sign Agreement; the team's tabs under it ─ */
.dl-bar {
  position: sticky; top: 0; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: 0 clamp(14px, 3vw, 40px);
  padding: 12px var(--gutter); background: var(--brand); color: var(--brand-ink); box-shadow: 0 4px 4px rgba(0, 0, 0, .2);
  transition: background-color .25s ease, box-shadow .25s ease;
}
/* Over the listing's cover: fixed, and clear while the cover is under it (assets/deal.js adds .over). */
.dl-bar-hero { position: fixed; left: 0; right: 0; }
.dl-bar.over { background: transparent; color: #fff; box-shadow: none; }
.dl-bar-hero::before { content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none; opacity: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0)); transition: opacity .25s ease; }
.dl-bar.over::before { opacity: 1; }
/* The brokerage's logo in the corner (0238), tinted as Settings → Deal rooms says on a dark bar (brand.css --logo-*). */
.dl-bar-logo { display: flex; align-items: center; min-width: 0; flex: none; color: inherit; text-decoration: none; }
.dl-bar-logo-img { height: 44px; width: auto; max-width: min(220px, 46vw); object-fit: contain; object-position: left center; filter: var(--logo-bar); }
.dl-bar.over .dl-bar-logo-img { filter: var(--logo-dark); }
a.dl-bar-logo:hover .dl-bar-logo-img { opacity: .85; }
.dl-brand-name { font: var(--head-weight) 22px/1.1 var(--f-head); text-transform: var(--head-case); letter-spacing: var(--head-track); white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; max-width: 46vw; }
.dl-bar-word { display: flex; gap: 8px; align-items: center; font: 600 14px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; flex: none; }
.dl-nav { display: flex; gap: clamp(14px, 2vw, 30px); margin-left: auto; font-weight: 600; font-size: 15px; }
.dl-nav a { color: inherit; text-decoration: none; white-space: nowrap; }
.dl-nav a:hover { text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 2px; }
.dl-bar-right { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.dl-nav + .dl-bar-right { margin-left: 0; }
.dl-bar-cta {
  border: 0; border-radius: 3px; background: var(--brand-ink); color: var(--brand); font-weight: 600; font-size: 15px; padding: 12px 18px;
  cursor: pointer; text-decoration: none; white-space: nowrap; box-shadow: 0 1px 3px rgba(0, 0, 0, .15);
}
.dl-bar.over .dl-bar-cta { background: #ffffff; color: var(--brand); }
.dl-bar-cta:hover { filter: brightness(.96); }
.dl-bar-back { color: inherit; text-decoration: none; font-weight: 600; display: flex; align-items: center; white-space: nowrap; }
.dl-bar-acct { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.dl-bar-acct:empty { display: none; }
.dl-bar-who { font-weight: 600; opacity: .9; }
.dl-bar-link { border: 0; background: none; padding: 0; color: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
/* The team's other listings (0238), a Featured Listings menu in the bar (Reed 2026-11-10): this one marked. On a phone, a row of its own. */
.dl-featured { position: relative; flex: none; }
.dl-nav + .dl-featured { margin-left: 0; }
.dl-bar > .dl-featured:not(.dl-nav + .dl-featured) { margin-left: auto; }
.dl-featured + .dl-bar-right { margin-left: 0; }
.dl-featured-btn { display: flex; align-items: center; gap: 2px; list-style: none; cursor: pointer; font-weight: 600; font-size: 15px; white-space: nowrap;
  padding: 8px 4px; border-radius: 3px; }
.dl-featured-btn::-webkit-details-marker { display: none; }
.dl-featured-btn .msym { font-size: 22px; transition: transform .15s ease; }
.dl-featured[open] .dl-featured-btn .msym { transform: rotate(180deg); }
.dl-featured-btn:hover { text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 2px; }
.dl-featured-menu { position: absolute; z-index: 40; top: calc(100% + 10px); right: 0; width: max-content; min-width: 240px; max-width: min(380px, calc(100vw - 32px));
  max-height: 60vh; overflow-y: auto; padding: 6px; background: #fff; color: var(--ink); border-radius: 6px; box-shadow: 0 18px 40px rgba(0, 0, 0, .28); }
.dl-tab { display: block; padding: 10px 12px; border-radius: 4px; color: var(--ink); text-decoration: none; font: 500 15px/1.3 var(--f-body);
  border-left: 3px solid transparent; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl-tab:hover { background: var(--violet-wash); }
.dl-tab[aria-current] { font-weight: 700; border-left-color: var(--brand); background: color-mix(in srgb, var(--brand) 6%, #fff); }
.dl-draft {
  margin: 0; padding: 10px var(--gutter); background: #fff7e6; color: var(--warn); border-bottom: 1px solid #f3dfb5;
  font-size: 14.5px; display: flex; gap: 8px; align-items: center;
}
/* Over a fixed bar it would hide: on the listing the draft's word sits along the foot of the window instead. */
.dl-view-listing .dl-draft { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; border-top: 1px solid #f3dfb5; border-bottom: 0; }

main { max-width: var(--wrap); margin: 0 auto; padding: 28px var(--gutter) 40px; }
.dl-view-listing main, .dl-view-room main { max-width: none; padding: 0; }
.dl-wrap, .rv-wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* ── The cover: the photo full width — or the listing's video —, the name across it, the address under it ─ */
.rv-hero { position: relative; height: 92vh; min-height: 540px; max-height: 1040px; overflow: hidden; background: var(--brand); color: #fff; }
.rv-hero-plain { height: 64vh; min-height: 460px; background: linear-gradient(160deg, var(--brand), color-mix(in srgb, var(--brand) 70%, #000)); }
.rv-hero-pic { position: absolute; inset: 0; border: 0; padding: 0; background: none; cursor: zoom-in; width: 100%; }
.rv-hero-img { width: 100%; height: 100%; object-fit: cover; }
/* A small copy, blurred, at once; the full picture fades in over it as it lands (deal.js adds .in). Without the script it shows
   anyway after a moment. (0240: the video's own frame when it has one.) */
.rv-hero-blur { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(22px); transform: scale(1.12); }
.rv-hero > .rv-hero-img { position: absolute; inset: 0; }
.rv-hero-img { opacity: 0; animation: rv-reveal .4s ease 3s forwards; }
.rv-hero-img.in { opacity: 1; animation: none; transition: opacity .6s ease; }
@keyframes rv-reveal { to { opacity: 1; } }
/* The video behind the name (0239): over the cover, which shows until it plays; the photos still open from the name's band. */
.rv-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; background: transparent; }
.rv-hero-shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, 0) 34%, rgba(0, 0, 0, 0) 72%, rgba(0, 0, 0, .35) 100%); }
.rv-hero-band { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-46%); background: rgba(0, 0, 0, .45); padding: 28px var(--gutter);
  text-align: center; pointer-events: none; }
.rv-hero-band h1 { font: var(--hero-weight) clamp(40px, 7.2vw, 100px)/1.02 var(--f-head); text-transform: var(--head-case); letter-spacing: var(--head-track);
  max-width: 1100px; margin: 0 auto; text-wrap: balance; overflow-wrap: anywhere; }
.rv-hero-sub { margin: 16px auto 0; max-width: 760px; font-size: clamp(15px, 1.5vw, 19px); opacity: .94; text-wrap: balance; }
.rv-hero-address { position: absolute; z-index: 1; left: var(--gutter); bottom: 112px; color: #fff; font-weight: 700; font-size: clamp(16px, 1.6vw, 21px);
  line-height: 1.5; text-decoration: underline; text-underline-offset: 4px; text-shadow: 0 1px 8px rgba(0, 0, 0, .45); }
.rv-hero-uc { position: absolute; z-index: 1; right: var(--gutter); top: 104px; display: inline-flex; gap: 6px; align-items: center; padding: 6px 14px;
  border-radius: 999px; background: #fff; color: var(--brand); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
/* Pause and play the video behind the name (it moves for more than five seconds: WCAG 2.2.2). */
.rv-hero-vbtn { position: absolute; z-index: 2; left: var(--gutter); bottom: 44px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid rgba(255, 255, 255, .8); background: rgba(0, 0, 0, .38); color: #fff; cursor: pointer; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.rv-hero-vbtn:hover { background: rgba(0, 0, 0, .55); }
.rv-hero-vbtn .msym { font-size: 24px; }

/* ── The facts in a row, and the price box over the cover's edge ─────────── */
.rv-intro { position: relative; max-width: var(--wrap); margin: 0 auto; padding: 34px var(--gutter) 44px; display: flex; gap: 40px; align-items: flex-start; }
.rv-facts { flex: 1; display: flex; flex-wrap: wrap; gap: 22px 56px; }
.rv-facts dt { font: 600 12px/1.2 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.rv-facts dd { margin-top: 10px; font: 500 24px/1.15 var(--f-head); }
.rv-cta-box { flex: none; width: 330px; margin-top: -170px; position: relative; z-index: 2; display: grid; gap: 14px; justify-items: center; text-align: center;
  padding: 30px 26px 26px; background: var(--accent); color: var(--accent-ink); box-shadow: 0 14px 34px rgba(0, 0, 0, .2); }
.rv-price .dl-price-label { font: 600 12px/1.2 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: inherit; opacity: .85; }
.rv-price .dl-price { font: 600 36px/1.1 var(--f-head); margin-top: 6px; }
.rv-cta-words { font-size: 13.5px; opacity: .9; }
.rv-room-status { font-size: 13.5px; padding: 8px 10px; background: color-mix(in srgb, var(--accent-ink) 10%, transparent); }
.rv-btn {
  display: inline-flex; gap: 8px; align-items: center; justify-content: center; border: 0; border-radius: 3px; padding: 15px 22px; cursor: pointer;
  background: var(--brand); color: var(--brand-ink); font-weight: 600; font-size: 15px; text-decoration: none;
}
.rv-btn:hover { filter: brightness(1.08); }
.rv-btn-light { background: #ffffff; color: var(--brand); box-shadow: 0 2px 6px rgba(0, 0, 0, .12); }
.rv-btn-ghost { background: transparent; color: var(--brand); box-shadow: inset 0 0 0 1.5px var(--brand); }

/* ── Overview: a photo on its offset block, a rule in the accent, the words ─ */
.rv-overview { max-width: 1152px; margin: 0 auto; padding: 64px var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) 4px minmax(0, 1fr);
  gap: 40px; align-items: start; }
.rv-ov-pic { position: relative; margin: 0 0 0 18px; }
.rv-ov-pic::before { content: ""; position: absolute; left: -18px; top: 22px; width: 100%; height: 100%; background: color-mix(in srgb, var(--brand) 12%, #ffffff); }
.rv-ov-pic button, .rv-hl-pic { position: relative; display: block; width: 100%; border: 0; padding: 0; background: none; cursor: zoom-in; }
.rv-ov-img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.rv-rule { align-self: stretch; background: var(--accent); }
.rv-ov-text { display: grid; gap: 22px; justify-items: start; }
.rv-prose p + p { margin-top: 16px; }
.rv-prose p:first-child { font-weight: 600; }

/* ── Investment highlights beside a photo ─────────────────────────────────── */
.rv-highlights { max-width: var(--wrap); margin: 0 auto; padding: 12px var(--gutter) 90px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: 56px; align-items: center; }
.rv-hl-text { display: grid; gap: 26px; }
.rv-hl-list { display: grid; gap: 18px; }
.rv-hl-list li { display: grid; gap: 4px; padding-left: 18px; border-left: 3px solid var(--accent); }
.rv-hl-list b { font-weight: 700; }
.rv-hl-img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; box-shadow: 0 18px 40px rgba(0, 0, 0, .16); }

/* ── Property details on a band ───────────────────────────────────────────── */
.rv-details { background: color-mix(in srgb, var(--accent) 13%, #ffffff); padding: 60px var(--gutter); }
.rv-details h2 { max-width: var(--wrap); margin: 0 auto 22px; }
.rv-detail-grid { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 0 40px; }
.rv-detail-grid > div { display: flex; justify-content: space-between; gap: 14px; padding: 13px 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 13%, transparent); }
.rv-detail-grid dt { color: var(--ink-soft); }
.rv-detail-grid dd { font-weight: 600; text-align: right; }

/* ── The Video OM (0239): its own section, on the brand's colour ──────────── */
.rv-video { background: color-mix(in srgb, var(--brand) 88%, #000); color: #fff; padding: 72px 0 80px; }
.rv-video .rv-wrap { display: grid; gap: 10px; justify-items: center; text-align: center; }
.rv-video-sub { opacity: .85; max-width: 640px; }
.rv-video-frame { width: min(1040px, 100%); margin-top: 26px; aspect-ratio: 16 / 9; background: #000; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.rv-video-frame video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }

/* ── The virtual tour (0225, its own section since 0239): its first spot drifting by, a way in, every spot by name ─ */
.rv-tour { padding: 72px 0 40px; }
.rv-tour-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px 24px; flex-wrap: wrap; margin-bottom: 26px; }
.rv-tour-head p { color: var(--ink-soft); }
/* The panorama a little larger than the frame, drifting from one end to the other (its sky and floor cropped). */
.rv-tour-start { position: relative; display: block; width: 100%; aspect-ratio: 21 / 9; padding: 0; border: 0; overflow: hidden; cursor: pointer; background: #111;
  container-type: inline-size; }
.rv-tour-start img { position: absolute; top: -25%; left: 0; height: 150%; width: auto; max-width: none; aspect-ratio: 2 / 1; opacity: .94;
  animation: rv-pan 80s ease-in-out infinite alternate; }
@keyframes rv-pan { from { transform: translateX(0); } to { transform: translateX(calc(-100% + 100cqw)); } }
.rv-tour-start::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0) 55%); }
.rv-tour-play { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 24px; border-radius: 3px; background: var(--brand); color: var(--brand-ink); font-weight: 600; font-size: 16px; white-space: nowrap;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.rv-tour-play .msym { font-size: 26px; }
.rv-tour-start:hover .rv-tour-play, .rv-tour-start:focus-visible .rv-tour-play { filter: brightness(1.12); }
.rv-tour-spots { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.rv-tour-spots button { border: 1px solid var(--line); background: var(--paper); border-radius: 3px; padding: 7px 13px; font-size: 14px; cursor: pointer; }
.rv-tour-spots button:hover { border-color: var(--brand); color: var(--brand); }

/* ── The photos as a carousel ─────────────────────────────────────────────── */
.rv-gallery { max-width: 1280px; margin: 0 auto; padding: 70px 0 64px; }
.rv-gallery h2 { padding: 0 var(--gutter); margin-bottom: 36px; }
.rv-carousel { position: relative; }
.rv-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 0 var(--gutter); scrollbar-width: none; }
.rv-track::-webkit-scrollbar { display: none; }
.rv-slide { flex: 0 0 min(820px, 86%); height: clamp(230px, 32vw, 440px); scroll-snap-align: center; border: 0; padding: 0; background: #e6e3dc;
  overflow: hidden; cursor: zoom-in; }
.rv-slide img { width: 100%; height: 100%; object-fit: cover; }
.rv-car-nav { position: absolute; top: calc(50% - 40px); width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 92%, transparent); color: var(--accent-ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
.rv-car-nav .msym { font-size: 30px; }
.rv-car-prev { left: calc(var(--gutter) + 16px); }
.rv-car-next { right: calc(var(--gutter) + 16px); }
.rv-dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; flex-wrap: wrap; padding: 0 var(--gutter); }
.rv-dots i { width: 9px; height: 9px; border-radius: 50%; background: #d4d0c7; }
.rv-dots i.on { background: var(--accent); }

/* ── Location: the address on its card, the map ───────────────────────────── */
.rv-location { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); min-height: 500px; border-top: 1px solid var(--line); }
.rv-location-plain { grid-template-columns: 1fr; min-height: 0; }
.rv-loc-card { display: grid; align-content: center; gap: 20px; padding: 44px var(--gutter); }
.rv-loc-address { font: 500 clamp(22px, 2.2vw, 28px)/1.5 var(--f-head); }
.rv-loc-links { display: flex; gap: 20px; flex-wrap: wrap; font-size: 14.5px; }
.rv-loc-links a, .rv-loc-3d { text-decoration: none; display: flex; gap: 5px; align-items: center; font-weight: 600; }
/* 3D view (assets/deal.js openOrbit): a button among the links, in their look. */
.rv-loc-3d { border: 0; padding: 0; background: none; font: inherit; font-weight: 600; color: var(--brand); cursor: pointer; }
.rv-loc-3d[aria-expanded="true"] { text-decoration: underline; text-underline-offset: 3px; }
.rv-map-wrap { position: relative; min-height: 500px; }
.dl-map { height: 380px; overflow: hidden; background: #e9e7e1; }
.rv-map { width: 100%; height: 100%; min-height: 500px; }   /* Google's map makes its box position: relative */
/* Google's 3D view over the 2D map, the camera circling the hotel (openOrbit); Back to map closes it. */
.rv-3d { position: absolute; inset: 0; z-index: 3; background: #e9e7e1; }
.rv-3d-host, .rv-3d-map { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.rv-3d-note { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; padding: 0 24px; text-align: center; color: var(--ink-soft); }
.rv-3d-tools { position: absolute; left: 12px; top: 12px; display: flex; gap: 8px; }
.rv-3d-tool { display: inline-flex; align-items: center; gap: 5px; border: 0; border-radius: 3px; padding: 8px 12px; background: #ffffff; color: var(--ink);
  font: 600 14px/1 var(--f-body); box-shadow: 0 2px 6px rgba(0, 0, 0, .25); cursor: pointer; }
.rv-3d-tool .msym { font-size: 18px; }

/* ── The sale comps, under the map (0267) ─────────────────────────────────── */
.rv-comps { padding: 64px 0 60px; border-top: 1px solid var(--line); background: var(--page); }
.rv-comps h2 { margin-bottom: 10px; }
.rv-comps-sum { color: var(--ink-soft); margin-bottom: 26px; font-size: 15.5px; }
.rv-comps-map-wrap { position: relative; margin-bottom: 26px; border: 1px solid var(--line); }
.rv-comps-map { width: 100%; height: 420px; }
.rv-comp-pin { display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 13px; background: var(--accent);
  color: var(--accent-ink); font: 700 13px/1 var(--f-body); border: 2px solid #ffffff; box-shadow: 0 1px 4px rgba(0, 0, 0, .35); }
.rv-comps-scroll { overflow-x: auto; }
.rv-comps-table { width: 100%; border-collapse: collapse; background: var(--paper); font-size: 15px; }
.rv-comps-table th { text-align: left; font: 700 12px/1.2 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft);
  padding: 12px 14px; border-bottom: 2px solid var(--accent); white-space: nowrap; }
.rv-comps-table td { padding: 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.rv-comps-table .rv-num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rv-comp-n { width: 1%; }
td.rv-comp-n span { display: inline-grid; place-items: center; min-width: 24px; height: 24px; border-radius: 12px; background: var(--accent);
  color: var(--accent-ink); font-weight: 700; font-size: 12.5px; }
.rv-comp-name b { display: block; font-weight: 600; }
.rv-comp-name span { display: block; color: var(--ink-soft); font-size: 13.5px; }
.rv-comps-insight { display: flex; align-items: center; gap: 18px 24px; flex-wrap: wrap; margin-top: 28px; }
.rv-comps-insight .rv-btn { display: inline-flex; gap: 8px; align-items: center; }
.rv-comps-insight p { max-width: 560px; color: var(--ink-soft); font-size: 14.5px; }
.dl-room-insight { display: inline-flex; gap: 6px; align-items: center; margin-top: 10px; padding: 9px 14px; border-radius: 3px; background: var(--brand-ink);
  color: var(--brand); font-weight: 600; font-size: 14.5px; text-decoration: none; }
.dl-room-insight:hover { filter: brightness(.96); }

/* ── The sales team, on the accent ────────────────────────────────────────── */
.rv-team { background: var(--accent); color: var(--accent-ink); padding: 58px 0 50px; }
.rv-team h2 { margin-bottom: 22px; }
.rv-team-deal { display: flex; align-items: center; gap: 18px; font: 700 13px/1.2 var(--f-body); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 28px; }
.rv-team-deal::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .45; }
.dl-agents { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 26px 36px; }
/* The text column may shrink (a long email wraps), the photo never does: with "auto 1fr" a long address squeezed the photo into an oval. */
.dl-agent { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; font-size: 14.5px; }
.dl-agent p { overflow-wrap: anywhere; min-width: 0; }
.dl-agent-mark { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--violet-wash); color: var(--brand); font: 700 15px/1 var(--f-body); }
.rv-team .dl-agent-mark { background: color-mix(in srgb, var(--accent-ink) 12%, transparent); color: inherit; }
/* An agent's own photo (0222, their My profile): cut square by the API, round here. With one on the card, every mark is its size. */
.dl-agent-photo { display: block; flex: none; width: 64px; height: 64px; max-width: none; aspect-ratio: 1; border-radius: 50%; object-fit: cover; background: var(--violet-wash); }
.dl-agents:has(.dl-agent-photo) .dl-agent-mark { width: 64px; height: 64px; font-size: 20px; }
.dl-agent-name { font-weight: 700; font-size: 16px; }
.dl-agent-title { font-weight: 600; font-size: 13.5px; opacity: .88; margin-bottom: 4px; }
.dl-agent-license { font-size: 12.5px; margin-top: 2px; opacity: .85; }
.dl-agent a { color: inherit; text-decoration: none; }
.dl-agent a:hover { text-decoration: underline; }
.rv-bor { margin-top: 28px; font-size: 14px; opacity: .92; }
.rv-about { margin-top: 34px; padding-top: 26px; border-top: 1px solid color-mix(in srgb, var(--accent-ink) 30%, transparent); display: flex; gap: 28px; align-items: flex-start; }
.rv-about-mark { flex: none; }
.rv-about-mark .dl-bar-logo-img { height: 54px; filter: var(--logo-accent); }
.rv-about h3 { font: 700 15px/1.3 var(--f-body); margin-bottom: 6px; }
.rv-about p { max-width: 760px; font-size: 14.5px; }
.rv-about a { color: inherit; font-weight: 600; font-size: 14.5px; }

/* ── A last word, over a photo ────────────────────────────────────────────── */
.rv-inquire { position: relative; min-height: 560px; display: flex; justify-content: flex-end; align-items: center; padding: 72px var(--gutter); overflow: hidden;
  background: color-mix(in srgb, var(--brand) 85%, #000); }
.rv-inquire-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rv-inquire-card { position: relative; z-index: 1; width: min(560px, 100%); margin-right: clamp(0px, 5vw, 84px); background: #fff; padding: 34px; display: grid; gap: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.rv-inquire-card p { color: var(--ink-soft); }
.rv-inquire-acts { display: flex; gap: 12px; flex-wrap: wrap; }
.rv-disclaimer { max-width: var(--wrap); margin: 0 auto; padding: 30px var(--gutter); font-size: 12.5px; color: var(--ink-faint); }
.rv-disclaimer p + p { margin-top: 8px; }

/* ── Both pages' foot, on the accent ──────────────────────────────────────── */
.dl-foot { background: var(--accent); color: var(--accent-ink); padding: 28px var(--gutter); display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px 30px; align-items: center; font-size: 13px; }
.dl-view-listing:has(.dl-draft) .dl-foot { padding-bottom: 64px; }
.dl-foot a { color: inherit; }
.dl-foot-brand { display: flex; gap: 16px; align-items: center; }
.dl-foot-brand:empty { display: none; }
.dl-foot .dl-bar-logo-img { height: 38px; filter: var(--logo-accent); }
.dl-foot .dl-brand-name { font-size: 18px; }

/* ── What other pages still use: the price box's words, the ended page ───── */
.dl-kicker { font: 700 12.5px/1.2 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.dl-address { margin-top: 10px; color: var(--ink-soft); display: flex; gap: 6px; align-items: baseline; }
.dl-address .msym { color: var(--brand); }
.dl-price-label { font-size: 13px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .08em; }
.dl-price { font: 600 30px/1.15 var(--f-head); margin-top: 2px; }
.dl-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 2.4vw, 26px); }
.dl-card h2 { font: var(--head-weight) 24px/1.25 var(--f-head); text-transform: var(--head-case); letter-spacing: var(--head-track); margin-bottom: 12px; }
.dl-bor { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-soft); }
.dl-gone { max-width: 640px; margin: 10vh auto; text-align: center; display: grid; gap: 12px; }
.dl-gone h1 { font: var(--hero-weight) clamp(32px, 5vw, 52px)/1.1 var(--f-head); text-transform: var(--head-case); letter-spacing: var(--head-track); }
.dl-ended { max-width: 760px; text-align: center; }
.dl-ended .dl-address { justify-content: center; }
.dl-ended .dl-agents { text-align: left; }
.dl-ended-mark { justify-self: center; display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; font-size: 13px; background: var(--page); color: var(--ink-soft); border: 1px solid var(--line); }
.dl-ended-mark.sold { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.dl-ended-words { color: var(--ink-soft); font-size: 17px; }
.dl-ended-team { text-align: left; margin-top: 12px; }
.dl-ended-team h2 { margin: 0; }
.dl-ended-team > p { margin: 4px 0 12px; color: var(--ink-soft); }

/* ── The deal room page: its name on the brand's band, then every document ─ */
.dl-room-hero { background: var(--brand); color: var(--brand-ink); padding: 46px 0 40px; }
.dl-room-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.dl-room-head h1 { font: var(--hero-weight) clamp(32px, 4.6vw, 60px)/1.04 var(--f-head); text-transform: var(--head-case); letter-spacing: var(--head-track); }
.dl-room-hero .dl-kicker, .dl-room-hero .dl-address, .dl-room-hero .dl-address .msym, .dl-room-hero .dl-price-label { color: inherit; }
.dl-room-hero .dl-kicker, .dl-room-hero .dl-price-label { opacity: .8; }
.dl-room-hero .dl-address { opacity: .92; }
.dl-room-price { text-align: right; }
.dl-room-page { padding-top: 6px; padding-bottom: 56px; }
.dl-room-team { margin-top: 26px; padding: clamp(18px, 2.4vw, 26px); background: color-mix(in srgb, var(--accent) 13%, #ffffff); }
.dl-room-team h2 { margin-bottom: 18px; font-size: 22px; }

.dl-notice { margin-top: 24px; display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: var(--radius); background: var(--violet-wash); font-size: 15px; }
.dl-notice .msym { color: var(--violet); margin-top: 1px; }
.dl-notice-wait { background: #fff8e1; border: 1px solid #f1d27a; color: #5c4400; }
.dl-notice-wait .msym { color: #b7791f; }
.dl-docs { margin-top: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 28px rgba(0, 0, 0, .06); padding: clamp(16px, 2.4vw, 26px); }
.dl-docs-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dl-docs-head h2 { font: var(--head-weight) 26px/1.2 var(--f-head); text-transform: var(--head-case); letter-spacing: var(--head-track);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
.dl-bulk { border: 0; border-radius: 3px; padding: 10px 16px; background: var(--brand); color: var(--brand-ink); font-weight: 700; cursor: pointer; display: flex; gap: 8px; align-items: center; }
.dl-bulk:disabled { background: #d8d5d0; color: #fff; cursor: not-allowed; }
.dl-me { margin-top: 8px; font-size: 14px; color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; }
.dl-me:empty { display: none; }
.dl-me button { border: 0; background: none; color: var(--violet); padding: 0; cursor: pointer; font-weight: 600; display: inline-flex; gap: 4px; align-items: center; }
.dl-table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 15px; }
.dl-table th { text-align: left; font: 700 14px/1.2 var(--f-body); color: var(--ink); padding: 10px 8px; border-bottom: 2px solid var(--line); }
.dl-table td { padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.dl-table tbody tr:hover td { background: #faf9f7; }
/* A listing's folders, as a computer shows them (0216; Reed 2026-11-06): a folder is one row — its icon, name and what it holds —
   and a click opens it; inside, the heading reads "All documents › P&L" and its first part goes back. Each document's access is its own. */
.dl-table tr.dl-folder { cursor: pointer; }
.dl-folder-open { border: 0; background: none; padding: 0; margin: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; width: 100%; }
.dl-folder-open:focus-visible { outline: 2px solid var(--violet-hi); outline-offset: 3px; }
.dl-table .dl-folder-icon { font-size: 30px; color: var(--violet); flex: none; font-variation-settings: 'FILL' 1; }
.dl-table tr.dl-folder .dl-doc { font-weight: 700; }
.dl-up { border: 0; background: none; padding: 0; font: inherit; color: var(--violet); cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.dl-up:hover { text-decoration: underline; }
.dl-up .msym { font-size: 20px; }
.dl-path-sep { color: var(--ink-faint); font-weight: 400; }
.dl-path-here { display: inline-flex; align-items: center; gap: 6px; min-width: 0; overflow-wrap: anywhere; }
.dl-path-here .msym { color: var(--violet); font-size: 22px; }
.dl-sel { width: 36px; }
.dl-sel input { width: 18px; height: 18px; accent-color: var(--violet); cursor: pointer; }
.dl-name-in { display: flex; gap: 12px; align-items: center; }
.dl-name-words { display: grid; gap: 2px; min-width: 0; }
.dl-doc { font-weight: 700; overflow-wrap: anywhere; }
.dl-role { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--violet); }
.dl-name-words small { color: var(--ink-faint); font-size: 12.5px; }
.dl-added-sm { display: none; }
.dl-type { flex: none; width: 40px; height: 40px; border-radius: 4px; display: grid; place-items: center; background: #f1f0ed; color: var(--ink-soft); font: 700 10.5px/1 var(--f-body); letter-spacing: .02em; }
.dl-type-pdf { color: #c2410c; background: #fdf0ea; }
.dl-type-xlsx, .dl-type-xls, .dl-type-csv { color: #15803d; background: #eaf6ee; }
.dl-type-docx, .dl-type-doc, .dl-type-txt { color: #1d4ed8; background: #ebf1fd; }
.dl-type-pptx, .dl-type-ppt { color: #b45309; background: #fdf3e6; }
.dl-added { white-space: nowrap; text-align: right; color: var(--ink-soft); width: 1%; }
th.dl-added { text-align: right; }
.dl-sort { border: 0; background: none; padding: 0; font: inherit; color: inherit; cursor: pointer; display: inline-flex; gap: 4px; align-items: center; }
.dl-dl { width: 1%; text-align: center; }
.dl-get-one { border: 0; background: none; padding: 6px; border-radius: 4px; color: var(--ink); cursor: pointer; }
.dl-get-one .msym { font-size: 24px; }
.dl-get-one:hover { background: var(--violet-wash); color: var(--violet); }
.dl-get-one:disabled { opacity: .45; cursor: progress; }
.dl-docs-empty { padding: 18px 8px 6px; color: var(--ink-faint); }
.dl-checking::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 10px; vertical-align: -2px; border-radius: 50%;
  border: 2px solid var(--line); border-top-color: var(--violet); animation: dl-spin .8s linear infinite; }
@keyframes dl-spin { to { transform: rotate(360deg); } }
.dl-locked-wrap { position: relative; }
.dl-ghost { margin-top: 0; filter: blur(4px); opacity: .55; pointer-events: none; user-select: none; }
.dl-lock-card { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; padding: 12px; }
.dl-lock-card h3 { font: var(--head-weight) clamp(22px, 2.8vw, 30px)/1.2 var(--f-head); text-transform: var(--head-case); letter-spacing: var(--head-track); display: flex; gap: 8px; align-items: center; }
.dl-lock-card p { max-width: 620px; color: var(--ink-soft); }
.dl-lock-card .dl-submit { margin-top: 4px; }

/* Ask about this deal (assets/deal.js renderAsk): under the documents, only once the CA is signed. */
.dl-ask { margin-top: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(16px, 2.4vw, 26px); }
.dl-ask-head h2 { font: var(--head-weight) 26px/1.2 var(--f-head); text-transform: var(--head-case); letter-spacing: var(--head-track); display: flex; align-items: center; gap: 8px; }
.dl-ask-head h2 .msym { color: var(--violet); }
.dl-ask-head p { margin-top: 6px; color: var(--ink-soft); font-size: 15px; max-width: 60em; }
.dl-ask-log { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.dl-ask-log:empty { display: none; }
.dl-ask-q { align-self: flex-end; max-width: 85%; padding: 9px 13px; border-radius: 12px 12px 4px 12px; background: var(--brand); color: var(--brand-ink); white-space: pre-wrap; overflow-wrap: anywhere; }
.dl-ask-a { align-self: flex-start; max-width: 92%; padding: 10px 14px; border-radius: 12px 12px 12px 4px; background: var(--violet-wash); overflow-wrap: anywhere; }
.dl-ask-a p, .dl-ask-a ul { margin: 0 0 8px; }
.dl-ask-a ul { list-style: disc; padding-left: 20px; }
.dl-ask-a > :last-child { margin-bottom: 0; }
.dl-ask-a a { font-weight: 600; }
.dl-ask-wait { color: var(--ink-soft); font-style: italic; }
.dl-ask-err { background: #fff8f4; border: 1px solid rgba(194, 65, 12, .3); }
.dl-ask-src { margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(0, 0, 0, .1); font-size: 14px; }
.dl-ask-src p { margin: 0 0 2px; color: var(--ink-soft); }
.dl-ask-src ul { margin: 0; }
.dl-ask-form { display: flex; gap: 10px; align-items: flex-end; margin-top: 16px; }
.dl-ask-form textarea {
  flex: 1; min-width: 0; font: inherit; line-height: 1.4; color: var(--ink); background: #fbfaf8; padding: 11px 12px;
  border-radius: 4px; border: 1.5px solid #d6d2ca; resize: vertical; min-height: 50px;
}
.dl-ask-form textarea::placeholder { color: var(--ink-faint); }
.dl-ask-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); }
.dl-ask-form .dl-submit { flex: none; }
.dl-ask-fine { margin-top: 10px; font-size: 13.5px; color: var(--ink-faint); }

/* ── The dialogs ─────────────────────────────────────────────────────────── */
.dl-dialog {
  width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); border: 0; border-radius: 6px; padding: 26px clamp(18px, 4vw, 30px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35); color: var(--ink);
}
.dl-dialog::backdrop, .dl-lightbox::backdrop { background: rgba(0, 0, 0, .55); backdrop-filter: blur(3px); }
.dl-dialog h2 { font: var(--head-weight) 26px/1.2 var(--f-head); text-transform: var(--head-case); letter-spacing: var(--head-track); margin-right: 36px; }
/* say(): a problem in the page's own box (assets/deal.js), in place of the browser's alert. */
.dl-say { width: min(440px, calc(100vw - 24px)); }
.dl-say .dl-lede { margin: 10px 0 0; }
.dl-say-foot { display: flex; justify-content: flex-end; margin-top: 18px; }
.dl-dialog-close { position: absolute; top: 12px; right: 12px; }
.dl-dialog-close button { border: 0; background: #f1f0ed; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.dl-lightbox .dl-dialog-close { z-index: 3; }
.dl-lightbox .dl-dialog-close button { background: rgba(255, 255, 255, .9); }
#dl-step { margin-top: 14px; }
.dl-lede { color: var(--ink-soft); margin-bottom: 14px; }
.dl-form { display: grid; gap: 12px; }
.dl-form label { display: grid; gap: 5px; font-weight: 600; font-size: 14.5px; }
.dl-form input[type="text"], .dl-form input[type="email"], .dl-form input[type="tel"], .dl-form input[type="password"], .dl-form select, .dl-form .dd-btn {
  font: inherit; font-weight: 400; padding: 11px 12px; border: 1px solid #d6d2ca; border-radius: 4px; background: #fff; width: 100%;
}
.dl-form input:focus, .dl-form select:focus, .dl-form .dd-btn:focus-visible, .dl-form .dd-btn.open { outline: 2px solid var(--violet-hi); outline-offset: 0; border-color: transparent; }
.dl-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dl-check { display: flex !important; grid-template-columns: none !important; gap: 10px !important; align-items: flex-start; font-weight: 400 !important; }
.dl-check input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--violet); }
.dl-check span { display: grid; gap: 2px; font-weight: 600; }
.dl-check span span { display: inline; }   /* a line of words with links in it (the sign-up's terms box) */
.dl-check small { font-weight: 400; font-size: 13px; color: var(--ink-faint); }
.dl-sub { margin: -4px 0 0 28px; max-width: 220px; }
.dl-sub.dl-date { display: grid; gap: 5px; max-width: 380px; font-weight: 600; font-size: 14.5px; }
.dl-date-row { display: flex; gap: 8px; }
.dl-date-row .dd-btn, .dl-date-row select { flex: 1 1 0; min-width: 0; }
.dl-date-row .dd-btn:first-child, .dl-date-row select:first-child { flex-grow: 1.7; }
.dl-inline { display: inline; font-size: inherit; }
.dl-hp { position: absolute; left: -9999px; }
.dl-code { font: 700 28px/1 ui-monospace, Menlo, monospace !important; letter-spacing: .3em; text-align: center; }
.dl-ca { max-height: 38vh; overflow: auto; padding: 14px; border: 1px solid var(--line); border-radius: 4px; background: #faf9f7; font-size: 14px; white-space: pre-wrap; }
/* A new password's strength as it is typed (the sign-up; assets/deal.js passwordMeter): three bars and a line under the box. Red
   is "not strong enough yet", green is what Clerk will take. */
.dl-pw { display: grid; gap: 6px; }
.dl-pw > label { font-weight: 600; font-size: 14.5px; }
.dl-pw-box { position: relative; }
.dl-pw-box input { width: 100%; padding-right: 72px !important; }
.dl-pw-show {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: none; padding: 6px 10px; border-radius: 4px;
  color: var(--violet); font-weight: 700; font-size: 13.5px; cursor: pointer;
}
.dl-pw-show:hover { background: var(--violet-wash); }
.dl-pw-meter { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.dl-pw-meter i { height: 5px; border-radius: 3px; background: var(--line); transition: background .15s; }
.dl-pw-meter[data-state="short"] i:first-child, .dl-pw-meter[data-state="fail"] i:first-child { background: #b42318; }
.dl-pw-meter[data-state="pass"] i:nth-child(-n+2), .dl-pw-meter[data-state="excellent"] i,
.dl-pw-meter[data-state="unknown"] i:nth-child(-n+2) { background: var(--ok); }
.dl-pw-words { font-size: 13.5px; color: var(--ink-soft); }
.dl-pw-words[data-state="fail"] { color: #b42318; font-weight: 600; }
.dl-pw-words[data-state="pass"], .dl-pw-words[data-state="excellent"] { color: var(--ok); font-weight: 700; }
.dl-pw-words[data-state="pass"]::before, .dl-pw-words[data-state="excellent"]::before { content: "✓ "; }
.dl-pw-fine { margin-top: -4px; }
.dl-error { color: #b42318; font-weight: 600; font-size: 14.5px; }
.dl-error:empty { display: none; }
.dl-submit { border: 0; border-radius: 3px; padding: 14px 18px; font-weight: 600; background: var(--brand); color: var(--brand-ink); cursor: pointer; }
.dl-submit:disabled { opacity: .5; cursor: not-allowed; }
.dl-link { border: 0; background: none; color: var(--violet); font-weight: 600; cursor: pointer; padding: 0; justify-self: start; }
.dl-fine { font-size: 12.5px; color: var(--ink-faint); }

.dl-lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #0c0d10; color: #fff; }
.dl-lightbox[open] { display: grid; grid-template-columns: 56px 1fr 56px; align-items: center; }
.dl-lightbox figure { display: grid; gap: 10px; justify-items: center; align-content: center; height: 100%; padding: 50px 0 20px; }
.dl-lightbox img { max-width: 100%; max-height: calc(100dvh - 120px); object-fit: contain; }
.dl-lightbox figcaption { font-size: 14px; color: #d4d2cc; text-align: center; padding: 0 8px; }
.dl-lb-nav { border: 0; background: rgba(255, 255, 255, .12); color: #fff; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; justify-self: center; display: grid; place-items: center; }
.dl-lb-nav .msym { font-size: 30px; }

/* The site's own dropdown (dropdown.js), in place of the browser's: a button where the <select> was, the <select> kept
   hidden in the form holding the value, the list in the page's look. */
.dd-native { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important; opacity: 0 !important; pointer-events: none !important; }
.dd-btn { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; min-width: 0; box-sizing: border-box; font: inherit; color: var(--ink); background: #fff; border: 1px solid #d6d2ca; border-radius: 4px; padding: 9px 12px; text-align: left; cursor: pointer; }
.dd-btn::after { content: ""; flex: none; margin-left: auto; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .55; transition: transform .12s ease; }
.dd-btn.open::after { transform: translateY(2px) rotate(-135deg); }
.dd-btn:disabled { opacity: .6; cursor: default; }
.dd-value { display: inline-grid; grid-template-columns: minmax(0, max-content); flex: 1 1 auto; min-width: 0; }
.dd-value > span { grid-area: 1 / 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; visibility: hidden; }
.dd-value > span.on { visibility: visible; }
.dd-list { position: fixed; z-index: 2147483000; box-sizing: border-box; max-width: min(440px, calc(100vw - 16px)); overflow-y: auto; overscroll-behavior: contain; margin: 0; padding: 5px; background: #fff; color: var(--ink); border: 1px solid rgba(0, 0, 0, .12); border-radius: 6px; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .35), 0 2px 8px rgba(0, 0, 0, .08); font: 400 15px/1.35 var(--f-body); text-align: left; animation: dd-in .1s ease-out; }
.dd-opt { padding: 9px 12px; border-radius: 4px; cursor: pointer; white-space: nowrap; }
.dd-opt.active { background: var(--violet-wash); }
.dd-opt.on { color: var(--violet); font-weight: 700; }
.dd-opt[aria-disabled="true"] { color: #8a8780; cursor: default; background: none; }
.dd-group { padding: 10px 12px 4px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #6a6760; }
@keyframes dd-in { from { opacity: 0; transform: translateY(-3px); } }

/* Tick boxes and round options in the brand's colour, not the browser's blue. */
:root { accent-color: var(--brand); }

/* ── The virtual tour full screen (0225): assets/deal.js, assets/pano.js ─────────────────────────────────────────────────── */
/* The frame around the photo is white, as the page is (Reed 2026-11-07: "The borders should be white"); what sits on the photo
   (arrows, ‹ ▶ ›, the caption) stays white on dark, in .dl-tour-stage. */
.dl-tour { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--paper); color: var(--ink); }
.dl-tour[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.dl-tour::backdrop { background: var(--paper); }
.dl-tour-head { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: calc(8px + env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) 8px max(16px, env(safe-area-inset-left, 0px)); }
.dl-tour-heading { display: flex; align-items: baseline; gap: 10px; min-width: 0; font: 700 18px/1.2 var(--f-body); }
.dl-tour-place { color: var(--ink-soft); font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 0 1 auto; }
.dl-tour-sep { color: var(--line); }
.dl-tour-room { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 0 0 auto; max-width: 60%; }
.dl-tour-x { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--page); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.dl-tour-x:hover { background: var(--line); }
.dl-tour-stage { position: relative; overflow: hidden; background: #0c0d10; color: #fff; }
.dl-tour-view { position: absolute; inset: 0; }
.dl-tour-arrows { position: absolute; inset: 0; pointer-events: none; }
.dl-tour-arrow { position: absolute; left: 0; top: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0; border: 0;
  background: none; color: #fff; cursor: pointer; pointer-events: auto; visibility: hidden; will-change: transform; transition: opacity .25s ease; }
.dl-tour-ring { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 2px solid #fff; background: rgba(255, 255, 255, .22);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: 0 4px 18px rgba(0, 0, 0, .4); transition: transform .15s ease; }
.dl-tour-ring .msym { font-size: 24px; }
.dl-tour-arrow:hover .dl-tour-ring, .dl-tour-arrow:focus-visible .dl-tour-ring { transform: scale(1.1); background: rgba(255, 255, 255, .34); }
.dl-tour-arrow:focus-visible { outline: none; }
.dl-tour-arrow:focus-visible .dl-tour-ring { box-shadow: 0 0 0 3px var(--accent), 0 4px 18px rgba(0, 0, 0, .4); }
.dl-tour-tag { font: 700 13px/1 var(--f-body); padding: 6px 10px 5px; border-radius: 999px; white-space: nowrap; background: rgba(12, 13, 16, .86); }
.dl-tour-veil { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; background: rgba(12, 13, 16, .78); }
.dl-tour-hint { position: absolute; left: 50%; bottom: 72px; transform: translateX(-50%); max-width: calc(100% - 32px); padding: 8px 14px; border-radius: 999px;
  background: rgba(12, 13, 16, .86); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; transition: opacity .4s ease; }
.dl-tour-hint.gone { opacity: 0; }
.dl-tour-nav { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.dl-tour-nav::-webkit-scrollbar { display: none; }
/* Every spot by its picture and name, as Kuula's and Asteroom's tours show them; the current one outlined. */
.dl-tour-nav button { flex: 0 0 auto; width: 132px; display: grid; gap: 5px; padding: 0; border: 0; background: none; color: var(--ink-soft);
  font-size: 13px; font-weight: 600; text-align: left; cursor: pointer; }
.dl-tour-nav img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 4px; border: 2px solid transparent; }
.dl-tour-nav span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl-tour-nav button:hover img { border-color: var(--line); }
.dl-tour-nav button[aria-current="true"] { color: var(--ink); }
.dl-tour-nav button[aria-current="true"] img { border-color: var(--brand); }
/* The next room loading: the room you are in stays on screen, a small ring says it is coming. */
.dl-tour-wait { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; pointer-events: none;
  border: 3px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: dl-tour-spin .8s linear infinite; }
@keyframes dl-tour-spin { to { transform: rotate(360deg); } }
/* As Matterport's tours (Reed 2026-11-07): ‹ ▶ › in a dark pill at the bottom left; while it plays, the spot's name large above it and
   a bar of the spots along the bottom, the current one filling; the strip of pictures steps aside. The ring is pano.js's (SVG). */
.dl-tour-controls { position: absolute; left: max(16px, env(safe-area-inset-left, 0px)); bottom: 16px; display: flex; gap: 2px; padding: 4px;
  border-radius: 999px; background: rgba(12, 13, 16, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.dl-tour-controls button { width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; color: #fff; cursor: pointer; }
.dl-tour-controls button:hover:not(:disabled) { background: rgba(255, 255, 255, .16); }
.dl-tour-controls button:disabled { color: rgba(255, 255, 255, .35); cursor: default; }
.dl-tour-controls .dl-tour-playbtn { background: #fff; color: #17181c; }
.dl-tour-controls .dl-tour-playbtn:hover { background: #fff; }
.dl-tour-controls .msym { font-size: 26px; }
.dl-tour-cap { position: absolute; left: max(18px, env(safe-area-inset-left, 0px)); bottom: 74px; max-width: min(560px, calc(100% - 36px));
  display: grid; gap: 4px; color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .55); pointer-events: none; }
.dl-tour-cap-name { font: var(--head-weight) clamp(26px, 3.6vw, 42px)/1.08 var(--f-head); text-transform: var(--head-case); letter-spacing: var(--head-track); }
.dl-tour-cap-sub { font-size: 15px; opacity: .9; }
.dl-tour-bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 4px; padding: 0 max(10px, env(safe-area-inset-right, 0px)) 6px max(10px, env(safe-area-inset-left, 0px)); pointer-events: none; }
.dl-tour-bar span { flex: 1 1 0; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .32); overflow: hidden; }
.dl-tour-bar i { display: block; height: 100%; width: 0; background: #fff; }
.dl-tour.playing .dl-tour-nav { display: none; }
.dl-tour.playing .dl-tour-hint { display: none; }

/* ── A laptop, a tablet and a phone ───────────────────────────────────────── */
@media (max-width: 1180px) {
  .dl-nav { display: none; }
}
@media (max-width: 1000px) {
  .rv-intro { flex-direction: column; gap: 26px; }
  .rv-cta-box { width: 100%; margin-top: -110px; order: -1; }
  .rv-hero-vbtn { left: auto; right: var(--gutter); bottom: 124px; }
  .rv-overview { grid-template-columns: minmax(0, 1fr); gap: 30px; padding-top: 40px; }
  .rv-rule { display: none; }
  .rv-ov-pic { margin-right: 0; }
  .rv-highlights { grid-template-columns: minmax(0, 1fr); gap: 30px; padding-bottom: 60px; }
  .rv-location { grid-template-columns: minmax(0, 1fr); }
  .rv-map-wrap { min-height: 340px; }
  .rv-map { min-height: 340px; }
  .rv-inquire { justify-content: center; }
  .rv-inquire-card { margin-right: 0; }
  .rv-tour-start { aspect-ratio: 16 / 9; }
  .dl-foot { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  /* Featured Listings: a row of its own under the logo, the menu opening to the left edge. */
  .dl-bar:has(.dl-featured) { flex-wrap: wrap; }
  .dl-bar > .dl-featured { order: 3; flex: 1 0 100%; margin: 4px 0 -6px !important; }
  .dl-featured-btn { padding: 6px 0; font-size: 14px; }
  .dl-featured-menu { left: 0; right: auto; top: calc(100% + 4px); }
  td.dl-added, th.dl-added { display: none; }
  .dl-added-sm { display: inline; }
  .dl-room-price { text-align: left; }
  .dl-lock-card { position: static; padding: 18px 4px 6px; }
  .dl-ghost { display: none; }
  .rv-hero { height: 78vh; min-height: 480px; }
  .rv-hero-address { bottom: 124px; }
  .rv-hero-uc { top: 84px; }
  .rv-facts { gap: 18px 32px; }
  .rv-facts dd { font-size: 20px; }
  .rv-car-nav { display: none; }
  .rv-slide { flex-basis: 88%; }
  .rv-about { flex-direction: column; gap: 16px; }
  .rv-inquire { padding: 40px var(--gutter); min-height: 0; }
  .rv-inquire-card { padding: 24px; }
  .rv-video { padding: 52px 0 56px; }
  .rv-video-frame { margin-top: 18px; }
  .rv-tour { padding-top: 52px; }
  .rv-tour-start { aspect-ratio: 4 / 3; }
  .rv-tour-play { padding: 12px 18px; font-size: 15px; }
  .dl-ask-form { flex-direction: column; align-items: stretch; }
  .dl-ask-q, .dl-ask-a { max-width: 100%; }
  /* The comps: a card a sale, its figures as labelled lines. */
  .rv-comps { padding: 46px 0 44px; }
  .rv-comps-map { height: 320px; }
  .rv-comps-table thead { display: none; }
  .rv-comps-table, .rv-comps-table tbody, .rv-comps-table tr, .rv-comps-table td { display: block; }
  .rv-comps-table tr { position: relative; padding: 14px 14px 12px 50px; border-bottom: 1px solid var(--line); }
  .rv-comps-table td { padding: 2px 0; border: 0; }
  .rv-comps-table td.rv-comp-n { position: absolute; left: 12px; top: 14px; }
  .rv-comps-table td[data-label] { display: flex; justify-content: space-between; gap: 12px; }
  .rv-comps-table td[data-label]::before { content: attr(data-label); color: var(--ink-soft); }
  .rv-comps-table td[data-label]:empty { display: none; }
  .rv-comps-table .rv-num { text-align: right; }
}
@media (max-width: 560px) {
  .dl-tour-nav button { width: 104px; font-size: 12px; } .dl-tour-place, .dl-tour-sep { display: none; } .dl-tour-room { max-width: none; }
  .dl-tour-hint { bottom: 70px; font-size: 12.5px; } .dl-tour-cap { bottom: 70px; }
}
@media (max-width: 520px) {
  .dl-bar { gap: 0 10px; padding-top: 10px; padding-bottom: 10px; flex-wrap: nowrap; }
  .dl-bar:has(.dl-featured) { flex-wrap: wrap; }
  .dl-bar-right { gap: 10px; }
  .dl-bar-logo { flex-shrink: 1; }
  .dl-bar-logo-img { height: 30px; max-width: 120px; }
  .dl-brand-name { font-size: 17px; max-width: 38vw; }
  .dl-bar-who { display: none; }
  .dl-bar-cta { padding: 9px 11px; font-size: 13.5px; }
  /* "The listing" read aloud, not shown: the chevron alone on a phone. */
  .dl-bar-back span + span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .dl-two, .rv-detail-grid { grid-template-columns: minmax(0, 1fr); }
  .dl-lightbox[open] { grid-template-columns: 0 1fr 0; }
  .dl-lb-nav { position: absolute; bottom: 18px; }
  .dl-lb-prev { left: 30%; }
  .dl-lb-next { right: 30%; }
}
@media (prefers-reduced-motion: reduce) {
  .rv-track { scroll-behavior: auto; }
  .dl-bar, .dl-bar-hero::before, .dl-pw-meter i, .dl-tour-ring, .dl-tour-hint, .dl-tour-arrow { transition: none; }
  .rv-tour-start img { animation: none; }
  .rv-hero-img { animation-duration: 0s; } .rv-hero-img.in { transition: none; }
  .dl-checking::before, .dd-list { animation: none; }
  .dl-tour-wait { animation-duration: 2s; }
  .dd-btn::after { transition: none; }
}

/* ── A portfolio's page (0247; lib/portfolio.js) ─────────────────────────────
   Behind the name, each property's cover side by side (the first widest when there are three or more); the properties as cards;
   then a section a property — its name, address, words beside its price and facts, details, photos, Video OM and team. */
.rv-collage { position: absolute; inset: 0; display: grid; gap: 3px; background: #000; }
.rv-collage-2 { grid-template-columns: 1fr 1fr; }
.rv-collage-3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.rv-collage-3 .rv-collage-cell:first-child { grid-row: span 2; }
.rv-collage-4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.rv-collage-5, .rv-collage-6 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.rv-collage-5 .rv-collage-cell:first-child, .rv-collage-6 .rv-collage-cell:first-child { grid-row: span 2; }
.rv-collage-6 .rv-collage-cell:last-child { display: none; }
.rv-collage-cell { display: block; min-width: 0; min-height: 0; border: 0; padding: 0; background: #111; cursor: zoom-in; overflow: hidden; }
.rv-collage-cell img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rv-highlights-plain { grid-template-columns: minmax(0, 1fr); max-width: 900px; }
.rv-properties { padding: 64px 0 24px; border-top: 1px solid var(--line); }
.rv-properties h2 { margin-bottom: 26px; }
.rv-pcards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.rv-pcards a { position: relative; display: grid; gap: 4px; color: inherit; text-decoration: none; border: 1px solid var(--line); background: var(--paper);
  padding-bottom: 14px; box-shadow: 0 6px 18px rgba(0, 0, 0, .06); }
.rv-pcards a:hover b { color: var(--brand); }
.rv-pcards img, .rv-pcard-blank { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; display: block; background: color-mix(in srgb, var(--brand) 14%, #fff); margin-bottom: 8px; }
.rv-pcards b, .rv-pcards span { padding: 0 16px; }
.rv-pcards b { font: 600 19px/1.2 var(--f-head); }
.rv-pcards span { color: var(--ink-soft); font-size: 14px; }
.rv-pcards .rv-pcard-price { color: var(--ink); font-weight: 700; }
.rv-pcard-n { position: absolute; top: 10px; left: 10px; width: 30px; height: 30px; display: grid; place-items: center; padding: 0 !important;
  border-radius: 50%; background: var(--accent); color: var(--accent-ink) !important; font-weight: 700; }
.rv-prop { padding: 70px 0 56px; border-top: 1px solid var(--line); scroll-margin-top: 70px; }
.rv-prop:nth-of-type(even) { background: color-mix(in srgb, var(--accent) 5%, #ffffff); }
.rv-prop-head { display: grid; gap: 8px; margin-bottom: 28px; }
.rv-prop-n { font: 600 12px/1.2 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.rv-prop-head h2 { margin: 0; }
.rv-prop-sub { font-size: 18px; color: var(--ink-soft); }
.rv-prop-address { display: flex; align-items: center; gap: 6px; color: var(--ink-soft); }
.rv-prop-uc { justify-self: start; padding: 4px 12px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 13px;
  letter-spacing: .06em; text-transform: uppercase; }
.rv-prop-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.rv-prop-main { display: grid; gap: 30px; }
.rv-prop-side { display: grid; gap: 18px; padding: 24px; background: var(--accent); color: var(--accent-ink); }
.rv-prop-side .dl-price-label { opacity: .85; }
.rv-prop-facts { display: grid; gap: 0; }
.rv-prop-facts > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid color-mix(in srgb, var(--accent-ink) 22%, transparent); }
.rv-prop-facts dd { font-weight: 600; text-align: right; }
.rv-prop-block { display: grid; gap: 16px; margin-top: 36px; }
.rv-prop-block h3 { font: 600 22px/1.2 var(--f-head); }
.rv-prop .rv-detail-grid { margin: 0; max-width: none; }
.rv-prop .rv-carousel .rv-track { padding: 0; }
.rv-prop .rv-car-prev { left: 16px; }
.rv-prop .rv-car-next { right: 16px; }
.rv-prop .rv-video-frame { margin-top: 0; width: 100%; }
.rv-prop-team .dl-agents { margin: 0; }
.rv-loc-list { display: grid; gap: 14px; padding-left: 22px; }
.rv-loc-list a { color: inherit; }
@media (max-width: 900px) {
  .rv-prop-grid { grid-template-columns: minmax(0, 1fr); }
  .rv-collage-3, .rv-collage-5, .rv-collage-6 { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; }
  .rv-collage-3 .rv-collage-cell:first-child, .rv-collage-5 .rv-collage-cell:first-child, .rv-collage-6 .rv-collage-cell:first-child { grid-row: auto; grid-column: span 2; }
  .rv-collage-5 .rv-collage-cell:nth-child(n+4), .rv-collage-6 .rv-collage-cell:nth-child(n+4) { display: none; }
}
