:root{
  color-scheme: only light;
  --bg:#ffffff;
  --bg-strong:#f5f6f7;
  --panel:#ffffff;
  --muted:#8b8f97;
  --text:#111318;
  --line:#ececef;
  --shadow: 0 8px 20px rgba(16,24,40,.06);
  --shadow-soft: 0 6px 14px rgba(16,24,40,.05);
  --radius-2xl: 28px;
  --radius-xl: 20px;
  --radius-lg: 16px;
  --accent:#f36b2a;
  --accent-2:#ff8a52;
  --pill:#f2f3f5;
  --container-padding: 24px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  color:var(--text);
  background: #ffffff;
  overflow-x:hidden;
  font-size: 15px;
}
/* Ensure links/icons inherit text color to avoid blue defaults */
a,
a:visited,
a:hover,
a:active{
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select{
  color: inherit;
}
.ph,
svg{
  color: inherit;
  fill: currentColor;
}

.container{
  width:100%;
  padding-right: var(--container-padding);
  padding-left: var(--container-padding);
  margin-right:auto;
  margin-left:auto;
}
@media (min-width:576px){
  .container{max-width:540px}
}
@media (min-width:768px){
  .container{max-width:720px}
}
@media (min-width:992px){
  .container{max-width:960px}
}
@media (min-width:1200px){
  .container{max-width:1140px}
}
@media (min-width:1400px){
  .container{max-width:1320px}
}

.ph{
  font-size:18px;
  line-height:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.bg-grid{
  position:fixed;
  inset:0;
  background-image:
    linear-gradient(transparent 94%, rgba(0,0,0,.025) 95%),
    linear-gradient(90deg, transparent 94%, rgba(0,0,0,.025) 95%);
  background-size: 60px 60px;
  opacity:.08;
  z-index:0;
  pointer-events:none;
}

/* App frame */
.app{
  position:relative;
  z-index:1;
  max-width: 100%;
  margin: 0 auto 40px;
  padding: 0 48px;
}

/* Top bar */
.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding: 20px 0 18px;
  position:relative;
  z-index:20;
}
.home-view .topbar{
  background: transparent;
  position:relative;
  z-index:30;
  padding: 24px 48px;
}
.topbar:after{
  content:"";
  position:absolute;
  left:50%;
  bottom:0;
  width:100vw;
  height:1px;
  background:#f1f2f4;
  transform: translateX(-50%);
}
.home-view .topbar:after{
  background: rgba(255,255,255,.35);
  display:none;
}
 .home-view .hero-banner{
  padding-top: 140px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 180px;
}
.brand-name{
  font-family: "Sora", "Manrope", sans-serif;
  font-weight:700;
  letter-spacing:.4px;
  font-size:24px;
}

.category-pill{
  background: var(--bg-strong);
  border:1px solid #eef0f2;
  border-radius: 999px;
  padding: 8px 10px;
  display:flex;
  gap:8px;
  align-items:center;
  box-shadow: none;
}
.header-pill{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 7.5px 8px;
  border-radius: 999px;
  background:#f5f6f7;
  border:1px solid #eef0f2;
  min-width: 520px;
  max-width: 680px;
}
.pill-item{
  display:flex;
  align-items:center;
  gap:8px;
  border-radius: 999px;
  padding: 14px 16px;
  background:#fff;
  border:1px solid #eef0f2;
  color:#6c7078;
  font-size:13px;
  cursor:pointer;
  justify-content:center;
  transition: flex .4s ease, opacity .3s ease, transform .3s ease, background .3s ease, color .3s ease;
}
.header-pill .pill-item:not(.is-active){
  padding-left: 14px;
  padding-right: 14px;
}
.header-pill .pill-item:not(.is-active) i{
  margin-left: 2px;
}
.pill-item i{
  font-size:16px;
}
.pill-label{
  white-space:nowrap;
  overflow:hidden;
  max-width:0;
  opacity:0;
  transform: translateX(-4px);
  transition: max-width .4s ease, opacity .3s ease, transform .4s ease;
}
.pill-search input{
  border:0;
  background:transparent;
  outline:0;
  font-size:13px;
  width:0;
  opacity:0;
  padding:0;
  color:#2a2d34;
  font-family: inherit;
  transition: width .45s ease, opacity .3s ease;
}
.header-pill .pill-item.is-active{
  flex:2.3;
  color:#1c1f26;
  background:#fff;
  border-color:#e2e5ec;
  justify-content:flex-start;
}
.header-pill .pill-item.is-active .pill-label{
  max-width:140px;
  opacity:1;
  transform: translateX(0);
}
.header-pill .pill-item.is-active.pill-search{
  cursor:text;
}
.header-pill .pill-item.is-active.pill-search input{
  width:200px;
  opacity:1;
  padding-left: 4px;
}
.header-pill .pill-item:not(.is-active){
  flex:0.7;
}
.header-pill .pill-item:not(.is-active) .pill-label{
  max-width:0;
  opacity:0;
}
.cat{
  display:flex;
  align-items:center;
  gap:8px;
  padding: 12px 18px;
  border-radius: 999px;
  font-size:14px;
  color:#6c7078;
  user-select:none;
  cursor:pointer;
  background: transparent;
  border:1px solid transparent;
  font-family: inherit;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.cat svg{width:16px;height:16px;opacity:.75}
.cat .ph{font-size:16px;opacity:.75}
.cat.active{
  background: #fff;
  color:#1c1f26;
  box-shadow: none;
  border: 1px solid #e9ebef;
  font-weight:700;
}
.cat.active svg{opacity:1}
.cat.active .ph{opacity:1}
.cat:hover{
  color:#2b2f36;
  transform: translateY(-1px);
}
.right-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
  min-width: 280px;
  position:relative;
}
.iconbtn{
  width:48px;height:48px;
  border-radius: 999px;
  background: transparent;
  border:1px solid #e7e9ee;
  box-shadow: none;
  display:grid;place-items:center;
  cursor:pointer;
}
.iconbtn svg{width:18px;height:18px;opacity:.8}
.iconbtn .ph{font-size:18px;opacity:.8}
.divider-vert{
  width:1px;
  height:34px;
  background:#ededf0;
}
.profile{
  display:flex;align-items:center;gap:12px;
  padding: 0;
  border-radius: 999px;
  background: transparent;
  border:0;
  box-shadow: none;
  cursor:pointer;
}
.profile-menu{
  position:absolute;
  top: 58px;
  right: 0;
  width: 220px;
  background:#fff;
  border:1px solid #eef0f3;
  border-radius: 14px;
  box-shadow: none;
  padding: 10px;
  opacity:0;
  transform: translateY(-8px);
  pointer-events:none;
  transition: opacity .2s ease, transform .2s ease;
  z-index:12;
}
.profile-menu.open{
  opacity:1;
  transform: translateY(0);
  pointer-events:auto;
}
.profile-card{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 8px;
  border-bottom:1px solid #f1f2f4;
  margin-bottom:8px;
}
.avatar.large{
  width:40px;
  height:40px;
}
.profile-menu button{
  width:100%;
  display:flex;
  align-items:center;
  gap:10px;
  border:0;
  background:#fff;
  padding: 9px 8px;
  border-radius: 12px;
  cursor:pointer;
  font-size:13px;
  color:#2a2d34;
}
.profile-menu button:hover{
  background:#f2f3f5;
}
.avatar{
  width:40px;height:40px;border-radius:999px;
  background: url('https://images.unsplash.com/photo-1535713875002-d1d0cf377fde?auto=format&fit=crop&w=96&q=80') center/cover;
  border: 2px solid #fff;
  box-shadow: none;
}
.profile-meta{display:flex;flex-direction:column;line-height:1.15}
.profile-name{font-weight:700;font-size:14px}
.profile-mail{font-size:12px;color:var(--muted)}
.chev{width:18px;height:18px;opacity:.5}
.profile .ph{font-size:18px;opacity:.5}

/* Secondary bar */
.subbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding: 12px 0 18px;
  position:relative;
  z-index:18;
}
.subbar-divider{
  width:1px;
  height:32px;
  background:#ededf0;
  margin: 0 6px 0 4px;
}
.seg{
  display:flex;
  align-items:center;
  gap:20px;
  color:#7a7f87;
  font-size:14px;
  user-select:none;
}
.seg .tab{
  position:relative;
  padding:10px 2px;
  cursor:pointer;
  background:transparent;
  border:0;
  font-family: inherit;
  color:inherit;
}
.seg .tab.active{
  color:#1c1f26;
  font-weight:700;
}
.seg .tab.active:after{
  content:"";
  position:absolute;
  left:0; right:0;
  height:3px;
  bottom:-2px;
  border-radius: 999px;
  background: var(--accent);
  margin:auto;
  width: 32px;
}

.searchwrap{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  padding-left: 18px;
}
.searchrow{
  width: min(680px, 100%);
  display:flex;
  gap:10px;
  align-items:center;
}
.search{
  flex:1;
  height: 54px;
  border-radius: 999px;
  background: var(--bg-strong);
  border:1px solid #eef0f2;
  box-shadow: none;
  display:flex;
  align-items:center;
  padding: 0 18px;
  gap:10px;
}
.search svg{width:18px;height:18px;opacity:.6}
.search .ph{font-size:18px;opacity:.6}
.search input{
  border:0;
  outline:0;
  font-size:15px;
  width:100%;
  background:transparent;
  color:#1c1f26;
  font-family: inherit;
}
.filterbtn{
  width:54px;height:54px;border-radius:999px;
  background: var(--bg-strong);
  border:1px solid #eef0f2;
  box-shadow: none;
  display:grid;place-items:center;
  cursor:pointer;
}
.filterbtn svg{width:18px;height:18px;opacity:.75}
.filterbtn .ph{font-size:18px;opacity:.75}

.viewtog{
  display:flex;
  align-items:center;
  gap:6px;
  justify-content:flex-end;
  min-width: 0;
  background: var(--bg-strong);
  border:1px solid #eef0f2;
  border-radius: 999px;
  padding: 4px;
}
.viewbtn{
  height:46px;
  padding: 0 16px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  gap:10px;
  background: transparent;
  border:1px solid transparent;
  box-shadow: none;
  font-size:14px;
  color:#22252d;
  cursor:pointer;
  font-family: inherit;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.viewbtn svg{width:18px;height:18px;opacity:.75}
.viewbtn .ph{font-size:18px;opacity:.75}
.viewbtn[aria-pressed="true"]{
  background: #fff;
  border-color: #e9ebef;
  color:#1c1f26;
  font-weight:700;
}

.w-100{
  width:100%;
}

/* Main split */
.main{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 26px;
  align-items:start;
  min-height: 680px;
}

/* Left listing panel */
.listpanel{
  padding-top: 6px;
}
body:not(.grid-mode) .listpanel{
  max-height: 650px;
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-gutter: stable;
}
body:not(.grid-mode) .listpanel::-webkit-scrollbar{
  width: 6px;
}
body:not(.grid-mode) .listpanel::-webkit-scrollbar-track{
  background: transparent;
}
body:not(.grid-mode) .listpanel::-webkit-scrollbar-thumb{
  background: #d7d9de;
  border-radius: 999px;
}
body:not(.grid-mode) .listpanel{
  scrollbar-width: thin;
  scrollbar-color: #d7d9de transparent;
}
.heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  margin-bottom: 0;
}
.results-row{
  margin: 8px 0 18px;
}
.hgroup h1{
  margin:0;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 32px;
  letter-spacing:-.3px;
}
.hgroup .sub{
  margin-top:6px;
  font-size:12px;
  color:var(--muted);
}
.sort{
  font-size:12px;
  color:#6c7078;
  display:flex;
  align-items:center;
  gap:8px;
  user-select:none;
  background:transparent;
  border:0;
  cursor:pointer;
  font-family: inherit;
}
.sort strong{color:var(--accent); font-weight:700}
.sort svg{width:14px;height:14px;opacity:.6}
.sort .ph{font-size:14px;opacity:.6}

.cards{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding-right: 6px;
}
.cards.loading .card{
  position:relative;
  overflow:hidden;
  border-color:#eceff3;
  background:#f6f7f9;
}
.cards.loading .card *{
  visibility:hidden;
}
.cards.loading .img{
  background:#e9ecf0;
  background-image:none;
}
.cards.loading .card::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  transform: translateX(-100%);
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer{
  100%{ transform: translateX(100%); }
}
.card{
  background: var(--panel);
  border: 1px solid #f0f1f3;
  border-radius: 24px;
  box-shadow: none;
  overflow:hidden;
  transition: border-color .25s ease, background .25s ease;
}
.card-link{
  text-decoration:none;
  color:inherit;
  display:block;
  cursor:pointer;
}
.card:hover{
  border-color: #dcdfe6;
  background: #fbfbfc;
}
.img{
  position:relative;
  height: 176px;
  border-radius: 22px;
  margin: 12px;
  overflow:hidden;
  background-size: cover;
  background-position: center;
  background-color: #dfe7f2;
}
.cardbody{
  transition: color .2s ease;
}
.img:after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,0) 55%);
}
.img.alt1{ background-color: #cfe9dd; }
.img.alt2{ background-color: #f0dfcf; }
.img.alt3{ background-color: #d9e2ff; }

.photos{
  position:absolute;
  top:12px; right:12px;
  display:flex;
  align-items:center;
  gap:6px;
  background: rgba(255,255,255,.92);
  border:1px solid rgba(240,241,243,.9);
  padding: 6px 10px;
  border-radius: 999px;
  font-size:12px;
  color:#2a2d34;
  box-shadow: none;
  z-index:1;
}
.photos svg{width:16px;height:16px;opacity:.75}
.photos .ph{font-size:16px;opacity:.75}


.agent_card{
  position: absolute;
   left:12px; right:12px;
  bottom:12px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(240,241,243,.95);
  border-radius: 16px;
  padding: 10px 12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  box-shadow: none;
  backdrop-filter: blur(6px);
  z-index:1;
}
.agent{
  /* position: absolute; */
   left:12px; right:12px;
  bottom:12px;
  /* background: rgba(255,255,255,.92); */
  /* border: 1px solid rgba(240,241,243,.95); */
  border-radius: 16px;
  padding: 10px 12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  box-shadow: none;
  backdrop-filter: blur(6px);
  z-index:1;
}
.agent-left{
  display:flex; align-items:center; gap:10px;
  min-width: 0;
}
.agent-ava{
  width:34px;height:34px;border-radius: 999px;
  background: radial-gradient(circle at 35% 30%, #f1f1f3, #a6aeba);
  border: 2px solid rgba(255,255,255,.9);
  box-shadow: 0 10px 22px rgba(16,24,40,.18);
  flex:none;
}
.agent-meta{min-width:0}
.agent-name{
  display:flex; align-items:center; gap:6px;
  font-size:12px; font-weight:700;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.badge{
  width:14px;height:14px;border-radius:999px;
  display:inline-grid;place-items:center;
  background:#2aa3ff;
  box-shadow: 0 10px 18px rgba(42,163,255,.35);
  flex:none;
}
.badge svg{width:10px;height:10px; fill:#fff}
.badge .ph{font-size:10px;color:#fff}
.agent-phone{
  font-size:12px; color:#6c7078;
  display:flex; align-items:center; gap:6px;
  white-space:nowrap;
}
.agent-phone svg{width:14px;height:14px;opacity:.65}
.agent-phone .ph{font-size:14px;opacity:.65}
.bookmark{
  width:36px;height:36px;border-radius: 999px;
  border:1px solid rgba(240,241,243,.95);
  background: #fff;
  display:grid;place-items:center;
  cursor:pointer;
  flex:none;
}
.bookmark svg{width:16px;height:16px;opacity:.65}
.bookmark .ph{font-size:16px;opacity:.65}
.bookmark.active,
.fav.active,
.map-heart.active{
  background: #111318;
  border-color:#111318;
  color:#fff;
}
.bookmark.active svg,
.fav.active svg,
.map-heart.active svg{opacity:1; stroke:#fff}

.cardbody{
  padding: 2px 16px 16px;
}
.status{
  font-size:12px;
  color: var(--accent);
  display:flex; align-items:center; gap:8px;
  margin: 6px 0 10px;
  font-weight:600;
}
.dot{
  width:7px;height:7px;border-radius:999px;background: var(--accent);
  box-shadow: 0 8px 18px rgba(243,107,42,.35);
}
.price-row{
  display:flex; align-items:flex-start; justify-content:space-between;
  gap:10px;
  margin-bottom: 10px;
}
.price{
  font-size:24px;
  font-weight:800;
  letter-spacing:-.3px;
}
.fav{
  width:36px;height:36px;border-radius:999px;
  border:1px solid #f0f1f3;background:#fff;
  display:grid;place-items:center;
  cursor:pointer;
}
.fav svg{width:16px;height:16px;opacity:.55}
.fav .ph{font-size:16px;opacity:.55}
.meta{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  color:#1d2129;
  font-size:12px;
}
.meta .mitem{
  display:flex; align-items:center; gap:7px;
  color:#1d2129;
}
.meta svg{width:16px;height:16px;opacity:.7}
.meta .ph{font-size:16px;opacity:.7}
.addr{
  margin-top: 10px;
  font-size:12px;
  color:#6c7078;
  line-height:1.35;
}
.listedby{
  margin-top: 8px;
  font-size:11px;
  color:#9aa0aa;
  font-style: italic;
}

/* Map panel */
.mappanel{
  position:relative;
  height: 650px;
  border-radius: 32px;
  background: #f3f4f6;
  border: 1px solid #eef0f3;
  box-shadow: none;
  overflow:hidden;
}
.mapbg{
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 380px at 10% 0%, rgba(255,255,255,.85), rgba(255,255,255,0) 55%),
    linear-gradient(0deg, rgba(255,255,255,.65), rgba(255,255,255,.65)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='700'%3E%3Crect width='100%25' height='100%25' fill='%23f2f3f6'/%3E%3Cg stroke='%23d6d9e0' stroke-width='2' opacity='.9'%3E%3Cpath d='M40 80 C180 110 260 40 420 80 S680 120 860 70' fill='none'/%3E%3Cpath d='M80 200 C180 240 260 190 420 210 S680 270 860 220' fill='none'/%3E%3Cpath d='M40 330 C210 360 300 300 440 330 S700 400 860 360' fill='none'/%3E%3Cpath d='M120 510 C260 560 360 490 520 520 S740 580 860 540' fill='none'/%3E%3Cpath d='M210 40 L170 660' fill='none'/%3E%3Cpath d='M360 30 L310 670' fill='none'/%3E%3Cpath d='M560 40 L510 680' fill='none'/%3E%3Cpath d='M720 10 L690 690' fill='none'/%3E%3C/g%3E%3Cg fill='%2397a0ae' opacity='.7' font-family='Arial' font-size='14'%3E%3Ctext x='90' y='118'%3E2nd Ave%3C/text%3E%3Ctext x='520' y='128'%3E3rd Ave%3C/text%3E%3Ctext x='110' y='345'%3E10th Ave%3C/text%3E%3Ctext x='540' y='360'%3E11th Ave%3C/text%3E%3Ctext x='610' y='245'%3E23rd St%3C/text%3E%3C/text%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  filter: saturate(.92);
}

.chip{
  position:absolute;
  background:#111318;
  color:#fff;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight:800;
  font-size:13px;
  box-shadow: none;
  user-select:none;
}
.chip:after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-8px;
  transform: translateX(-50%);
  width:0;height:0;
  border-left:8px solid transparent;
  border-right:8px solid transparent;
  border-top:10px solid #111318;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.18));
}
.pin{
  position:absolute;
  width:10px;height:10px;border-radius:999px;
  background: var(--accent);
  box-shadow: 0 14px 28px rgba(243,107,42,.36);
}

.map-fab{
  position:absolute;
  width:46px;height:46px;border-radius:999px;
  background:#fff;
  border:1px solid #eef0f3;
  display:grid;place-items:center;
  box-shadow: none;
  cursor:pointer;
  font-weight:700;
  font-size:18px;
}
.map-fab svg{width:18px;height:18px;opacity:.75}
.map-fab .ph{font-size:18px;opacity:.75}
.zoomstack{
  position:absolute;
  right: 20px;
  bottom: 24px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.zoomstack .map-fab{
  position:static;
  box-shadow: none;
}

.map-card{
  position:absolute;
  left: 100px;
  right: 90px;
  top: 230px;
  background:#fff;
  border: 1px solid #eef0f3;
  border-radius: 24px;
  box-shadow: none;
  padding: 14px;
  display:flex;
  gap:14px;
  align-items:stretch;
  overflow:hidden;
}
.map-thumb{
  width: 120px;
  height: 94px;
  border-radius: 16px;
  background: url('https://images.unsplash.com/photo-1507089947368-19c1da9775ae?auto=format&fit=crop&w=500&q=80') center/cover;
  flex:none;
  position:relative;
  overflow:hidden;
}
.map-thumb:before{
  content:"";
  position:absolute;
  inset:-30px -60px auto auto;
  width:180px;height:120px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.7), rgba(255,255,255,0) 60%);
  transform: rotate(18deg);
}

.map-card-main{
  flex:1;
  min-width: 0;
}
.map-toprow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom: 8px;
}
.map-status{
  display:flex; align-items:center; gap:8px;
  color: var(--accent);
  font-size:12px;
  font-weight:700;
}
.map-heart{
  width:36px;height:36px;border-radius:999px;
  border:1px solid #eef0f3;background:#fff;
  display:grid;place-items:center;
  cursor:pointer;
}
.map-heart svg{width:16px;height:16px;opacity:.55}
.map-heart .ph{font-size:16px;opacity:.55}
.map-price{
  font-size:24px;
  font-weight:800;
  letter-spacing:-.2px;
}
.map-meta{
  display:flex; align-items:center; gap:14px; flex-wrap:wrap;
  font-size:12px;
  margin-top: 8px;
}
.map-meta .mitem{display:flex;align-items:center;gap:7px}
.map-meta svg{width:16px;height:16px;opacity:.7}
.map-meta .ph{font-size:16px;opacity:.7}
.map-addr{
  margin-top: 10px;
  font-size:12px;
  color:#6c7078;
}

.divider{
  position:absolute;
  left: calc(50% - 1px);
  top: 180px;
  height: 320px;
  width: 3px;
  border-radius: 99px;
  background: linear-gradient(#d6d8dc, #d6d8dc);
  opacity:.85;
  display:none;
}

/* Filter panel */
.overlay{
  position:fixed;
  inset:0;
  background: rgba(17,19,24,.25);
  opacity:0;
  pointer-events:none;
  transition: opacity .25s ease;
  z-index:5;
}
.overlay.show{
  opacity:1;
  pointer-events:auto;
}
.filter-panel{
  position:fixed;
  top: 150px;
  left: 50%;
  transform: translate(-50%, -10px);
  width:min(620px, 94vw);
  background:#fff;
  border:1px solid #eef0f3;
  border-radius: 28px;
  box-shadow: 0 18px 36px rgba(16,24,40,.12);
  padding: 24px;
  opacity:0;
  pointer-events:none;
  transition: opacity .25s ease, transform .25s ease;
  z-index:6;
  max-height: min(80vh, 720px);
  display:flex;
  flex-direction:column;
}
.filter-panel.open{
  opacity:1;
  transform: translate(-50%, 0);
  pointer-events:auto;
}
.filter-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom: 16px;
}
.filter-title p{
  margin:0;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.18em;
  color:#9aa0aa;
}
.filter-head h2{
  margin:0;
  font-family:"Sora", sans-serif;
  font-size:20px;
}
.filter-title h2{
  margin:6px 0 0;
  font-size:22px;
}
.filter-grid{
  display:grid;
  gap:12px;
}
.filter-grid label{
  display:flex;
  flex-direction:column;
  font-size:12px;
  color:#6c7078;
  gap:6px;
}
.filter-grid select{
  height:42px;
  border-radius: 12px;
  border:1px solid #eef0f3;
  padding: 0 12px;
  font-family: inherit;
  font-size:13px;
}
.filter-actions{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  margin-top: 16px;
}
.filter-actions button{
  height:42px;
  padding: 0 16px;
  border-radius: 999px;
  border:0;
  cursor:pointer;
  font-family: inherit;
  font-weight:600;
}
.filter-actions button[type="submit"]{
  background: var(--text);
  color:#fff;
}
.filter-actions .ghost{
  background:#f2f3f5;
  color:#2a2d34;
}

.filter-section{
  padding: 16px 0 18px;
  border-bottom: 1px solid #f1f2f4;
}
.filter-section:last-of-type{
  border-bottom:0;
  padding-bottom: 6px;
}
.section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom: 10px;
}
.section-head h3{
  margin:0;
  font-size:15px;
  font-weight:700;
  color:#1c1f26;
}
.section-head .chip{
  background:#f2f3f5;
  color:#6b7078;
  font-size:12px;
  padding: 7px 12px;
  border-radius: 999px;
}
.range-wrap input[type="range"]{
  width:100%;
  accent-color: #f36b2a;
}
.range-scale{
  display:flex;
  justify-content:space-between;
  font-size:12px;
  color:#9aa0aa;
  margin-top: 8px;
}
.pill-group{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.pill{
  border:1px solid #eceef2;
  background:#fff;
  color:#6b7078;
  border-radius: 999px;
  padding: 10px 18px;
  font-size:13px;
  cursor:pointer;
  transition: all .2s ease;
}
.pill.active{
  background:#111318;
  border-color:#111318;
  color:#fff;
}
.seg-row{
  display:grid;
  gap:12px;
}
.seg-control{
  display:flex;
  flex-direction:column;
  gap:10px;
  font-size:13px;
  color:#6b7078;
}
.seg-options{
  display:flex;
  gap:8px;
  background:#f3f4f6;
  padding: 8px;
  border-radius: 999px;
}
.seg{
  border:0;
  background:transparent;
  padding: 8px 14px;
  border-radius: 999px;
  font-size:13px;
  cursor:pointer;
  color:#6b7078;
}
.seg.active{
  background:#fff;
  color:#1c1f26;
  font-weight:700;
  border:1px solid #e9ebef;
}
.check-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:12px;
}
.check{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:13px;
  color:#6b7078;
  background:#f9f9fb;
  padding: 10px 12px;
  border-radius: 12px;
  border:1px solid #f1f2f4;
}
.check input{
  accent-color: #f36b2a;
}

/* Sort menu */
.sort-menu{
  position:fixed;
  top: 160px;
  right: 120px;
  background:#fff;
  border:1px solid #eef0f3;
  border-radius: 16px;
  box-shadow: 0 18px 36px rgba(16,24,40,.12);
  padding: 6px;
  display:flex;
  flex-direction:column;
  gap:6px;
  opacity:0;
  pointer-events:none;
  transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s ease;
  z-index:6;
}
.sort-menu.open{
  opacity:1;
  transform: translateY(0);
  pointer-events:auto;
}
.sort-menu button{
  height:38px;
  border:0;
  background:#fff;
  padding: 0 12px;
  border-radius: 12px;
  text-align:left;
  cursor:pointer;
  font-family: inherit;
  font-size:12px;
}
.sort-menu button:hover{
  background:#f2f3f5;
}

/* Toast */
.toast{
  position:fixed;
  bottom: 24px;
  right: 24px;
  background:#111318;
  color:#fff;
  padding: 12px 16px;
  border-radius: 12px;
  font-size:12px;
  opacity:0;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease;
  z-index:7;
}

/* Property detail */
.detail-page{
  display:flex;
  flex-direction:column;
  gap:24px;
  padding-top: 10px;
}
.alt-detail .detail-header{
  align-items:flex-start;
}
.detail-hero-card{
  display:block;
}
.detail-inquiry{
   border-radius: 22px;
  padding: 20px;
  background:#fff;
}
.detail-inquiry h2{
  margin:0 0 12px;
  font-size:18px;
}
.agent-card{
  display:flex;
  flex-direction:column;
  gap:12px;
  border:1px solid #eef0f3;
  border-radius: 18px;
  padding: 14px;
  background:#fff;
  text-decoration:none;
  color:inherit;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.agent-card:hover{
  border-color:#dcdfe6;
  background:#fbfbfc;
  transform: translateY(-2px);
}
.agent-card-link{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:12px;
  color:#f36b2a;
}
.agent-top{
  display:flex;
  align-items:center;
  gap:12px;
}
.agent-meta{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  font-size:12px;
  color:#6c7078;
}
.agent-meta i{
  margin-right:6px;
}
.agent-actions{
  display:grid;
  gap:8px;
}
.agent-actions .btn{
  width:100%;
  justify-content:center;
}
.inquiry-form{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.inquiry-form label{
  display:flex;
  align-items:center;
  gap:8px;
  border:1px solid #eef0f3;
  border-radius: 999px;
  padding: 12px 14px;
  background:#f8f9fb;
}
.inquiry-form input{
  border:0;
  outline:0;
  background:transparent;
  font-size:13px;
  width:100%;
  font-family: inherit;
}
.inquiry-form textarea{
  border:1px solid #eef0f3;
  border-radius: 16px;
  padding: 12px 14px;
  font-size:13px;
  font-family: inherit;
  background:#f8f9fb;
  resize:vertical;
}
.detail-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:20px;
}
.detail-grid .detail-block.full{
  grid-column: 1 / -1;
}
.detail-bundle{
  grid-column: 1 / -1;
  border:1px solid #eef0f3;
  border-radius: 24px;
  padding: 20px;
  background:#fff;
  max-width: 980px;
  margin: 0 auto;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.detail-bundle:hover{
  border-color:#e2e5ec;
  box-shadow: 0 10px 24px rgba(16,24,40,.06);
}
.bundle-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom: 16px;
}
.bundle-head h2{
  margin:0;
  font-size:16px;
}
.bundle-head span{
  font-size:12px;
  color:#6c7078;
}
.bundle-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.bundle-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:18px;
}
.bundle-section{
  border:1px solid #f1f2f4;
  border-radius: 18px;
  padding: 16px;
  background:#fafbfc;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.bundle-section:hover{
  border-color:#e2e5ec;
  background:#fff;
  transform: translateY(-2px);
}
.bundle-section h3{
  margin:0 0 10px;
  font-size:14px;
}
.bundle-section.span-2{
  grid-column: 1 / -1;
}
.bundle-split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
  align-items:start;
}
.detail-grid .detail-block .detail-pills span{
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.detail-bundle .detail-pills span{
  display:inline-flex;
  gap:8px;
  padding: 8px 12px;
  border:1px solid #eef0f2;
  border-radius: 999px;
  background:#fff;
  align-items:center;
  line-height:1;
  min-height: 36px;
}
.detail-bundle .detail-pills span i{
  font-size:16px;
  line-height:1;
}
.detail-grid .detail-block h2{
  font-size:15px;
}
.detail-grid .detail-block p{
  font-size:12px;
}
.detail-grid .detail-address{
  margin-top: 10px;
}
.detail-header{
  display:grid;
  grid-template-columns: 0.3fr 1fr 0.2fr;
  align-items:start;
  gap:28px;
}
.detail-topline{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.top-actions{
  margin-top: 0;
}
.detail-label{
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.18em;
  color:#9aa0aa;
}
.detail-title{
  margin:6px 0 4px;
  font-size:40px;
  font-family: "Sora", "Manrope", sans-serif;
}
.detail-subtitle{
  color:#6c7078;
  font-size:14px;
}
.detail-info .detail-location{
  font-size:14px;
}
.detail-info .detail-price{
  font-size:32px;
}
.detail-actions{
  margin-top: 12px;
}
.detail-meta-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:12px;
  margin-top: 14px;
}
.detail-stat{
  display:flex;
  gap:10px;
  align-items:center;
  padding: 12px;
  border:1px solid #eef0f2;
  border-radius: 16px;
  background:#f9fafb;
  font-size:12px;
  color:#6c7078;
}
.detail-stat strong{
  display:block;
  color:#1c1f26;
  font-size:14px;
}
.detail-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top: 12px;
}
.detail-tags span{
  display:inline-flex;
  align-items:center;
  gap:6px;
  border:1px solid #eef0f2;
  background:#fff;
  border-radius: 999px;
  padding: 6px 10px;
  font-size:11px;
  color:#6c7078;
}
.detail-facilities{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin: 6px 0 10px;
}
.facility-pill{
  display:flex;
  align-items:center;
  gap:8px;
  border:1px solid #eef0f2;
  background:#fff;
  border-radius: 999px;
  padding: 10px 14px;
  font-size:12px;
  color:#6c7078;
}
.facility-pill strong{
  color:#1c1f26;
  font-weight:700;
}
.detail-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.detail-back{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#2a2d34;
  text-decoration:none;
  font-size:13px;
}
.detail-actions{
  display:flex;
  gap:10px;
}
.detail-action{
  border:1px solid #eef0f2;
  background:#f5f6f7;
  border-radius: 999px;
  padding: 8px 12px;
  font-size:12px;
  cursor:pointer;
  display:flex;
  gap:8px;
  align-items:center;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.detail-action.is-done{
  background:#111318;
  border-color:#111318;
  color:#fff;
}
.detail-action.is-done i{
  color:#fff;
}
.detail-action:hover{
  background:#fff;
  border-color:#e2e5ec;
}
.detail-action:active{
  transform: translateY(1px);
}
.detail-layout{
  display:grid;
  grid-template-columns: 1.7fr 0.9fr;
  gap:24px;
}
.detail-main{
  display:flex;
  flex-direction:column;
  gap:24px;
}
.detail-side{
  display:flex;
  flex-direction:column;
  gap:20px;
}
.detail-hero{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap:24px;
}
.detail-gallery{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.detail-main-photo{
  height: 520px;
  border-radius: 24px;
  border:1px solid #eef0f3;
  background-size: cover;
  background-position:center;
  position:relative;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.detail-main-photo:hover{
  border-color:#e2e5ec;
  box-shadow: 0 10px 24px rgba(16,24,40,.06);
}
.detail-chip{
  position:absolute;
  top:16px;
  left:16px;
  background:#fff;
  border:1px solid #e9ebef;
  border-radius: 999px;
  padding: 8px 12px;
  font-size:12px;
  display:flex;
  gap:6px;
  align-items:center;
}
.detail-thumbs{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap:14px;
}
.thumb{
  height: 100px;
  border-radius: 16px;
  border:1px solid #eef0f3;
  background-size: cover;
  background-position:center;
  cursor:pointer;
  transition: transform .2s ease, border-color .2s ease;
}
.thumb.active{
  border-color:#dcdfe6;
}
.thumb:hover{
  border-color:#d1d5dd;
  transform: translateY(-2px);
}
.detail-summary{
  border:1px solid #eef0f3;
  border-radius: 24px;
  padding: 20px;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.detail-summary h1{
  margin:0;
  font-size:24px;
  font-family: "Sora", "Manrope", sans-serif;
}
.detail-location{
  display:flex;
  gap:8px;
  align-items:center;
  color:#6c7078;
  font-size:13px;
}
.detail-price{
  font-size:28px;
  font-weight:800;
}
.detail-meta{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  font-size:13px;
}
.detail-cta{
  display:flex;
  gap:12px;
  margin-top: 6px;
}
.btn{
  border-radius: 999px;
  padding: 10px 16px;
  font-size:13px;
  border:1px solid transparent;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.btn:active{
  transform: translateY(1px);
}
.btn.primary{
  background:#111318;
  color:#fff;
}
.btn.ghost{
  background:#f5f6f7;
  border-color:#eef0f2;
}
.detail-agent{
  display:flex;
  gap:10px;
  align-items:center;
  border-top:1px solid #f1f2f4;
  padding-top: 12px;
}
.detail-body{
  display:grid;
  grid-template-columns: 2fr 1fr;
  gap:24px;
}
.detail-col{
  display:flex;
  flex-direction:column;
  gap:24px;
}
.detail-gallery-controls{
  position:absolute;
  right:16px;
  bottom:16px;
  display:flex;
  gap:8px;
}
.detail-gallery-controls .detail-action{
  background:#fff;
}
.detail-block{
  border-radius: 24px;
  padding: 20px;
}
.detail-block h3{
  margin:0 0 10px;
  font-size:15px;
}
.detail-note{
  margin:8px 0 14px;
  color:#6c7078;
  font-size:12px;
}
.hero-banner{
  position:relative;
  width:100%;
  max-width:1320px;
  margin: 0 auto;
  min-height:720px;
  border-radius: 24px;
  padding: 140px 36px 160px;
  box-shadow: 0 1px 2px rgba(225, 225, 226, 0.18);
  background:none !important;
  overflow:hidden;
  border:0;
}
.hero-slides{
  position:absolute;
  inset:0;
  z-index:0;
}
.hero-slide{
  position:absolute;
  inset:0;
  background-size: cover;
  background-position:center;
  opacity:0;
  transition: opacity .8s ease, transform 1s ease;
  cursor: pointer;
}
.hero-slide.is-active{
  opacity:1;
  transform: scale(1.02);
}
.hero-slide.is-active:hover{
  transform: scale(1.04);
}
.hero-slide::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 10%, rgba(0,0,0,0.28) 100%);
  opacity:0;
  transition: opacity .4s ease;
}
.hero-slide.is-active:hover::after{
  opacity:1;
}
.hero-slide-info{
  position:absolute;
  left:50%;
  top:50%;
  transform: translate(-50%, -50%) scale(0.96);
  z-index:2;
  background:rgba(255,255,255,0.92);
  border:1px solid rgba(255,255,255,0.8);
  border-radius:18px;
  padding:16px 18px;
  min-width:240px;
  box-shadow: 0 20px 35px rgba(16,24,40,.18);
  opacity:0;
  transition: opacity .25s ease, transform .35s ease, box-shadow .35s ease;
}
.hero-banner:hover .hero-slide.is-active .hero-slide-info{
  opacity:1;
  transform: translate(-50%, -50%) scale(1.02);
  box-shadow: 0 26px 40px rgba(16,24,40,.22);
}
.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  background:#f6f6f6;
  border:1px solid #eceff3;
  color:#5c616a;
  font-size:11px;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  border-radius:999px;
  padding:6px 10px;
}
.hero-slide-title{
  font-size:18px;
  font-weight:700;
  margin:10px 0 4px;
  color:#1b1b1b;
}
.hero-slide-meta{
  font-size:12px;
  color:#6c7078;
}
.hero-slide-cta{
  margin-top:10px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.hero-price{
  font-weight:700;
  color:#1b1b1b;
}
.hero-link{
  font-size:12px;
  color:#f36b2a;
  font-weight:700;
}
.hero-arrow{
  position:absolute;
  top:50%;
  z-index:2;
  width:52px;
  height:52px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.6);
  background:rgba(255,255,255,0.7);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#1b1b1b;
  font-size:20px;
  transform:translateY(-50%);
  transition:transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.hero-arrow:hover{
  transform:translateY(-50%) scale(1.05);
  background:#ffffff;
  border-color:rgba(255,255,255,0.9);
}
.hero-prev{left:24px;}
.hero-next{right:24px;}
.hero-banner-content{
  max-width: 640px;
  margin: 0 auto;
  text-align:center;
  position:relative;
  z-index:1;
}
.hero-label{
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:11px;
  color:#9aa0aa;
}
.hero-banner h1{
  margin:8px 0;
  font-size:36px;
  font-family: "Sora", "Manrope", sans-serif;
}
.hero-banner p{
  margin:0;
  color:#6c7078;
  font-size:14px;
}
.hero-filter{
  position:absolute;
  left:50%;
  bottom: 80px;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.92);
  border:1px solid rgba(255,255,255,0.85);
  border-radius: 28px;
  padding: 12px 14px;
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr)) auto;
  align-items:center;
  gap:0;
  width: min(980px, 92%);
  box-shadow: 0 28px 50px rgba(16,24,40,.18);
  backdrop-filter: blur(12px);
  z-index:1;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.hero-filter:hover{
  transform: translateX(-50%) translateY(0px);
  box-shadow: 0 32px 60px rgba(16,24,40,.22);
}
.hero-dots{
  position:absolute;
  bottom: 120px;
  left:50%;
  transform: translateX(-50%);
  display:flex;
  gap:8px;
  z-index:1;
  display:none;
}
.hero-dot{
  width:10px;
  height:10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.7);
  background: rgba(255,255,255,.4);
  cursor:pointer;
}
.hero-dot.is-active{
  width:22px;
  background:#fff;
}
.hero-field{
  padding: 8px 16px;
  display:flex;
  flex-direction:column;
  gap:8px;
  border-right:1px solid rgba(15,16,20,0.08);
  transition: background .25s ease;
}
.hero-field:last-of-type{
  border-right:none;
}
.hero-field-label{
  font-size:11px;
  color:#8a9098;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-weight:600;
}
.hero-control{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 8px 12px;
  border-radius: 14px;
  background:#f6f7f9;
  border:1px solid #eef0f3;
  position:relative;
  transition: border-color .25s ease, background .25s ease, transform .25s ease, box-shadow .25s ease;
}
.hero-field:hover .hero-control{
  background:#fff;
  border-color:#f3d2c3;
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(16,24,40,.08);
}
.hero-control i{
  color:#f36b2a;
  font-size:18px;
}
.hero-control select{
  height:28px;
  border:none;
  background:transparent;
  font-size:14px;
  font-family: inherit;
  color:#1b1b1b;
  width:100%;
  outline:none;
  appearance:none;
  padding-right:18px;
}
.hero-control::after{
  content:"";
  position:absolute;
  right:12px;
  width:8px;
  height:8px;
  border-right:2px solid #9aa0aa;
  border-bottom:2px solid #9aa0aa;
  transform: rotate(45deg);
  pointer-events:none;
}
.hero-control:focus-within{
  border-color:#f36b2a;
  box-shadow: 0 0 0 3px rgba(243,107,42,0.12);
  background:#fff;
}
.hero-submit{
  height:48px;
  margin-left:10px;
  padding:0 20px;
  border-radius:999px;
  font-weight:600;
  justify-content:center;
  gap:8px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.hero-submit:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(243,107,42,0.25);
}

.featured-slider{
  margin: 90px auto 40px;
  width: min(1200px, 100%);
}
.featured-track{
  display:grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 40px) / 3);
  gap:20px;
  overflow:hidden;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
}
.featured-card{
  position:relative;
  border-radius:28px;
  overflow:hidden;
  text-decoration:none;
  color:inherit;
  height: 300px;
  scroll-snap-align: start;
  transition: transform .25s ease, box-shadow .25s ease;
}
.featured-card:hover{
  transform: translateY(-6px);
 }
.featured-media{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
}
.featured-media::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.65) 100%);
}
.featured-overlay{
  position:absolute;
  left:18px;
  right:18px;
  bottom:18px;
  display:flex;
  flex-direction:column;
  gap:8px;
  color:#fff;
  z-index:1;
}
.featured-title{
  font-size:16px;
  font-weight:700;
}
.featured-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:12px;
  opacity:.9;
}
.featured-meta span{
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.featured-cta{
  align-self:flex-start;
  background:#f36b2a;
  color:#fff;
  border-radius:999px;
  padding:6px 14px;
  font-size:12px;
  font-weight:600;
}

.home-feed{
  margin: 100px auto 80px;
  width: min(1200px, 100%);
}
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom: 28px;
}
.section-eyebrow{
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:11px;
  color:#9aa0aa;
}
.section-head h2{
  margin:6px 0 8px;
  font-size:28px;
}
.section-head p{
  margin:0;
  color:#6c7078;
  font-size:14px;
}
.section-link{
  color:#f36b2a;
  font-weight:600;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.feed-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap:20px;
}
.feed-card{
  background:#fff;
  border:1px solid #eef0f3;
  border-radius:24px;
  overflow:hidden;
  text-decoration:none;
  color:inherit;
  display:flex;
  flex-direction:column;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.feed-card:hover{
  transform: translateY(-6px);
  border-color:#f3d2c3;
  box-shadow: 0 24px 40px rgba(16,24,40,.12);
}
.feed-media{
  position:relative;
  padding-top:66%;
  background-size:cover;
  background-position:center;
}
.feed-badge{
  position:absolute;
  top:14px;
  left:14px;
  background:rgba(255,255,255,0.9);
  border:1px solid rgba(255,255,255,0.75);
  border-radius:999px;
  padding:6px 10px;
  font-size:11px;
  font-weight:600;
  color:#5c616a;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.feed-price{
  position:absolute;
  right:14px;
  bottom:14px;
  background:#111;
  color:#fff;
  padding:8px 12px;
  border-radius:999px;
  font-size:13px;
  font-weight:600;
}
.feed-body{
  padding:16px 16px 18px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.feed-title{
  font-size:16px;
  font-weight:700;
}
.feed-meta{
  font-size:12px;
  color:#6c7078;
  display:flex;
  align-items:center;
  gap:6px;
}
.feed-specs{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  font-size:12px;
  color:#1b1b1b;
}
.feed-specs span{
  display:inline-flex;
  align-items:center;
  gap:6px;
  background:#f7f8fa;
  border:1px solid #eef0f3;
  border-radius:999px;
  padding:6px 10px;
}

.nearby-section{
  margin: 40px auto 80px;
  width: min(1200px, 100%);
}
.section-actions{
  display:flex;
  align-items:center;
  gap:10px;
}
.near-nav{
  width:44px;
  height:44px;
  border-radius:50%;
  border:1px solid #e7eaef;
  background:#fff;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.near-nav:hover{
  transform: translateY(-1px);
  border-color:#f3d2c3;
  box-shadow: 0 12px 20px rgba(16,24,40,.08);
}
.nearby-slider{
  display:grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap:20px;
  overflow:hidden;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
}
.near-card{
  background:#fff;
  border:1px solid #eef0f3;
  border-radius:24px;
  overflow:hidden;
  text-decoration:none;
  color:inherit;
  scroll-snap-align: start;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.near-card:hover{
  transform: translateY(-6px);
  border-color:#f3d2c3;
}
.near-cover{
  position:relative;
  padding-top:64%;
  background-size:cover;
  background-position:center;
}
.near-distance{
  position:absolute;
  top:14px;
  left:14px;
  background:rgba(255,255,255,0.9);
  border:1px solid rgba(255,255,255,0.8);
  border-radius:999px;
  padding:6px 10px;
  font-size:11px;
  font-weight:600;
  color:#5c616a;
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.near-body{
  padding:16px 16px 18px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.near-title{
  font-size:16px;
  font-weight:700;
}
.near-meta{
  font-size:12px;
  color:#6c7078;
  display:flex;
  align-items:center;
  gap:6px;
}
.near-stats{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  font-size:12px;
  color:#1b1b1b;
}
.near-stats span{
  display:inline-flex;
  align-items:center;
  gap:6px;
  background:#f7f8fa;
  border:1px solid #eef0f3;
  border-radius:999px;
  padding:6px 10px;
}

.spotlight-section{
  margin: 20px auto 90px;
  width: min(1200px, 100%);
}
.spotlight-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:20px;
}
.spotlight-card{
  background:#fff;
  border:1px solid #eef0f3;
  border-radius:26px;
  overflow:hidden;
  text-decoration:none;
  color:inherit;
  display:flex;
  flex-direction:column;
  min-height:320px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.spotlight-card:hover{
  transform: translateY(-6px);
  border-color:#f3d2c3;
  box-shadow: 0 26px 40px rgba(16,24,40,.12);
}
.spotlight-card.is-skeleton{
  border-color:#eef0f3;
  box-shadow:none;
  pointer-events:none;
}
.spotlight-card.is-skeleton .spotlight-media{
  background:#f1f3f6;
}
.spotlight-card.is-skeleton .spotlight-body{
  gap:14px;
}
.skeleton-block,
.skeleton-line,
.skeleton-chip{
  display:block;
  background: linear-gradient(90deg, #eef0f3 0%, #f7f8fa 45%, #eef0f3 90%);
  background-size: 220% 100%;
  animation: skeletonShimmer 1.2s ease-in-out infinite;
}
.skeleton-block{
  position:absolute;
  inset:0;
}
.skeleton-line{
  height:14px;
  border-radius:8px;
  margin-bottom:10px;
}
.skeleton-line.short{
  width:70%;
}
.skeleton-chip{
  width:70px;
  height:24px;
  border-radius:999px;
}
.spotlight-media{
  position:relative;
  padding-top:62%;
  background-size:cover;
  background-position:center;
}
.spotlight-badge{
  position:absolute;
  top:16px;
  left:16px;
  background:rgba(255,255,255,0.95);
  border:1px solid rgba(255,255,255,0.8);
  color:#5c616a;
  border-radius:999px;
  padding:6px 12px;
  font-size:11px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.spotlight-badge.tone-sage{
  background:rgba(231,244,236,0.95);
  border-color:rgba(210,231,219,0.9);
  color:#2d5b46;
}
.spotlight-badge.tone-night{
  background:rgba(16,24,40,0.88);
  border-color:rgba(16,24,40,0.9);
  color:#fff;
}
.spotlight-badge.tone-sand{
  background:rgba(255,244,232,0.95);
  border-color:rgba(243,221,198,0.9);
  color:#7a4b26;
}
.spotlight-badge.tone-rose{
  background:rgba(255,236,236,0.95);
  border-color:rgba(243,210,210,0.9);
  color:#7b2f2f;
}
.spotlight-price{
  position:absolute;
  right:16px;
  bottom:16px;
  background:#111;
  color:#fff;
  padding:8px 12px;
  border-radius:999px;
  font-size:13px;
  font-weight:600;
}
.spotlight-body{
  padding:18px 18px 20px;
  display:flex;
  flex-direction:column;
  gap:12px;
  flex:1;
  justify-content:space-between;
}
.spotlight-title{
  font-size:17px;
  font-weight:700;
}
.spotlight-meta{
  margin-top:6px;
  font-size:12px;
  color:#6c7078;
  display:flex;
  align-items:center;
  gap:6px;
}
.spotlight-specs{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  font-size:12px;
  color:#1b1b1b;
}
.spotlight-specs span{
  display:inline-flex;
  align-items:center;
  gap:6px;
  background:#f7f8fa;
  border:1px solid #eef0f3;
  border-radius:999px;
  padding:6px 10px;
}
.spotlight-actions{
  display:flex;
  justify-content:center;
  margin-top:24px;
}
.spotlight-more{
  padding:10px 20px;
  border-radius:999px;
}
.spotlight-more:disabled{
  opacity:.6;
  cursor:not-allowed;
}

.site-footer{
  margin: 40px 0 0;
  padding: 48px 48px 32px;
  width: 100%;
  border-top:1px solid #eef0f3;
}
.footer-shell{
  display:grid;
  grid-template-columns: minmax(0,1.2fr) minmax(0,1fr);
  gap:36px;
  align-items:start;
}
.footer-brand p{
  margin:12px 0 20px;
  color:#6c7078;
  font-size:14px;
  max-width:420px;
}
.footer-badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.footer-badges span{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:#f7f8fa;
  border:1px solid #eef0f3;
  border-radius:999px;
  padding:6px 12px;
  font-size:12px;
  color:#3d4148;
}
.footer-links{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:24px;
}
.footer-col h4{
  margin:0 0 12px;
  font-size:14px;
  font-weight:700;
}
.footer-col a{
  display:block;
  text-decoration:none;
  color:#5c616a;
  font-size:13px;
  padding:6px 0;
}
.footer-col a:hover{
  color:#f36b2a;
}
.footer-bottom{
  margin-top:32px;
  padding-top:20px;
  border-top:1px solid #eef0f3;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  font-size:12px;
  color:#8b9098;
}
.footer-social{
  display:flex;
  align-items:center;
  gap:12px;
}
.footer-social a{
  width:34px;
  height:34px;
  border-radius:50%;
  border:1px solid #eef0f3;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#5c616a;
  text-decoration:none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.footer-social a:hover{
  transform: translateY(-2px);
  border-color:#f3d2c3;
  box-shadow: 0 10px 18px rgba(16,24,40,.08);
  color:#f36b2a;
}

/* Auth */
.login-view{
  min-height:100vh;
  background:#fff;
}
.auth-topbar{
  padding: 24px 48px;
}
.auth-page{
  position:relative;
  z-index:1;
  width: min(960px, 100%);
  margin: 0 auto 80px;
  padding: 40px 48px 80px;
}
.auth-shell{
  display:flex;
  align-items:center;
  justify-content:center;
}
.auth-card{
  background:#fff;
  border:1px solid #eef0f3;
  border-radius: 28px;
  padding: 32px 32px 30px;
  width: min(420px, 100%);
}
.auth-card-wide{
  width: min(520px, 100%);
}
.auth-card-min{
  position:relative;
}
.auth-card-min:before{
  content:none;
}
.auth-card-head h2{
  margin:0 0 8px;
  font-size:26px;
}
.auth-card-head p{
  margin:0 0 20px;
  color:#6c7078;
  font-size:14px;
}
.auth-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:#f36b2a;
  margin-bottom:10px;
}
.auth-social{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:12px;
}
.auth-social-btn{
  border:1px solid #eef0f3;
  background:#fff;
  border-radius:14px;
  padding:10px 12px;
  font-size:13px;
  font-weight:600;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  cursor:pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.auth-social-btn:hover{
  transform: translateY(-2px);
  border-color:#f3d2c3;
  box-shadow: 0 12px 20px rgba(16,24,40,.08);
}
.auth-divider{
  display:flex;
  align-items:center;
  gap:12px;
  margin:20px 0;
  color:#9aa0aa;
  font-size:12px;
}
.auth-divider:before,
.auth-divider:after{
  content:"";
  flex:1;
  height:1px;
  background:#eef0f3;
}
.auth-form{
  display:flex;
  flex-direction:column;
  gap:16px;
}
.auth-field{
  display:flex;
  flex-direction:column;
  gap:8px;
  font-size:13px;
  color:#4b4f56;
}
.auth-field input{
  border:1px solid #eef0f3;
  border-radius:14px;
  padding:12px 14px;
  font-size:14px;
  background:#fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.auth-field input:focus{
  outline:none;
  border-color:#f3d2c3;
  box-shadow: 0 0 0 4px rgba(243,107,42,.08);
}
.auth-options{
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:12px;
}
.auth-options a{
  text-decoration:none;
  color:#f36b2a;
  font-weight:600;
}
.auth-check{
  display:flex;
  align-items:center;
  gap:8px;
}
.auth-check input{
  width:16px;
  height:16px;
}
.auth-submit{
  width:100%;
}
.auth-footer{
  margin-top:20px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  font-size:13px;
}
.auth-footer a{
  text-decoration:none;
  color:#f36b2a;
  font-weight:600;
}

/* Dashboard */
.dashboard-view{
  background:#f6f7f9;
}
.dashboard-shell{
  min-height:100vh;
  --sidebar-width: 260px;
}
.dashboard-side{
  background:#fff;
  border-right:1px solid #e7eaef;
  padding:24px 18px;
  display:flex;
  flex-direction:column;
  gap:22px;
  position:fixed;
  top:0;
  left:0;
  bottom:0;
  width:var(--sidebar-width);
  overflow:auto;
}
.dash-brand{
  display:flex;
  align-items:center;
  gap:12px;
  padding: 6px 8px;
}
.dash-brand-name{
  font-family:"Sora","Manrope",sans-serif;
  font-weight:700;
  font-size:18px;
}
.dash-brand-sub{
  font-size:11px;
  color:#9aa0aa;
  text-transform:uppercase;
  letter-spacing:.12em;
}
.dash-nav{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.only-desktop{
  display:block;
}
.only-mobile{
  display:block;
}

.display-on-desktop{
  display:block;
  }


.dash-link{
  text-decoration:none;
  color:#3f444c;
  font-size:14px;
  padding:10px 12px;
  border-radius:12px;
  display:flex;
  align-items:center;
  gap:10px;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.dash-link:hover{
  background:#f7f8fa;
  color:#1c1f26;
  transform: translateX(2px);
}
.dash-link.is-active{
  background:#fff4ec;
  color:#b64a17;
  font-weight:600;
}
.dash-public{
  margin: 8px 8px 2px;
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid #eef0f3;
  background:#fff;
  color:#3f444c;
  text-decoration:none;
  font-size:13px;
}
.dash-public:hover{
  border-color:#f3d2c3;
  color:#b64a17;
}
.dash-help{
  margin-top:auto;
  background:#f8f9fb;
  border:1px solid #eef0f3;
  border-radius:16px;
  padding:16px;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.dash-help p{
  margin:6px 0 0;
  font-size:12px;
  color:#6c7078;
}
.dash-profile{
  display:flex;
  align-items:center;
  gap:12px;
  padding-top:12px;
  border-top:1px solid #eef0f3;
  position:relative;
}
.dash-profile .avatar{
  width:42px;
  height:42px;
}
.dash-user-menu{
  position:absolute;
  right:0;
  bottom:52px;
  background:#fff;
  border:1px solid #eef0f3;
  border-radius:14px;
  padding:6px;
  box-shadow: 0 12px 24px rgba(16,24,40,.12);
  display:flex;
  flex-direction:column;
  gap:4px;
  min-width:150px;
  opacity:0;
  pointer-events:none;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease;
  z-index:10;
}
.dash-user-menu.open{
  opacity:1;
  pointer-events:auto;
  transform: translateY(0);
}
.dash-user-menu button{
  border:none;
  background:transparent;
  text-align:left;
  padding:8px 10px;
  border-radius:10px;
  font-size:12px;
  display:flex;
  align-items:center;
  gap:8px;
  cursor:pointer;
}
.dash-user-menu button:hover{
  background:#f7f8fa;
}

.padding-none{
  padding:0 !important;
}

.dashboard-main{
  padding: 10px 25px 20px;
  background:#fff;
  margin-left:var(--sidebar-width);
  width: calc(100% - var(--sidebar-width));
  min-height:100vh;
  overflow:auto;
}
.dashboard-main.padding-none{
  padding:0;
}

.dash-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:22px;
}
.dash-title{
  display:flex;
  align-items:center;
  gap:14px;
}
.dash-title-icon{
  width:44px;
  height:44px;
  border-radius:14px;
  background:#fff;
  border:1px solid #eef0f3;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
  color:#f36b2a;
}
.dash-crumb{
  font-size:12px;
  color:#9aa0aa;
  text-transform:uppercase;
  letter-spacing:.12em;
}
.dash-title h1{
  margin:4px 0 0;
  font-size:26px;
}
.dash-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.dash-mobile-btn{
  display:none;
}
.dash-search{
  display:flex;
  align-items:center;
  gap:8px;
  background:#fff;
  border:1px solid #eef0f3;
  border-radius:999px;
  padding:8px 14px;
  min-width:260px;
}
.dash-search input{
  border:none;
  outline:none;
  font-size:13px;
  width:100%;
}

.dash-panel{
  background:#fff;
  /* border:1px solid #eef0f3; */
  /* border-radius:22px; */
  padding:18px 20px 22px;
  /* box-shadow: 0 12px 30px rgba(16,24,40,.04); */
}
.dash-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  border-bottom:1px solid #eef0f3;
  padding-bottom:14px;
}
.dash-tab{
  background:#f7f8fa;
  border:1px solid #eef0f3;
  border-radius:999px;
  padding:8px 14px;
  font-size:12px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  cursor:pointer;
}
.dash-tab span{
  font-weight:700;
}
.dash-tab.is-active{
  background:#fff4ec;
  border-color:#f3d2c3;
  color:#b64a17;
}
.dash-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:16px 0;
}
.dash-filters{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.dash-pill{
  border:1px solid #eef0f3;
  background:#fff;
  border-radius:999px;
  padding:6px 12px;
  font-size:12px;
}
.dash-sort{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  color:#6c7078;
}
.dash-select{
  border:1px solid #eef0f3;
  background:#fff;
  border-radius:999px;
  padding:6px 12px;
  font-size:12px;
  display:flex;
  align-items:center;
  gap:6px;
}
.dash-list{
  display:flex;
  flex-direction:column;
  gap:16px;
}
.dash-list.is-loading .dash-card{
  display:none;
}
.dash-skeleton{
  display:grid;
  grid-template-columns: 180px minmax(0,1fr);
  gap:18px;
  border:1px solid #eef0f3;
  border-radius:18px;
  padding:12px;
  background:#fff;
}
.dash-skeleton-media{
  border-radius:14px;
  min-height:140px;
  background: linear-gradient(90deg, #eef0f3 0%, #f7f8fa 45%, #eef0f3 90%);
  background-size:220% 100%;
  animation: skeletonShimmer 1.2s ease-in-out infinite;
}
.dash-skeleton-body{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.dash-skeleton-line{
  height:14px;
  border-radius:8px;
  background: linear-gradient(90deg, #eef0f3 0%, #f7f8fa 45%, #eef0f3 90%);
  background-size:220% 100%;
  animation: skeletonShimmer 1.2s ease-in-out infinite;
}
.dash-skeleton-line.short{
  width:60%;
}
.dash-skeleton-chips{
  display:flex;
  gap:10px;
}
.dash-skeleton-chips span{
  width:70px;
  height:24px;
  border-radius:999px;
  background: linear-gradient(90deg, #eef0f3 0%, #f7f8fa 45%, #eef0f3 90%);
  background-size:220% 100%;
  animation: skeletonShimmer 1.2s ease-in-out infinite;
}
.dash-card{
  display:grid;
  grid-template-columns: 180px minmax(0,1fr);
  gap:18px;
  border:1px solid #eef0f3;
  border-radius:18px;
  padding:12px;
  background:#fff;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.dash-card:hover{
  transform: translateY(-2px);
  border-color:#f3d2c3;
  box-shadow: 0 5px 6px rgba(16,24,40,.08);
}
.dash-card-media{
  border-radius:14px;
  min-height:140px;
  background-size:cover;
  background-position:center;
}
.dash-card-body{
  display:flex;
  flex-direction:column;
  gap:16px;
}
.dash-card-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.dash-card-title{
  font-weight:700;
  font-size:16px;
}
.dash-card-meta{
  margin:6px 0 10px;
  font-size:12px;
  color:#6c7078;
  display:flex;
  align-items:center;
  gap:6px;
}
.dash-tag{
  display:inline-flex;
  align-items:center;
  padding:4px 10px;
  border-radius:999px;
  background:#f7f8fa;
  border:1px solid #eef0f3;
  font-size:11px;
}
.dash-price{
  font-weight:700;
  font-size:15px;
}
.dash-card-foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.dash-stats{
  display:flex;
  align-items:center;
  gap:14px;
  font-size:12px;
  color:#6c7078;
}
.dash-stats span{
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.dash-actions-row{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.dash-actions-row .btn{
  padding:8px 12px;
  font-size:12px;
}
.dash-status{
  border:1px solid #f3d2c3;
  background:#fff4ec;
  color:#b64a17;
  border-radius:999px;
  padding:8px 12px;
  font-size:12px;
  font-weight:600;
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.dash-status.is-muted{
  background:#f7f8fa;
  border-color:#eef0f3;
  color:#6c7078;
}
.dash-status-menu{
  position:absolute;
  background:#fff;
  border:1px solid #f1f2f4;
  border-radius:10px;
  padding:4px;
  box-shadow: 0 10px 18px rgba(16,24,40,.1);
  display:flex;
  flex-direction:column;
  gap:4px;
  z-index:70;
  min-width:120px;
}
.dash-status-menu button{
  border:none;
  background:transparent;
  text-align:left;
  padding:6px 8px;
  border-radius:6px;
  font-size:12px;
  cursor:pointer;
}
.dash-status-menu button:hover{
  background:#fff4ec;
}
.dash-mobile-overlay{
  position:fixed;
  inset:0;
  background: rgba(15,16,20,.32);
  opacity:0;
  pointer-events:none;
  transition: opacity .25s ease;
  z-index:80;
}
.dash-mobile-overlay.show{
  opacity:1;
  pointer-events:auto;
}
.dash-mobile-menu{
  position:fixed;
  left:0;
  top:0;
  bottom:0;
  width:min(320px, 90vw);
  background:#fff;
  border-right:1px solid #eef0f3;
   transform: translateX(-100%);
  transition: transform .3s ease;
  z-index:90;
  display:flex;
  flex-direction:column;
  padding:18px;
  gap:16px;
}
.dash-mobile-menu.open{
  transform: translateX(0);
}
.dash-mobile-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.dash-mobile-links{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.dash-mobile-links a{
  text-decoration:none;
  color:#3f444c;
  font-size:14px;
  padding:10px 12px;
  border-radius:12px;
  display:flex;
  align-items:center;
  gap:10px;
  background:#f7f8fa;
}
.dash-mobile-user{
  margin-top:auto;
  display:flex;
  align-items:center;
  gap:10px;
  padding-top:12px;
  border-top:1px solid #eef0f3;
}

/* Messages */
.messages-panel{
  padding:0;
  overflow:hidden;
  flex:1;
  height:auto;
}
.messages-main{
  padding:0;
  display:flex;
  flex-direction:column;
  height:100vh;
  overflow:hidden;
}
.messages-main .dash-top{
  margin-bottom:0;
   border-bottom:1px solid #eef0f3;
  background:#fff;
}
.messages-shell{
  display:grid;
  grid-template-columns: 320px minmax(0,1fr);
  height: 100%;
}
.messages-list{
  border-right:1px solid #eef0f3;
  background:#fff;
  display:flex;
  flex-direction:column;
  overflow:auto;
}
.messages-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px;
  border-bottom:1px solid #eef0f3;
  font-size:13px;
}
.messages-head small{
  display:block;
  color:#9aa0aa;
  font-size:11px;
}
.messages-search{
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 16px;
  border-bottom:1px solid #eef0f3;
  color:#9aa0aa;
}
.messages-search input{
  border:none;
  outline:none;
  width:100%;
  font-size:12px;
}
.messages-tabs{
  display:flex;
  gap:8px;
  padding:12px 16px;
  border-bottom:1px solid #eef0f3;
}
.messages-tab{
  border:1px solid #eef0f3;
  background:#fff;
  border-radius:999px;
  padding:6px 12px;
  font-size:12px;
  cursor:pointer;
}
.messages-tab.is-active{
  background:#fff4ec;
  border-color:#f3d2c3;
  color:#b64a17;
}
.messages-item{
  border:none;
  background:transparent;
  padding:14px 16px;
  display:grid;
  grid-template-columns: 36px 1fr auto;
  gap:10px;
  text-align:left;
  cursor:pointer;
}
.messages-item small{
  display:block;
  color:#6c7078;
  font-size:12px;
}
.messages-item.is-active{
  background:#fff4ec;
}
.messages-time{
  font-size:11px;
  color:#9aa0aa;
}
.messages-meta{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:6px;
}
.messages-badge{
  background:#f36b2a;
  color:#fff;
  border-radius:999px;
  padding:2px 6px;
  font-size:10px;
}
.messages-thread{
  display:flex;
  flex-direction:column;
  height:100%;
}
.messages-thread-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 18px;
  border-bottom:1px solid #eef0f3;
}
.messages-back{
  display:none;
}
.messages-contact{
  display:flex;
  align-items:center;
  gap:10px;
}
.messages-contact small{
  color:#6c7078;
  font-size:12px;
}
.messages-thread-actions{
  display:flex;
  gap:8px;
  position:relative;
}
.messages-thread-body{
  flex:1;
  padding:18px;
  display:flex;
  flex-direction:column;
  gap:12px;
   overflow:auto;
}
.messages-listing{
  background:#fff;
  border:1px solid #eef0f3;
  border-radius:16px;
  padding:12px;
  display:grid;
  grid-template-columns: 56px 1fr auto;
  gap:12px;
  align-items:center;
}
.messages-listing-media{
  width:56px;
  height:56px;
  border-radius:12px;
  background: url('https://images.unsplash.com/photo-1502005229762-cf1b2da7c5d6?auto=format&fit=crop&w=200&q=60') center/cover;
}
.messages-listing small{
  display:block;
  color:#6c7078;
  font-size:12px;
}
.messages-day{
  font-size:11px;
  color:#9aa0aa;
  text-transform:uppercase;
  letter-spacing:.12em;
  text-align:center;
}
.message-row{
  display:flex;
}
.message-row.user{
  justify-content:flex-end;
}
.message-bubble{
  padding:10px 12px;
  border-radius:14px;
  max-width:70%;
  font-size:13px;
  line-height:1.4;
  position:relative;
}
.message-bubble.agent{
  background:#fff;
  border:1px solid #eef0f3;
}
.message-bubble.user{
  background:#f36b2a;
  color:#fff;
}
.message-time{
  display:block;
  margin-top:8px;
  font-size:10px;
  opacity:.7;
}
.messages-input{
  border-top:1px solid #eef0f3;
  padding:12px;
  display:flex;
  align-items:center;
  gap:8px;
  background:#fff;
}

.messages-more-menu{
  position:absolute;
  right:0;
  top:42px;
  background:#fff;
  border:1px solid #eef0f3;
  border-radius:12px;
  padding:6px;
  box-shadow: 0 12px 24px rgba(16,24,40,.12);
  display:flex;
  flex-direction:column;
  gap:4px;
  min-width:190px;
  opacity:0;
  pointer-events:none;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease;
  z-index:10;
}
.messages-more-menu.open{
  opacity:1;
  pointer-events:auto;
  transform: translateY(0);
}
.messages-more-menu button{
  border:none;
  background:transparent;
  text-align:left;
  padding:8px 10px;
  border-radius:10px;
  font-size:12px;
  display:flex;
  align-items:center;
  gap:8px;
  cursor:pointer;
}
.messages-more-menu button:hover{
  background:#f7f8fa;
}

/* Settings */
.settings-panel{
  padding:28px;
  display:flex;
  flex-direction:column;
  gap:24px;
  background:#fff;
  border-radius:24px;
  max-width:860px;
  margin:0 auto;
}
.settings-hero{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:8px 0 6px;
  border:none;
  background:transparent;
}
.settings-kicker{
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:#9aa0aa;
}
.settings-hero h2{
  margin:6px 0 6px;
  font-size:20px;
}
.settings-hero p{
  margin:0;
  color:#6c7078;
  font-size:13px;
}
.settings-block h3{
  margin:0 0 14px;
  font-size:15px;
}
.settings-block strong{
  color:#f36b2a;
}
.settings-divider{
  height:1px;
  background:#eef0f3;
}
.settings-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:16px;
}
.settings-field{
  display:flex;
  flex-direction:column;
  gap:8px;
  font-size:12px;
  color:#4b4f56;
}
.settings-field input,
.settings-field textarea{
  border:1px solid #eef0f3;
  border-radius:12px;
  padding:12px 14px;
  font-size:14px;
  font-family: inherit;
  resize:vertical;
}
.settings-field input:focus,
.settings-field textarea:focus{
  outline:none;
  border-color:#f3d2c3;
  box-shadow: 0 0 0 4px rgba(243,107,42,.08);
}
.settings-upload{
  display:grid;
  grid-template-columns: 120px minmax(0,1fr);
  gap:16px;
  align-items:center;
}
.settings-upload-preview{
  width:120px;
  height:120px;
  border-radius:20px;
  background: url('https://images.unsplash.com/photo-1535713875002-d1d0cf377fde?auto=format&fit=crop&w=200&q=80') center/cover;
  border:1px solid #eef0f3;
}
.settings-upload-title{
  font-weight:600;
  margin-bottom:8px;
}
.settings-upload-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid #eef0f3;
  border-radius:12px;
  padding:8px 12px;
  font-size:12px;
  cursor:pointer;
}
.settings-upload-btn input{
  display:none;
}
.settings-upload p{
  margin:8px 0 0;
  color:#6c7078;
  font-size:12px;
}
.settings-map{
  margin-top: 10px;
  height:220px;
  border-radius:16px;
  border:1px solid #eef0f3;
  overflow:hidden;
}
@media (max-width: 900px){
  .hide-on-desktop{
    display:block !important;
  }
  .display-on-desktop{
    display:none !important;
  }
  .settings-grid{
    grid-template-columns: 1fr;
  }
  .settings-upload{
    grid-template-columns: 1fr;
  }
  .settings-hero{
    flex-direction:column;
    align-items:flex-start;
  }
}
.messages-input input{
  flex:1;
  border:1px solid #eef0f3;
  border-radius:12px;
  padding:10px 12px;
}
@media (max-width: 900px){
  .messages-shell{
    grid-template-columns: 1fr;
  }
  .messages-list{
    border-right:none;
    border-bottom:1px solid #eef0f3;
  }
}
@media (max-width: 640px){

  .hide-on-mobile{
    display:none !important;
  }
  hide-on-desktop{
    display:block !important;
  }

  .messages-shell{
    position:relative;
    overflow:hidden;
  }
  .messages-list{
    border-bottom:none;
    min-height: calc(100vh - 160px);
  }
  .messages-thread{
    position:absolute;
    inset:0;
    background:#fff;
    transform: translateX(100%);
    transition: transform .3s ease;
    height: 100%;
  }
  .messages-shell.is-thread-open .messages-thread{
    transform: translateX(0);
  }
  .messages-main.is-thread-open .dash-top{
    display:none;
  }
  .messages-back{
    display:inline-flex;
  }
}
.dash-overlay{
  position:fixed;
  inset:0;
  background: rgba(15,16,20,.32);
  opacity:0;
  pointer-events:none;
  transition: opacity .25s ease;
  z-index:20;
}
.dash-overlay.show{
  opacity:1;
  pointer-events:auto;
}
.dash-drawer{
  position:fixed;
  right:0;
  top:0;
  bottom:0;
  width:min(420px, 100%);
  background:#fff;
  border-left:1px solid #eef0f3;
  /* box-shadow: -20px 0 40px rgba(16,24,40,.08); */
  transform: translateX(100%);
  transition: transform .3s ease;
  z-index:30;
  display:flex;
  flex-direction:column;
}
.dash-drawer.open{
  transform: translateX(0);
}
.dash-drawer-head{
  display:flex;
  align-items:center;
  gap:12px;
  padding:20px 20px 10px;
  border-bottom:1px solid #eef0f3;
}
.dash-drawer-kicker{
  font-size:11px;
  color:#9aa0aa;
  text-transform:uppercase;
  letter-spacing:.12em;
}
.dash-drawer-title{
  font-weight:700;
}
.dash-drawer-body{
  padding:20px;
  overflow:auto;
  display:flex;
  flex-direction:column;
  gap:20px;
}
.dash-field-group h4{
  margin:0 0 6px;
}
.dash-field-group p{
  margin:0 0 12px;
  color:#6c7078;
  font-size:12px;
}
.dash-choice-grid{
  display:grid;
  gap:10px;
}
.dash-choice{
  border:1px solid #eef0f3;
  border-radius:16px;
  padding:12px;
  display:flex;
  align-items:center;
  gap:12px;
  text-align:left;
  background:#fff;
  cursor:pointer;
  position:relative;
}
.dash-choice.is-active{
  border-color:#f36b2a;
  box-shadow: 0 8px 18px rgba(243,107,42,.12);
}
.dash-choice-icon{
  width:38px;
  height:38px;
  border-radius:12px;
  border:1px solid #eef0f3;
  display:flex;
  align-items:center;
  justify-content:center;
}
.dash-choice strong{
  display:block;
}
.dash-choice small{
  display:block;
  color:#6c7078;
  font-size:12px;
}
.dash-choice-dot{
  width:12px;
  height:12px;
  border-radius:50%;
  border:2px solid #f36b2a;
  position:absolute;
  right:14px;
  top:14px;
}
.dash-type-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:10px;
}
.dash-type{
  border:1px solid #eef0f3;
  border-radius:14px;
  padding:10px 12px;
  background:#fff;
  font-size:12px;
  display:flex;
  align-items:center;
  gap:8px;
}
.dash-type.is-active{
  border-color:#f36b2a;
}
.dash-input{
  margin-top:12px;
  display:flex;
  flex-direction:column;
  gap:8px;
  font-size:12px;
}
.dash-input-row{
  display:flex;
  align-items:center;
  border:1px solid #eef0f3;
  border-radius:12px;
  padding:8px 10px;
  gap:8px;
}
.dash-input-row input{
  border:none;
  outline:none;
  flex:1;
}
.dash-range{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:10px;
}
.dash-range label{
  display:flex;
  flex-direction:column;
  gap:6px;
  font-size:12px;
  color:#6c7078;
}
.dash-range input{
  border:1px solid #eef0f3;
  border-radius:12px;
  padding:10px 12px;
  font-size:13px;
}
.dash-counter-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:10px;
}
.dash-counter{
  border:1px solid #eef0f3;
  border-radius:14px;
  padding:12px;
}
.dash-counter span{
  font-size:12px;
  color:#6c7078;
}
.dash-counter div{
  margin-top:10px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.dash-counter button{
  width:28px;
  height:28px;
  border-radius:8px;
  border:1px solid #eef0f3;
  background:#fff;
}
.dash-drawer-foot{
  padding:16px 20px;
  border-top:1px solid #eef0f3;
  display:flex;
  justify-content:flex-end;
  gap:10px;
}
.dash-modal-overlay{
  position:fixed;
  inset:0;
  background: rgba(15,16,20,.32);
  opacity:0;
  pointer-events:none;
  transition: opacity .25s ease;
  z-index:40;
}
.dash-modal-overlay.show{
  opacity:1;
  pointer-events:auto;
}
.dash-modal{
  position:fixed;
  top:50%;
  left:50%;
  transform: translate(-50%, -50%) scale(0.96);
  background:#fff;
  border:1px solid #eef0f3;
  border-radius:20px;
  padding:24px;
  width:min(380px, 90vw);
  text-align:center;
  box-shadow: 0 18px 40px rgba(16,24,40,.14);
  opacity:0;
  pointer-events:none;
  transition: opacity .25s ease, transform .25s ease;
  z-index:50;
}
.dash-modal.show{
  opacity:1;
  pointer-events:auto;
  transform: translate(-50%, -50%) scale(1);
}
.dash-modal-icon{
  width:52px;
  height:52px;
  border-radius:16px;
  background:#fff4ec;
  border:1px solid #f3d2c3;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 14px;
  color:#f36b2a;
  font-size:24px;
}
.dash-modal h3{
  margin:0 0 8px;
}
.dash-modal p{
  margin:0 0 18px;
  color:#6c7078;
  font-size:13px;
}
.dash-modal-actions{
  display:flex;
  justify-content:center;
  gap:10px;
}

.hide-on-desktop{
  display:none;
  }

.display-on-mobile{
  display:block !important;
  }

/* Add property */
.add-property-view{
  background:#fff;
  min-height:100vh;
  padding:0;
}
.add-property-shell{
  max-width:100%;
  margin:0;
}
.add-property-card{
  background:#fff;
  border:none;
  border-radius:0;
  overflow:hidden;
  box-shadow:none;
  display:flex;
  flex-direction:column;
  min-height:100vh;
}
.add-property-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:18px 28px;
  border-bottom:1px solid #eef0f3;
}
.add-property-title{
  display:flex;
  align-items:center;
  gap:12px;
}
.add-property-icon{
  width:44px;
  height:44px;
  border-radius:14px;
  background:#fff4ec;
  border:1px solid #f3d2c3;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#f36b2a;
  font-size:20px;
}
.add-property-title h1{
  margin:0;
  font-size:18px;
}
.add-property-actions{
  display:flex;
  align-items:center;
  gap:10px;
}
.add-property-steps{
  display:flex;
  align-items:center;
  gap:10px;
  padding:18px 28px;
  justify-content:center;
}
.add-property-steps span{
  width:140px;
  height:4px;
  border-radius:999px;
  background:#eef0f3;
}
.add-property-steps span.is-active{
  background:#f36b2a;
}
.add-property-body{
  flex:1;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding:54px 24px 40px;
}
.add-property-section{
  width:min(560px, 100%);
  display:none;
  animation: addStepFade .25s ease;
}
.add-property-section.is-active{
  display:block;
}
.add-property-section h2{
  margin:0 0 6px;
  font-size:16px;
}
.add-property-section p{
  margin:0 0 18px;
  color:#6c7078;
  font-size:13px;
}
.add-property-options{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.add-property-option{
  border:1px solid #eef0f3;
  border-radius:16px;
  padding:14px 16px;
  display:flex;
  align-items:center;
  gap:14px;
  background:#fff;
  text-align:left;
  position:relative;
  cursor:pointer;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.add-property-option.is-active{
  border-color:#f36b2a;
  box-shadow: none;
  transform: translateY(-1px);
}
.add-property-option:hover{
  border-color:#f3d2c3;
  transform: translateY(-1px);
}
.add-option-icon{
  width:40px;
  height:40px;
  border-radius:14px;
  border:1px solid #eef0f3;
  display:flex;
  align-items:center;
  justify-content:center;
  transition: border-color .2s ease, background .2s ease;
}
.add-property-option.is-active .add-option-icon{
  border-color:#f3d2c3;
  background:#fff4ec;
}
.add-property-option strong{
  display:block;
}
.add-property-option small{
  display:block;
  color:#6c7078;
  font-size:12px;
}
.add-option-dot{
  width:12px;
  height:12px;
  border-radius:50%;
  border:2px solid #f36b2a;
  position:absolute;
  right:16px;
  top:16px;
}
.add-property-type-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:12px;
  margin-bottom:14px;
}
.add-property-type{
  border:1px solid #eef0f3;
  border-radius:16px;
  padding:18px 18px 22px;
  min-height:120px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  background:#fff;
  position:relative;
  cursor:pointer;
  transition: border-color .2s ease, transform .2s ease;
}
.add-property-type span{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  font-weight:600;
}
.add-property-type.is-active{
  border-color:#f36b2a;
  transform: translateY(-1px);
}
.add-property-input{
  display:flex;
  flex-direction:column;
  gap:8px;
  font-size:12px;
}
.add-input-row{
  display:flex;
  align-items:center;
  border:1px solid #eef0f3;
  border-radius:12px;
  padding:10px 12px;
  gap:8px;
}
.add-input-row input{
  border:none;
  outline:none;
  flex:1;
}
.add-location-tabs{
  display:flex;
  gap:10px;
  background:#f7f8fa;
  border:1px solid #eef0f3;
  border-radius:999px;
  padding:4px;
  margin:16px 0;
}
.add-location-tab{
  flex:1;
  border:none;
  background:transparent;
  padding:8px 12px;
  border-radius:999px;
  font-size:12px;
  cursor:pointer;
}
.add-location-tab.is-active{
  background:#fff;
  box-shadow: 0 8px 16px rgba(16,24,40,.06);
  font-weight:600;
}
.add-location-panel{
  display:none;
}
.add-location-panel.is-active{
  display:block;
}
.add-location-row{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:12px;
}
.add-location-input{
  flex:1;
  display:flex;
  align-items:center;
  gap:8px;
  border:1px solid #eef0f3;
  border-radius:12px;
  padding:10px 12px;
}
.add-location-input input{
  border:none;
  outline:none;
  flex:1;
}
.add-location-btn{
  padding:8px 12px;
  border-radius:999px;
}
.add-location-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:10px;
}
.add-location-grid input{
  border:1px solid #eef0f3;
  border-radius:12px;
  padding:10px 12px;
  font-size:13px;
}
.add-location-toggle{
  margin:14px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  font-size:12px;
  color:#4b4f56;
  padding:10px 12px;
  border:1px solid #eef0f3;
  border-radius:12px;
}
.add-location-toggle input{
  display:none;
}
.add-toggle-ui{
  width:36px;
  height:20px;
  background:#e7eaef;
  border-radius:999px;
  position:relative;
}
.add-toggle-ui:after{
  content:"";
  position:absolute;
  top:2px;
  left:2px;
  width:16px;
  height:16px;
  border-radius:50%;
  background:#fff;
  transition: transform .2s ease;
}
.add-location-toggle input:checked + .add-toggle-ui{
  background:#f36b2a;
}
.add-location-toggle input:checked + .add-toggle-ui:after{
  transform: translateX(16px);
}
.add-location-map{
  height:220px;
  border-radius:16px;
  border:1px solid #eef0f3;
  position:relative;
  overflow:hidden;
}
.add-property-form{
  display:flex;
  flex-direction:column;
  gap:16px;
}
.add-property-field{
  display:flex;
  flex-direction:column;
  gap:8px;
  font-size:12px;
  color:#4b4f56;
}
.add-property-field strong{
  color:#f36b2a;
}
.add-property-field input,
.add-property-field textarea{
  border:1px solid #eef0f3;
  border-radius:12px;
  padding:12px 14px;
  font-size:14px;
  font-family: inherit;
  resize:vertical;
}
.add-property-field input:focus,
.add-property-field textarea:focus{
  outline:none;
  border-color:#f3d2c3;
  box-shadow: 0 0 0 4px rgba(243,107,42,.08);
}
.add-property-subhead{
  margin:20px 0 10px;
  font-size:12px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:#9aa0aa;
}
.add-facility-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap:10px;
}
.add-distance-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:12px;
}
.add-facility-card{
  border:1px solid #eef0f3;
  border-radius:16px;
  padding:14px 14px 18px;
  background:#fff;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  min-height:96px;
  cursor:pointer;
  transition: border-color .2s ease, transform .2s ease;
}
.add-facility-card span:first-child{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  font-weight:600;
}
.add-facility-card .add-facility-value{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:12px;
  color:#f36b2a;
  font-weight:600;
}
.add-facility-card.is-set{
  border-color:#f3d2c3;
}
.add-facility-card:hover{
  transform: translateY(-1px);
  border-color:#f3d2c3;
}
.add-property-foot{
  border-top:1px solid #eef0f3;
  padding:16px 28px;
  display:flex;
  justify-content:flex-end;
  gap:10px;
}

@media (max-width: 800px){
  .add-property-card{
    min-height:auto;
  }
  .add-property-body{
    padding:40px 20px;
  }
  .add-property-steps span{
    width:100px;
  }
  .add-property-type-grid{
    grid-template-columns: 1fr;
  }
  .add-facility-grid{
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .add-distance-grid{
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px){
  .add-property-head{
     align-items:flex-start;
  }
  .add-property-actions{
     justify-content:flex-end;
  }
  .add-property-steps{
    padding:14px 20px;
    justify-content:space-between;
  }
  .add-property-steps span{
    width:18%;
  }
  .add-property-foot{
    padding: 14px 20px;
        position: fixed;
        bottom: 0;
        width: 100%;
        justify-content: space-between;
        flex-flow: nowrap;
        background: #fff;
  }
}

.add-facility-overlay{
  position:fixed;
  inset:0;
  background: rgba(15,16,20,.32);
  opacity:0;
  pointer-events:none;
  transition: opacity .2s ease;
  z-index:40;
}
.add-facility-overlay.show{
  opacity:1;
  pointer-events:auto;
}
.add-facility-modal{
  position:fixed;
  top:50%;
  left:50%;
  transform: translate(-50%, -50%) scale(0.96);
  background:#fff;
  border:1px solid #eef0f3;
  border-radius:18px;
  padding:18px;
  width:min(360px, 90vw);
  box-shadow: 0 16px 32px rgba(16,24,40,.12);
  opacity:0;
  pointer-events:none;
  transition: opacity .2s ease, transform .2s ease;
  z-index:50;
}
.add-facility-modal.show{
  opacity:1;
  pointer-events:auto;
  transform: translate(-50%, -50%) scale(1);
}
.add-facility-modal-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:12px;
}
.add-facility-modal-head h3{
  margin:0;
  font-size:16px;
}
.add-facility-modal-actions{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  margin-top:14px;
}

.add-upload-list{
  display:flex;
  flex-direction:column;
  gap:18px;
}
.add-upload-row{
  display:grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.1fr);
  gap:18px;
  align-items:center;
  padding:14px 0;
  border-bottom:1px solid #eef0f3;
}
.add-upload-row.add-upload-row-gallery{
  grid-template-columns: 1fr;
  align-items:flex-start;
}
.add-upload-row:last-child{
  border-bottom:none;
}
.add-upload-row p{
  margin:6px 0 0;
  color:#6c7078;
  font-size:12px;
}
.add-upload-title{
  font-size:13px;
  font-weight:600;
}
.add-upload-box{
  border:1px dashed #dfe3e8;
  border-radius:14px;
  padding:16px;
  display:flex;
  align-items:center;
  gap:10px;
  color:#6c7078;
  font-size:12px;
  position:relative;
}
.add-upload-box.is-dragover{
  border-color:#f36b2a;
  background:#fff4ec;
}
.add-upload-box strong{
  color:#f36b2a;
}
.add-upload-box.is-input{
  border-style:solid;
}
.add-upload-box input{
  border:none;
  outline:none;
  flex:1;
  font-size:13px;
}
.add-upload-main{
  justify-content:space-between;
}
.add-upload-input{
  position:absolute;
  inset:0;
  opacity:0;
  cursor:pointer;
}
.add-upload-main .btn{
  padding:8px 14px;
}
.add-upload-gallery{
  border-style:solid;
  gap:8px;
  flex-wrap:wrap;
  min-height:140px;
}
.add-upload-thumb{
  width:96px;
  height:96px;
  border-radius:12px;
  border:1px dashed #e1e4e8;
  background:#f9fafb;
  display:flex;
  align-items:center;
  justify-content:center;
}
.add-upload-thumb:first-child{
  border-style:solid;
  border-color:#f3d2c3;
  color:#f36b2a;
}
@media (max-width: 800px){
  .add-upload-row{
    grid-template-columns: 1fr;
  }
  .add-upload-gallery{
    flex-wrap:wrap;
  }
}

@keyframes addStepFade{
  from{
    opacity:.6;
    transform: translateY(6px);
  }
  to{
    opacity:1;
    transform: translateY(0);
  }
}
.dash-preview{
  position:fixed;
  left:50%;
  transform: translate(-50%, 100%);
  width: min(1200px, 100%);
  padding: 0 36px;
  bottom:0;
  height:85vh;
  background:#fff;
  border-top:1px solid #eef0f3;
  box-shadow: 0 -20px 40px rgba(16,24,40,.12);
  transition: transform .3s ease;
  z-index:60;
  display:flex;
  flex-direction:column;
}
.dash-preview.open{
  transform: translate(-50%, 0);
}
.dash-preview-head{
  display:flex;
  align-items:center;
  gap:12px;
  padding:16px 20px;
  border-bottom:1px solid #eef0f3;
  border-radius: 18px 18px 0 0;
  background:#fff;
}
.dash-preview-close{
  margin-left:auto;
}
.dash-preview-frame{
  border:none;
  width:100%;
  height:100%;
  border-radius: 0 0 18px 18px;
  background:#fff;
}

@media (max-width: 1100px){
  .dashboard-shell{
    --sidebar-width: 220px;
  }
  .dashboard-main{
    padding: 24px;
    margin-left:var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
  }
  .dashboard-side{
    width:var(--sidebar-width);
  }
  .dash-preview{
    width: min(100%, 920px);
    padding: 0 24px;
  }
}
@media (max-width: 900px){
  .dashboard-shell{
    --sidebar-width: 0px;
  }
  .dashboard-side{
    display:none;
  }
  .dash-help,
  .dash-profile{
    display:none;
  }
  .dash-nav{
    flex-direction:row;
    gap:8px;
  }
  .dash-link{
    white-space:nowrap;
  }
  .dash-top{
    flex-direction:column;
    align-items:flex-start;
  }
  .dash-actions{
    width:100%;
  }
  .dash-search{
    flex:1;
    min-width:0;
  }
  .dashboard-main{
    margin-left:0;
    width:100%;
  }
  .dash-mobile-btn{
    display:inline-flex;
  }
}
@media (max-width: 640px){
  .dash-top{
    gap:16px;
    position:sticky;
    top:0;
    z-index:20;
    background:#fff;
    padding: 14px 0 12px;
    border-bottom:1px solid #eef0f3;
  }
  .dash-title{
    order:2;
    gap:12px;
  }
  .dash-actions{
    order:1;
  }
  .dash-title-icon{
    width:48px;
    height:48px;
    border-radius:16px;
  }
  .dash-title h1,
  .dash-title h2{
    font-size:22px;
  }
  .dash-actions{
    display:flex;
    flex-wrap:nowrap;
    align-items:center;
    gap:10px;
    justify-content: space-between;
  }
  .dash-actions .dash-search{
    display:none;
  }
  .dash-actions .btn{
    padding:10px 14px;
    border-radius:999px;
  }
  .dash-actions .btn.primary{
    background:#111;
    border-color:#111;
  }
  .dash-actions .btn.ghost{
    background:#f7f8fa;
  }
  .dash-actions .iconbtn{
    width:44px;
    height:44px;
    border-radius:50%;
    border:1px solid #eef0f3;
    background:#fff;
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }
  .settings-hero{
    position:sticky;
    top:0;
    z-index:20;
    background:#fff;
    padding: 14px 0 12px;
    border-bottom:1px solid #eef0f3;
  }
  .settings-panel{
    padding: 0;
  }
  .settings-hero .settings-hero-actions{
    order:1;
  }
  .settings-hero > div:first-child{
    order:2;
  }
}
@media (max-width: 640px){
  .dashboard-main{
    padding: 0px 20px;
  }
  .dash-card{
    grid-template-columns: 1fr;
  }
  .dash-card-media{
    min-height:180px;
  }
  .dash-skeleton{
    grid-template-columns: 1fr;
  }
  .dash-skeleton-media{
    min-height:180px;
  }
  .dash-drawer{
    width:100%;
  }
  .dash-preview{
    height:90vh;
    width:100%;
    padding: 0 20px;
  }
}
.detail-block-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom: 12px;
}
.detail-block-head h2,
.detail-block-head h3{
  margin:0;
}
.detail-link{
  display:inline-flex;
  margin-top: 10px;
  color:#f36b2a;
  text-decoration:none;
  font-size:12px;
}
.detail-stats{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap:12px;
  margin-bottom: 12px;
}
.detail-stats div{
  border:1px solid #eef0f2;
  border-radius: 14px;
  padding: 12px;
  background:#f9fafb;
  text-align:center;
  font-size:12px;
  color:#6c7078;
}
.detail-stats strong{
  display:block;
  margin-top: 6px;
  font-size:16px;
  color:#1c1f26;
}
.detail-address{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:10px;
  font-size:12px;
  color:#6c7078;
}
.detail-address strong{
  color:#1c1f26;
}
.detail-slider{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:14px;
}
.detail-slider .card{
  border-radius: 18px;
}
.detail-slider .img{
  height: 130px;
  margin: 10px;
}
.detail-slider .cardbody{
  padding: 0 12px 14px;
}
.detail-block h2{
  margin:0 0 12px;
  font-size:16px;
}
.detail-block p{
  margin:0;
  color:#5f646c;
  line-height:1.6;
}
.detail-facts{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:12px;
}
.detail-facts div{
  display:flex;
  justify-content:space-between;
  font-size:13px;
  color:#6c7078;
}
.detail-facts strong{
  color:#1c1f26;
}
.detail-pills{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.detail-pills span{
  border:1px solid #eef0f2;
  padding: 8px 12px;
  border-radius: 999px;
  font-size:12px;
  background:#f8f9fb;
}
.detail-mini-map{
  position:relative;
  height: 240px;
  border-radius: 20px;
  overflow:hidden;
  border:1px solid #eef0f3;
  background:#f3f4f6;
}

@media (max-width: 1100px){
  .detail-hero{grid-template-columns:1fr;}
  .detail-body{grid-template-columns:1fr;}
  .detail-layout{grid-template-columns:1fr;}
  .detail-hero-card{grid-template-columns:1fr;}
  .detail-grid{grid-template-columns: 1fr;}
  .detail-header{grid-template-columns:1fr;}
  .bundle-grid{grid-template-columns: 1fr;}
  .bundle-split{grid-template-columns: 1fr;}
}
@media (max-width: 600px){
  .detail-top{flex-direction:column; align-items:flex-start; gap:10px;}
  .detail-cta{flex-direction:column;}
  .detail-thumbs{grid-template-columns: repeat(2, minmax(0,1fr));}
  .detail-main-photo{height: 320px;}
  .detail-header{flex-direction:column; align-items:flex-start;}
  .detail-stats{grid-template-columns: repeat(2, minmax(0,1fr));}
  .detail-address{grid-template-columns: 1fr;}
  .detail-slider{grid-template-columns: 1fr;}
  .detail-hero-card{grid-template-columns:1fr;}
  .detail-meta-grid{grid-template-columns: 1fr;}
  .detail-facilities{justify-content:flex-start;}
  .detail-inquiry{display:none;}
  .agent-footer{
    position:fixed;
    left:12px;
    right:12px;
    bottom:12px;
    background:#fff;
    border:1px solid #eef0f3;
    border-radius: 18px;
    padding: 16px 12px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    box-shadow: 0 10px 24px rgba(16,24,40,.08);
    z-index:15;
  }
  .agent-footer-left{
    display:flex;
    align-items:center;
    gap:10px;
  }
  .agent-footer-left .agent-ava{
    width:34px;
    height:34px;
  }
  .agent-footer-left .agent-name{
    font-size:12px;
    font-weight:700;
  }
  .agent-footer-left .agent-phone{
    font-size:11px;
    color:#6c7078;
  }
  .agent-footer-actions{
    display:flex;
    gap:8px;
  }
  .agent-footer .btn{
    padding: 8px 12px;
    font-size:12px;
  }
  .chat-modal{
    left:12px;
    right:12px;
    bottom:80px;
    width:auto;
  }
}
.toast.show{
  opacity:1;
  transform: translateY(0);
}

/* Animations */
[data-animate]{
  opacity:0;
  transform: translateY(14px);
  transition: opacity .5s ease, transform .5s ease;
}
.is-ready [data-animate]{
  opacity:1;
  transform: translateY(0);
}
.cards [data-animate]{
  transition-delay: var(--delay, 0s);
}

/* Grid mode */
.grid-mode .main{
  grid-template-columns: 1fr;
}
.grid-mode .mappanel{
  display:none;
}
.grid-mode .cards{
  grid-template-columns: repeat(4, 1fr);
}

/* Responsive */
@media (max-width: 1140px){
  .main{grid-template-columns: 1fr; }
  .mappanel{height: 560px;}
  .right-actions{min-width:auto}
  .divider{display:none}
  .map-card{left: 22px; right: 22px;}
  .sort-menu{right: 24px;}
  .grid-mode .cards{grid-template-columns: repeat(2, 1fr);}
  .hero-filter{
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap:10px;
    padding:12px;
  }
  .hero-field{
    border-right:none;
    border-bottom:1px solid rgba(15,16,20,0.08);
  }
  .hero-field:nth-child(3),
  .hero-field:nth-child(4){
    border-bottom:none;
  }
  .hero-submit{
    grid-column: 1 / -1;
    margin: 6px 0 0;
  }
  .feed-grid{
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .nearby-slider{
    grid-auto-columns: minmax(240px, 1fr);
  }
  .featured-track{
    grid-auto-columns: minmax(240px, 1fr);
  }
  .spotlight-grid{
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .spotlight-card{
    min-height:auto;
  }
  .footer-shell{
    grid-template-columns: 1fr;
  }
  .footer-links{
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@keyframes skeletonShimmer{
  0%{
    background-position: 0% 50%;
  }
  100%{
    background-position: 100% 50%;
  }
}

@media (max-width: 1140px){
  .auth-page{
    width: min(720px, 100%);
  }
}

@media (max-width: 600px){
  .auth-topbar{
    padding: 16px 20px;
  }
  .auth-page{
    padding: 20px 20px 40px;
  }
  .auth-card{
    padding: 24px;
  }
  .auth-social{
    grid-template-columns: 1fr;
  }
  .auth-options{
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
  }
}
@media (max-width: 860px){
  .category-pill{display:none}
  .header-pill{display:none}
  .viewtog{width:100%; justify-content:center}
  .cards{grid-template-columns:1fr}
  .profile-meta{display:none}
  .divider-vert{display:none}
  .map-card{top: 180px;}
  .map-thumb{width: 96px;}
  .sort-menu{top: 200px;}
  .grid-mode .cards{grid-template-columns: 1fr;}
  .section-head{
    flex-direction:column;
    align-items:flex-start;
  }
}
@media (max-width: 600px){
  .app{padding: 0 20px 28px;}
  .topbar{flex-direction:row; align-items:center; gap:12px;}
  .right-actions{margin-left:auto; width:auto; justify-content:flex-end; flex-wrap:nowrap;}
  .subbar{
    display:grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "search search"
      "view seg";
    gap:12px 10px;
  }
  .subbar-divider{display:none;}
  .seg{grid-area:seg; justify-content:flex-end;}
  .searchwrap{grid-area:search; width:100%; padding-left:0;}
  .viewtog{grid-area:view; width:100%; justify-content:flex-start;}
  .searchrow{width:100%;}
  .results-row{flex-direction:column; align-items:flex-start; gap:8px;}
  .mappanel{height: 440px;}
  .map-card{left:16px; right:16px;}
  .hero-filter{
    grid-template-columns: 1fr;
  }
  .hero-field{
    border-bottom:1px solid rgba(15,16,20,0.08);
  }
  .hero-field:last-of-type{
    border-bottom:none;
  }
  .hero-submit{
    width:100%;
  }
  .home-feed{
    margin: 80px auto 60px;
  }
  .feed-grid{
    grid-template-columns: 1fr;
  }
  .nearby-section{
    margin: 30px auto 60px;
  }
  .nearby-slider{
    grid-auto-columns: 80%;
    overflow-x:auto;
    padding-bottom: 12px;
    scrollbar-width: thin;
    scrollbar-color: #d7d9de transparent;
  }
  .nearby-slider::-webkit-scrollbar{
    height:6px;
  }
  .nearby-slider::-webkit-scrollbar-thumb{
    background:#d7d9de;
    border-radius:999px;
  }
  .featured-slider{
    margin: 70px auto 30px;
  }
  .featured-track{
    grid-auto-columns: 85%;
    overflow-x:auto;
    padding-bottom: 12px;
    scrollbar-width: thin;
    scrollbar-color: #d7d9de transparent;
  }
  .featured-track::-webkit-scrollbar{
    height:6px;
  }
  .featured-track::-webkit-scrollbar-thumb{
    background:#d7d9de;
    border-radius:999px;
  }
  .spotlight-section{
    margin: 20px auto 70px;
  }
  .spotlight-grid{
    grid-template-columns: 1fr;
  }
  .spotlight-card{
    min-height:auto;
  }
  .site-footer{
    padding: 36px 20px 24px;
  }
  .footer-links{
    grid-template-columns: 1fr;
  }
  .footer-bottom{
    flex-direction:column;
    align-items:flex-start;
  }
  .filter-panel{
    top: 90px;
    left:0;
    right:0;
    bottom:0;
    width:100%;
    border-radius: 24px 24px 0 0;
    padding: 20px 18px calc(18px + env(safe-area-inset-bottom));
    transform: translateY(0);
    max-height: none;
  }
  .filter-panel.open{
    transform: translateY(0);
  }
  .hero-banner{
    padding: 110px 20px 150px;
  }
  .hero-banner h1{
    font-size:28px;
  }
  .hero-filter{
    position:static;
    transform:none;
    width:100%;
    margin-top: 16px;
    grid-template-columns: 1fr;
    box-shadow: none;
  }
}
.filter-form{
  display:flex;
  flex-direction:column;
  gap:0;
  overflow:hidden;
  min-height: 0;
  flex:1;
}
.filter-form .filter-section{
  flex:0 0 auto;
}
.filter-form{
  overflow-y:auto;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: #d7d9de transparent;
}
.filter-form::-webkit-scrollbar{
  width:6px;
}
.filter-form::-webkit-scrollbar-thumb{
  background:#d7d9de;
  border-radius:999px;
}
.filter-actions.sticky{
  position:sticky;
  bottom:0;
  background:#fff;
  padding-top: 12px;
  margin-top: 12px;
  border-top:1px solid #f1f2f4;
}

/* Share modal */
.share-modal{
  position:fixed;
  right: 28px;
  top: 120px;
  width:min(420px, 92vw);
  background:#fff;
  border:1px solid #eef0f3;
  border-radius: 22px;
  padding: 16px;
  box-shadow: 0 18px 36px rgba(16,24,40,.08);
  opacity:0;
  transform: translateY(10px);
  pointer-events:none;
  transition: opacity .25s ease, transform .25s ease;
  z-index:16;
}
.notify-modal{
  position:fixed;
  right: 28px;
  top: 100px;
  width:min(360px, 92vw);
  background:#fff;
  border:1px solid #eef0f3;
  border-radius: 22px;
  padding: 16px;
  box-shadow: 0 18px 36px rgba(16,24,40,.08);
  opacity:0;
  transform: translateY(10px);
  pointer-events:none;
  transition: opacity .25s ease, transform .25s ease;
  z-index:16;
}
.notify-modal.open{
  opacity:1;
  transform: translateY(0);
  pointer-events:auto;
}
.notify-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border-bottom:1px solid #f1f2f4;
  padding-bottom: 10px;
  margin-bottom: 12px;
}
.notify-title{
  font-weight:700;
  font-size:15px;
}
.notify-subtitle{
  font-size:11px;
  color:#6c7078;
}
.notify-list{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.notify-item{
  display:flex;
  gap:10px;
  border:1px solid #eef0f3;
  border-radius: 14px;
  padding: 10px 12px;
  background:#f8f9fb;
}
.notify-dot{
  width:8px;
  height:8px;
  border-radius:999px;
  background:#f36b2a;
  margin-top: 6px;
  flex:none;
}
.notify-text{
  font-size:12px;
  color:#2a2d34;
}
.notify-time{
  font-size:11px;
  color:#9aa0aa;
  margin-top: 4px;
}
.share-modal.open{
  opacity:1;
  transform: translateY(0);
  pointer-events:auto;
}
.share-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border-bottom:1px solid #f1f2f4;
  padding-bottom: 10px;
  margin-bottom: 12px;
}
.share-title{
  font-weight:700;
  font-size:15px;
}
.share-subtitle{
  font-size:11px;
  color:#6c7078;
}
.share-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:10px;
  margin-bottom: 12px;
}
.share-grid button{
  border:1px solid #eef0f2;
  background:#f8f9fb;
  border-radius: 14px;
  padding: 10px;
  font-size:12px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
  cursor:pointer;
}
.share-link{
  display:flex;
  gap:8px;
  align-items:center;
}
.share-link input{
  flex:1;
  border:1px solid #eef0f3;
  border-radius: 999px;
  padding: 10px 12px;
  font-size:12px;
}

/* Chat modal */
.chat-modal{
  position:fixed;
  right: 28px;
  bottom: 28px;
  width:min(460px, 94vw);
  min-height: 520px;
  background:#fff;
  border:1px solid #eef0f3;
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 18px 36px rgba(16,24,40,.08);
  opacity:0;
  transform: translateY(12px);
  pointer-events:none;
  transition: opacity .25s ease, transform .25s ease;
  z-index:16;
  display:flex;
  flex-direction:column;
  gap:12px;
  height: min(78vh, 720px);
}
.agent-footer{
  display:none;
}
.chat-modal.open{
  opacity:1;
  transform: translateY(0);
  pointer-events:auto;
}
.chat-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding-bottom: 10px;
  border-bottom:1px solid #f1f2f4;
}
.chat-back{
  width:34px;
  height:34px;
}
.chat-view{
  display:none;
  flex:1;
  min-height: 0;
}
.chat-view.is-active{
  display:flex;
  flex-direction:column;
  animation: chatFadeIn .25s ease;
}
.chat-view.is-exiting{
  animation: chatFadeOut .2s ease;
}
@keyframes chatFadeIn{
  from{opacity:.2; transform: translateY(6px);}
  to{opacity:1; transform: translateY(0);}
}
@keyframes chatFadeOut{
  from{opacity:1; transform: translateY(0);}
  to{opacity:0; transform: translateY(-4px);}
}
.chat-search{
  display:flex;
  align-items:center;
  gap:8px;
  border:1px solid #eef0f3;
  border-radius: 999px;
  padding: 8px 12px;
  background:#f8f9fb;
  margin-bottom: 12px;
}
.chat-search input{
  border:0;
  outline:0;
  background:transparent;
  font-size:12px;
  width:100%;
}
.chat-list{
  display:flex;
  flex-direction:column;
  gap:8px;
  overflow:auto;
  padding-right: 4px;
}
.chat-thread{
  display:grid;
  grid-template-columns: 32px 1fr auto;
  align-items:center;
  gap:10px;
  border:1px solid #eef0f3;
  border-radius: 14px;
  padding: 10px 12px;
  background:#fff;
  cursor:pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.chat-thread.is-active{
  border-color:#e2e5ec;
  background:#f8f9fb;
}
.chat-thread:hover{
  border-color:#dcdfe6;
  background:#fff;
  transform: translateY(-1px);
}
.chat-avatar.small{
  width:32px;
  height:32px;
  border-radius:999px;
  background: radial-gradient(circle at 30% 30%, #d7dbe3, #9aa3b2);
  display:block;
}
.thread-meta{
  display:flex;
  flex-direction:column;
  gap:2px;
}
.thread-name{
  font-weight:700;
  font-size:12px;
}
.thread-preview{
  font-size:11px;
  color:#6c7078;
}
.thread-time{
  font-size:11px;
  color:#9aa0aa;
}
.chat-head .chat-title{
  font-size:16px;
}
.chat-avatar{
  width:34px;
  height:34px;
  border-radius:999px;
  background: url('https://images.unsplash.com/photo-1535713875002-d1d0cf377fde?auto=format&fit=crop&w=96&q=80') center/cover;
}
.chat-meta{
  display:flex;
  align-items:center;
  gap:10px;
}
.chat-title{
  font-weight:700;
  font-size:15px;
}
.chat-subtitle{
  font-size:11px;
  color:#6c7078;
}
.chat-body{
  background:#f8f9fb;
  border:1px solid #eef0f3;
  border-radius: 16px;
  padding: 14px;
  display:flex;
  flex-direction:column;
  gap:10px;
   overflow:auto;
  flex:1;
  padding-bottom: 24px;
  min-height: 0;
  scrollbar-width: thin;
  scrollbar-color: #d7d9de transparent;
}
.chat-row{
  display:flex;
}
.chat-row.agent{
  justify-content:flex-start;
}
.chat-row.user{
  justify-content:flex-end;
}
.chat-body::-webkit-scrollbar{
  width:6px;
}
.chat-body::-webkit-scrollbar-thumb{
  background:#d7d9de;
  border-radius:999px;
}
.chat-time{
  align-self:center;
  font-size:11px;
  color:#9aa0aa;
}
.chat-status{
  align-self:center;
  font-size:11px;
  color:#9aa0aa;
  margin-top: 4px;
}
.chat-card{
  width: 100%;
  max-width: 260px;
  background:#fff;
  border:1px solid #eef0f3;
  border-radius: 16px;
  overflow:hidden;
  text-align:center;
}
.chat-card-image{
  height: 140px;
  background: url('https://images.unsplash.com/photo-1502005229762-cf1b2da7c5d6?auto=format&fit=crop&w=600&q=80') center/cover;
}
.chat-card-title{
  font-size:12px;
  color:#2a2d34;
  padding: 8px 10px 4px;
}
.chat-card-price{
  font-size:12px;
  color:#6c7078;
  padding-bottom: 10px;
}
.chat-bubble{
  padding: 10px 12px;
  border-radius: 14px;
  font-size:13px;
  line-height:1.4;
  max-width: 85%;
  animation: bubbleIn .3s ease;
}
@keyframes bubbleIn{
  from{opacity:.2; transform: translateY(6px);}
  to{opacity:1; transform: translateY(0);}
}
.chat-bubble.agent{
  background:#fff;
  border:1px solid #edf0f4;
}
.chat-bubble.user{
  background:#f36b2a;
  color:#fff;
}
.chat-input{
  margin-top: auto;
  display:flex;
  align-items:center;
  position:sticky;
  bottom:0;
  background:#fff;
  padding-top: 8px;
}
.chat-compose{
  transition: box-shadow .2s ease, border-color .2s ease;
}
.chat-compose:focus-within{
  border-color:#e2e5ec;
  box-shadow: 0 10px 24px rgba(16,24,40,.06);
}
.chat-send{
  transition: transform .2s ease, background .2s ease;
}
.chat-send:active{
  transform: translateY(1px);
}
.chat-input input{
  flex:1;
  border:0;
  border-radius: 999px;
  padding: 0 8px;
  font-size:13px;
  outline:0;
  background:transparent;
}
.chat-compose{
  display:flex;
  align-items:center;
  gap:10px;
  width:100%;
  padding: 8px 10px;
  border-radius: 999px;
  border:1px solid #eef0f3;
  background:#fff;
}
.chat-attach,
.chat-emoji{
  width:34px;
  height:34px;
  border-radius: 999px;
  border:1px solid #eef0f3;
  background:#f6f7f9;
  display:grid;
  place-items:center;
  cursor:pointer;
}
.chat-send{
  width:38px;
  height:38px;
  border-radius: 999px;
  border:0;
  background:#111318;
  color:#fff;
  display:grid;
  place-items:center;
  cursor:pointer;
}
