/* Public guest theme. Photos, social logos and map tiles keep their original colors. */
html[data-theme="light"]{color-scheme:light;background:#f8fbff}
html[data-theme="dark"]{color-scheme:dark;background:#0b1522}
.guest-body .theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;min-width:42px;padding:8px 11px;border:1px solid #dce9f3;border-radius:24px;background:#fff;color:#173d58;font:500 12px/1.5 "Doron Sans",Arial,sans-serif;white-space:nowrap;flex-shrink:0}
.theme-toggle svg{width:18px;height:18px;flex-shrink:0}
.guest-body .theme-toggle:hover{background:#e9f5ff;border-color:#88bad8}
.guest-body .theme-toggle:focus-visible{outline:3px solid #087bbb;outline-offset:3px}
/* Keep the controls on their own row when the wordmark and menu no longer fit. */
@media(max-width:760px){.guest-body .site-header{flex-wrap:wrap;row-gap:13px}.guest-body .header-actions{margin-left:auto;gap:9px}.guest-body .theme-toggle{font-size:11px;padding:8px 10px}}
@media(max-width:460px){.guest-body .site-header .header-actions{width:100%;justify-content:flex-end}.guest-body .site-header .brand{margin-right:auto}.guest-body .theme-toggle{min-height:42px}.guest-body .language-button{min-height:42px}}
html[data-theme="dark"] .guest-body{--paper:#0b1522;--ink:#e8f2fc;--muted:#acbfd2;--line:#2b4056;--green:#1179ae;--mint:#1a334a;--red:#ffadad;--shadow:0 16px 42px #0005;--theme-surface:#111f30;--theme-raised:#172a3e;background:var(--paper);color:var(--ink)}
html[data-theme="dark"] .guest-body .site-header{background:#0f1d2d;border-bottom:1px solid var(--line)}
html[data-theme="dark"] .guest-body .brand{color:var(--ink)}
html[data-theme="dark"] .guest-body .brand img{background:#fff;border-radius:7px}
html[data-theme="dark"] .guest-body .language-control,
html[data-theme="dark"] .guest-body .language-menu,
html[data-theme="dark"] .guest-body .theme-toggle{background:var(--theme-surface);border-color:var(--line);color:var(--ink)}
html[data-theme="dark"] .guest-body .language-button,
html[data-theme="dark"] .guest-body .language-menu button{color:var(--ink)}
html[data-theme="dark"] .guest-body .language-menu button:hover,
html[data-theme="dark"] .guest-body .language-menu button:focus-visible,
html[data-theme="dark"] .guest-body .language-menu button.selected,
html[data-theme="dark"] .guest-body .theme-toggle:hover{background:var(--theme-raised);color:#9edbff}
html[data-theme="dark"] .guest-body .theme-toggle:focus-visible{outline-color:#8bd5ff}
html[data-theme="dark"] .guest-body .currency-badge,
html[data-theme="dark"] .guest-body .currency-notice,
html[data-theme="dark"] .guest-body .muted,
html[data-theme="dark"] .guest-body .card-location,
html[data-theme="dark"] .guest-body .card-street,
html[data-theme="dark"] .guest-body .card-price small,
html[data-theme="dark"] .guest-body .card-facts,
html[data-theme="dark"] .guest-body .card-bottom,
html[data-theme="dark"] .guest-body .detail-kicker,
html[data-theme="dark"] .guest-body .rate-timestamp,
html[data-theme="dark"] .guest-body .rate-detail,
html[data-theme="dark"] .guest-body .base-price,
html[data-theme="dark"] .guest-body .other-contact-links{color:var(--muted)}
html[data-theme="dark"] .guest-body .unified-search,
html[data-theme="dark"] .guest-body .property-card,
html[data-theme="dark"] .guest-body .contact-card,
html[data-theme="dark"] .guest-body .area-map-panel{background:var(--theme-surface);border-color:var(--line);box-shadow:0 8px 30px #0002}
html[data-theme="dark"] .guest-body input,
html[data-theme="dark"] .guest-body select,
html[data-theme="dark"] .guest-body textarea{background:#0d1a29;color:var(--ink);border-color:var(--line)}
html[data-theme="dark"] .guest-body input::placeholder,
html[data-theme="dark"] .guest-body textarea::placeholder{color:#9ab0c5;opacity:1}
html[data-theme="dark"] .guest-body input:focus-visible,
html[data-theme="dark"] .guest-body select:focus-visible,
html[data-theme="dark"] .guest-body textarea:focus-visible,
html[data-theme="dark"] .guest-body a:focus-visible,
html[data-theme="dark"] .guest-body button:focus-visible{outline-color:#8bd5ff}
html[data-theme="dark"] .guest-body .unified-search label,
html[data-theme="dark"] .guest-body .inquiry-grid label{color:#c0d2e3}
html[data-theme="dark"] .guest-body .search-query,
html[data-theme="dark"] .guest-body .search-actions,
html[data-theme="dark"] .guest-body .card-facts,
html[data-theme="dark"] .guest-body .inquiry-actions,
html[data-theme="dark"] .guest-body footer{border-color:var(--line)}
html[data-theme="dark"] .guest-body .result-count,
html[data-theme="dark"] .guest-body .card-price,
html[data-theme="dark"] .guest-body .detail-description{color:var(--ink)}
html[data-theme="dark"] .guest-body .eyebrow{color:#8bd1fa}
html[data-theme="dark"] .guest-body .hero .eyebrow{color:#fff}
html[data-theme="dark"] .guest-body .outline:hover,
html[data-theme="dark"] .guest-body .card-detail-arrow{background:var(--theme-raised);color:#c1e8ff}
html[data-theme="dark"] .guest-body .features .tag,
html[data-theme="dark"] .guest-body .tag{background:#1a334a;border-color:#2b4c66;color:#bce6ff}
html[data-theme="dark"] .guest-body .photo-tag,
html[data-theme="dark"] .guest-body .heart{background:#102235ed;color:#dcf1ff;border-color:#43617b}
html[data-theme="dark"] .guest-body .heart.saved{color:#ffb4b4}
html[data-theme="dark"] .guest-body .empty-state,
html[data-theme="dark"] .guest-body .no-photo,
html[data-theme="dark"] .guest-body .map-message{background:var(--theme-raised);border-color:var(--line);color:var(--muted)}
html[data-theme="dark"] .guest-body .skeleton-card{background:linear-gradient(110deg,#14263a 8%,#20384f 18%,#14263a 33%);background-size:200% 100%}
html[data-theme="dark"] .guest-body .area-section{background:#0e1d2d}
html[data-theme="dark"] .guest-body .area-links button{border-color:var(--line)}
html[data-theme="dark"] .guest-body .area-links small,
html[data-theme="dark"] .guest-body .area-links button>span,
html[data-theme="dark"] .guest-body .area-links i{color:var(--muted)}
html[data-theme="dark"] .guest-body .area-links button:hover,
html[data-theme="dark"] .guest-body .area-links button.active{background:var(--theme-raised)}
html[data-theme="dark"] .guest-body .area-links button.active b,
html[data-theme="dark"] .guest-body .area-links button.active>i{color:#8bd5ff}
html[data-theme="dark"] .guest-body .region-tabs{background:#13283c;border-color:var(--line)}
html[data-theme="dark"] .guest-body .region-tabs button{color:var(--muted)}
html[data-theme="dark"] .guest-body .region-tabs button[aria-selected="true"]{background:#24425b;color:#d0efff}
html[data-theme="dark"] .guest-body .leaflet-container{background:#152b3c}
html[data-theme="dark"] .guest-body .leaflet-bar a,
html[data-theme="dark"] .guest-body .leaflet-popup-content-wrapper,
html[data-theme="dark"] .guest-body .leaflet-popup-tip{background:#172a3e;color:var(--ink);border-color:var(--line)}
html[data-theme="dark"] .guest-body .leaflet-control-attribution{background:#102235ed;color:#c4d4e3}
html[data-theme="dark"] .guest-body .leaflet-control-attribution a{color:#a4ddff}
html[data-theme="dark"] .guest-body .inquiry-panel{background:#111f30;border-color:var(--line)}
html[data-theme="dark"] .guest-body .inquiry-heading>p,
html[data-theme="dark"] .guest-body .inquiry-hint,
html[data-theme="dark"] .guest-body .inquiry-consent,
html[data-theme="dark"] .guest-body .inquiry-receipt p,
html[data-theme="dark"] .guest-body .contact-choice-title{color:var(--muted)}
html[data-theme="dark"] .guest-body .inquiry-grid input:read-only{background:#1a3045;color:#d4e6f6}
html[data-theme="dark"] .guest-body .inquiry-receipt{color:var(--ink)}
html[data-theme="dark"] .guest-body .receipt-check,
html[data-theme="dark"] .guest-body .inquiry-unavailable{background:#1a334a;color:#c4e8ff}
html[data-theme="dark"] .guest-body .contact-choice{background:#15283c;border-color:var(--line);color:var(--ink)}
html[data-theme="dark"] .guest-body .contact-choice:hover{background:#20394f;border-color:#5d8eae}
html[data-theme="dark"] .guest-body .contact-choice small,
html[data-theme="dark"] .guest-body .contact-choice>i{color:var(--muted)}
html[data-theme="dark"] .guest-body .contact-choice.unavailable{background:#102033;color:#a9bdcf}
html[data-theme="dark"] .guest-body .contact-choice.request-choice{background:#1179ae;color:#fff}
html[data-theme="dark"] .guest-body .contact-band{background:#0b466c;color:#f4fbff}
html[data-theme="dark"] .guest-body .contact-band .eyebrow,
html[data-theme="dark"] .guest-body .contact-band p{color:#d1e6f6}
html[data-theme="dark"] .guest-body .contact-band .light{background:#d9f0ff;color:#0c3b58;border-color:#d9f0ff}
html[data-theme="dark"] .guest-body footer>.business-contact{color:#b5d6ed}
html[data-theme="dark"] .guest-body .wechat-dialog{background:var(--theme-surface);color:var(--ink);border-color:var(--line)}
html[data-theme="dark"] .guest-body .wechat-dialog p{color:var(--muted)}
html[data-theme="dark"] .guest-body .wechat-id,
html[data-theme="dark"] .guest-body .dock-label{background:#1a3045;color:var(--ink);border-color:var(--line)}
html[data-theme="dark"] .guest-body .contact-dock{border-color:var(--line)}
@media(max-width:700px){html[data-theme="dark"] .guest-body .contact-dock{background:#111f30f5}}
@media(prefers-reduced-motion:reduce){.guest-body .skeleton-card{animation:none}}
@media(min-width:751px) and (max-width:1100px){.guest-body .site-header{flex-wrap:wrap;row-gap:10px}.guest-body .site-header nav{order:3;width:100%;justify-content:center}.guest-body .header-actions{margin-left:auto}}

/* Compact phone header: brand and accessible icon controls share one row. */
.guest-body #loadMore .load-more-arrow{display:none}
@media(max-width:700px){
 .guest-body .site-header{display:flex;flex-wrap:nowrap;gap:8px;row-gap:0;padding:12px;min-height:68px}
 .guest-body .site-header .brand{font-size:18px;gap:6px;letter-spacing:.03em;margin:0;flex-shrink:0}
 .guest-body .site-header .brand img{width:30px;height:30px;margin:0;flex-shrink:0}
 .guest-body .site-header .header-actions{width:auto;gap:4px;margin-left:auto;justify-content:flex-end;flex-shrink:0}
 .guest-body .site-header .theme-toggle{width:44px;min-width:44px;height:44px;min-height:44px;padding:0}
 .guest-body .site-header #themeLabel,.guest-body .site-header #languageName,.guest-body .site-header .currency-badge{display:none}
 .guest-body .site-header .language-control{width:48px;min-width:48px;max-width:48px;margin:0;padding:0}
 .guest-body .site-header .language-button{width:46px;min-height:42px;padding:8px 5px;gap:4px;justify-content:center}
 .guest-body .site-header .language-button img{width:20px;height:14px}
 .guest-body .site-header .language-chevron{margin:0;font-size:12px}
 .guest-body .site-header .language-menu{right:0;width:177px}
 .guest-body .site-header .favorite-toggle{min-width:40px;height:44px;padding:0 2px;gap:3px}
 .guest-body .site-header .favorite-toggle span:first-child{font-size:24px}
 .guest-body .site-header #favoriteCount{font-size:10px}
 .guest-body #loadMore{min-height:48px;gap:12px;margin-top:26px;padding:10px 18px;border-radius:28px}
 .guest-body #loadMore .load-more-arrow{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;flex-shrink:0}
 .guest-body #loadMore .load-more-arrow svg{width:22px;height:22px}
}

html[data-theme="dark"] .guest-body .bookmark-toggle{background:#102437ed;color:#d5e9fa;border-color:#65839b80}
html[data-theme="dark"] .guest-body .bookmark-toggle.saved,html[data-theme="dark"] .guest-body .bookmark-toggle:hover{color:#91d8ff;background:#1a354a}
html[data-theme="dark"] .guest-body .saved-filter.is-active,html[data-theme="dark"] .guest-body .saved-filter:hover{background:#17384e;color:#b2e3ff;border-color:#4c86a9}

html[data-theme="dark"] .guest-body .contact-dock{background:transparent;border:0}
html[data-theme="dark"] .guest-body .contact-panel{background:var(--theme-surface);color:var(--ink);border-color:var(--line)}
html[data-theme="dark"] .guest-body .contact-panel .dock-label{background:transparent;border:0;color:var(--ink)}
html[data-theme="dark"] .guest-body .contact-panel .dock-item:hover,html[data-theme="dark"] .guest-body .contact-panel .dock-item:focus-visible{background:#1a354a}

/* Align the language chevron as an icon, independent of font baselines. */
.guest-body .language-button{font-weight:600}
.guest-body .language-menu button{font-weight:600}
.guest-body .language-chevron{display:inline-flex;align-items:center;justify-content:center;align-self:center;width:16px;height:16px;flex:0 0 16px;line-height:0}
.language-chevron svg{display:block;width:100%;height:100%;transition:transform .15s ease}
.language-button[aria-expanded="true"] .language-chevron svg{transform:rotate(180deg)}
@media(max-width:700px){.guest-body .site-header .language-chevron{width:12px;height:12px;flex-basis:12px}}
@media(prefers-reduced-motion:reduce){.language-chevron svg{transition:none}}

/* Explicit title colors also cover the anchor inside h3 in either theme. */
html[data-theme="light"] .guest-body .property-card .card-title,
html[data-theme="light"] .guest-body .property-card .card-title a{color:#173d58}
html[data-theme="dark"] .guest-body .property-card .card-title,
html[data-theme="dark"] .guest-body .property-card .card-title a{color:#e8f2fc}
html[data-theme="dark"] .guest-body .property-card .card-title a:hover{color:#9edbff}
