/*detalle 27-oct: ficha de propiedad en una sola pantalla, foto grande y gráficas. Solo escritorio; en celular queda como estaba.*/
.zdviz,.zdbadge{display:none}
@media(min-width:901px){
html body #dlg{width:min(1380px,97vw)!important;height:min(92vh,820px)!important;max-height:none!important;overflow:hidden!important;grid-template-columns:57% 43%!important;border-radius:22px!important}
html body #dlg .dm{height:100%!important;max-height:none!important;min-height:0!important}
html body #dlg .dm img{height:100%!important}
html body #dlg .zdbadge{display:flex;align-items:baseline;gap:6px;position:absolute;left:18px;top:18px;z-index:3;padding:9px 16px;border-radius:999px;background:rgba(2,2,66,.82);backdrop-filter:blur(6px);color:#e8d6ae;font:600 13px Manrope,sans-serif;letter-spacing:.02em}
html body #dlg .zdbadge b{font:800 20px Sora,sans-serif;color:#fff}
html body #dlg .dm .nv{left:18px!important;bottom:18px!important}
html body #dlg .dm .nv button{width:46px!important;height:46px!important}
html body #dlg .di{height:100%!important;overflow:hidden!important;padding:24px 28px 20px!important;gap:10px!important;justify-content:flex-start}
html body #dlg .di>*{flex:none!important}
html body #dlg .di .c1{font-size:11.5px!important}
html body #dlg .di h3{font-size:27px!important;line-height:1.1!important;margin:0!important;padding-right:44px}
html body #dlg .di .loc{font-size:13.5px!important;margin:0!important}
html body #dlg .big{gap:8px!important;margin:2px 0 0!important}
html body #dlg .big>div{padding:9px 14px!important;border-radius:14px!important}
html body #dlg .big .full b{font-size:28px!important}
html body #dlg .big>div b{font-size:20px!important}
html body #dlg .big small{font-size:10px!important}
html body #dlg .nota{font-size:11px!important;margin:0!important;line-height:1.35!important;color:var(--mut)}
html body #dlg .rcviz,html body #dlg .lock,html body #dlg .fic{display:none!important}
/* gráficas */
html body #dlg .zdviz{display:flex;flex-direction:column;gap:10px;height:auto!important;max-height:none!important}
html body #dlg .zdviz>*{flex:none!important}
.zdv1{display:flex;align-items:center;gap:16px;padding:12px 16px;border-radius:16px;background:linear-gradient(135deg,#f6f3ec,#fff);border:1px solid rgba(184,155,94,.35)}
.zdring{position:relative;flex:0 0 84px;width:84px;height:84px}
.zdring svg{width:84px;height:84px;transform:rotate(-90deg)}
.zdring .tr{fill:none;stroke:#e6e1d4;stroke-width:6}
.zdring .pr{fill:none;stroke:#b89b5e;stroke-width:6;stroke-linecap:round;stroke-dasharray:138.2;stroke-dashoffset:138.2;animation:dvRing 1.3s .3s cubic-bezier(.3,.7,.2,1) forwards}
.zdring b{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;font:800 21px/1 Sora,sans-serif;color:var(--navy)}
.zdring small{font:600 8px/1.2 Manrope,sans-serif;letter-spacing:.05em;text-transform:uppercase;color:#6b6a7d;margin-top:3px}
.zdstk{flex:1;min-width:0}
.zstk{display:flex;height:16px;border-radius:10px;overflow:hidden;background:#ece8dc}
.zstk i{display:block;height:100%;transform-origin:left;animation:dvBar 1s .3s cubic-bezier(.3,.7,.2,1) both}
.zstk .a{width:var(--w);background:var(--navy)}
.zstk .b{flex:1;background:linear-gradient(90deg,#c9b27a,#b89b5e);animation-delay:.5s}
.zdstk .zlg{display:flex;justify-content:space-between;gap:10px;margin-top:8px;font:600 12.5px Manrope,sans-serif;color:#4b4a5e}
.zdstk .zlg b{color:var(--navy);font-weight:800}
.zdstk .zlg u{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:6px;text-decoration:none;vertical-align:-1px}
.zdstk .zlg u.a{background:var(--navy)}.zdstk .zlg u.b{background:#b89b5e}
.zdv2{display:grid;grid-template-columns:1.15fr 1fr;gap:10px}
.zdc{padding:11px 14px;border-radius:16px;background:var(--papel,#f4f3ef);min-width:0}
.zdc h5{margin:0 0 8px;font:700 10.5px Manrope,sans-serif;letter-spacing:.09em;text-transform:uppercase;color:var(--mut)}
.zmr{display:grid;grid-template-columns:96px 1fr auto;align-items:center;gap:8px;margin-bottom:6px;font:600 11.5px Manrope,sans-serif;color:#4b4a5e}
.zmr:last-child{margin-bottom:0}
.zmr span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.zmr i{display:block;height:10px;border-radius:6px;background:linear-gradient(90deg,var(--c) var(--w),#e4e1d8 var(--w))}
.zmr i.a{--c:var(--navy)}.zmr i.b{--c:#b89b5e}.zmr i.c{--c:#9497be}
.zmr em{font:800 11.5px Manrope,sans-serif;font-style:normal;color:var(--navy);min-width:64px;text-align:right}
.zdc svg{width:100%;height:46px;display:block}
.zdc .ax{stroke:#cfcbbd;stroke-width:2;stroke-linecap:round}
.zdc .o{fill:#02024266}
.zdc .h0{fill:#b89b5e33}
.zdc .h1{fill:#b89b5e;stroke:#fff;stroke-width:2}
.zdc .tk{font:700 9px Manrope,sans-serif;fill:#6b6a7d}
.zdc p{margin:4px 0 0;font:600 12px/1.35 Manrope,sans-serif;color:#4b4a5e}
.zdc p b{color:#8a6f3f;font-weight:800}
@keyframes dvRing{to{stroke-dashoffset:var(--o)}}
@keyframes dvBar{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@media(prefers-reduced-motion:reduce){.zdring .pr{animation:none;stroke-dashoffset:var(--o)}.zstk i{animation:none}}
/* simulador y botones, compactos */
html body #dlg .sim{padding:9px 14px!important;margin:0!important;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:4px 14px}
html body #dlg .sim h4{margin:0!important;font-size:14px!important}
html body #dlg .sim .seg{max-width:300px}
html body #dlg .sim .seg button{padding:7px 10px!important;font-size:13.5px!important}
html body #dlg .sim p,html body #dlg #sp{grid-column:1/-1;margin:2px 0 0!important;font-size:12.5px!important;line-height:1.4!important}
html body #dlg .dacc{position:static!important;margin-top:auto!important;padding:0!important;gap:10px!important}
html body #dlg .dacc .btn{min-height:48px!important;font-size:15px!important}
html body #dlg .dacc a.btn.n,html body #dlg .dacc a.btn.c{flex:1 1 0!important}
}
@media(min-width:901px) and (max-height:820px){html body #dlg .nota{display:none!important}html body #dlg .big>div{padding:7px 14px!important}html body #dlg .di{padding-top:20px!important;padding-bottom:16px!important}}
/* pantallas bajitas: se quita lo menos importante para no hacer scroll */
@media(min-width:901px) and (max-height:760px){
html body #dlg .sim p,html body #dlg #sp{display:none!important}
html body #dlg .nota{display:none!important}
html body #dlg .zdc svg{height:38px}
.zdv1{padding:8px 14px}.zdring,.zdring svg{flex-basis:70px;width:70px;height:70px}
}
@media(min-width:901px) and (max-height:660px){
html body #dlg .zdv2{display:none!important}
html body #dlg .sim{display:none!important}
}

/*grafica-1 27-oct: anillo limpio (el texto ya no se sale) y barra con montos y porcentajes dentro*/
@media(min-width:901px){
html body #dlg .zdv1{gap:18px!important;padding:12px 18px!important;align-items:center}
html body #dlg .zdring{position:static!important;flex:0 0 76px!important;width:76px!important;height:auto!important;display:flex!important;flex-direction:column;align-items:center;gap:5px}
html body #dlg .zdring .zrg{position:relative;display:block;width:72px;height:72px}
html body #dlg .zdring svg{width:72px!important;height:72px!important}
html body #dlg .zdring b{position:absolute!important;inset:0!important;display:flex!important;align-items:center;justify-content:center;font:800 19px/1 Sora,sans-serif!important;color:#020242!important;letter-spacing:-.02em}
html body #dlg .zdring small{display:block;margin:0!important;font:800 8.5px/1 Manrope,sans-serif!important;letter-spacing:.08em;text-transform:uppercase;color:#6b6a7d!important;white-space:nowrap}
html body #dlg .zh{margin:0 0 8px;font:600 12px/1.2 Manrope,sans-serif!important;color:#5b5d78}
html body #dlg .zh b{color:#020242;font-weight:800}
html body #dlg .zstk{height:24px!important;border-radius:12px!important}
html body #dlg .zstk i{display:flex!important;align-items:center;justify-content:center;overflow:hidden}
html body #dlg .zstk em{font:800 11.5px/1 Manrope,sans-serif!important;font-style:normal;color:#fff;white-space:nowrap;letter-spacing:.02em}
html body #dlg .zstk .b em{color:#020242}
html body #dlg .zlg{margin-top:8px!important;font-size:12px!important}
html body #dlg .zlg b{font-weight:800}
}
@media(min-width:901px) and (max-height:760px){html body #dlg .zdring .zrg,html body #dlg .zdring svg{width:60px!important;height:60px!important}html body #dlg .zdring{flex-basis:64px!important;width:64px!important}html body #dlg .zdring b{font-size:16px!important}html body #dlg .zh{margin-bottom:5px}}
