@font-face {
  font-family: Geist;
  src: url("/_crm-assets/0.1.46/fonts/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #172235;
  --muted: #526174;
  --navy: #2c3755;
  --accent: #146477;
  --line: #dfe4ea;
  --paper: #f5f7f9;
  font: 16px/1.5 Geist, system-ui, sans-serif;
  color: var(--ink);
  background: white;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--accent); text-underline-offset: .2em; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
:focus-visible { outline: 3px solid #b57114; outline-offset: 3px; }
h1, h2, p { margin-top: 0; }
h1, h2 { line-height: 1.14; letter-spacing: -.026em; overflow-wrap: anywhere; }
.wrap { width: min(1280px, calc(100% - 48px)); margin-inline: auto; }
.skip { position: absolute; inset: 8px auto auto 8px; z-index: 5; background: white; padding: 10px; transform: translateY(-150%); }
.skip:focus { transform: none; }
.site-consent { position: fixed; z-index: 6; bottom: 1rem; right: 1rem; max-width: min(24rem, calc(100vw - 2rem)); background: white; border: 1px solid var(--line); border-radius: .65rem; box-shadow: 0 6px 20px #17223526; padding: 1rem; }
.site-consent p { margin-bottom: .5rem; }
.site-consent button, .site-cookie-settings { padding: .45rem .75rem; border: 1px solid var(--line); border-radius: .3rem; background: white; color: var(--accent); cursor: pointer; }
.site-consent button + button { margin-left: .4rem; }
.preview-note { background: #e8eff4; color: #334861; font-size: .82rem; }
.preview-note .wrap { display: flex; flex-wrap: wrap; gap: 5px 16px; align-items: center; justify-content: space-between; padding-block: 6px; }
.site-header { position: sticky; top: 0; z-index: 4; background: #fffffff5; border-bottom: 1px solid #d8dee8; backdrop-filter: blur(12px); }
.header-content { display: flex; align-items: center; gap: 20px; min-height: 72px; max-width: 1440px; margin: auto; padding: 8px 27px; }
.brand { display: flex; align-items: center; flex: 0 1 178px; min-width: 0; color: var(--ink); font-weight: 750; text-decoration: none; }
.brand span { overflow-wrap: anywhere; }
.brand img { width: 100%; height: 48px; object-fit: contain; object-position: left center; }
.header-search { display: flex; align-items: center; flex: 1; min-width: 0; min-height: 40px; border: 1px solid #bac4d0; gap: 9px; padding: 0 12px; background: #fff; color: var(--muted); font-size: .875rem; cursor: pointer; text-align: left; }
.header-search svg { flex-shrink: 0; color: var(--accent); }
.header-search span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-nav a { padding: 12px; border-bottom: 2px solid transparent; }
.site-nav a[aria-current] { border-color: var(--accent); color: var(--accent); }
.site-nav a, .mobile-nav a { color: var(--ink); text-decoration: none; font-size: .875rem; font-weight: 650; }
.site-nav a:hover, .mobile-nav a:hover { color: var(--accent); text-decoration: underline; }
.mobile-nav { display: none; margin-left: auto; }
.mobile-nav summary { display: grid; place-items: center; min-width: 42px; min-height: 42px; color: var(--navy); cursor: pointer; list-style: none; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav nav { position: absolute; top: 100%; inset-inline: 0; height: calc(100dvh - 72px); overflow-y: auto; overscroll-behavior: contain; display: grid; align-content: start; background: white; border-top: 1px solid var(--line); padding: 20px 24px; box-shadow: 0 8px 14px #1722351a; }
.mobile-nav a { padding: 16px 0; border-bottom: 1px solid var(--line); }
.mobile-nav a:last-child { border: 0; }
.site-search-panel { inset: min(5vh, 40px) 0 auto; margin: 0 auto; width: min(100% - 24px, 560px); max-height: 95dvh; padding: 0; border: 1px solid #d8dee8; color: var(--ink); box-shadow: 0 18px 40px #11182740; }
.site-search-panel::backdrop { background: #1118278c; }
.site-search-panel form { display: grid; grid-template-rows: auto 1fr auto; min-height: min(610px, 90dvh); }
.site-search-title { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 64px; border-bottom: 1px solid var(--line); padding: 0 16px; }
.site-search-title strong { grid-column: 2; color: var(--muted); font-size: .9rem; }
.site-search-title button { justify-self: end; padding: 0 12px; background: none; border: 0; color: var(--ink); font-size: 1.65rem; cursor: pointer; }
.site-search-body { padding: 20px; }
.site-search-body label { display: flex; align-items: center; gap: 12px; min-height: 54px; border: 2px solid var(--ink); padding-inline: 12px; }
.site-search-body input { flex: 1; min-width: 0; border: 0; font-size: 1rem; }
.site-search-body input:focus { outline: none; }
.site-search-body label:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.site-search-body p { margin-top: 20px; padding: 16px; background: #eef3f8; font-size: .9rem; }
.site-search-actions { padding: 16px; border-top: 1px solid var(--line); }
.site-search-actions button { width: 100%; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 9px 16px; border: 0; background: var(--navy); color: white; font-weight: 700; cursor: pointer; text-decoration: none; }
.button:hover { background: #222b44; }
.result-count { color: var(--muted); margin: 20px 0 12px; font-size: .9rem; }
.listings { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.listing-card { display: flex; flex-direction: column; position: relative; background: white; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; min-width: 0; box-shadow: 0 5px 18px #11182714; }
.listing-card:focus-within { outline: 3px solid #b57114; outline-offset: 3px; }
.listing-image { position: relative; height: 208px; background: #e9edf2; overflow: hidden; }
.listing-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.listing-card:hover img { transform: scale(1.025); }
.photo-empty { height: 100%; display: grid; place-content: center; color: var(--muted); font-size: .88rem; }
.listing-type { position: absolute; top: 12px; left: 12px; max-width: calc(100% - 24px); padding: 5px 12px; border-radius: 20px; background: var(--navy); color: white; font-size: .66rem; font-weight: 700; }
.listing-photo-arrow, .listing-photo-dots { position: absolute; z-index: 1; }
.listing-photo-arrow { top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: var(--ink); font: 1.6rem/1 system-ui; cursor: pointer; }
.listing-photo-prev { left: 8px; }
.listing-photo-next { right: 8px; }
.listing-photo-dots { display: flex; bottom: 6px; left: 50%; translate: -50% 0; padding-inline: 4px; background: #172338c9; border-radius: 24px; }
.listing-photo-dots button { display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.listing-photo-dots button::after { content: ""; width: 6px; height: 6px; border: 1px solid white; border-radius: 50%; }
.listing-photo-dots button[aria-pressed="true"]::after { background: white; }
.listing-info { display: flex; flex: 1; flex-direction: column; padding: 16px; }
.listing-info h2 { font-size: 1.125rem; line-height: 1.5rem; margin: 0 0 7px; }
.location { color: var(--muted); font-size: .82rem; margin-bottom: 8px; overflow-wrap: anywhere; }
.listing-price { font-size: 1rem; color: var(--ink); font-weight: 750; margin: auto 0 12px; padding-top: 8px; }
.listing-price-prefix { display: block; margin-bottom: 2px; font-size: .78rem; font-weight: 450; }
.listing-price strong { font-weight: inherit; }
.card-metrics { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--muted); font-size: .78rem; }
.card-metrics li { display: inline-flex; align-items: center; gap: 5px; }
.card-metrics svg { flex: none; }
.listing-action { width: 100%; font-size: .87rem; }
.listing-action::after { content: ""; position: absolute; inset: 0; }
.empty { background: white; border: 1px solid var(--line); padding: 32px; }
.pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 25px; }
.site-footer { --footer-bg: #0b1724; --footer-ink: #fff; --footer-muted: #c3cad3; --footer-line: #384553; margin-top: 64px; background: var(--footer-bg); color: var(--footer-ink); }
.site-footer--light { --footer-bg: #f3f5f7; --footer-ink: #142331; --footer-muted: #475569; --footer-line: #cbd5e1; }
.footer-main { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.15fr; gap: 40px; padding-block: 48px; }
.footer-main > div { min-width: 0; }
.footer-main p { max-width: 35ch; color: var(--footer-muted); margin: 16px 0 0; line-height: 1.7; overflow-wrap: anywhere; }
.footer-brand { display: flex; align-items: center; color: inherit; font-size: 1.2rem; font-weight: 750; text-decoration: none; min-height: 64px; }
.footer-brand img { width: 100%; max-width: 250px; height: 80px; object-fit: contain; object-position: left center; }
.site-footer--dark .footer-brand:not(.footer-brand--personal) img { filter: brightness(0) invert(1); }
.footer-group { display: grid; align-content: start; gap: 12px; }
.footer-group h2 { margin: 0 0 4px; font-size: 1.1rem; font-weight: 700; }
.footer-contact-group { display: grid; gap: 8px; margin-top: 10px; }
.footer-contact-group h3 { margin: 0 0 5px; font-size: 1.05rem; }
.footer-group a, .footer-group span, .footer-contact { color: var(--footer-muted); font-size: .95rem; text-decoration: none; overflow-wrap: anywhere; }
.footer-group a:hover, .footer-contact:hover { color: var(--footer-ink); text-decoration: underline; }
.footer-contact { justify-self: start; border: 0; background: none; cursor: pointer; padding: 0; }
.footer-legal { padding-block: 18px; border-top: 1px solid var(--footer-line); color: var(--footer-muted); text-align: center; font-size: .75rem; }
.footer-legal button { display: block; margin: 10px auto 0; }
@media (min-width: 1024px) { .header-search { max-width: 310px; } }
@media (max-width: 1279px) {
  .site-nav { display: none; }
  .mobile-nav { display: block; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1020px) {
  .listings { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (width < 768px) {
  .footer-main { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 28px); }
  .header-content { gap: 8px; padding-inline: 12px; }
  .brand { flex: 0 1 102px; font-size: .8rem; }
  .brand img { height: 40px; }
  .header-search { font-size: .8rem; }
  .listings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 470px) {
  .listings { grid-template-columns: 1fr; }
  .site-search-panel { inset: 0; width: 100%; height: 100dvh; max-height: none; border: 0; }
  .site-search-panel form { min-height: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .listing-image img { transition: none; }
}

.site-broker-avatar { border-radius: 50%; object-fit: cover; }
.site-broker-bio { margin: 0; overflow-wrap: anywhere; }
.mag-home .home-hero[data-loading-media], .mag-detail .mag-hero[data-loading-media] { --skeleton-fill: #233747; }
.mag-photo-stage[data-loading-media] { --skeleton-fill: #263648; }
