.dash{
  padding:28px 18px 48px;
  color:var(--dash-text, var(--emc-txt));
  position:relative;
}
/* Ambient background glow */
.dash::before{
  content:'';position:fixed;inset:0;pointer-events:none;z-index:-1;
  background:
    radial-gradient(ellipse at 15% 5%, color-mix(in oklab, var(--emc-brand) 6%, transparent), transparent 50%),
    radial-gradient(ellipse at 85% 95%, color-mix(in oklab, var(--emc-brand2) 4%, transparent), transparent 50%);
  opacity:.6;
}
/* Styled scrollbar */
.dash ::-webkit-scrollbar{width:6px}
.dash ::-webkit-scrollbar-track{background:transparent}
.dash ::-webkit-scrollbar-thumb{background:color-mix(in oklab, var(--emc-muted) 30%, transparent);border-radius:3px}

.dash__shell{
  max-width:1480px;
  margin:0 auto;
  display:grid;
  gap:22px;
}

/* ===== Hero v3 ===== */
.dash-hero-v3{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:20px;
  padding:32px;
  border-radius:30px;
  border:1px solid color-mix(in oklab, var(--emc-brand2) 18%, transparent);
  position:relative;
  background:
    radial-gradient(ellipse at 20% 50%, color-mix(in oklab, var(--emc-brand) 16%, transparent), transparent 50%),
    radial-gradient(ellipse at 80% 20%, color-mix(in oklab, var(--emc-brand2) 14%, transparent), transparent 45%),
    radial-gradient(ellipse at 60% 80%, color-mix(in oklab, var(--emc-brand3, var(--emc-brand2)) 10%, transparent), transparent 40%),
    var(--emc-panel);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.03) inset,
    0 24px 60px rgba(0,0,0,.18),
    0 0 120px -40px color-mix(in oklab, var(--emc-brand2) 12%, transparent);
  overflow:hidden;
}
/* Floating orbs (2) */
.dash-hero-v3::before,.dash-hero-v3::after{
  content:'';position:absolute;border-radius:50%;pointer-events:none;z-index:0;
}
.dash-hero-v3::before{
  width:450px;height:450px;top:-120px;right:-100px;
  background:radial-gradient(circle, color-mix(in oklab, var(--emc-brand2) 18%, transparent), transparent 70%);
  animation:heroOrb 8s ease-in-out infinite alternate;
}
.dash-hero-v3::after{
  width:300px;height:300px;bottom:-80px;left:-60px;
  background:radial-gradient(circle, color-mix(in oklab, var(--emc-brand) 12%, transparent), transparent 70%);
  animation:heroOrb2 10s ease-in-out infinite alternate;
}
@keyframes heroOrb{0%{transform:translate(0,0) scale(1)}100%{transform:translate(-40px,30px) scale(1.15)}}
@keyframes heroOrb2{0%{transform:translate(0,0) scale(1)}100%{transform:translate(30px,-20px) scale(1.1)}}

.dash-hero-v3__main{
  display:flex;
  flex-direction:column;
  justify-content:center;
  position:relative;z-index:1;
}

.dash-hero-v3__aside{
  display:flex;
  align-items:stretch;
  position:relative;z-index:1;
}

.dash-chip{
  display:inline-flex;
  width:fit-content;
  padding:8px 12px;
  border-radius:999px;
  font-size:.84rem;
  font-weight:800;
  color:var(--emc-brand3, var(--emc-brand2));
  border:1px solid var(--emc-line);
  background:rgba(255,255,255,.04);
  margin-bottom:14px;
  gap:8px;align-items:center;
}
.dash-chip__pulse{
  width:8px;height:8px;border-radius:50%;flex-shrink:0;
  background:var(--emc-ok);
  box-shadow:0 0 0 0 color-mix(in oklab, var(--emc-ok) 40%, transparent);
  animation:chipPulse 2s ease-in-out infinite;
}
@keyframes chipPulse{
  0%,100%{box-shadow:0 0 0 0 color-mix(in oklab, var(--emc-ok) 40%, transparent)}
  50%{box-shadow:0 0 0 6px color-mix(in oklab, var(--emc-ok) 0%, transparent)}
}

.dash-title-xl{
  margin:0 0 10px;
  font-size:clamp(2.2rem, 5vw, 3.8rem);
  line-height:.95;
  letter-spacing:-.06em;
  font-weight:950;
  color:var(--emc-txt);
  background:linear-gradient(135deg, var(--emc-txt) 30%, var(--emc-brand2));
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;
  background-clip:text;
}

.dash-copy-lg{
  margin:0;
  max-width:760px;
  color:var(--emc-muted);
  line-height:1.7;
  font-size:1rem;
}

.dash-inline-meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}

.dash-inline-meta span{
  padding:9px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.03);
  border:1px solid var(--emc-line);
  color:var(--emc-muted);
  font-size:.92rem;
}

.dash-commandbar{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:22px;
}

.dash-action{
  min-height:48px;
  padding:12px 18px;
  border-radius:14px;
  text-decoration:none;
  color:var(--emc-txt);
  border:1px solid var(--emc-line);
  background:rgba(255,255,255,.03);
  font-weight:800;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition:transform .14s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.dash-action:hover{
  transform:translateY(-3px);
  background:rgba(255,255,255,.07);
  border-color:color-mix(in oklab, var(--emc-brand2) 20%, var(--emc-line));
  box-shadow:0 12px 28px rgba(0,0,0,.12);
}

.dash-action--primary{
  color:#fff;
  border-color:transparent;
  background:linear-gradient(135deg, var(--emc-brand2), var(--emc-brand));
  box-shadow:0 14px 32px rgba(42,82,150,.28),0 0 60px -20px color-mix(in oklab, var(--emc-brand2) 25%, transparent);
}
.dash-action--primary:hover{
  box-shadow:0 18px 40px rgba(42,82,150,.32),0 0 80px -20px color-mix(in oklab, var(--emc-brand2) 35%, transparent);
}
.dash-action svg{width:16px;height:16px;flex-shrink:0;opacity:.7}
.dash-kbd{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:22px;height:22px;padding:0 6px;margin-left:8px;
  border-radius:6px;font-size:.7rem;font-family:inherit;font-weight:600;
  color:var(--emc-muted);background:rgba(255,255,255,.06);
  border:1px solid var(--emc-line);opacity:.5;transition:opacity .15s;
}
.dash-action:hover .dash-kbd{opacity:1}

.dash-hero-statbox{
  width:100%;
  min-height:100%;
  border-radius:24px;
  border:1px solid var(--emc-line);
  background:
    radial-gradient(circle at center, rgba(42,82,150,.10), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01)),
    color-mix(in oklab, var(--emc-panel2) 86%, transparent);
  padding:18px;
  display:grid;
  gap:12px;
}

.dash-hero-statbox{backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.dash-hero-statbox__row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 16px;
  border-radius:16px;
  border:1px solid var(--emc-line);
  border-left:3px solid transparent;
  background:rgba(255,255,255,.03);
  transition:transform .15s ease,border-color .15s ease,background .15s ease;
}
.dash-hero-statbox__row:hover{
  transform:translateX(4px);
  border-left-color:var(--emc-brand2);
  background:rgba(255,255,255,.05);
}

.dash-hero-statbox__row span{
  color:var(--emc-muted);
  font-size:.95rem;
}

.dash-hero-statbox__row strong{
  font-size:1.4rem;
  line-height:1;
  letter-spacing:-.04em;
  color:var(--emc-txt);
}

/* ===== KPIs ===== */
.dash-kpi-grid{
  display:grid;
  grid-template-columns:repeat(6, minmax(0,1fr));
  gap:14px;
}

.dash-kpi{
  border-radius:22px;
  padding:20px;
  border:1px solid var(--emc-line);
  position:relative;overflow:hidden;
  background:
    radial-gradient(circle at top right, color-mix(in oklab, var(--kpi-accent, var(--emc-brand2)) 6%, transparent), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01)),
    color-mix(in oklab, var(--emc-panel2) 84%, transparent);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.02) inset,
    0 18px 36px rgba(0,0,0,.10);
  transition:transform .25s cubic-bezier(.4,0,.2,1),box-shadow .25s ease;
}
.dash-kpi::before{
  content:'';position:absolute;top:0;left:0;right:0;height:3px;
  background:linear-gradient(90deg,var(--kpi-accent, var(--emc-brand2)),color-mix(in oklab, var(--kpi-accent, var(--emc-brand2)) 30%, transparent));
  border-radius:3px 3px 0 0;opacity:.8;transition:opacity .2s,height .2s;
}
.dash-kpi:hover{
  transform:translateY(-6px);
  box-shadow:0 12px 32px rgba(0,0,0,.14),0 0 40px -10px color-mix(in oklab, var(--kpi-accent, var(--emc-brand2)) 15%, transparent);
}
.dash-kpi:hover::before{opacity:1;height:4px}
.dash-kpi__spark{display:block;width:100%;height:20px;margin-top:8px;opacity:.35;transition:opacity .2s}
.dash-kpi:hover .dash-kpi__spark{opacity:.65}
.dash-kpi__value--done{animation:kpiPop .3s ease}
@keyframes kpiPop{0%{transform:scale(1)}50%{transform:scale(1.06)}100%{transform:scale(1)}}

.dash-kpi__label{
  display:block;
  color:var(--emc-muted);
  font-size:.9rem;
}

.dash-kpi__value{
  display:block;
  margin-top:10px;
  font-size:2.6rem;
  line-height:1;
  font-weight:950;
  letter-spacing:-.06em;
  background:linear-gradient(135deg, var(--emc-txt), var(--kpi-accent, var(--emc-brand2)));
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;
  background-clip:text;
}

.dash-kpi__note{
  display:block;
  margin-top:8px;
  color:var(--emc-muted);
}

/* ===== Main grid ===== */
.dash-main-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:18px;
}

.dash-main-col,
.dash-side-col{
  display:grid;
  gap:18px;
  align-content:start;
}

.dash-panel{
  border-radius:26px;
  padding:22px;
  border:1px solid var(--emc-line);
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.005)),
    var(--emc-panel);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.03) inset,
    0 1px 2px rgba(0,0,0,.04),
    0 8px 16px rgba(0,0,0,.06),
    0 24px 48px rgba(0,0,0,.08);
  transition:box-shadow .25s ease,transform .25s ease,border-color .25s ease;
}
.dash-panel:hover{
  transform:translateY(-2px);
  border-color:color-mix(in oklab, var(--emc-brand2) 15%, var(--emc-line));
  box-shadow:
    0 0 0 1px rgba(255,255,255,.04) inset,
    0 1px 2px rgba(0,0,0,.04),
    0 16px 32px rgba(0,0,0,.10),
    0 40px 80px rgba(0,0,0,.08);
}

.dash-panel--sticky{
  position:sticky;
  top:24px;
}

.dash-panel__head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
  margin-bottom:16px;
}

.dash-panel__head h2{
  margin:0;
  font-size:1.15rem;
  color:var(--emc-txt);
}

.dash-panel__head p{
  margin:6px 0 0;
  color:var(--emc-muted);
  font-size:.93rem;
}

.dash-panel__link{
  color:var(--emc-brand2);
  text-decoration:none;
  font-weight:800;
}

.dash-empty-state{
  padding:18px;
  border-radius:18px;
  border:1px dashed var(--emc-line);
  background:rgba(255,255,255,.02);
  color:var(--emc-muted);
}

/* ===== Lists ===== */
.dash-stack-list,
.dash-activity-list{
  display:grid;
  gap:12px;
}

.dash-stack-item{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  padding:14px;
  border-radius:16px;
  border:1px solid var(--emc-line);
  background:rgba(255,255,255,.025);
}

.dash-stack-item strong{
  display:block;
  color:var(--emc-txt);
}

.dash-stack-item p{
  margin:4px 0 0;
  color:var(--emc-muted);
  font-size:.9rem;
}

.dash-stack-item span{
  color:var(--emc-brand3, var(--emc-brand2));
  font-weight:800;
  font-size:.9rem;
}

/* ===== Property cards ===== */
.dash-property-grid{
  display:grid;
  gap:14px;
}

.dash-property-card{
  display:grid;
  grid-template-columns:160px 1fr;
  gap:14px;
  padding:14px;
  border-radius:18px;
  border:1px solid var(--emc-line);
  background:rgba(255,255,255,.02);
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.dash-property-card:hover{
  transform:translateY(-3px);
  border-color:color-mix(in oklab, var(--emc-brand2) 20%, var(--emc-line));
  box-shadow:0 12px 28px rgba(0,0,0,.1);
}

.dash-property-card__media{
  border-radius:16px;
  overflow:hidden;
  background:rgba(255,255,255,.04);
}

.dash-property-card__media img{
  width:100%;
  height:100%;
  min-height:120px;
  object-fit:cover;
  display:block;
  transition:transform .4s cubic-bezier(.4,0,.2,1);
}
.dash-property-card:hover .dash-property-card__media img{
  transform:scale(1.08);
}

.dash-property-card__body{
  min-width:0;
}

.dash-property-card__top{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:flex-start;
}

.dash-property-card__top h3{
  margin:0;
  font-size:1rem;
  color:var(--emc-txt);
}

.dash-property-card__city{
  margin:8px 0 0;
  color:var(--emc-muted);
}

.dash-property-card__meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:10px;
  color:var(--emc-muted);
  font-size:.92rem;
}

.dash-property-card__actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:12px;
}

.dash-property-card__actions a{
  color:var(--emc-brand2);
  text-decoration:none;
  font-weight:700;
}

.dash-state-pill,
.dash-module-state{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  font-size:.78rem;
  font-weight:800;
  border:1px solid var(--emc-line);
}

.dash-state-pill{
  color:var(--emc-brand3, var(--emc-brand2));
  background:rgba(255,255,255,.04);
}

/* ===== Activity ===== */
.dash-activity-list{position:relative}
.dash-activity-item{
  display:grid;
  grid-template-columns:14px 1fr;
  gap:12px;
  position:relative;
}
.dash-activity-item:not(:last-child)::before{
  content:'';position:absolute;left:5px;top:20px;bottom:-12px;width:2px;
  background:linear-gradient(180deg,var(--emc-line),transparent);
}

.dash-activity-dot{
  width:10px;
  height:10px;
  margin-top:6px;
  border-radius:999px;
  background:linear-gradient(135deg, var(--emc-brand2), var(--emc-brand));
  box-shadow:0 0 0 6px rgba(42,82,150,.08);
}
.dash-activity-item:first-child .dash-activity-dot{
  animation:activityPulse 2s ease-in-out infinite;
}
@keyframes activityPulse{
  0%,100%{box-shadow:0 0 0 4px rgba(42,82,150,.08)}
  50%{box-shadow:0 0 0 8px rgba(42,82,150,.18)}
}

.dash-activity-item strong{
  color:var(--emc-txt);
}

.dash-activity-item p{
  margin:4px 0;
  color:var(--emc-muted);
}

.dash-activity-item span{
  color:var(--emc-muted);
  font-size:.84rem;
}

/* ===== Modules ===== */
.dash-module-grid-v2{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:14px;
}

.dash-module-card{
  border-radius:22px;
  padding:18px;
  text-decoration:none;
  color:inherit;
  position:relative;
  border:1px solid var(--emc-line);
  background:
    radial-gradient(circle at bottom right, rgba(var(--mod-r,42,82,150),.04), transparent 60%),
    rgba(255,255,255,.025);
  box-shadow:0 0 0 1px rgba(255,255,255,.02) inset;
  transition:transform .25s cubic-bezier(.4,0,.2,1),box-shadow .25s ease,border-color .25s ease,background .25s ease;
}

.dash-module-card:hover{
  transform:translateY(-8px) scale(1.02);
  background:
    radial-gradient(circle at bottom right, rgba(var(--mod-r,42,82,150),.08), transparent 60%),
    rgba(255,255,255,.06);
  border-color:rgba(var(--mod-r,42,82,150),.3);
  box-shadow:
    0 20px 48px rgba(0,0,0,.14),
    0 0 60px -15px rgba(var(--mod-r,42,82,150),.2),
    0 0 0 1px rgba(var(--mod-r,42,82,150),.12);
}
/* Coming soon state */
.dash-module-card[data-state="coming"]{opacity:.55;filter:saturate(.6)}
.dash-module-card[data-state="coming"]:hover{opacity:.75;filter:saturate(.8)}

.dash-module-card__icon{
  width:48px;
  height:48px;
  border-radius:16px;
  display:grid;
  place-items:center;
  margin-bottom:12px;
  font-size:1.4rem;
  background:
    radial-gradient(circle at top left, rgba(var(--mod-r,42,82,150),.22), rgba(var(--mod-r,42,82,150),.06));
  border:1px solid rgba(var(--mod-r,42,82,150),.22);
  box-shadow:0 4px 12px rgba(var(--mod-r,42,82,150),.08);
  transition:transform .25s cubic-bezier(.4,0,.2,1),box-shadow .25s ease;
}
.dash-module-card:hover .dash-module-card__icon{
  transform:scale(1.15) rotate(-5deg);
  box-shadow:0 12px 28px rgba(var(--mod-r,42,82,150),.25);
}

.dash-module-card__top{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:flex-start;
}

.dash-module-card h3{
  margin:0 0 8px;
  font-size:1rem;
  color:var(--emc-txt);
}

.dash-module-card p{
  margin:0;
  color:var(--emc-muted);
  line-height:1.6;
}

/* Module category headers */
.dash-module-category__title{
  font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;
  color:var(--emc-muted);margin:0 0 12px;padding-left:4px;
  display:flex;align-items:center;gap:10px;
}
.dash-module-category__title::after{content:'';flex:1;height:1px;background:var(--emc-line)}
.dash-module-category + .dash-module-category{margin-top:20px}

/* Badge */
.dash-badge{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:22px;height:22px;padding:0 6px;border-radius:999px;
  font-size:.75rem;font-weight:800;color:#fff;
  background:linear-gradient(135deg,var(--emc-danger),color-mix(in oklab,var(--emc-danger) 80%,var(--emc-brand)));
  margin-left:8px;animation:badgePop .4s ease .6s both;
}
@keyframes badgePop{0%{transform:scale(0)}70%{transform:scale(1.15)}100%{transform:scale(1)}}

/* Quick action shine */
.dash-quick-grid a{position:relative;overflow:hidden;gap:8px}
.dash-quick__icon{flex-shrink:0;opacity:.6;transition:opacity .15s}
.dash-quick-grid a:hover .dash-quick__icon{opacity:1}
.dash-quick-grid a::after{
  content:'';position:absolute;top:0;left:-100%;width:100%;height:100%;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.06),transparent);
  transition:left .4s ease;pointer-events:none;
}
.dash-quick-grid a:hover::after{left:100%}

.dash-module-state--active{
  color:#d5f3d8;
  background:rgba(127,182,133,.12);
  border-color:rgba(127,182,133,.22);
}

.dash-module-state--beta{
  color:#f8e4b9;
  background:rgba(217,163,95,.14);
  border-color:rgba(217,163,95,.24);
}

.dash-module-state--coming{
  color:#f3dcc0;
  background:rgba(42,82,150,.12);
  border-color:rgba(42,82,150,.22);
}

/* ===== Module compact chips ===== */
.dash-module-grid-compact{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(140px, 1fr));
  gap:8px;
}
.dash-module-chip{
  display:flex;align-items:center;gap:8px;
  padding:10px 12px;border-radius:14px;
  text-decoration:none;color:var(--emc-txt);
  border:1px solid var(--emc-line);
  background:
    radial-gradient(circle at bottom right, rgba(var(--mod-r,42,82,150),.04), transparent 60%),
    rgba(255,255,255,.02);
  font-size:.88rem;font-weight:700;
  transition:transform .2s cubic-bezier(.4,0,.2,1),box-shadow .2s ease,border-color .2s ease,background .2s ease;
}
.dash-module-chip:hover{
  transform:translateY(-4px);
  border-color:rgba(var(--mod-r,42,82,150),.3);
  background:rgba(255,255,255,.06);
  box-shadow:0 12px 28px rgba(0,0,0,.1),0 0 40px -12px rgba(var(--mod-r,42,82,150),.15);
}
.dash-module-chip[data-state="coming"]{opacity:.5;filter:saturate(.5)}
.dash-module-chip[data-state="coming"]:hover{opacity:.7}
.dash-module-chip__icon{
  width:32px;height:32px;border-radius:10px;flex-shrink:0;
  display:grid;place-items:center;font-size:1.1rem;
  background:linear-gradient(135deg,rgba(var(--mod-r,42,82,150),.18),rgba(var(--mod-r,42,82,150),.06));
  border:1px solid rgba(var(--mod-r,42,82,150),.18);
  transition:transform .2s ease;
}
.dash-module-chip:hover .dash-module-chip__icon{transform:scale(1.1) rotate(-3deg)}
.dash-module-chip__name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}

/* ===== Quick grid ===== */
.dash-quick-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:10px;
}

.dash-quick-grid a{
  min-height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  color:var(--emc-txt);
  border-radius:14px;
  border:1px solid var(--emc-line);
  background:rgba(255,255,255,.03);
  font-weight:800;
  text-align:center;
  padding:10px;
  transition:transform .14s ease, background .16s ease, box-shadow .16s ease;
}

.dash-quick-grid a:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.05);
  box-shadow:0 12px 20px rgba(0,0,0,.08);
}

/* ===== Insights (smart alerts) ===== */
.dash-insights{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:14px}
.dash-insight{
  display:inline-flex;align-items:center;gap:8px;
  padding:8px 14px;border-radius:12px;text-decoration:none;color:var(--emc-txt);
  border:1px solid var(--emc-line);background:rgba(255,255,255,.04);
  font-size:.88rem;transition:transform .15s,background .15s,border-color .15s;
  border-left:3px solid var(--ins-accent,var(--emc-brand2));
}
.dash-insight:hover{transform:translateY(-1px);background:rgba(255,255,255,.07)}
.dash-insight__icon{font-size:1rem;flex-shrink:0}
.dash-insight__text{line-height:1.4}
.dash-insight__text strong{color:var(--emc-txt);font-weight:800}

/* ===== Ranking ===== */
.dash-ranking{display:grid;gap:8px}
.dash-ranking__row{
  display:flex;align-items:center;gap:12px;
  padding:10px 12px;border-radius:14px;
  border:1px solid var(--emc-line);background:rgba(255,255,255,.025);
  transition:transform .15s,background .15s;
}
.dash-ranking__row:hover{transform:translateX(4px);background:rgba(255,255,255,.05)}
.dash-ranking__row--top{
  border-color:rgba(234,179,8,.3);
  background:linear-gradient(135deg,rgba(234,179,8,.06),rgba(234,179,8,.02));
}
.dash-ranking__pos{
  width:28px;height:28px;border-radius:10px;
  display:grid;place-items:center;font-weight:900;font-size:.82rem;
  background:rgba(255,255,255,.06);border:1px solid var(--emc-line);
  color:var(--emc-muted);flex-shrink:0;
}
.dash-ranking__row--top .dash-ranking__pos{
  background:linear-gradient(135deg,#eab308,#ca8a04);color:#fff;border-color:transparent;
}
.dash-ranking__avatar{
  width:36px;height:36px;border-radius:50%;flex-shrink:0;
  display:grid;place-items:center;font-weight:800;color:#fff;font-size:.85rem;
  background:linear-gradient(135deg,var(--emc-brand2),var(--emc-brand));
}
.dash-ranking__info{display:flex;flex-direction:column;min-width:0}
.dash-ranking__info strong{font-size:.9rem;color:var(--emc-txt)}
.dash-ranking__info span{font-size:.8rem;color:var(--emc-muted)}

/* ===== Team presence ===== */
.dash-team-grid{display:flex;flex-wrap:wrap;gap:14px}
.dash-team-member{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:50px}
.dash-team-member span{font-size:.75rem;color:var(--emc-muted);max-width:60px;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dash-team-member__avatar{
  width:42px;height:42px;border-radius:50%;
  display:grid;place-items:center;font-weight:800;color:#fff;font-size:.9rem;
  background:linear-gradient(135deg,var(--emc-brand2),var(--emc-brand));
  position:relative;
  box-shadow:0 4px 12px rgba(42,82,150,.2);
  transition:transform .15s;
}
.dash-team-member:hover .dash-team-member__avatar{transform:scale(1.1)}
.dash-team-member__avatar--online::after{
  content:'';position:absolute;bottom:0;right:0;
  width:12px;height:12px;border-radius:50%;
  background:var(--emc-ok);border:2px solid var(--emc-panel);
  animation:chipPulse 2s ease-in-out infinite;
}

/* ===== Command palette trigger ===== */
.dash-cmdk{
  position:fixed;bottom:20px;right:20px;z-index:999;
  display:inline-flex;align-items:center;gap:8px;
  padding:12px 18px;border-radius:16px;
  background:color-mix(in oklab, var(--emc-panel) 90%, transparent);
  border:1px solid var(--emc-line);
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  box-shadow:0 12px 32px rgba(0,0,0,.15);
  color:var(--emc-muted);font-size:.85rem;font-weight:600;
  cursor:pointer;transition:transform .15s,box-shadow .15s;
  text-decoration:none;
}
.dash-cmdk:hover{transform:translateY(-2px);box-shadow:0 16px 40px rgba(0,0,0,.2)}
.dash-cmdk kbd{
  display:inline-flex;align-items:center;gap:3px;
  padding:3px 8px;border-radius:6px;font-size:.75rem;font-weight:700;
  background:rgba(255,255,255,.06);border:1px solid var(--emc-line);
}

/* ===== Gamification ===== */
.dash-gamification{overflow:visible}
.dash-streak{
  display:flex;align-items:center;gap:4px;
  padding:6px 12px;border-radius:999px;
  background:linear-gradient(135deg,rgba(249,115,22,.12),rgba(234,179,8,.08));
  border:1px solid rgba(249,115,22,.2);
}
.dash-streak__fire{font-size:1.1rem;animation:fireWiggle 1.5s ease-in-out infinite}
.dash-streak__count{font-weight:900;font-size:.95rem;color:var(--emc-txt)}
@keyframes fireWiggle{0%,100%{transform:rotate(0)}25%{transform:rotate(-8deg) scale(1.1)}75%{transform:rotate(8deg) scale(1.1)}}

.dash-level-row{display:flex;align-items:center;gap:14px;margin-bottom:14px}
.dash-level-ring{position:relative;width:52px;height:52px;flex-shrink:0}
.dash-level-ring__svg{width:100%;height:100%}
.dash-level-ring__progress{
  stroke:var(--emc-brand2);
  transition:stroke-dasharray .8s cubic-bezier(.4,0,.2,1);
}
.dash-level-ring__num{
  position:absolute;inset:0;display:grid;place-items:center;
  font-weight:900;font-size:1rem;color:var(--emc-txt);
}
.dash-level-info{flex:1;min-width:0}
.dash-level-info strong{font-size:1.05rem;color:var(--emc-txt);display:block}
.dash-level-info span{font-size:.78rem;color:var(--emc-muted);display:block;margin-top:4px}
.dash-xp-bar{
  height:6px;border-radius:3px;margin-top:6px;
  background:var(--emc-line);overflow:hidden;
}
.dash-xp-bar__fill{
  height:100%;border-radius:3px;
  background:linear-gradient(90deg,var(--emc-brand2),var(--emc-brand3,var(--emc-brand2)));
  transition:width .6s cubic-bezier(.4,0,.2,1);
}

.dash-profile-bar{
  display:block;text-decoration:none;color:var(--emc-muted);
  padding:10px 12px;border-radius:12px;margin-bottom:12px;
  border:1px dashed var(--emc-line);background:rgba(255,255,255,.025);
  font-size:.82rem;transition:background .15s,border-color .15s;
}
.dash-profile-bar:hover{background:rgba(255,255,255,.05);border-color:var(--emc-brand2)}
.dash-profile-bar strong{color:var(--emc-brand2)}
.dash-profile-bar__track{
  height:4px;border-radius:2px;background:var(--emc-line);margin-bottom:6px;overflow:hidden;
}
.dash-profile-bar__fill{
  height:100%;border-radius:2px;
  background:linear-gradient(90deg,var(--emc-ok),color-mix(in oklab,var(--emc-ok) 70%,var(--emc-brand2)));
}

.dash-achievements{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.dash-achievement{
  display:inline-flex;align-items:center;gap:6px;
  padding:6px 10px;border-radius:10px;
  background:linear-gradient(135deg,rgba(234,179,8,.08),rgba(234,179,8,.03));
  border:1px solid rgba(234,179,8,.18);
  font-size:.78rem;font-weight:700;color:var(--emc-txt);
  cursor:default;transition:transform .15s,box-shadow .15s;
  animation:achievePop .4s cubic-bezier(.22,1,.36,1) both;
}
.dash-achievement:hover{transform:scale(1.05);box-shadow:0 4px 12px rgba(234,179,8,.15)}
.dash-achievement__icon{font-size:1rem}
.dash-achievement:nth-child(1){animation-delay:.1s}
.dash-achievement:nth-child(2){animation-delay:.15s}
.dash-achievement:nth-child(3){animation-delay:.2s}
.dash-achievement:nth-child(4){animation-delay:.25s}
.dash-achievement:nth-child(5){animation-delay:.3s}
@keyframes achievePop{0%{opacity:0;transform:scale(.7)}100%{opacity:1;transform:scale(1)}}

.dash-next-achievement{
  padding:10px 12px;border-radius:12px;
  border:1px solid var(--emc-line);background:rgba(255,255,255,.025);
}
.dash-next-achievement__header{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.dash-next-achievement__icon{font-size:1.2rem;opacity:.5;filter:grayscale(1)}
.dash-next-achievement__header strong{font-size:.85rem;color:var(--emc-txt);display:block}
.dash-next-achievement__header span{font-size:.78rem;color:var(--emc-muted)}
.dash-next-achievement__bar{
  height:6px;border-radius:3px;background:var(--emc-line);overflow:hidden;
}
.dash-next-achievement__fill{
  height:100%;border-radius:3px;
  background:linear-gradient(90deg,var(--emc-brand2),var(--emc-warn));
  transition:width .6s cubic-bezier(.4,0,.2,1);
}
.dash-next-achievement__count{font-size:.78rem;color:var(--emc-muted);display:block;margin-top:4px;text-align:right}

/* ===== Status strip ===== */
.dash-status-strip{
  display:flex;flex-wrap:wrap;align-items:center;gap:18px;
  padding:12px 20px;border-radius:16px;
  background:
    linear-gradient(90deg, color-mix(in oklab, var(--emc-brand) 4%, transparent), transparent 30%),
    rgba(255,255,255,.025);
  border:1px solid var(--emc-line);
  font-size:.82rem;color:var(--emc-muted);
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
}
.dash-status-strip__item{display:flex;align-items:center;gap:6px;font-weight:600}
.dash-status-strip__dot{width:7px;height:7px;border-radius:50%;flex-shrink:0}
.dash-status-strip__dot--ok{background:var(--emc-ok);box-shadow:0 0 8px color-mix(in oklab,var(--emc-ok) 50%,transparent);animation:chipPulse 2s ease-in-out infinite}
.dash-status-strip__dot--warn{background:var(--emc-warn)}

/* ===== Responsive ===== */
@media (max-width:1200px){
  .dash-kpi-grid{
    grid-template-columns:repeat(3, minmax(0,1fr));
  }

  .dash-main-grid,
  .dash-hero-v3{
    grid-template-columns:1fr;
  }

  .dash-module-grid-v2{
    grid-template-columns:repeat(2, minmax(0,1fr));
  }
}

@media (max-width:780px){
  .dash{
    padding:18px 12px 34px;
  }

  .dash-kpi-grid,
  .dash-module-grid-v2,
  .dash-quick-grid{
    grid-template-columns:1fr;
  }

  .dash-property-card{
    grid-template-columns:1fr;
  }

  .dash-hero-v3{
    padding:20px;
  }

  .dash-panel,
  .dash-kpi{
    padding:16px;
  }

  .dash-commandbar{
    gap:10px;
  }

  .dash-action{
    width:100%;
  }

  .dash-module-grid-compact{grid-template-columns:repeat(2, 1fr)}
  .dash-status-strip{flex-direction:column;gap:8px;font-size:.78rem}
  .dash-status-strip__item[style]{margin-left:0 !important}
  .dash-insights{flex-direction:column}
  .dash-team-grid{gap:10px}
  .dash-cmdk{bottom:12px;right:12px;padding:10px 14px;font-size:.8rem}
  .dash-kbd{display:none}
}

/* =========================
   PUBLICADOR DE ANUNCIOS
   /panel/usuario/anuncios/nuevo.php
   ========================= */

.pub-shell{
  width:min(1440px, calc(100% - 32px));
  margin:24px auto 72px;
  color:#0f172a;
}

.pub-form{
  display:block;
}

.pub-hero{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  margin-bottom:24px;
  padding:28px;
  border:1px solid rgba(15,23,42,.08);
  border-radius:24px;
  background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);
  box-shadow:0 12px 36px rgba(15,23,42,.06);
}

.pub-hero__content{
  display:grid;
  gap:10px;
  max-width:860px;
}

.pub-hero__actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.pub-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  width:max-content;
  min-height:34px;
  padding:6px 12px;
  border-radius:999px;
  border:1px solid rgba(37,99,235,.16);
  background:rgba(37,99,235,.08);
  color:#1d4ed8;
  font-weight:700;
  font-size:12px;
  letter-spacing:.02em;
  text-transform:uppercase;
}

.pub-title{
  margin:0;
  color:#0f172a;
  font-size:clamp(28px,4vw,44px);
  line-height:1.05;
  font-weight:800;
}

.pub-copy{
  margin:0;
  color:#475569;
  font-size:16px;
  line-height:1.7;
}

.pub-grid{
  display:grid;
  grid-template-columns:minmax(0,1.45fr) minmax(320px,.72fr);
  gap:24px;
  align-items:start;
}

.pub-main,
.pub-side{
  display:grid;
  gap:24px;
}

.pub-card{
  background:#fff;
  border:1px solid rgba(15,23,42,.08);
  border-radius:24px;
  box-shadow:0 12px 36px rgba(15,23,42,.06);
  padding:24px;
}

.pub-card--sticky{
  position:sticky;
  top:24px;
}

.pub-card__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}

.pub-card__head h2{
  margin:0 0 6px;
  color:#0f172a;
  font-size:22px;
  line-height:1.2;
  font-weight:800;
}

.pub-card__head p{
  margin:0;
  color:#64748b;
  font-size:14px;
  line-height:1.6;
}

.pub-fields{
  display:grid;
  gap:16px;
}

.pub-fields--2{
  grid-template-columns:repeat(2, minmax(0,1fr));
}

.pub-fields--4{
  grid-template-columns:repeat(4, minmax(0,1fr));
}

.pub-field{
  display:grid;
  gap:8px;
}

.pub-field label{
  color:#0f172a;
  font-size:14px;
  font-weight:700;
  line-height:1.4;
}

.pub-input,
.pub-select,
.pub-textarea{
  width:100%;
  min-height:50px;
  padding:13px 15px;
  border:1px solid rgba(15,23,42,.12);
  background:#fff;
  color:#0f172a;
  border-radius:16px;
  outline:none;
  box-sizing:border-box;
  font:inherit;
  transition:border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.pub-input::placeholder,
.pub-textarea::placeholder{
  color:#94a3b8;
}

.pub-textarea{
  min-height:150px;
  resize:vertical;
  line-height:1.6;
}

.pub-textarea--lg{
  min-height:190px;
}

.pub-input:hover,
.pub-select:hover,
.pub-textarea:hover{
  border-color:rgba(15,23,42,.22);
}

.pub-input:focus,
.pub-select:focus,
.pub-textarea:focus{
  border-color:#2563eb;
  box-shadow:0 0 0 4px rgba(37,99,235,.12);
  background:#fff;
}

.pub-check-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:12px;
}

.pub-check{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:52px;
  padding:12px 14px;
  border:1px solid rgba(15,23,42,.10);
  border-radius:16px;
  background:#fff;
  color:#0f172a;
  font-size:14px;
  font-weight:600;
  cursor:pointer;
  transition:border-color .18s ease, box-shadow .18s ease, background-color .18s ease, transform .18s ease;
  box-sizing:border-box;
}

.pub-check:hover{
  border-color:rgba(37,99,235,.30);
  box-shadow:0 10px 24px rgba(37,99,235,.08);
  transform:translateY(-1px);
}

.pub-check input{
  width:18px;
  height:18px;
  margin:0;
  accent-color:#2563eb;
  flex:0 0 auto;
}

.pub-check span{
  line-height:1.35;
}

.pub-check--inline{
  min-height:auto;
  padding:0;
  border:none;
  border-radius:0;
  box-shadow:none;
  background:transparent;
}

.pub-check--inline:hover{
  transform:none;
  box-shadow:none;
  border:none;
}

.pub-summary{
  display:grid;
  gap:10px;
  padding:16px;
  border-radius:18px;
  background:#f8fafc;
  border:1px solid rgba(15,23,42,.06);
  margin-bottom:14px;
}

.pub-summary__row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:10px 0;
  border-bottom:1px solid rgba(15,23,42,.06);
}

.pub-summary__row:last-child{
  border-bottom:none;
  padding-bottom:0;
}

.pub-summary__row span{
  color:#64748b;
  font-size:14px;
}

.pub-summary__row strong{
  color:#0f172a;
  font-size:14px;
  text-align:right;
  font-weight:800;
}

.pub-actions{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-top:18px;
}

.pub-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:50px;
  padding:0 18px;
  border-radius:16px;
  border:1px solid transparent;
  text-decoration:none;
  font-weight:800;
  font-size:14px;
  line-height:1;
  cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease, color .18s ease;
  box-sizing:border-box;
}

.pub-btn:hover{
  transform:translateY(-1px);
}

.pub-btn--primary{
  background:#2563eb;
  color:#fff;
  box-shadow:0 16px 30px rgba(37,99,235,.22);
}

.pub-btn--primary:hover{
  background:#1d4ed8;
  color:#fff;
}

.pub-btn--ghost{
  background:#fff;
  color:#0f172a;
  border-color:rgba(15,23,42,.12);
}

.pub-btn--ghost:hover{
  border-color:rgba(37,99,235,.28);
  color:#1d4ed8;
  box-shadow:0 10px 24px rgba(15,23,42,.06);
}

.pub-note{
  margin-top:14px;
  padding:14px 16px;
  border-radius:16px;
  background:#f8fafc;
  color:#475569;
  font-size:13px;
  line-height:1.65;
  border:1px solid rgba(15,23,42,.06);
}

.pub-note code{
  padding:2px 7px;
  border-radius:999px;
  background:#e2e8f0;
  color:#0f172a;
  font-size:12px;
}

.pub-alert{
  margin:0 0 20px;
  padding:18px 20px;
  border-radius:20px;
  border:1px solid rgba(15,23,42,.08);
  box-shadow:0 10px 28px rgba(15,23,42,.05);
}

.pub-alert strong{
  display:block;
  margin-bottom:8px;
  font-size:15px;
  font-weight:800;
}

.pub-alert--success{
  background:#ecfdf5;
  border-color:rgba(16,185,129,.20);
  color:#065f46;
}

.pub-alert--error{
  background:#fef2f2;
  border-color:rgba(239,68,68,.20);
  color:#991b1b;
}

.pub-alert__meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.pub-alert__meta span{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:5px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.7);
  border:1px solid rgba(15,23,42,.06);
  font-size:13px;
  font-weight:700;
}

.pub-errors{
  margin:0;
  padding-left:18px;
  display:grid;
  gap:6px;
}

.pub-errors li{
  line-height:1.55;
}

@media (max-width:1200px){
  .pub-fields--4{
    grid-template-columns:repeat(2, minmax(0,1fr));
  }

  .pub-check-grid{
    grid-template-columns:repeat(2, minmax(0,1fr));
  }
}

@media (max-width:1024px){
  .pub-grid{
    grid-template-columns:1fr;
  }

  .pub-card--sticky{
    position:static;
    top:auto;
  }

  .pub-actions{
    flex-direction:row;
    flex-wrap:wrap;
  }

  .pub-actions .pub-btn{
    flex:1 1 220px;
  }
}

@media (max-width:760px){
  .pub-shell{
    width:min(100%, calc(100% - 20px));
    margin:16px auto 48px;
  }

  .pub-hero{
    padding:20px;
    border-radius:20px;
    flex-direction:column;
  }

  .pub-hero__actions{
    width:100%;
    justify-content:flex-start;
  }

  .pub-card{
    padding:18px;
    border-radius:20px;
  }

  .pub-fields--2,
  .pub-fields--4,
  .pub-check-grid{
    grid-template-col .property-page {
    background: linear-gradient(180deg, #f8f3ed 0%, #f4ede4 100%);
    color: #2c2118;
    min-height: 100vh;
    padding: 32px 0 64px;
}

.property-shell {
    width: min(1380px, calc(100% - 32px));
    margin: 0 auto;
}

.property-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: #7a6452;
    font-size: 14px;
}

.property-breadcrumbs a {
    color: #7a6452;
    text-decoration: none;
}

.property-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(320px, .8fr);
    gap: 24px;
    margin-bottom: 24px;
}

.property-gallery,
.property-card,
.property-section,
.property-related-card {
    background: #fffdf9;
    border: 1px solid rgba(91, 67, 48, .10);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(91, 67, 48, .08);
}

.property-gallery {
    padding: 18px;
}

.property-gallery__main {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #eee4d8;
}

.property-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.property-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.property-thumb {
    border: 0;
    padding: 0;
    border-radius: 16px;
    overflow: hidden;
    background: transparent;
    cursor: pointer;
    opacity: .72;
    transition: .2s ease;
}

.property-thumb.is-active,
.property-thumb:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.property-thumb img {
    width: 100%;
    height: 76px;
    object-fit: cover;
    display: block;
}

.property-card {
    padding: 24px;
}

.property-card--sticky {
    position: sticky;
    top: 96px;
}

.property-pill-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.property-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: #f4ede4;
    color: #6d533f;
    font-size: 13px;
    font-weight: 700;
}

.property-pill--accent {
    background: #5e3d27;
    color: #fff;
}

.property-title {
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.08;
    margin: 0 0 10px;
    color: #2e2117;
}

.property-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #7c6855;
    margin: 0 0 18px;
}

.property-price {
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 900;
    color: #5a3924;
    margin-bottom: 18px;
}

.property-kpis {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.property-kpi {
    padding: 14px;
    border-radius: 18px;
    background: #f7efe7;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.property-kpi strong {
    font-size: 20px;
    color: #35261a;
}

.property-kpi span {
    font-size: 13px;
    color: #7b6654;
}

.property-cta-group {
    display: flex;
    gap: 12px;
    margin-bottom: 22px;
}

.property-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 50px;
    padding: 0 18px;
    border-radius: 16px;
    font-weight: 800;
    text-decoration: none;
    border: 1px solid transparent;
    transition: .2s ease;
    cursor: pointer;
}

.property-btn--full {
    width: 100%;
}

.property-btn--primary {
    background: linear-gradient(135deg, #6c4630, #8a5a3f);
    color: #fff;
}

.property-btn--ghost {
    background: #f4ede4;
    color: #5f4430;
    border-color: rgba(95, 68, 48, .10);
}

.property-agent {
    padding-top: 18px;
    border-top: 1px solid rgba(91, 67, 48, .10);
}

.property-agent__label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #8a7564;
}

.property-agent__name {
    font-size: 18px;
    font-weight: 800;
    margin-top: 4px;
}

.property-agent__meta {
    color: #7b6654;
    margin-top: 4px;
}

.property-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
}

.property-main,
.property-side {
    min-width: 0;
}

.property-section {
    padding: 24px;
    margin-bottom: 24px;
}

.property-section__head h2 {
    margin: 0 0 6px;
    font-size: 24px;
    color: #2e2117;
}

.property-section__head p {
    margin: 0 0 18px;
    color: #7b6654;
}

.property-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.property-spec {
    padding: 16px;
    border-radius: 18px;
    background: #f7efe7;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.property-spec span {
    font-size: 13px;
    color: #7b6654;
}

.property-spec strong {
    font-size: 17px;
    color: #35261a;
}

.property-description {
    font-size: 16px;
    line-height: 1.8;
    color: #3b2c20;
}

.property-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.property-feature {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    background: #f4ede4;
    color: #5f4430;
    font-weight: 700;
}

.property-map {
    width: 100%;
    height: 420px;
    border-radius: 20px;
    overflow: hidden;
    background: #e8dfd3;
}

.property-mortgage__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.property-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.property-field label {
    font-size: 14px;
    font-weight: 700;
    color: #6b5848;
}

.property-field input,
.property-field textarea {
    width: 100%;
    border: 1px solid rgba(91, 67, 48, .14);
    border-radius: 16px;
    min-height: 52px;
    padding: 14px 16px;
    background: #fff;
    color: #2c2118;
}

.property-field textarea {
    min-height: 120px;
    resize: vertical;
}

.property-mortgage__result {
    margin-top: 18px;
    padding: 18px 20px;
    border-radius: 20px;
    background: #f4ede4;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.property-mortgage__result span {
    color: #7b6654;
    font-weight: 700;
}

.property-mortgage__result strong {
    font-size: 28px;
    color: #5a3924;
}

.property-related {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
}

.property-related-card__media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
}

.property-related-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.property-related-card__body {
    padding: 18px;
}

.property-related-card__body h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.property-related-card__body p {
    margin: 0 0 12px;
    color: #7b6654;
}

.property-related-card__meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #5f4430;
    font-weight: 800;
}

.property-form {
    display: grid;
    gap: 14px;
}

.property-owner-actions {
    display: grid;
    gap: 12px;
}

@media (max-width: 1120px) {
    .property-hero,
    .property-layout {
        grid-template-columns: 1fr;
    }

    .property-card--sticky {
        position: static;
    }
}

@media (max-width: 720px) {
    .property-shell {
        width: min(100% - 20px, 1380px);
    }

    .property-mortgage__grid,
    .property-specs,
    .property-kpis {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .property-mortgage__grid,
    .property-specs,
    .property-kpis,
    .property-gallery__thumbs {
        grid-template-columns: 1fr;
    }

    .property-cta-group {
        flex-direction: column;
    }
}umns:1fr;
  }

  .pub-title{
    font-size:32px;
  }

  .pub-btn{
    width:100%;
  }
} .property-page {
    background: linear-gradient(180deg, #f8f3ed 0%, #f4ede4 100%);
    color: #2c2118;
    min-height: 100vh;
    padding: 32px 0 64px;
}

.property-shell {
    width: min(1380px, calc(100% - 32px));
    margin: 0 auto;
}

.property-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: #7a6452;
    font-size: 14px;
}

.property-breadcrumbs a {
    color: #7a6452;
    text-decoration: none;
}

.property-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(320px, .8fr);
    gap: 24px;
    margin-bottom: 24px;
}

.property-gallery,
.property-card,
.property-section,
.property-related-card {
    background: #fffdf9;
    border: 1px solid rgba(91, 67, 48, .10);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(91, 67, 48, .08);
}

.property-gallery {
    padding: 18px;
}

.property-gallery__main {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #eee4d8;
}

.property-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.property-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.property-thumb {
    border: 0;
    padding: 0;
    border-radius: 16px;
    overflow: hidden;
    background: transparent;
    cursor: pointer;
    opacity: .72;
    transition: .2s ease;
}

.property-thumb.is-active,
.property-thumb:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.property-thumb img {
    width: 100%;
    height: 76px;
    object-fit: cover;
    display: block;
}

.property-card {
    padding: 24px;
}

.property-card--sticky {
    position: sticky;
    top: 96px;
}

.property-pill-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.property-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: #f4ede4;
    color: #6d533f;
    font-size: 13px;
    font-weight: 700;
}

.property-pill--accent {
    background: #5e3d27;
    color: #fff;
}

.property-title {
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.08;
    margin: 0 0 10px;
    color: #2e2117;
}

.property-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #7c6855;
    margin: 0 0 18px;
}

.property-price {
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 900;
    color: #5a3924;
    margin-bottom: 18px;
}

.property-kpis {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.property-kpi {
    padding: 14px;
    border-radius: 18px;
    background: #f7efe7;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.property-kpi strong {
    font-size: 20px;
    color: #35261a;
}

.property-kpi span {
    font-size: 13px;
    color: #7b6654;
}

.property-cta-group {
    display: flex;
    gap: 12px;
    margin-bottom: 22px;
}

.property-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 50px;
    padding: 0 18px;
    border-radius: 16px;
    font-weight: 800;
    text-decoration: none;
    border: 1px solid transparent;
    transition: .2s ease;
    cursor: pointer;
}

.property-btn--full {
    width: 100%;
}

.property-btn--primary {
    background: linear-gradient(135deg, #6c4630, #8a5a3f);
    color: #fff;
}

.property-btn--ghost {
    background: #f4ede4;
    color: #5f4430;
    border-color: rgba(95, 68, 48, .10);
}

.property-agent {
    padding-top: 18px;
    border-top: 1px solid rgba(91, 67, 48, .10);
}

.property-agent__label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #8a7564;
}

.property-agent__name {
    font-size: 18px;
    font-weight: 800;
    margin-top: 4px;
}

.property-agent__meta {
    color: #7b6654;
    margin-top: 4px;
}

.property-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
}

.property-main,
.property-side {
    min-width: 0;
}

.property-section {
    padding: 24px;
    margin-bottom: 24px;
}

.property-section__head h2 {
    margin: 0 0 6px;
    font-size: 24px;
    color: #2e2117;
}

.property-section__head p {
    margin: 0 0 18px;
    color: #7b6654;
}

.property-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.property-spec {
    padding: 16px;
    border-radius: 18px;
    background: #f7efe7;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.property-spec span {
    font-size: 13px;
    color: #7b6654;
}

.property-spec strong {
    font-size: 17px;
    color: #35261a;
}

.property-description {
    font-size: 16px;
    line-height: 1.8;
    color: #3b2c20;
}

.property-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.property-feature {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    background: #f4ede4;
    color: #5f4430;
    font-weight: 700;
}

.property-map {
    width: 100%;
    height: 420px;
    border-radius: 20px;
    overflow: hidden;
    background: #e8dfd3;
}

.property-mortgage__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.property-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.property-field label {
    font-size: 14px;
    font-weight: 700;
    color: #6b5848;
}

.property-field input,
.property-field textarea {
    width: 100%;
    border: 1px solid rgba(91, 67, 48, .14);
    border-radius: 16px;
    min-height: 52px;
    padding: 14px 16px;
    background: #fff;
    color: #2c2118;
}

.property-field textarea {
    min-height: 120px;
    resize: vertical;
}

.property-mortgage__result {
    margin-top: 18px;
    padding: 18px 20px;
    border-radius: 20px;
    background: #f4ede4;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.property-mortgage__result span {
    color: #7b6654;
    font-weight: 700;
}

.property-mortgage__result strong {
    font-size: 28px;
    color: #5a3924;
}

.property-related {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
}

.property-related-card__media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
}

.property-related-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.property-related-card__body {
    padding: 18px;
}

.property-related-card__body h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.property-related-card__body p {
    margin: 0 0 12px;
    color: #7b6654;
}

.property-related-card__meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #5f4430;
    font-weight: 800;
}

.property-form {
    display: grid;
    gap: 14px;
}

.property-owner-actions {
    display: grid;
    gap: 12px;
}

@media (max-width: 1120px) {
    .property-hero,
    .property-layout {
        grid-template-columns: 1fr;
    }

    .property-card--sticky {
        position: static;
    }
}

@media (max-width: 720px) {
    .property-shell {
        width: min(100% - 20px, 1380px);
    }

    .property-mortgage__grid,
    .property-specs,
    .property-kpis {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .property-mortgage__grid,
    .property-specs,
    .property-kpis,
    .property-gallery__thumbs {
        grid-template-columns: 1fr;
    }

    .property-cta-group {
        flex-direction: column;
    }
}