/* Zimmer Now 4.4.0 RC51 - Premium SaaS Polish */
:root{--zn51-bordeaux:#641632;--zn51-bordeaux-dark:#330a1d;--zn51-gold:#d2a24d;--zn51-cream:#fbf7f2;--zn51-shadow:0 18px 48px rgba(67,18,39,.10)}
[data-zn47-view="dashboard"]{gap:16px!important}
[data-zn47-view="dashboard"] .zn49-dashboard-label{margin:5px 0 -4px!important}
[data-zn47-view="dashboard"] .zn49-dashboard-label h2{font-size:22px!important;letter-spacing:-.3px}

/* Command-center hero */
[data-zn47-view="dashboard"] .zn45-owner-hero{position:relative;isolation:isolate;overflow:hidden;min-height:258px!important;padding:30px 34px!important;border:0!important;border-radius:28px!important;background:radial-gradient(circle at 12% 20%,rgba(255,255,255,.17),transparent 25%),linear-gradient(125deg,#30091b 0%,#681836 57%,#a4692d 100%)!important;color:#fff;box-shadow:0 28px 70px rgba(73,16,42,.24)!important}
[data-zn47-view="dashboard"] .zn45-owner-hero:before{content:"";position:absolute;z-index:-1;width:430px;height:430px;inset-inline-end:-120px;top:-210px;border:1px solid rgba(255,255,255,.18);border-radius:50%;box-shadow:0 0 0 55px rgba(255,255,255,.035),0 0 0 110px rgba(255,255,255,.025)}
[data-zn47-view="dashboard"] .zn45-owner-identity{align-items:center!important;max-width:760px}
[data-zn47-view="dashboard"] .zn45-owner-identity img{width:104px!important;height:104px!important;border:4px solid rgba(255,255,255,.75)!important;box-shadow:0 12px 32px rgba(0,0,0,.22)}
[data-zn47-view="dashboard"] .zn45-owner-identity h1{margin:5px 0!important;color:#fff!important;font-size:clamp(30px,3vw,46px)!important;letter-spacing:-1.2px}
[data-zn47-view="dashboard"] .zn45-owner-identity p{color:rgba(255,255,255,.82)!important;font-size:16px!important}
[data-zn47-view="dashboard"] .zn-owner-kicker{color:#f1ce82!important;letter-spacing:.12em;text-transform:uppercase}
[data-zn47-view="dashboard"] .zn45-owner-badges>*{border-color:rgba(255,255,255,.24)!important;background:rgba(255,255,255,.10)!important;color:#fff!important;backdrop-filter:blur(8px)}
[data-zn47-view="dashboard"] .zn45-owner-badges b{background:#f5d58f!important;color:#53142f!important}
[data-zn47-view="dashboard"] .zn45-profile-progress{display:none!important}
.zn51-hero-command{display:grid;grid-template-columns:repeat(4,minmax(105px,1fr));gap:10px;width:min(620px,49%);margin-inline-start:auto;align-self:stretch}
.zn51-hero-stat{display:flex;flex-direction:column;justify-content:center;min-height:116px;padding:16px;border:1px solid rgba(255,255,255,.18);border-radius:20px;background:rgba(255,255,255,.10);box-shadow:inset 0 1px 0 rgba(255,255,255,.12);backdrop-filter:blur(10px);transition:transform .25s ease,background .25s ease}
.zn51-hero-stat:hover{transform:translateY(-4px);background:rgba(255,255,255,.16)}
.zn51-hero-stat i{font-style:normal;font-size:21px}.zn51-hero-stat strong{margin:7px 0 1px;color:#fff;font-size:30px;line-height:1;letter-spacing:-1px}.zn51-hero-stat span{color:rgba(255,255,255,.74);font-size:11px;font-weight:800}
.zn51-command-actions{position:absolute;inset-inline-end:34px;bottom:25px;display:flex;gap:8px}
.zn51-command-actions a{display:inline-flex;align-items:center;gap:7px;padding:10px 14px;border:1px solid rgba(255,255,255,.22);border-radius:12px;background:rgba(255,255,255,.11);color:#fff;text-decoration:none;font-size:12px;font-weight:900;transition:.22s ease}
.zn51-command-actions a:first-child{background:#fff;color:#5b1531}.zn51-command-actions a:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(0,0,0,.16)}

/* Premium actions and KPI */
[data-zn47-view="dashboard"] .zn45-quick-actions a{position:relative;overflow:hidden;min-height:106px!important;border:1px solid #eaded7!important;background:linear-gradient(145deg,#fff,#fbf5f1)!important;box-shadow:0 10px 26px rgba(72,22,43,.06)!important;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease!important}
[data-zn47-view="dashboard"] .zn45-quick-actions a:after{content:"";position:absolute;width:90px;height:90px;border-radius:50%;background:rgba(199,151,70,.13);transform:scale(0);transition:transform .35s ease}
[data-zn47-view="dashboard"] .zn45-quick-actions a:hover{transform:translateY(-5px)!important;border-color:#d9b76e!important;box-shadow:0 18px 38px rgba(72,22,43,.12)!important}
[data-zn47-view="dashboard"] .zn45-quick-actions a:hover:after{transform:scale(3)}
[data-zn47-view="dashboard"] .zn45-kpi{min-height:202px!important;padding:22px!important;border:1px solid #eaded7!important;background:linear-gradient(145deg,#fff 0%,#fbf6f2 100%)!important;box-shadow:var(--zn51-shadow)!important;transition:transform .25s ease,box-shadow .25s ease!important}
[data-zn47-view="dashboard"] .zn45-kpi:hover{transform:translateY(-6px)!important;box-shadow:0 25px 55px rgba(67,18,39,.16)!important}
[data-zn47-view="dashboard"] .zn45-kpi strong.zn45-count{font-size:clamp(58px,4.4vw,72px)!important;line-height:.95!important;letter-spacing:-3px!important;color:#481127!important}
[data-zn47-view="dashboard"] .zn45-kpi>span:not(.zn461-sparkline){font-size:14px!important}

/* Dense command grid */
[data-zn47-view="dashboard"] .zn48-contact-performance{grid-column:span 5!important;min-height:570px!important;padding:24px!important}
[data-zn47-view="dashboard"] .zn-owner-top-properties{grid-column:span 7!important;min-height:570px!important;padding:24px!important}
[data-zn47-view="dashboard"] .zn48-ai-workspace{grid-column:span 5!important;min-height:390px!important}
[data-zn47-view="dashboard"] .zn45-analytics-grid{grid-column:1/-1!important}
[data-zn47-view="dashboard"] .zn45-chart-card{min-height:530px!important;border-radius:22px!important;box-shadow:var(--zn51-shadow)!important}
[data-zn47-view="dashboard"] .zn45-chart-wrap{height:410px!important}
[data-zn47-view="dashboard"] .zn45-chart-card:first-child .zn45-chart-wrap{height:430px!important}

/* Contact performance donut */
.zn50-contact-body{grid-template-columns:minmax(250px,46%) minmax(0,1fr)!important;gap:26px!important}
.zn49-donut{width:260px!important;height:260px!important;filter:drop-shadow(0 18px 26px rgba(75,18,42,.13));transition:transform .3s ease}
.zn49-donut:hover{transform:scale(1.035)}
.zn49-donut:after{width:164px!important;height:164px!important}
.zn49-donut b{font-size:43px!important;line-height:.85!important}.zn49-donut small{font-size:12px!important;margin-top:9px!important}
.zn48-contact-channels article{min-height:80px;padding:13px 14px!important;border:1px solid #eee2dc!important;background:#fff!important;box-shadow:0 8px 20px rgba(64,16,38,.045);cursor:pointer;transition:.22s ease}
.zn48-contact-channels article:hover,.zn48-contact-channels article.is-active{transform:translateX(-4px);border-color:#d8b269!important;background:#fffaf0!important}
.zn48-contact-channels article>i{width:46px!important;height:46px!important;font-size:22px!important}
.zn51-contact-caption{margin-top:12px;text-align:center;color:#907782;font-size:11px;font-weight:800}

/* Rich property mini dashboards */
.zn-owner-top-list{gap:11px!important}
.zn461-top-property{grid-template-columns:32px 80px minmax(0,1fr) 122px!important;min-height:103px!important;padding:11px 13px!important;border:1px solid #eee2dc!important;box-shadow:0 8px 22px rgba(64,16,38,.045);transition:transform .22s ease,box-shadow .22s ease!important}
.zn461-top-property:hover{transform:translateY(-3px);box-shadow:0 16px 32px rgba(64,16,38,.10)}
.zn461-top-property img,.zn461-property-placeholder{width:80px!important;height:80px!important}
.zn51-top-badges{display:flex;gap:5px;flex-wrap:wrap;margin-top:5px}.zn51-top-badges span{padding:3px 7px;border-radius:999px;background:#f6eee9;color:#6f2944;font-size:9px;font-weight:900}.zn51-top-badges .is-trending{background:#eaf7ef;color:#187148}.zn51-top-badges .is-ai{background:#fff4d9;color:#835512}
.zn50-top-metrics{grid-template-columns:repeat(4,minmax(0,1fr))!important}.zn50-top-metrics span{font-size:9px!important}
.zn51-score{display:flex;align-items:center;justify-content:space-between;margin-top:6px;color:#765d68;font-size:9px;font-weight:900}.zn51-score b{color:#641632;font-size:11px}

/* Motion */
[data-zn47-view="dashboard"]>section,[data-zn47-view="dashboard"]>article,[data-zn47-view="dashboard"]>nav,[data-zn47-view="dashboard"]>.zn49-dashboard-label{animation:zn51Reveal .55s ease both}
@keyframes zn51Reveal{from{opacity:0;transform:translateY(13px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
@media(max-width:1450px){.zn51-hero-command{width:min(540px,47%)}.zn49-donut{width:225px!important;height:225px!important}.zn49-donut:after{width:142px!important;height:142px!important}}
@media(max-width:1180px){[data-zn47-view="dashboard"] .zn48-contact-performance,[data-zn47-view="dashboard"] .zn-owner-top-properties,[data-zn47-view="dashboard"] .zn48-ai-workspace{grid-column:1/-1!important}.zn51-hero-command{width:100%;margin-top:20px}.zn45-owner-hero{flex-wrap:wrap}.zn51-command-actions{position:static;margin-top:12px}}
@media(max-width:760px){[data-zn47-view="dashboard"] .zn45-owner-hero{padding:23px 18px!important}.zn51-hero-command{grid-template-columns:1fr 1fr}.zn51-command-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.zn51-command-actions a{justify-content:center}.zn50-contact-body{grid-template-columns:1fr!important}.zn49-donut{width:205px!important;height:205px!important}.zn49-donut:after{width:130px!important;height:130px!important}.zn461-top-property{grid-template-columns:26px 62px minmax(0,1fr)!important}.zn461-top-property img,.zn461-property-placeholder{width:62px!important;height:62px!important}.zn50-top-metrics{grid-template-columns:1fr 1fr!important}[data-zn47-view="dashboard"] .zn45-chart-card{min-height:430px!important}[data-zn47-view="dashboard"] .zn45-chart-wrap,[data-zn47-view="dashboard"] .zn45-chart-card:first-child .zn45-chart-wrap{height:320px!important}}
