/* Maple shared appearance: Cairo, graphite surfaces, navy accent and compact app chrome.
   This file styles only the local design preview; the production site is unchanged. */
body.maple-v3 {
  --maple-bg: #13151a;
  --maple-fg: #eaebed;
  --maple-card: #1d2026;
  --maple-popover: #24272e;
  --maple-subtle: #2c2f35;
  --maple-muted: #afb4be;
  --maple-border: #464a52;
  --maple-input: #777e8a;
  --maple-primary: #9cabe9;
  --maple-primary-ink: #171b28;
  --maple-primary-soft: #9cabe91c;
  --maple-shadow: 0 2px 9px #00000014;
  --navy: var(--maple-primary);
  --ink: var(--maple-fg);
  --muted: var(--maple-muted);
  --teal: var(--maple-primary);
  --teal-soft: var(--maple-primary-soft);
  --paper: var(--maple-bg);
  --line: var(--maple-border);
  --white: var(--maple-card);
  --radius: 16px;
  --shadow: var(--maple-shadow);
  color-scheme: dark;
  background: var(--maple-bg);
  color: var(--maple-fg);
  font: 400 16px/1.7 Cairo, Tahoma, sans-serif;
  letter-spacing: normal;
  min-height: 100dvh;
  padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px));
}
body.maple-v3[data-theme="light"] {
  --maple-bg: #f7f8fc;
  --maple-fg: #18243a;
  --maple-card: #ffffff;
  --maple-popover: #ffffff;
  --maple-subtle: #eff1f7;
  --maple-muted: #626b7b;
  --maple-border: #d4d9e4;
  --maple-input: #a3abba;
  --maple-primary: #233a6a;
  --maple-primary-ink: #ffffff;
  --maple-primary-soft: #233a6a0d;
  --maple-shadow: 0 2px 9px #14233c0e;
  color-scheme: light;
}
/* Saved accent choices never change the selected day/night surfaces. */
.maple-v3[data-palette="sky"] { --maple-primary: hsl(198 65% 65%); }
.maple-v3[data-palette="mint"] { --maple-primary: hsl(156 52% 62%); }
.maple-v3[data-palette="royal"] { --maple-primary: hsl(265 69% 74%); }
.maple-v3[data-palette="gold"] { --maple-primary: hsl(43 69% 74%); }
.maple-v3[data-palette="bronze"] { --maple-primary: hsl(23 60% 74%); }
.maple-v3[data-palette="teal"] { --maple-primary: hsl(178 35% 66%); }
.maple-v3[data-palette="burgundy"] { --maple-primary: hsl(343 45% 72%); }
.maple-v3[data-palette="silver"] { --maple-primary: hsl(210 16% 74%); }
.maple-v3[data-palette="white"] { --maple-primary: hsl(0 0% 90%); }
.maple-v3[data-palette="black"] { --maple-primary: hsl(0 0% 82%); }
.maple-v3[data-palette="custom"] { --maple-primary: hsl(var(--custom-palette-hue, 265) var(--custom-palette-saturation, 69%) 74%); }
.maple-v3[data-theme="light"][data-palette="sky"] { --maple-primary: hsl(197 72% 33%); }
.maple-v3[data-theme="light"][data-palette="mint"] { --maple-primary: hsl(159 62% 25%); }
.maple-v3[data-theme="light"][data-palette="royal"] { --maple-primary: hsl(265 69% 28%); }
.maple-v3[data-theme="light"][data-palette="gold"] { --maple-primary: hsl(43 69% 28%); }
.maple-v3[data-theme="light"][data-palette="bronze"] { --maple-primary: hsl(23 60% 28%); }
.maple-v3[data-theme="light"][data-palette="teal"] { --maple-primary: hsl(178 36% 26%); }
.maple-v3[data-theme="light"][data-palette="burgundy"] { --maple-primary: hsl(343 50% 31%); }
.maple-v3[data-theme="light"][data-palette="silver"] { --maple-primary: hsl(210 15% 30%); }
.maple-v3[data-theme="light"][data-palette="white"] { --maple-primary: hsl(220 8% 27%); }
.maple-v3[data-theme="light"][data-palette="black"] { --maple-primary: hsl(155 8% 12%); }
.maple-v3[data-theme="light"][data-palette="custom"] { --maple-primary: hsl(var(--custom-palette-hue, 265) var(--custom-palette-saturation, 69%) 28%); }
body.maple-v3, body.maple-v3[data-theme] { --maple-primary-soft: color-mix(in srgb, var(--maple-primary) 11%, transparent); --accent: var(--maple-primary); --accent-contrast: var(--maple-primary-ink); }
.maple-v3 *, .maple-v3 *::before, .maple-v3 *::after { box-sizing: border-box; }
.maple-v3 h1, .maple-v3 h2, .maple-v3 h3, .maple-v3 h4 { font-family: Cairo, Tahoma, sans-serif; letter-spacing: normal; font-weight: 700; text-wrap: pretty; }
.maple-v3 h1 { font-size: 28px; line-height: 1.5; }
.maple-v3 h2 { font-size: 24px; line-height: 1.5; }
.maple-v3 h3 { font-size: 18px; line-height: 1.5; }
.maple-v3 button, .maple-v3 input, .maple-v3 textarea, .maple-v3 select { font-family: Cairo, Tahoma, sans-serif; letter-spacing: normal; }
.maple-v3 input, .maple-v3 select, .maple-v3 textarea { font-size: 16px; color: var(--maple-fg); background: var(--maple-card); accent-color: var(--maple-primary); }
.maple-v3 input::placeholder, .maple-v3 textarea::placeholder { color: var(--maple-muted); opacity: 1; }
.maple-v3 a, .maple-v3 button { -webkit-tap-highlight-color: transparent; }
.maple-v3 :is(a, button, input, textarea, select, summary):focus-visible { outline: 2px solid var(--maple-primary); outline-offset: 3px; }
.maple-v3 .wrap { width: min(1152px, calc(100% - 48px)); margin-inline: auto; }
.maple-v3 .icon { width: 20px; height: 20px; stroke-width: 2; flex-shrink: 0; }
.maple-v3 .section { padding-block: 28px; }
.maple-v3 .section-head { gap: 20px; margin-bottom: 20px; align-items: center; }
.maple-v3 .section-head p { color: var(--maple-muted); margin-top: 6px; font-size: 14px; }
.maple-v3 .section-head h2 { font-size: 24px; }
.maple-v3 .eyebrow { color: var(--maple-primary); font-size: 12px; margin-bottom: 10px; letter-spacing: normal; }
.maple-v3 .eyebrow::before { display: none; }
.maple-v3 .btn { min-height: 44px; border-radius: 12px; padding: 9px 18px; font-size: 14px; font-weight: 600; line-height: 1.65; background: var(--maple-primary); border-color: var(--maple-primary); color: var(--maple-primary-ink); box-shadow: none; }
.maple-v3 .btn:hover { background: var(--maple-primary); border-color: var(--maple-primary); filter: brightness(1.07); }
.maple-v3 .btn.teal { background: var(--maple-primary); border-color: var(--maple-primary); color: var(--maple-primary-ink); }
.maple-v3 .btn.outline, .maple-v3 .btn.ghost { background: var(--maple-card); border-color: var(--maple-border); color: var(--maple-fg); }
.maple-v3 .btn.outline:hover, .maple-v3 .btn.ghost:hover { background: var(--maple-subtle); filter: none; }
.maple-v3 .text-link { color: var(--maple-primary); font-size: 14px; font-weight: 600; gap: 6px; }
.maple-v3 .text-link .icon { width: 17px; height: 17px; }
.maple-v3 .icon-btn { width: 44px; height: 44px; min-width: 44px; border: 1px solid var(--maple-border); background: var(--maple-card); color: var(--maple-fg); border-radius: 12px; }
.maple-v3 .icon-btn:hover { background: var(--maple-subtle); border-color: var(--maple-border); }
.maple-v3 .skip-link { background: var(--maple-primary); color: var(--maple-primary-ink); z-index: 150; border-radius: 12px; }

/* The same icon-only, three-part header used by the application. */
.maple-v3 #site-header { position: sticky; top: 0; height: calc(72px + env(safe-area-inset-top, 0px)); z-index: 50; padding: calc(8px + env(safe-area-inset-top, 0px)) 12px 8px; background: var(--maple-bg); transition: height .25s ease; }
.maple-v3 .maple-header-shell { max-width: 1280px; margin: 0 auto; position: relative; }
.maple-v3 .maple-header-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; min-height: 54px; padding: 4px 12px; border: 1px solid var(--maple-border); background: var(--maple-card); box-shadow: var(--maple-shadow); border-radius: 16px; transition: transform .25s ease, opacity .2s; }
.maple-v3 .maple-header-primary, .maple-v3 .maple-header-secondary { display: flex; min-width: 0; align-items: center; gap: 4px; }
.maple-v3 .maple-header-secondary { justify-content: flex-end; }
.maple-v3 .maple-header-primary .brand, .maple-v3 .maple-header-primary .brand img { width: 36px; height: 36px; }
.maple-v3 .maple-header-primary .brand { min-width: 36px; display: flex; justify-content: center; padding: 0; gap: 0; border-radius: 50%; }
.maple-v3 .maple-header-primary .brand img { object-fit: contain; border-radius: 50%; background: #18244b; }
.maple-v3 .maple-header-primary .brand :is(span, b, small) { display: none; }
.maple-v3 .maple-header-logo { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; }
.maple-v3 .maple-header-logo img { width: 36px; height: 36px; object-fit: contain; border-radius: 50%; background: #18244b; }
.maple-v3 .maple-header-bar .icon-btn, .maple-v3 .maple-view-toggle { width: 44px; min-width: 44px; height: 44px; border: 0; background: transparent; border-radius: 12px; color: var(--maple-primary); display: inline-flex; align-items: center; justify-content: center; }
.maple-v3 .maple-header-bar .icon-btn:hover, .maple-v3 .maple-view-toggle:hover { background: var(--maple-primary-soft); }
.maple-v3 .maple-header-bar .icon { width: 21px; height: 21px; }
.maple-v3 .maple-header-bar [data-action="account"] { border-radius: 50%; }
.maple-v3 .maple-header-bar [aria-current="page"] { background: var(--maple-primary-soft); }
.maple-v3 .maple-header-bar .maple-account-entry.active { background: var(--maple-primary-soft); }
.maple-v3 .maple-smart-entry { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; color: var(--maple-primary); border: 1px solid var(--maple-border); background: var(--maple-primary-soft); border-radius: 14px; padding: 7px 10px; gap: 8px; }
.maple-v3 .maple-smart-entry .icon, .maple-v3 .maple-smart-entry .smartrobot { width: 25px; height: 25px; }
.maple-v3 .maple-smart-entry span { font-size: 12px; font-weight: 700; }
.maple-v3 .chrome-toggle { position: fixed; right: max(24px, calc((100vw - 1280px) / 2 + 12px)); width: 44px; height: 44px; min-height: 44px; padding: 8px; border: 0; background: transparent; color: var(--maple-muted); display: flex; justify-content: center; align-items: center; border-radius: 50%; z-index: 65; }
.maple-v3 .chrome-toggle > span { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; background: var(--maple-card); border: 1px solid var(--maple-border); box-shadow: 0 1px 3px #0000001a; border-radius: 50%; }
.maple-v3 .chrome-toggle .icon { width: 16px; height: 16px; }
.maple-v3 .chrome-toggle:hover { color: var(--maple-primary); }
.maple-v3 .header-toggle { top: calc(72px + env(safe-area-inset-top, 0px)); }
.maple-v3.header-hidden #site-header { height: calc(36px + env(safe-area-inset-top, 0px)); }
.maple-v3.header-hidden .maple-header-bar { transform: translateY(calc(-100% - 12px)); opacity: 0; pointer-events: none; }
.maple-v3.header-hidden .header-toggle { top: calc(6px + env(safe-area-inset-top, 0px)); }

/* Shared bottom navigation: never competes with the property contact strip. */
.maple-v3 #site-footer { background: transparent; margin-top: 0; }
.maple-v3 .maple-bottom-wrap { position: fixed; inset-inline: 0; bottom: 0; z-index: 55; padding: 0 12px max(8px, env(safe-area-inset-bottom, 0px)); display: flex; justify-content: center; pointer-events: none; }
.maple-v3 .maple-bottom-bar { width: 100%; max-width: 620px; height: 64px; padding: 4px; display: flex; align-items: center; background: var(--maple-card); border: 1px solid var(--maple-border); border-radius: 20px; box-shadow: var(--maple-shadow); pointer-events: auto; transition: transform .3s ease; }
.maple-v3 .maple-bottom-bar a { min-width: 0; flex: 1; height: 54px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2px; color: var(--maple-muted); border-radius: 12px; }
.maple-v3 .maple-bottom-bar a.active, .maple-v3 .maple-bottom-bar a[aria-current="page"] { color: var(--maple-primary); background: var(--maple-primary-soft); }
.maple-v3 .maple-bottom-bar a:hover { color: var(--maple-primary); }
.maple-v3 .maple-bottom-bar a > span:first-child { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; }
.maple-v3 .maple-bottom-bar .icon { width: 20px; height: 20px; stroke-width: 2.6; }
.maple-v3 .maple-bottom-bar a > span:last-child, .maple-v3 .maple-bottom-bar small { font-size: 12px; font-weight: 600; line-height: 18px; white-space: nowrap; }
.maple-v3 .maple-bottom-bar a.create > span:first-child, .maple-v3 .maple-bottom-bar a.is-create > span:first-child, .maple-v3 .maple-bottom-bar a[data-create] > span:first-child { background: var(--maple-primary); color: var(--maple-primary-ink); border-radius: 12px; border: 1px solid var(--maple-primary); }
.maple-v3 .maple-bottom-bar a.create, .maple-v3 .maple-bottom-bar a.is-create, .maple-v3 .maple-bottom-bar a[data-create] { color: var(--maple-primary); }
.maple-v3 .maple-bottom-bar .maple-nav-add > span:first-child { background: var(--maple-primary); border: 1px solid var(--maple-primary); color: var(--maple-primary-ink); border-radius: 12px; }
.maple-v3 .maple-bottom-bar .maple-nav-add { color: var(--maple-primary); }
.maple-v3 .bottom-toggle { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
.maple-v3.bottom-hidden .maple-bottom-bar { transform: translateY(calc(100% + 96px)); pointer-events: none; }
.maple-v3.bottom-hidden .bottom-toggle { bottom: calc(8px + env(safe-area-inset-bottom, 0px)); }
.maple-v3.bottom-hidden { padding-bottom: 50px; }
.maple-v3 .maple-mini-footer { max-width: 1152px; margin: 24px auto 0; padding: 20px 0; border-top: 1px solid var(--maple-border); color: var(--maple-muted); font-size: 12px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.maple-v3 .maple-mini-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.maple-v3 .maple-mini-footer a:hover { color: var(--maple-primary); }
.maple-v3 .maple-footer-brand { display: flex; align-items: center; gap: 10px; color: var(--maple-fg); }
.maple-v3 .maple-footer-brand img { width: 36px; height: 36px; object-fit: contain; border-radius: 50%; background: #18244b; }
.maple-v3 .maple-footer-brand b { font-size: 14px; font-weight: 600; }
.maple-v3 .maple-preview-note, .maple-v3 .review-note { background: transparent; padding: 10px 24px; border: 0; color: var(--maple-muted); text-align: center; font-size: 11px; line-height: 1.8; max-width: 1152px; margin: 0 auto; }
.maple-v3 .preview-link { color: var(--maple-primary); }

/* Discovery starts with the same restrained photographic poster and overlap search. */
.maple-v3 .maple-discovery { padding-top: 12px; }
.maple-v3 .maple-home-hero { position: relative; isolation: isolate; min-height: 360px; border-radius: 16px; overflow: hidden; background: #101827; }
.maple-v3 .maple-home-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.maple-v3 .maple-home-hero::after { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(to left, #020617dc, #020617a5 58%, #02061740); pointer-events: none; }
.maple-v3 .maple-hero-shade { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.maple-v3 .maple-hero-copy, .maple-v3 .maple-home-copy { position: relative; z-index: 1; max-width: 690px; padding: 56px 40px 64px; color: #fff; }
.maple-v3 .maple-hero-copy > p:first-child { font-size: 14px; font-weight: 600; color: #ffffffe0; margin-bottom: 12px; }
.maple-v3 .maple-home-hero h1 { color: #fff; font-size: clamp(30px, 4vw, 44px); line-height: 1.4; max-width: 19ch; text-wrap: balance; }
.maple-v3 .maple-home-hero h1 + p, .maple-v3 .maple-home-intro { font-size: 16px; line-height: 1.85; color: #ffffffe6; margin-top: 16px; max-width: 590px; }
.maple-v3 .maple-search-dock { position: relative; z-index: 2; margin: -32px 24px 0; padding: 20px; background: var(--maple-card); color: var(--maple-fg); border: 1px solid var(--maple-border); border-radius: 16px; box-shadow: 0 8px 28px #00000014; }
.maple-v3 .maple-search-form { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr) auto auto; gap: 12px; align-items: stretch; }
.maple-v3 .maple-search-choice { min-height: 72px; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid var(--maple-input); border-radius: 8px; background: var(--maple-card); color: var(--maple-fg); text-align: right; }
.maple-v3 .maple-search-choice:hover { border-color: var(--maple-primary); }
.maple-v3 .maple-search-choice > span { min-width: 0; flex: 1; }
.maple-v3 .maple-search-choice b, .maple-v3 .maple-search-choice strong { display: block; font-size: 14px; font-weight: 600; }
.maple-v3 .maple-search-choice small { display: block; font-size: 14px; color: var(--maple-muted); margin-top: 4px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.maple-v3 .maple-search-choice > .icon { color: var(--maple-muted); width: 20px; height: 20px; }
.maple-v3 .maple-search-choice > .icon:last-child { width: 16px; height: 16px; }
.maple-v3 .maple-search-form > .btn { min-height: 72px; border-radius: 8px; padding-inline: 20px; white-space: nowrap; }
.maple-v3 .maple-search-form .maple-search-submit { font-size: 16px; padding-inline: 24px; }
.maple-v3 .maple-home-utilities { display: flex; gap: 12px; justify-content: space-between; align-items: center; flex-wrap: wrap; margin: 0 0 20px; padding: 12px; border: 1px solid var(--maple-border); background: var(--maple-card); border-radius: 16px; }
.maple-v3 .maple-home-utilities > div, .maple-v3 .maple-utility-actions { display: flex; gap: 8px; align-items: center; }
.maple-v3 .v2-type-tabs { display: flex; gap: 4px; flex-wrap: wrap; padding: 0; background: transparent; border: 0; margin: 0; }
.maple-v3 .v2-type-tabs button { border: 1px solid transparent; border-radius: 10px; min-height: 44px; padding: 8px 16px; font-size: 14px; font-weight: 600; background: transparent; color: var(--maple-muted); }
.maple-v3 .v2-type-tabs button.active { background: var(--maple-primary-soft); color: var(--maple-primary); border-color: var(--maple-primary); }
.maple-v3 .maple-city-links { display: flex; flex-wrap: wrap; gap: 10px; }
.maple-v3 .maple-city-links a { display: inline-flex; gap: 8px; min-height: 44px; align-items: center; padding: 9px 16px; border: 1px solid var(--maple-border); border-radius: 12px; background: var(--maple-card); color: var(--maple-fg); font-size: 14px; }
.maple-v3 .maple-city-links a:hover { color: var(--maple-primary); border-color: var(--maple-primary); }
.maple-v3 .maple-help-panel { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px; background: var(--maple-card); border: 1px solid var(--maple-border); border-radius: 16px; }
.maple-v3 .maple-help-panel p { color: var(--maple-muted); font-size: 14px; margin-top: 8px; }
.maple-v3 .maple-help-panel .btn { flex-shrink: 0; }

/* Listing cards use Maple's typography, spacing, imagery, attribution and contact order. */
.maple-v3 .property-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.maple-v3 .property-card { display: flex; flex-direction: column; height: 100%; isolation: isolate; min-width: 0; border: 1px solid var(--maple-border); border-radius: 16px; background: var(--maple-card); box-shadow: 0 1px 4px #0000000b; overflow: hidden; }
.maple-v3 .property-card:hover { border-color: var(--maple-primary); box-shadow: 0 3px 10px #00000012; }
.maple-v3 .card-cover { aspect-ratio: 16 / 10; height: auto; width: 100%; flex-shrink: 0; background: var(--maple-subtle); position: relative; }
.maple-v3 .card-cover img { width: 100%; height: 100%; object-fit: cover; }
.maple-v3 .status-label { top: 12px; right: 12px; border: 1px solid #2563eb; background: #3b82f6; color: #fff; padding: 4px 10px; border-radius: 8px; font-size: 12px; font-weight: 600; line-height: 1.6; }
.maple-v3 .status-label.rent, .maple-v3 .status-label[data-status="rent"] { border-color: #7c3aed; background: #8b5cf6; }
.maple-v3 .status-label.share, .maple-v3 .status-label[data-status="share"] { border-color: #ea580c; background: #f97316; }
.maple-v3 .favorite { top: 12px; left: 12px; width: 44px; height: 44px; border: 1px solid var(--maple-border); border-radius: 50%; background: var(--maple-card); color: var(--maple-fg); }
.maple-v3 .favorite .icon { width: 20px; height: 20px; }
.maple-v3 .favorite.saved { background: var(--maple-primary); color: var(--maple-primary-ink); border-color: var(--maple-primary); }
.maple-v3 .card-body { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 16px; }
.maple-v3 .v2-card-kind { display: none; }
.maple-v3 .card-price { font-size: 24px; line-height: 32px; font-weight: 700; letter-spacing: normal; display: flex; flex-wrap: wrap; gap: 6px; color: var(--maple-fg); overflow-wrap: anywhere; }
.maple-v3 .card-price small { color: var(--maple-muted); font-size: 12px; line-height: 1.6; font-weight: 400; }
.maple-v3 .card-title { font-size: 16px; line-height: 24px; font-weight: 600; min-height: 48px; margin-top: 8px; }
.maple-v3 .card-location { font-size: 14px; line-height: 24px; gap: 8px; margin-top: 8px; color: var(--maple-muted); align-items: flex-start; }
.maple-v3 .card-location .icon { width: 16px; height: 16px; margin-top: 4px; }
.maple-v3 .card-specs { margin-top: 8px; padding: 4px 0 12px; border: 0; font-size: 14px; line-height: 24px; gap: 8px 16px; flex-wrap: wrap; color: var(--maple-muted); }
.maple-v3 .card-specs .icon { width: 16px; height: 16px; }
.maple-v3 .card-specs .card-details { font-size: 12px; color: var(--maple-primary); }
.maple-v3 .card-body > .snapshot, .maple-v3 .card-attribution { color: var(--maple-muted); border-top: 1px solid var(--maple-border); font-size: 12px; line-height: 1.7; padding-top: 12px; margin-top: auto; }
.maple-v3 .card-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; border-top: 1px solid var(--maple-border); padding-top: 16px; margin-top: 14px; }
.maple-v3 .card-actions .btn { min-width: 0; min-height: 44px; padding: 9px 10px; border-radius: 12px; font-size: 14px; font-weight: 600; gap: 8px; }
.maple-v3 .card-actions .btn .icon { width: 16px; height: 16px; }
.maple-v3 .card-actions .contact-wa, .maple-v3 .btn.maple-action-whatsapp { border: 1px solid #279b74; background: #116a4d; color: #fff; }
.maple-v3 .card-actions .contact-wa:hover, .maple-v3 .btn.maple-action-whatsapp:hover { background: #0e5e44; border-color: #279b74; filter: none; }
.maple-v3[data-theme="light"] .card-actions .contact-wa, .maple-v3[data-theme="light"] .btn.maple-action-whatsapp { background: #117553; border-color: #117553; color: #fff; }

/* Results, saved listings and shared search controls. */
.maple-v3 .breadcrumb { padding: 20px 0; font-size: 12px; color: var(--maple-muted); }
.maple-v3 .breadcrumb a { color: var(--maple-primary); }
.maple-v3 .page-intro { padding: 4px 0 24px; }
.maple-v3 .page-intro h1 { font-size: 28px; line-height: 1.5; }
.maple-v3 .page-intro p { color: var(--maple-muted); font-size: 14px; margin-top: 8px; }
.maple-v3 .results-layout { grid-template-columns: 258px minmax(0, 1fr); gap: 24px; }
.maple-v3 .maple-results-search { background: var(--maple-card); border: 1px solid var(--maple-border); border-radius: 16px; margin: 0 0 20px; padding: 16px; }
.maple-v3 .maple-query-form { display: flex; align-items: center; gap: 12px; min-width: 0; }
.maple-v3 .maple-query-form input { min-width: 0; flex: 1; height: 48px; border: 1px solid var(--maple-input); border-radius: 12px; background: var(--maple-card); padding: 10px 14px; font-size: 16px; }
.maple-v3 .maple-query-input { position: relative; flex: 1; min-width: 0; display: flex; align-items: center; }
.maple-v3 .maple-query-input > .icon { position: absolute; inset-inline-start: 14px; top: 14px; color: var(--maple-muted); pointer-events: none; }
.maple-v3 .maple-query-input input { width: 100%; padding-inline-start: 44px; }
.maple-v3 .maple-query-form .btn { min-height: 48px; }
.maple-v3 .maple-results-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--maple-border); }
.maple-v3 .maple-results-links, .maple-v3 .maple-results-options { display: flex; align-items: center; gap: 10px; }
.maple-v3 .maple-results-links a { color: var(--maple-primary); font-size: 14px; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; }
.maple-v3 .maple-results-links a:hover { background: var(--maple-primary-soft); }
.maple-v3 .maple-results-options select { font-size: 16px; min-width: 0; max-width: 200px; height: 44px; padding: 7px 12px; border: 1px solid var(--maple-input); border-radius: 10px; background: var(--maple-card); }
.maple-v3 .maple-result-count { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin: 20px 0; color: var(--maple-muted); font-size: 14px; }
.maple-v3 .maple-result-count .active-filters { margin: 0; }
.maple-v3 .maple-card-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--maple-muted); margin-top: 12px; }
.maple-v3 .maple-card-meta a { display: inline-flex; align-items: center; gap: 6px; color: var(--maple-primary); }
.maple-v3 .maple-card-meta .icon { width: 16px; height: 16px; }
.maple-v3 .filter-panel { padding: 20px; border-radius: 16px; border-color: var(--maple-border); background: var(--maple-card); }
.maple-v3 .filter-panel .field { margin-bottom: 16px; }
.maple-v3 .filter-title h2 { font-size: 18px; }
.maple-v3 .clear-btn { color: var(--maple-primary); min-height: 44px; padding: 4px 2px; font-size: 13px; text-decoration: none; }
.maple-v3 .field { gap: 8px; min-width: 0; }
.maple-v3 .field label { color: var(--maple-fg); font-size: 14px; font-weight: 600; }
.maple-v3 .field input, .maple-v3 .field select, .maple-v3 .field textarea { width: 100%; min-width: 0; min-height: 48px; border: 1px solid var(--maple-input); border-radius: 8px; background: var(--maple-card); color: var(--maple-fg); padding: 10px 12px; font-size: 16px; line-height: 1.7; }
.maple-v3 .field textarea { min-height: 140px; resize: vertical; }
.maple-v3 .segments { background: var(--maple-subtle); padding: 4px; border-radius: 12px; }
.maple-v3 .segments button { min-height: 44px; border-radius: 8px; background: transparent; color: var(--maple-muted); font-size: 14px; font-weight: 600; padding: 7px 14px; }
.maple-v3 .segments button.active { background: var(--maple-primary); color: var(--maple-primary-ink); }
.maple-v3 .filter-panel .segments { flex-wrap: wrap; gap: 4px; }
.maple-v3 .filter-panel .segments button { padding-inline: 8px; font-size: 13px; }
.maple-v3 .results-toolbar { background: var(--maple-card); border: 1px solid var(--maple-border); border-radius: 16px; padding: 12px; gap: 10px; margin-bottom: 20px; }
.maple-v3 .results-toolbar .count { font-size: 14px; }
.maple-v3 .results-toolbar select { min-height: 44px; height: auto; max-width: 180px; background: var(--maple-card); color: var(--maple-fg); border: 1px solid var(--maple-input); font-size: 16px; border-radius: 8px; padding: 7px 8px; }
.maple-v3 .view-toggle .icon-btn { width: 44px; height: 44px; border-radius: 10px; }
.maple-v3 .view-toggle .active { background: var(--maple-primary-soft); border-color: var(--maple-primary); color: var(--maple-primary); }
.maple-v3 .filter-chip { font-size: 13px; min-height: 44px; padding: 7px 12px; border-color: var(--maple-primary); color: var(--maple-primary); background: var(--maple-primary-soft); border-radius: 10px; }
.maple-v3 .filter-chip .icon { width: 14px; height: 14px; }
.maple-v3 .results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.maple-v3 .property-grid.list-view { grid-template-columns: 1fr; }
.maple-v3 .property-grid.list-view .property-card { display: grid; grid-template-columns: minmax(240px, 32%) minmax(0, 1fr); }
.maple-v3 .property-grid.list-view .card-cover { height: 100%; min-height: 240px; aspect-ratio: auto; }
.maple-v3 .property-grid.list-view .card-title { min-height: 0; }
.maple-v3 .property-grid.list-view .favorite { left: auto; right: calc(32% - 56px); top: 12px; }
.maple-v3 .empty-state { background: var(--maple-card); border-color: var(--maple-border); border-radius: 16px; padding: 48px 24px; }
.maple-v3 .empty-state h2 { font-size: 22px; }
.maple-v3 .empty-state p { color: var(--maple-muted); }
.maple-v3 .snapshot-note { font-size: 12px; color: var(--maple-muted); line-height: 1.85; padding-top: 20px; }
.maple-v3 .snapshot-note .btn { margin-top: 12px; }

/* Listing detail, content surfaces, gallery and always-visible communication. */
.maple-v3 .detail-head { gap: 24px; margin-bottom: 24px; }
.maple-v3 .detail-head h1 { font-size: 28px; line-height: 1.5; max-width: 800px; }
.maple-v3 .detail-head .card-location { font-size: 14px; }
.maple-v3 .detail-tools { gap: 8px; }
.maple-v3 .gallery { border-radius: 16px; gap: 8px; background: var(--maple-card); margin-bottom: 24px; }
.maple-v3 .gallery button { background: var(--maple-subtle); color: var(--maple-fg); }
.maple-v3 .gallery button .photo-count { min-height: 36px; display: flex; align-items: center; border-radius: 10px; padding: 7px 12px; background: var(--maple-card); color: var(--maple-fg); border: 1px solid var(--maple-border); }
.maple-v3 .detail-layout { grid-template-columns: minmax(0, 1fr) 315px; gap: 24px; }
.maple-v3 .detail-section { background: var(--maple-card); border: 1px solid var(--maple-border); border-radius: 16px; padding: 24px; margin-bottom: 20px; }
.maple-v3 .detail-section h2 { font-size: 20px; margin-bottom: 18px; }
.maple-v3 .detail-section .description { color: var(--maple-muted); font-size: 16px; line-height: 1.9; }
.maple-v3 .spec-grid { gap: 20px; }
.maple-v3 .spec-grid > div { border-color: var(--maple-border); }
.maple-v3 .spec-grid small { color: var(--maple-muted); font-size: 13px; }
.maple-v3 .spec-grid strong { color: var(--maple-fg); font-size: 16px; font-weight: 600; }
.maple-v3 .contact-card { background: var(--maple-card); border-color: var(--maple-border); border-radius: 16px; padding: 24px; top: 92px; }
.maple-v3 .contact-card > .card-price { font-size: 26px; border-color: var(--maple-border); }
.maple-v3 .contact-card h2 { font-size: 18px; }
.maple-v3 .contact-card p { color: var(--maple-muted); font-size: 14px; line-height: 1.8; }
.maple-v3 .contact-card .contact-tip { font-size: 12px; }
.maple-v3 .location-box { background: var(--maple-primary-soft); border: 1px solid var(--maple-border); border-radius: 12px; padding: 20px; }
.maple-v3 .location-box .icon { color: var(--maple-primary); width: 28px; height: 28px; }
.maple-v3 .location-box p, .maple-v3 .listing-ref { color: var(--maple-muted); font-size: 13px; }
.maple-v3 .location-box h3 { font-size: 18px; }
.maple-v3 .sticky-contact { display: none; }
.maple-v3.has-detail .bottom-toggle { bottom: calc(148px + env(safe-area-inset-bottom, 0px)); }
.maple-v3.has-detail.bottom-hidden .bottom-toggle { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }

/* Contact, owner onboarding and account views share the application surfaces. */
.maple-v3 .contact-page-grid { gap: 24px; }
.maple-v3 .contact-hero { padding: 32px; color: var(--maple-fg); background: var(--maple-card); border: 1px solid var(--maple-border); border-radius: 16px; }
.maple-v3 .contact-hero .eyebrow { color: var(--maple-primary); }
.maple-v3 .contact-hero h2 { font-size: 28px; }
.maple-v3 .contact-hero p { color: var(--maple-muted); font-size: 16px; }
.maple-v3 .contact-hero .btn { background: #116a4d; border-color: #279b74; color: #fff; }
.maple-v3 .contact-options { gap: 16px; }
.maple-v3 .contact-option { padding: 24px; background: var(--maple-card); border-color: var(--maple-border); border-radius: 16px; gap: 16px; }
.maple-v3 .contact-option > .icon { color: var(--maple-primary); width: 24px; height: 24px; }
.maple-v3 .contact-option h2 { font-size: 18px; }
.maple-v3 .contact-option p { font-size: 14px; color: var(--maple-muted); }
.maple-v3 .contact-option > div { min-width: 0; }
.maple-v3 .seller-step, .maple-v3 .seller-start, .maple-v3 .account-panel { background: var(--maple-card); border: 1px solid var(--maple-border); border-radius: 16px; }
.maple-v3 .seller-steps { gap: 20px; margin: 24px 0; }
.maple-v3 .seller-step { padding: 24px; }
.maple-v3 .seller-step h2 { font-size: 20px; }
.maple-v3 .seller-step p, .maple-v3 .seller-start p { font-size: 14px; color: var(--maple-muted); }
.maple-v3 .step-number { border-color: var(--maple-primary); color: var(--maple-primary); background: var(--maple-primary-soft); }
.maple-v3 .seller-start { padding: 24px; margin-bottom: 32px; }
.maple-v3 .seller-start h2 { font-size: 22px; }
.maple-v3 .faq { padding-bottom: 32px; }
.maple-v3 .faq > h2 { font-size: 22px; }
.maple-v3 .faq details { border-color: var(--maple-border); font-size: 16px; }
.maple-v3 .faq summary { min-height: 44px; }
.maple-v3 .faq details p { font-size: 14px; color: var(--maple-muted); }
.maple-v3 .account-intro { display: flex; justify-content: space-between; align-items: center; gap: 20px; background: var(--maple-card); border: 1px solid var(--maple-border); border-radius: 16px; padding: 24px; margin-bottom: 24px; }
.maple-v3 .maple-page { padding-top: 24px; }
.maple-v3 .account-intro { justify-content: flex-start; }
.maple-v3 .account-avatar, .maple-v3 .account-tile-icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; background: var(--maple-primary-soft); border: 1px solid var(--maple-border); border-radius: 50%; color: var(--maple-primary); }
.maple-v3 .account-avatar .icon { width: 24px; height: 24px; }
.maple-v3 .account-intro p { color: var(--maple-muted); margin-top: 8px; font-size: 14px; }
.maple-v3 .account-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 24px 0; }
.maple-v3 .account-tile { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; padding: 24px; background: var(--maple-card); border: 1px solid var(--maple-border); border-radius: 16px; gap: 12px; }
.maple-v3 .account-tile:hover { border-color: var(--maple-primary); }
.maple-v3 .account-tile > .icon { color: var(--maple-primary); width: 28px; height: 28px; }
.maple-v3 .account-tile h2, .maple-v3 .account-tile h3, .maple-v3 .account-tile strong { font-size: 18px; font-weight: 600; }
.maple-v3 .account-tile p, .maple-v3 .account-tile small { color: var(--maple-muted); font-size: 14px; line-height: 1.8; }
.maple-v3 .account-tile > span:nth-child(2) { display: flex; flex-direction: column; gap: 6px; }
.maple-v3 .account-tile > .icon:last-child { margin-inline-start: auto; width: 18px; height: 18px; }
.maple-v3 .account-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.maple-v3 .account-panel-head > .icon { color: var(--maple-primary); }
.maple-v3 .account-brand-swatch { width: 20px; height: 20px; flex-shrink: 0; border-radius: 50%; background: #181e65; border: 1px solid #9cabe9; }
.maple-v3 .account-appearance, .maple-v3 .account-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.maple-v3 .account-appearance .btn { min-width: 120px; }
.maple-v3 .account-appearance .btn.active { background: var(--maple-primary-soft); color: var(--maple-primary); border-color: var(--maple-primary); }
.maple-v3 .account-colors-title { font-size: 16px; margin-top: 24px; margin-bottom: 16px; }
.maple-v3 .palette-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.maple-v3 .palette-swatch { min-width: 0; min-height: 86px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 12px 8px; border: 1px solid var(--maple-border); border-radius: 12px; background: var(--maple-card); color: var(--maple-fg); font-size: 13px; }
.maple-v3 .palette-swatch.active { border-color: var(--maple-primary); outline: 1px solid var(--maple-primary); outline-offset: 0; background: var(--maple-primary-soft); }
.maple-v3 .palette-swatch[aria-pressed="false"] { border-color: var(--maple-border); outline: none; background: var(--maple-card); }
.maple-v3 .palette-swatch[aria-pressed="true"] { border-color: var(--maple-primary); outline: 1px solid var(--maple-primary); outline-offset: 0; background: var(--maple-primary-soft); }
.maple-v3 .account-appearance .btn[aria-pressed="false"] { border-color: var(--maple-border); background: var(--maple-card); color: var(--maple-fg); }
.maple-v3 .account-appearance .btn[aria-pressed="true"] { background: var(--maple-primary-soft); color: var(--maple-primary); border-color: var(--maple-primary); }
.maple-v3 .palette-dot { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid #ffffff66; background: var(--swatch, #181e65); color: #fff; }
.maple-v3 .palette-dot .icon { width: 18px; height: 18px; stroke-width: 2.5; filter: drop-shadow(0 1px 1px #000); }
.maple-v3 .palette-swatch[data-palette-choice="white"] .palette-dot { color: #111; border-color: #8f9297; }
.maple-v3 .palette-swatch[data-palette-choice="white"] .palette-dot .icon { filter: none; }
.maple-v3 .custom-color-control { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--maple-border); }
.maple-v3 .custom-color-control label { font-size: 14px; font-weight: 600; }
.maple-v3 .custom-color-control input[type="color"] { width: 52px; min-width: 52px; height: 44px; padding: 4px; border-radius: 10px; background: var(--maple-card); border: 1px solid var(--maple-input); }
.maple-v3 .account-panel { padding: 24px; margin: 20px 0; }
.maple-v3 .account-panel h2 { font-size: 20px; }
.maple-v3 .account-panel p { color: var(--maple-muted); margin-top: 10px; font-size: 14px; }
.maple-v3 .listing-form { max-width: 900px; margin: 0 auto; padding-bottom: 32px; }
.maple-v3 .form-section { background: var(--maple-card); border: 1px solid var(--maple-border); border-radius: 16px; padding: 24px; margin-bottom: 20px; }
.maple-v3 .form-section h2, .maple-v3 .form-section legend { font-size: 20px; font-weight: 600; color: var(--maple-fg); margin-bottom: 20px; padding: 0; }
.maple-v3 .form-section-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.maple-v3 .form-section-head h2 { margin: 0; }
.maple-v3 .form-section-head .step-number { margin: 0; flex-shrink: 0; }
.maple-v3 .form-hint { font-size: 12px; font-weight: 400; color: var(--maple-muted); line-height: 1.8; margin-top: 6px; }
.maple-v3 .form-section > p { color: var(--maple-muted); font-size: 14px; margin-bottom: 20px; }
.maple-v3 .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.maple-v3 .form-grid .wide, .maple-v3 .form-grid .full, .maple-v3 .form-grid .field-full { grid-column: 1 / -1; }
.maple-v3 .form-grid .form-wide { grid-column: 1 / -1; }
.maple-v3 .form-note { color: var(--maple-muted); font-size: 13px; line-height: 1.8; padding-block: 8px; }
.maple-v3 .form-actions { display: flex; justify-content: flex-end; align-items: center; gap: 12px; padding: 12px 0; flex-wrap: wrap; }
.maple-v3 .listing-form input:not([type="radio"]):not([type="checkbox"]), .maple-v3 .listing-form select, .maple-v3 .listing-form textarea { min-height: 48px; width: 100%; min-width: 0; font-size: 16px; background: var(--maple-card); color: var(--maple-fg); border: 1px solid var(--maple-input); border-radius: 8px; padding: 10px 12px; }
.maple-v3 .listing-form label { color: var(--maple-fg); font-size: 14px; font-weight: 600; }
.maple-v3 .listing-form input[type="file"] { max-width: 100%; }
.maple-v3 .listing-form input[type="checkbox"], .maple-v3 .listing-form input[type="radio"] { width: 20px; height: 20px; flex-shrink: 0; }
.maple-v3 .listing-image-picker { min-height: 112px; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 24px; border: 1px dashed var(--maple-input); border-radius: 12px; background: var(--maple-primary-soft); position: relative; cursor: pointer; }
.maple-v3 .listing-image-picker > .icon { width: 28px; height: 28px; color: var(--maple-primary); }
.maple-v3 .listing-image-picker .form-hint { display: block; }
.maple-v3 .listing-image-picker:focus-within { outline: 2px solid var(--maple-primary); outline-offset: 3px; }
.maple-v3 .listing-form .listing-file-input { position: absolute; width: 1px !important; height: 1px !important; min-height: 1px !important; padding: 0 !important; border: 0 !important; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.maple-v3 .listing-image-previews { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.maple-v3 .listing-image-previews img { aspect-ratio: 1; width: 100%; object-fit: cover; border-radius: 12px; border: 1px solid var(--maple-border); }
.maple-v3 .listing-preview-summary { padding: 20px; border: 1px solid var(--maple-border); border-radius: 16px; background: var(--maple-card); }
.maple-v3 .listing-review-image { width: 100%; max-height: 240px; object-fit: cover; border-radius: 12px; margin-bottom: 20px; background: var(--maple-subtle); }
.maple-v3 .listing-review-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 16px 0; margin: 12px 0; border-top: 1px solid var(--maple-border); border-bottom: 1px solid var(--maple-border); }
.maple-v3 .listing-review-specs > * { min-width: 0; color: var(--maple-muted); font-size: 14px; overflow-wrap: anywhere; }
.maple-v3 .listing-review-specs strong { display: block; color: var(--maple-fg); font-weight: 600; }

/* Dialogs remain in the visible viewport and switch to a mobile bottom sheet. */
.maple-v3 .overlay { z-index: 100; background: #00000090; padding: 24px; overscroll-behavior: contain; }
.maple-v3 .overlay.drawer-overlay { padding: 24px; align-items: center; justify-content: center; }
.maple-v3 .drawer, .maple-v3 .maple-dialog { width: min(560px, 100%); max-height: min(84dvh, 820px); height: auto; margin: 0; padding: 24px; border: 1px solid var(--maple-border); border-radius: 20px; background: var(--maple-popover); color: var(--maple-fg); overflow: auto; overscroll-behavior: contain; }
.maple-v3 .drawer-head { gap: 20px; margin-bottom: 20px; align-items: center; }
.maple-v3 .drawer-head h2 { font-size: 20px; }
.maple-v3 .drawer .filter-panel { padding: 0; border: 0; background: transparent; }
.maple-v3 .choice-search { display: block; min-height: 48px; width: 100%; background: var(--maple-card); color: var(--maple-fg); border: 1px solid var(--maple-input); border-radius: 10px; padding: 10px 12px; font-size: 16px; margin-bottom: 12px; }
.maple-v3 .choice-tools { display: flex; gap: 12px; justify-content: space-between; margin-bottom: 12px; }
.maple-v3 .choice-tools button { min-height: 44px; background: transparent; color: var(--maple-primary); border: 0; font-size: 14px; font-weight: 600; padding: 8px 4px; }
.maple-v3 .choice-list { display: grid; gap: 8px; padding-bottom: 4px; }
.maple-v3 .choice-option { display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: right; width: 100%; min-height: 48px; padding: 12px; background: var(--maple-card); border: 1px solid var(--maple-border); border-radius: 10px; color: var(--maple-fg); font-size: 16px; }
.maple-v3 .choice-option[aria-pressed="true"], .maple-v3 .choice-option.active, .maple-v3 .choice-option.selected { background: var(--maple-primary-soft); border-color: var(--maple-primary); color: var(--maple-primary); }
.maple-v3 .choice-option .icon { width: 18px; height: 18px; }
.maple-v3 .mobile-nav-links a { min-height: 48px; border-color: var(--maple-border); color: var(--maple-fg); }
.maple-v3 .lightbox { color: #fff; }
.maple-v3 .lightbox img { background: #0e1014; }
.maple-v3 .lightbox-head .icon-btn { border-color: #626975; background: #1d2026; color: #fff; }
.maple-v3 .lightbox-controls .btn { background: #1d2026; border-color: #626975; color: #fff; }
.maple-v3 .toast { bottom: calc(100px + env(safe-area-inset-bottom, 0px)); background: var(--maple-primary); color: var(--maple-primary-ink); font-size: 14px; border-radius: 12px; max-width: calc(100% - 32px); }
.maple-v3.has-detail .toast { bottom: calc(174px + env(safe-area-inset-bottom, 0px)); }
.maple-v3 .loading { color: var(--maple-fg); }

@media (min-width: 1440px) {
  .maple-v3 .wrap { width: min(1152px, calc(100% - 64px)); }
}
@media (max-width: 1100px) {
  .maple-v3 .wrap { width: calc(100% - 48px); }
  .maple-v3 .maple-search-form { grid-template-columns: minmax(0, 1.8fr) minmax(0, 1.2fr) auto auto; gap: 10px; }
  .maple-v3 .maple-search-form > .btn { padding-inline: 14px; }
  .maple-v3 .maple-search-choice { padding-inline: 12px; gap: 8px; }
  .maple-v3 .results-layout { grid-template-columns: 230px minmax(0, 1fr); gap: 20px; }
  .maple-v3 .results-toolbar .count { width: 100%; }
}
@media (max-width: 900px) {
  .maple-v3 .property-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .maple-v3 .results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .maple-v3 .results-layout { display: block; }
  .maple-v3 .results-layout > .filter-panel { display: none; }
  .maple-v3 .mobile-filter-btn { display: inline-flex; }
  .maple-v3 .results-toolbar .count { width: auto; }
  .maple-v3 .detail-layout { grid-template-columns: minmax(0, 1fr); }
  .maple-v3 .contact-card { display: none; }
  .maple-v3 .sticky-contact { display: flex; position: fixed; bottom: calc(80px + env(safe-area-inset-bottom, 0px)); left: 12px; right: 12px; z-index: 54; max-width: 620px; margin-inline: auto; gap: 10px; padding: 10px; border: 1px solid var(--maple-border); border-radius: 16px; background: var(--maple-card); backdrop-filter: none; }
  .maple-v3 .sticky-contact .btn { min-width: 0; flex: 1; min-height: 44px; font-size: 14px; padding-inline: 10px; }
  .maple-v3.has-detail { padding-bottom: calc(180px + env(safe-area-inset-bottom, 0px)); }
  .maple-v3.has-detail.bottom-hidden { padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px)); }
  .maple-v3.bottom-hidden .sticky-contact { bottom: calc(8px + env(safe-area-inset-bottom, 0px)); }
  .maple-v3 .account-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .maple-v3 .palette-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .maple-v3 .section { padding-block: 24px; }
  .maple-v3 .maple-home-hero { min-height: 320px; }
  .maple-v3 .maple-hero-copy, .maple-v3 .maple-home-copy { padding: 36px 32px 56px; }
  .maple-v3 .maple-search-form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .maple-v3 .maple-search-choice:first-child { grid-column: 1 / -1; }
  .maple-v3 .maple-search-form > .maple-search-submit { grid-column: 1 / -1; }
  .maple-v3 .maple-search-choice, .maple-v3 .maple-search-form > .btn { min-height: 64px; }
  .maple-v3 .detail-head h1 { font-size: 26px; }
  .maple-v3 .gallery { grid-template-rows: 160px 160px; }
  .maple-v3 .contact-page-grid { gap: 20px; }
  .maple-v3 .contact-hero { padding: 24px; }
  .maple-v3 .contact-option { padding: 20px; }
  .maple-v3 .seller-steps { grid-template-columns: 1fr; }
  .maple-v3 .seller-step { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 6px 16px; }
  .maple-v3 .step-number { margin: 0; grid-row: 1 / 3; }
  .maple-v3 .seller-step p { margin-top: 0; }
}
@media (max-width: 639px) {
  .maple-v3 #site-header { padding-inline: 8px; }
  .maple-v3 .maple-header-bar { min-height: 56px; padding: 4px; gap: 2px; }
  .maple-v3 .maple-header-primary, .maple-v3 .maple-header-secondary { gap: 0; }
  .maple-v3 .maple-header-primary .brand, .maple-v3 .maple-header-primary .brand img { width: 32px; height: 32px; min-width: 32px; }
  .maple-v3 .maple-header-logo img { width: 32px; height: 32px; }
  .maple-v3 .maple-smart-entry { width: 44px; padding: 7px; }
  .maple-v3 .maple-smart-entry span { display: none; }
  .maple-v3 .wrap { width: calc(100% - 32px); }
  .maple-v3 .maple-discovery { padding-top: 12px; }
  .maple-v3 h1, .maple-v3 .page-intro h1 { font-size: 24px; }
  .maple-v3 h2, .maple-v3 .section-head h2 { font-size: 22px; }
  .maple-v3 .maple-home-hero { min-height: 220px; }
  .maple-v3 .maple-hero-copy, .maple-v3 .maple-home-copy { padding: 24px 20px 40px; }
  .maple-v3 .maple-hero-copy > p:first-child { font-size: 12px; margin-bottom: 12px; }
  .maple-v3 .maple-home-hero h1 { font-size: 30px; line-height: 1.4; }
  .maple-v3 .maple-home-hero h1 + p, .maple-v3 .maple-home-intro { font-size: 14px; line-height: 1.75; margin-top: 16px; }
  .maple-v3 .maple-search-dock { margin: -28px 12px 0; padding: 16px; }
  .maple-v3 .maple-search-choice, .maple-v3 .maple-search-form > .btn { min-height: 64px; }
  .maple-v3 .maple-search-form .maple-search-submit { font-size: 16px; }
  .maple-v3 .maple-home-utilities { padding: 10px; gap: 10px; }
  .maple-v3 .v2-type-tabs { gap: 2px; }
  .maple-v3 .v2-type-tabs button { padding-inline: 12px; }
  .maple-v3 .maple-home-utilities > div:last-child { flex: 1; }
  .maple-v3 .maple-utility-actions { justify-content: flex-end; }
  .maple-v3 .section-head { align-items: flex-start; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
  .maple-v3 .section-head p { font-size: 14px; max-width: none; }
  .maple-v3 .section-head > .text-link { font-size: 13px; margin-top: 4px; }
  .maple-v3 .property-grid, .maple-v3 .results-grid { grid-template-columns: 1fr; gap: 16px; }
  .maple-v3 .card-cover { height: auto; }
  .maple-v3 .card-body { padding: 16px; }
  .maple-v3 .card-title { font-size: 16px; line-height: 24px; min-height: 48px; }
  .maple-v3 .card-price { font-size: 24px; }
  .maple-v3 .card-location, .maple-v3 .card-specs { font-size: 14px; }
  .maple-v3 .card-actions .btn { min-height: 44px; font-size: 14px; }
  .maple-v3 .maple-help-panel { display: block; padding: 20px; }
  .maple-v3 .maple-help-panel .btn { margin-top: 20px; width: 100%; }
  .maple-v3 .maple-city-links { gap: 8px; }
  .maple-v3 .maple-city-links a { flex: 1 1 calc(50% - 8px); font-size: 13px; padding: 9px 10px; }
  .maple-v3 .maple-mini-footer { margin: 20px 16px 0; padding: 20px 0; align-items: flex-start; flex-direction: column; }
  .maple-v3 .maple-preview-note, .maple-v3 .review-note { padding-inline: 16px; text-align: right; }
  .maple-v3 .breadcrumb { padding-block: 16px; font-size: 12px; gap: 6px; }
  .maple-v3 .page-intro { padding-bottom: 24px; }
  .maple-v3 .page-intro p { font-size: 14px; }
  .maple-v3 .results-toolbar { gap: 10px; padding: 12px; }
  .maple-v3 .results-toolbar .count { width: 100%; font-size: 14px; margin: 0; }
  .maple-v3 .results-toolbar > .btn { min-height: 44px; font-size: 14px; padding: 8px 12px; }
  .maple-v3 .results-toolbar select { flex: 1; max-width: calc(100% - 100px); font-size: 16px; height: 44px; margin: 0; }
  .maple-v3 .results-toolbar .view-toggle { gap: 4px; margin: 0; }
  .maple-v3 .results-toolbar .view-toggle .icon-btn { width: 44px; height: 44px; }
  .maple-v3 .results-toolbar .view-toggle .icon { width: 20px; height: 20px; }
  .maple-v3 .maple-results-search { padding: 12px; }
  .maple-v3 .maple-query-form { gap: 8px; }
  .maple-v3 .maple-query-form .btn { padding-inline: 12px; font-size: 14px; }
  .maple-v3 .maple-query-form input { padding-inline: 12px; }
  .maple-v3 .maple-query-input input { padding-inline-start: 40px; }
  .maple-v3 .maple-results-actions { gap: 12px; padding-top: 12px; margin-top: 12px; }
  .maple-v3 .maple-results-links { width: 100%; gap: 8px; }
  .maple-v3 .maple-results-links a { flex: 1; justify-content: center; font-size: 13px; padding-inline: 8px; border: 1px solid var(--maple-border); }
  .maple-v3 .maple-results-options { width: 100%; justify-content: space-between; }
  .maple-v3 .maple-results-options select { flex: 1; max-width: calc(100% - 108px); font-size: 16px; }
  .maple-v3 .property-grid.list-view .property-card { grid-template-columns: minmax(104px, 34%) minmax(0, 1fr); }
  .maple-v3 .property-grid.list-view .card-cover { grid-column: 1; grid-row: 1 / 4; min-height: 148px; height: 100%; }
  .maple-v3 .property-grid.list-view .card-body { display: contents; padding: 0; }
  .maple-v3 .property-grid.list-view .card-price { grid-column: 2; grid-row: 1; font-size: 20px; line-height: 28px; padding: 12px 12px 0; }
  .maple-v3 .property-grid.list-view .card-price small { font-size: 11px; }
  .maple-v3 .property-grid.list-view .card-title { grid-column: 2; grid-row: 2; font-size: 14px; line-height: 20px; min-height: 0; margin-top: 4px; padding: 0 12px; }
  .maple-v3 .property-grid.list-view .card-location, .maple-v3 .property-grid.list-view .card-specs { font-size: 12px; line-height: 20px; }
  .maple-v3 .property-grid.list-view .card-location { grid-column: 2; grid-row: 3; margin-top: 8px; padding: 0 12px 12px; }
  .maple-v3 .property-grid.list-view .card-specs { grid-column: 1 / -1; grid-row: 4; margin: 0; padding: 12px; gap: 8px 16px; border-top: 1px solid var(--maple-border); }
  .maple-v3 .property-grid.list-view .maple-card-meta { grid-column: 1 / -1; grid-row: 5; margin: 0; padding: 0 12px 12px; }
  .maple-v3 .property-grid.list-view .card-specs .icon { width: 16px; height: 16px; }
  .maple-v3 .property-grid.list-view .card-actions { grid-column: 1 / -1; grid-row: 6; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 12px; margin: 0; }
  .maple-v3 .property-grid.list-view .card-actions .btn { min-height: 44px; font-size: 13px; padding: 8px; }
  .maple-v3 .property-grid.list-view .favorite { width: 44px; height: 44px; right: calc(34% - 52px); left: auto; top: 8px; }
  .maple-v3 .property-grid.list-view .status-label { right: 8px; top: auto; bottom: 8px; font-size: 11px; padding: 4px 7px; }
  .maple-v3 .detail-head { gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
  .maple-v3 .detail-head h1 { font-size: 24px; line-height: 1.5; }
  .maple-v3 .detail-tools { margin: 0; margin-inline-start: auto; }
  .maple-v3 .detail-tools .icon-btn { width: 44px; height: 44px; }
  .maple-v3 .mobile-detail-price { font-size: 26px; font-weight: 700; margin-top: 16px; display: block; }
  .maple-v3 .mobile-detail-price small { font-size: 14px; }
  .maple-v3 .gallery { grid-template-columns: 2fr 1fr; grid-template-rows: 112px 112px; gap: 6px; margin-bottom: 20px; border-radius: 16px; }
  .maple-v3 .gallery:has(> button:only-child) { grid-template-rows: 245px; }
  .maple-v3 .gallery button .photo-count { font-size: 11px; padding: 6px 10px; left: 8px; bottom: 8px; }
  .maple-v3 .detail-section { padding: 20px 16px; border-radius: 16px; margin-bottom: 16px; }
  .maple-v3 .detail-section h2 { font-size: 20px; }
  .maple-v3 .detail-section .description { font-size: 16px; line-height: 1.9; }
  .maple-v3 .spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .maple-v3 .spec-grid > div { padding-inline-start: 12px; }
  .maple-v3 .spec-grid small { font-size: 13px; }
  .maple-v3 .spec-grid strong { font-size: 16px; }
  .maple-v3 .location-box { flex-wrap: wrap; gap: 12px; padding: 16px; }
  .maple-v3 .location-box .text-link { margin: 0; width: 100%; }
  .maple-v3 .location-box p { font-size: 14px; }
  .maple-v3 .contact-page-grid { grid-template-columns: 1fr; gap: 16px; padding-bottom: 24px; }
  .maple-v3 .contact-hero { padding: 24px; }
  .maple-v3 .contact-hero h2 { font-size: 26px; }
  .maple-v3 .contact-hero p { font-size: 16px; }
  .maple-v3 .contact-option { padding: 20px 16px; gap: 12px; flex-wrap: wrap; }
  .maple-v3 .contact-option h2 { font-size: 18px; }
  .maple-v3 .contact-option p { font-size: 14px; }
  .maple-v3 .contact-option > div { flex: 1; }
  .maple-v3 .contact-option > .text-link { margin-inline-start: 36px; }
  .maple-v3 .account-intro { display: block; padding: 20px; }
  .maple-v3 .account-intro { display: flex; gap: 16px; }
  .maple-v3 .account-intro .btn { margin-top: 16px; }
  .maple-v3 .account-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 20px 0; }
  .maple-v3 .account-tile { padding: 16px; gap: 10px; }
  .maple-v3 .account-tile h2, .maple-v3 .account-tile h3, .maple-v3 .account-tile strong { font-size: 16px; }
  .maple-v3 .account-tile p, .maple-v3 .account-tile small { font-size: 13px; }
  .maple-v3 .account-panel, .maple-v3 .form-section { padding: 20px 16px; }
  .maple-v3 .palette-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .maple-v3 .palette-swatch { padding: 10px 6px; font-size: 13px; min-height: 84px; }
  .maple-v3 .custom-color-control .form-hint { width: 100%; margin-top: 0; }
  .maple-v3 .account-actions > .btn { width: 100%; }
  .maple-v3 .account-appearance .btn { flex: 1; min-width: 0; }
  .maple-v3 .form-grid { grid-template-columns: 1fr; gap: 16px; }
  .maple-v3 .form-grid .wide, .maple-v3 .form-grid .full, .maple-v3 .form-grid .field-full { grid-column: auto; }
  .maple-v3 .form-grid .form-wide { grid-column: auto; }
  .maple-v3 .listing-image-picker { gap: 12px; padding: 20px 16px; }
  .maple-v3 .listing-image-previews { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .maple-v3 .form-actions { display: grid; grid-template-columns: 1fr; }
  .maple-v3 .form-actions .btn { width: 100%; }
  .maple-v3 .seller-start { display: block; padding: 24px 20px; }
  .maple-v3 .seller-start .btn { margin-top: 20px; width: 100%; }
  .maple-v3 .seller-step { padding: 20px; }
  .maple-v3 .seller-step h2 { font-size: 18px; }
  .maple-v3 .seller-step p { font-size: 14px; }
  .maple-v3 .overlay { padding: 16px; }
  .maple-v3 .overlay.drawer-overlay { padding: 0; align-items: flex-end; }
  .maple-v3 .drawer, .maple-v3 .maple-dialog { width: 100%; max-height: calc(100dvh - 36px - env(safe-area-inset-top, 0px)); padding: 20px 16px max(20px, env(safe-area-inset-bottom, 0px)); border-radius: 20px 20px 0 0; border-bottom: 0; }
  .maple-v3 .drawer-head { gap: 12px; margin-bottom: 20px; }
  .maple-v3 .drawer-head h2 { font-size: 20px; }
  .maple-v3 .lightbox-head { gap: 12px; }
  .maple-v3 .lightbox-head p { font-size: 12px; }
  .maple-v3 .lightbox img { height: 62dvh; }
  .maple-v3 .lightbox-controls { gap: 10px; }
  .maple-v3 .lightbox-controls .btn { font-size: 13px; padding-inline: 12px; }
  .maple-v3 .toast { font-size: 14px; width: max-content; }
}
@media (max-width: 359px) {
  .maple-v3 .maple-header-primary .brand { display: none; }
  .maple-v3 .maple-header-primary .maple-header-logo { display: none; }
  .maple-v3 .maple-header-bar .icon-btn, .maple-v3 .maple-view-toggle { width: 44px; min-width: 44px; }
  .maple-v3 .maple-home-hero h1 { font-size: 28px; }
  .maple-v3 .maple-search-form { grid-template-columns: minmax(0, 1fr); }
  .maple-v3 .maple-search-form > * { grid-column: 1 / -1; }
  .maple-v3 .results-toolbar select { max-width: 100%; width: 100%; flex-basis: 100%; }
  .maple-v3 .account-grid { grid-template-columns: 1fr; }
}
/* Keep the floating reveal control clear of page titles. */
.maple-v3 .page-intro > h1 { padding-inline-end: 44px; }
@font-face {
  font-family: Cairo;
  src: url('https://fonts.gstatic.com/s/cairo/v31/SLXVc1nY6HkvangtZmpQdkhzfH5lkSscRiyS.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@media (prefers-reduced-motion: reduce) {
  .maple-v3 *, .maple-v3 *::before, .maple-v3 *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
