/* ============================================================================
   PROYECTO V3 — pestanas "Informacion general · Unidades disponibles" y el
   panel de unidades. Figma "Entrega 11" (One Twenty Brickell V3):
     subnav (sticky) 2477:5063 · Tabla 2477:6189 · Cuadricula 2477:6786 ·
     Movil 2477:7425. Valores leidos del panel de propiedades de Figma el
     8-oct-2026 (active/proyecto-v3/measurement-exact-proyecto-v3.md).
   Todo cuelga de `body.dlv2-proy`, que solo llevan las 213 paginas de
   proyecto V2 (build-proyectos-proto.js): no toca a las fichas de edificio
   (`dlv2-edif`), a las fichas MLS ni a nada mas que enlace delano-proto.css.
   El panel de unidades reutiliza el sistema `edv-*` de la ficha de edificio
   (assets/edificio-perfil.css, mismo archivo de Figma, mismos componentes),
   copiado y re-encerrado en `.dlv2-proy` para no acoplar las dos plantillas.
   ========================================================================== */

/* ---- PESTANAS: que se ve en cada una --------------------------------------
   `pv-js` lo pone el script en linea de la banda antes del primer pintado. Sin
   el (sin JS) no se oculta nada: todo apilado, pestanas = anclas. */
html.pv-js[data-pv-tab="info"] body.dlv2-proy [data-pv-solo="unidades"],
html.pv-js[data-pv-tab="unidades"] body.dlv2-proy :is(#galeria, #proyecto, #desarrollo, #especificaciones,
  #tipos, #opciones, #ubicacion, #amenidades, #por-que-invertir, #videos, #video, #transcripcion,
  #faq, #testimonios) { display: none !important; }
/* Sin inventario por unidad, la pestana ensena los planos reales (#plantas) bajo
   el aviso; con inventario, los planos se quedan solo en Informacion general. */
html.pv-js[data-pv-tab="unidades"] body.dlv2-proy.pv-con-unidades #plantas { display: none !important; }

/* ---- SUBNAV (2477:5063) ---------------------------------------------------- */
.dlv2-proy .dlv2-sub__tabs { align-self: stretch; align-items: stretch; gap: 32px; }
.dlv2-proy .dlv2-sub__t {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; line-height: 18px; font-weight: 600; color: #565656;
}
.dlv2-proy .dlv2-sub__t:hover { color: #072031; }
.dlv2-proy .dlv2-sub__t.is-activa { color: #072031; }
/* filete 2px #3b82f6 pegado al borde inferior de la banda (dentro de los 63+1) */
.dlv2-proy .dlv2-sub__t.is-activa::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #3b82f6;
}
/* contador 28x20: padding 2/7, radio 4, #f2f2f2, 600 11/16 */
.dlv2-proy .pv-sub__n {
  display: inline-block; min-width: 28px; height: 20px; padding: 2px 7px; box-sizing: border-box;
  border-radius: 4px; background: #f2f2f2; color: #072031;
  font-size: 11px; line-height: 16px; font-weight: 600; text-align: center;
}
/* "Ficha PDF": alto 40, radio 8, padding 0 16, hueco 6, borde 1 #d1d8e5, blanco */
.dlv2-proy .pv-btn-pdf {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 40px; padding: 0 16px; box-sizing: border-box;
  border: 1px solid #d1d8e5; border-radius: 8px; background: #ffffff; color: #072031;
  font-size: 13px; line-height: 18px; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.dlv2-proy .pv-btn-pdf:hover { border-color: #072031; }
.dlv2-proy .pv-ico { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
/* "Hablar con un asesor" de la banda: padding 0 24 (el boton base trae otro) */
.dlv2-proy .dlv2-sub__cta { padding: 0 24px; gap: 8px; }
.dlv2-proy .pv-wa { width: 18px; height: 18px; flex: none; fill: currentColor; }

/* Movil (2477:7488): banda de 48 con las DOS pestanas a partes iguales y
   filete inferior; se acaban las pildoras de V2. */
@media (max-width: 900px) {
  .dlv2-proy .dlv2-sub { border-bottom: 1px solid #d1d8e5; box-shadow: none; }
  .dlv2-proy .dlv2-sub__inner { height: 47px; padding: 0 16px; overflow: visible; }
  .dlv2-proy .dlv2-sub__tabs { width: 100%; gap: 0; }
  .dlv2-proy .dlv2-sub__t {
    flex: 1 1 0; justify-content: center; height: 47px; padding: 0; order: 0;
    border-radius: 0; box-shadow: none; background: transparent; color: #565656;
  }
  .dlv2-proy .dlv2-sub__t.is-activa { background: transparent; box-shadow: none; color: #072031; }
}

/* ---- BARRA MOVIL: boton PDF entre el precio y el CTA (2477:7792) ---------- */
.dlv2-proy .pv-barra__pdf { height: 40px; padding: 0 12px; margin-left: auto; margin-right: 8px; flex: none; }
.dlv2-proy .dlv2-barra__v { white-space: nowrap; }
.dlv2-proy .dlv2-barra__b { flex: none; }

/* ---- PANEL SIN INVENTARIO -------------------------------------------------- */
.dlv2-proy .pv { background: #f8fafc; padding: 48px 40px 24px; scroll-margin-top: 64px; }
.dlv2-proy .pv__in { max-width: 1280px; margin: 0 auto; }
.dlv2-proy .pv__head { margin-bottom: 24px; }
.dlv2-proy .pv__h2 { margin: 0; font-size: 32px; line-height: 40px; font-weight: 700; letter-spacing: -0.32px; color: #072031; }
@media (max-width: 999px) {
  .dlv2-proy .pv { padding: 28px 16px 16px; }
  .dlv2-proy .pv__h2 { font-size: 24px; line-height: 32px; }
}

/* ---- ALERTA DE PRECIO (2477:6672 escritorio · 2477:7693 movil) ------------
   Escritorio: fila 1280 x 138, radio 16, padding 28/32, hueco 32, #072031;
   campo 300 x 48 radio 8 padding 0 16, blanco, placeholder #697386; boton
   115 x 48 radio 8 padding 0 20 #3b82f6. Movil: columna 358, padding 20,
   hueco 10, campo y boton a lo ancho. Sin inventario va sola detras de
   #plantas (.pv-al-sec), sin el fondo ni el padding de arriba del panel. */
/* Mismo fondo que #plantas y #similares (#f8fafc): la banda sigue sin corte. */
.dlv2-proy .pv-al-sec { background: #f8fafc; padding: 0 40px 64px; }
.dlv2-proy .edv .pv-al { margin-top: 32px; }
.dlv2-proy .pv-al {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 28px 32px; background: #072031; border-radius: 16px; box-sizing: border-box;
}
.dlv2-proy .pv-al__t { min-width: 0; }
.dlv2-proy .pv-al__eb {
  margin: 0 0 6px; font-size: 12px; line-height: 16px; font-weight: 600;
  letter-spacing: 1.2px; text-transform: uppercase; color: #e5c179; /* Golden Hour, manual 2026 */
}
.dlv2-proy .pv-al__h { margin: 0 0 4px; font-size: 20px; line-height: 28px; font-weight: 600; color: #ffffff; }
.dlv2-proy .pv-al__s { margin: 0; font-size: 14px; line-height: 20px; color: rgba(255, 255, 255, 0.72); }
.dlv2-proy .pv-al__f { display: flex; gap: 12px; flex: none; }
.dlv2-proy .pv-al__in {
  width: 300px; height: 48px; padding: 0 16px; box-sizing: border-box;
  border: 0; border-radius: 8px; background: #ffffff;
  font: inherit; font-size: 14px; color: #072031;
}
.dlv2-proy .pv-al__in::placeholder { color: #697386; }
.dlv2-proy .pv-al__b {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 20px; box-sizing: border-box; border-radius: 8px;
  background: #3b82f6; color: #ffffff; font-size: 14px; font-weight: 600;
  text-decoration: none; white-space: nowrap;
}
.dlv2-proy .pv-al__b:hover { background: #2f6fd0; }
@media (max-width: 999px) {
  .dlv2-proy .pv-al-sec { padding: 0 16px 40px; }
  .dlv2-proy .pv-al { flex-direction: column; align-items: stretch; gap: 10px; padding: 20px; }
  .dlv2-proy .pv-al__f { flex-direction: column; gap: 10px; }
  .dlv2-proy .pv-al__in { width: 100%; }
}

/* ============================================================================
   PANEL CON INVENTARIO — sistema `edv-*` copiado de edificio-perfil.css
   (re-encerrado en .dlv2-proy) + los ajustes de la tabla de proyecto al final.
   ========================================================================== */
.dlv2-proy .edv { background: var(--h26-page); padding: 48px 40px 64px; scroll-margin-top: 64px; }
.dlv2-proy .edv__in { max-width: 1280px; margin: 0 auto; }
.dlv2-proy .edv [hidden] { display: none !important; }
.dlv2-proy .edv__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.dlv2-proy .edv__h2 { margin: 0; font-size: 32px; line-height: 40px; font-weight: 700; letter-spacing: -0.32px; color: var(--ink); }
.dlv2-proy .edv__sub { margin: 4px 0 0; font-size: 16px; line-height: 24px; color: var(--ink); }
.dlv2-proy .edv__areas { display: flex; align-items: center; gap: 12px; flex: none; }
.dlv2-proy .edv__areas-l { font-size: 13px; line-height: 18px; color: #697386; }
.dlv2-proy .edv__estado {
  background: #ffffff; border: 1px solid var(--mist); border-radius: 12px; color: var(--h26-grey);
}
/* Sin JS el "Cargando..." no avanzaria nunca: se oculta y queda el <noscript>. */
html:not(.pv-js) .dlv2-proy .edv__estado[data-ed-estado] { display: none; }
.dlv2-proy .edv-full { display: inline; }
.dlv2-proy .edv-mini { display: none; }
.dlv2-proy .edv-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* control segmentado (pies² | m², Tabla | Cuadricula): fondo --ivory, activo blanco */
.dlv2-proy .edv-seg { display: inline-flex; padding: 4px; border-radius: 8px; background: var(--ivory); gap: 0; }
.dlv2-proy .edv-seg__b {
  min-width: 52px; height: 31px; padding: 0 14px; border: 0; border-radius: 6px; background: transparent;
  font: inherit; font-size: 13px; line-height: 31px; font-weight: 600; color: var(--h26-grey); cursor: pointer;
}
.dlv2-proy .edv-seg__b:hover { color: var(--ink); }
.dlv2-proy .edv-seg__b.is-on { background: #ffffff; color: var(--ink); }

/* resumen: una caja blanca, 4 celdas */
.dlv2-proy .edv-sum {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #ffffff; border: 1px solid var(--mist); border-radius: 12px; margin-bottom: 24px;
}
.dlv2-proy .edv-sum__c { display: flex; flex-direction: column; gap: 4px; padding: 20.75px 24px; border-left: 1px solid var(--mist); min-width: 0; }
.dlv2-proy .edv-sum__c:first-child { border-left: 0; }
.dlv2-proy .edv-sum__v { font-size: 24px; line-height: 30px; font-weight: 700; letter-spacing: -0.24px; color: var(--ink); }
.dlv2-proy .edv-sum__l { font-size: 13px; line-height: 18px; color: var(--h26-grey); }

/* chips + controles */
.dlv2-proy .edv__bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 16px; margin-bottom: 25px; }
.dlv2-proy .edv__chips { display: flex; flex-wrap: wrap; gap: 8.5px; }
.dlv2-proy .edv__ctl { display: flex; align-items: center; flex-wrap: wrap; gap: 8.5px; margin-left: auto; position: relative; }
.dlv2-proy .edv-chip, .dlv2-proy .edv-dd__b {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 16px; box-sizing: border-box;
  border: 1px solid var(--mist); border-radius: 8px; background: #ffffff;
  font: inherit; font-size: 13px; line-height: 1; font-weight: 600; color: var(--ink); cursor: pointer; white-space: nowrap;
}
.dlv2-proy .edv-chip:hover, .dlv2-proy .edv-dd__b:hover { border-color: var(--h26-navy); }
.dlv2-proy .edv-chip.is-on { background: var(--h26-navy); border-color: var(--h26-navy); color: #ffffff; }
.dlv2-proy .edv-chip__n { font-size: 11px; font-weight: 600; color: #697386; }
.dlv2-proy .edv-chip.is-on .edv-chip__n { color: rgba(255, 255, 255, 0.7); }
.dlv2-proy .edv-dd { position: relative; }
.dlv2-proy .edv-dd__b.is-set { border-color: var(--h26-navy); }
.dlv2-proy .edv-chev { width: 10px; height: 6px; margin-left: 7px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dlv2-proy .edv-dd__pre { font-weight: 600; }
.dlv2-proy .edv-dd__m {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 25; min-width: 100%; max-height: 320px; overflow: auto;
  padding: 6px; background: #ffffff; border: 1px solid var(--mist); border-radius: 10px; box-shadow: 0 10px 28px rgba(7, 32, 49, 0.14);
}
.dlv2-proy .edv-dd__m--r { left: auto; right: 0; }
.dlv2-proy .edv-opt {
  display: block; width: 100%; padding: 9px 12px; border: 0; border-radius: 6px; background: transparent; text-align: left;
  font: inherit; font-size: 13px; line-height: 18px; color: var(--ink); white-space: nowrap; cursor: pointer;
}
.dlv2-proy .edv-opt:hover { background: var(--ivory); }
.dlv2-proy .edv-opt.is-on { font-weight: 700; }
.dlv2-proy .edv-dd--fm, .dlv2-proy .edv-seg--area-m { display: none; }

/* botones: "Ver unidad" = contorno azul (hover --h26-blue-ink) */
.dlv2-proy .edv-btn {
  display: inline-flex; align-items: center; justify-content: center; height: 36px; padding: 0 16px; box-sizing: border-box;
  border: 1px solid var(--h26-blue); border-radius: 8px; background: #ffffff; color: var(--h26-blue);
  font: inherit; font-size: 13px; line-height: 1; font-weight: 700; text-decoration: none; white-space: nowrap; cursor: pointer;
}
.dlv2-proy .edv-btn:hover { border-color: var(--h26-blue-ink); color: var(--h26-blue-ink); }

/* insignias (NUEVO, ULTIMO PISO) */
.dlv2-proy .edv-bds { display: flex; flex-wrap: wrap; gap: 4px; }
.dlv2-proy .edv-bd {
  display: inline-flex; align-items: center; height: 22px; padding: 0 10.5px; border-radius: 4px;
  background: var(--h26-gold); color: var(--ink); font-size: 11px; line-height: 1; font-weight: 700; letter-spacing: 0.385px; text-transform: uppercase; white-space: nowrap;
}

/* tabla */
.dlv2-proy .edv-t__box { background: #ffffff; border: 1px solid var(--mist); border-radius: 12px; overflow: hidden; }
.dlv2-proy .edv-t__w { overflow-x: auto; }
.dlv2-proy .edv-t { width: 100%; min-width: 1100px; border-collapse: collapse; }
/* Anchos minimos de columna del archivo (sin Piso, que se cortó); la de acciones se lleva el resto. */
.dlv2-proy .edv-t th:nth-child(1) { min-width: 114px; }
.dlv2-proy .edv-t th:nth-child(2) { min-width: 130px; }
.dlv2-proy .edv-t th:nth-child(3) { min-width: 90px; }
.dlv2-proy .edv-t th:nth-child(4) { min-width: 140px; }
.dlv2-proy .edv-t th:nth-child(5) { min-width: 100px; }
.dlv2-proy .edv-t th:nth-child(6) { min-width: 130px; }
.dlv2-proy .edv-t th:nth-child(7) { min-width: 140px; }
.dlv2-proy .edv-t th:nth-child(8) { min-width: 140px; }
.dlv2-proy .edv-t--renta th:nth-child(8) { min-width: 0; }
.dlv2-proy .edv-t th:last-child { width: 100%; min-width: 0; }
.dlv2-proy .edv-t th {
  height: 40.5px; padding: 0 8px; background: var(--ivory); border-bottom: 1px solid var(--mist); text-align: left;
  font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.6px; text-transform: uppercase; color: var(--h26-grey); white-space: nowrap;
}
.dlv2-proy .edv-t td { height: 65px; padding: 0 8px; border-top: 1px solid var(--mist); font-size: 13px; line-height: 18px; color: var(--ink); vertical-align: middle; white-space: nowrap; }
.dlv2-proy .edv-t tbody tr:first-child td { border-top: 0; }
.dlv2-proy .edv-t th:first-child, .dlv2-proy .edv-t td:first-child { padding-left: 24px; }
.dlv2-proy .edv-t th:last-child, .dlv2-proy .edv-t td:last-child { padding-right: 24px; text-align: right; }
.dlv2-proy .edv-t__u { font-size: 18px !important; line-height: 24px !important; font-weight: 700; letter-spacing: -0.18px; }
.dlv2-proy .edv-t__rb.has-bd { padding-top: 15px; padding-bottom: 15px; }
.dlv2-proy .edv-t__rb > span:first-child { display: block; }
.dlv2-proy .edv-t__rb .edv-bds { margin-top: 6px; }
.dlv2-proy .edv-t__p { font-weight: 700; }
.dlv2-proy .edv-t__box .edv-more--t {
  /* flex + space-between: asi cae el boton central en x=695-822 en el archivo (no en el centro de la caja) */
  margin-top: 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 52px; padding: 0 25px 0 24px;
  border-top: 1px solid var(--mist);
}
.dlv2-proy .edv-more__t { font-size: 13px; line-height: 18px; color: var(--h26-grey); }
.dlv2-proy .edv-more--t .edv-more__b { border: 0; background: none; padding: 0; font: inherit; font-size: 13px; font-weight: 700; color: var(--ink); cursor: pointer; }
.dlv2-proy .edv-more--t .edv-more__b:hover { text-decoration: underline; }
.dlv2-proy .edv-more__c { flex: none; min-width: 10px; color: var(--ink); line-height: 0; }
.dlv2-proy .edv-more__c .edv-chev { margin: 0 3px 0 0; }

/* cuadricula */
.dlv2-proy .edv-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.dlv2-proy .edv-card { display: flex; flex-direction: column; background: #ffffff; border: 1px solid var(--mist); border-radius: 12px; overflow: hidden; }
.dlv2-proy .edv-card__ph { position: relative; height: 200px; margin: -1px -1px 0; background: var(--ivory); }
.dlv2-proy .edv-card__ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dlv2-proy .edv-card__ph .edv-bds { position: absolute; left: 12px; top: 12px; }
.dlv2-proy .edv-card__fotos {
  position: absolute; right: 12px; top: 12px; height: 23.5px; padding: 0 8px; border: 0; border-radius: 6px; background: #ffffff;
  font: inherit; font-size: 12px; line-height: 1; font-weight: 700; color: var(--ink); cursor: pointer;
}
.dlv2-proy .edv-card__b { display: flex; flex-direction: column; flex: 1; padding: 16px; }
.dlv2-proy .edv-card__t { margin: 0; font-size: 18px; line-height: 24px; font-weight: 700; letter-spacing: -0.18px; color: var(--ink); }
.dlv2-proy .edv-card__s { margin: 4px 0 0; min-height: 18px; font-size: 13px; line-height: 18px; color: var(--h26-grey); }
.dlv2-proy .edv-sp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 12px 0 0; }
.dlv2-proy .edv-sp--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dlv2-proy .edv-sp dt { margin: 0; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.6px; text-transform: uppercase; color: #697386; }
.dlv2-proy .edv-sp dd { margin: 4px 0 0; font-size: 13px; line-height: 18px; font-weight: 600; color: var(--ink); }
.dlv2-proy .edv-card__f {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px;
  border-top: 1px solid var(--mist);
}
.dlv2-proy .edv-card__b > .edv-sp { margin-bottom: 14px; }
.dlv2-proy .edv-card__p { display: flex; flex-direction: column; min-width: 0; }
.dlv2-proy .edv-card__p strong { font-size: 18px; line-height: 24px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.dlv2-proy .edv-card__p span { font-size: 13px; line-height: 18px; color: var(--h26-grey); white-space: nowrap; }
.dlv2-proy .edv-card .edv-btn { height: 34.5px; }
.dlv2-proy .edv-more { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; min-height: 40px; }
.dlv2-proy .edv-more:not(.edv-more--t) .edv-more__b {
  height: 40px; padding: 0 20px; border: 1px solid var(--mist); border-radius: 8px; background: #ffffff;
  font: inherit; font-size: 13px; line-height: 1; font-weight: 700; color: var(--ink); cursor: pointer;
}
.dlv2-proy .edv-more:not(.edv-more--t) .edv-more__b:hover { border-color: var(--h26-navy); }
.dlv2-proy .edv-vacio { padding: 40px 24px; text-align: center; background: #ffffff; border: 1px solid var(--mist); border-radius: 12px; }
.dlv2-proy .edv-vacio p { margin: 0 0 16px; font-size: 14px; color: var(--h26-grey); }

/* ---- tablet / movil: tarjetas apiladas, sin tabla ni selector Tabla/Cuadricula ---- */
@media (max-width: 999px) {
  .dlv2-proy .edv { padding: 32px 16px 40px; }
  .dlv2-proy .edv__h2 { font-size: 28px; line-height: 34px; }
  .dlv2-proy .edv__sub { font-size: 14px; line-height: 20px; }
  .dlv2-proy .edv__head { margin-bottom: 16px; }
  .dlv2-proy .edv__areas { display: none; }
  .dlv2-proy .edv-full { display: none; }
  .dlv2-proy .edv-mini { display: inline; }
  .dlv2-proy .edv-sum { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 16px; }
  .dlv2-proy .edv-sum__c { padding: 14px 20px; }
  .dlv2-proy .edv-sum__c:nth-child(odd) { border-left: 0; }
  .dlv2-proy .edv-sum__c:nth-child(n+3) { border-top: 1px solid var(--mist); }
  .dlv2-proy .edv-sum__v { font-size: 22px; line-height: 28px; }
  .dlv2-proy .edv__bar { display: block; margin-bottom: 16px; }
  .dlv2-proy .edv__chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px; scrollbar-width: none; }
  .dlv2-proy .edv__chips::-webkit-scrollbar { display: none; }
  .dlv2-proy .edv-chip { height: 34px; padding: 0 14px; flex: none; }
  .dlv2-proy .edv__ctl { margin: 12px 0 0; flex-wrap: nowrap; }
  .dlv2-proy .edv-dd--fil, .dlv2-proy .edv-seg--modo { display: none; }
  .dlv2-proy .edv-dd--fm { display: block; position: static; flex: 1 1 0; }
  .dlv2-proy .edv-dd--ord { flex: 1 1 0; }
  .dlv2-proy .edv-seg--area-m { display: inline-flex; flex: none; }
  .dlv2-proy .edv-dd--fm .edv-dd__b, .dlv2-proy .edv-dd--ord .edv-dd__b { width: 100%; height: 40px; justify-content: space-between; }
  .dlv2-proy .edv-seg--area-m { padding: 4px; }
  .dlv2-proy .edv-seg--area-m .edv-seg__b { min-width: 44px; padding: 0 10px; height: 32px; line-height: 32px; }
  .dlv2-proy .edv-dd__pre { display: none; }
  .dlv2-proy .edv-dd__m--fp { left: 0; right: 0; min-width: 0; padding: 12px; }
  .dlv2-proy .edv-fp__t { margin: 4px 0 8px; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.6px; text-transform: uppercase; color: #697386; }
  .dlv2-proy .edv-fp__o { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
  .dlv2-proy .edv-fp__o .edv-opt { width: auto; padding: 8px 12px; border: 1px solid var(--mist); border-radius: 8px; }
  .dlv2-proy .edv-fp__o .edv-opt.is-on { background: var(--h26-navy); border-color: var(--h26-navy); color: #ffffff; }
  .dlv2-proy .edv-g { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .dlv2-proy .edv-card--m { padding: 16px; }
  .dlv2-proy .edv-card--m .edv-card__h { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
  .dlv2-proy .edv-card--m .edv-card__s { margin-top: 2px; }
  .dlv2-proy .edv-card--m .edv-sp { display: flex; gap: 16px; margin-top: 12px; }
  .dlv2-proy .edv-card--m .edv-card__f { margin-top: 12px; padding-top: 13px; }
  .dlv2-proy .edv-card--m .edv-btn { height: 36px; }
  .dlv2-proy .edv-more { margin-top: 16px; flex-direction: column; align-items: stretch; }
  .dlv2-proy .edv-more__t { display: none; }
  .dlv2-proy .edv-more .edv-more__b { width: 100%; }
}
@media (max-width: 639px) {
  .dlv2-proy .edv-g { grid-template-columns: minmax(0, 1fr); }
}


/* ---- Ajustes de PROYECTO sobre el sistema edv (valores del panel de Figma) ---- */
/* seccion: padding 48 40 64, hueco 24 */
.dlv2-proy .pv.edv { padding: 48px 40px 64px; }
/* resumen 1280x96, celdas padding 20/24, hueco 2; cifra 700 24/32; rotulo 400 13/20 */
.dlv2-proy .edv-sum__c { padding: 20px 24px; gap: 2px; }
.dlv2-proy .edv-sum__v { line-height: 32px; letter-spacing: 0; }
.dlv2-proy .edv-sum__l { line-height: 20px; }
/* chips 36 alto, padding 0 14, hueco 8; controles 40 alto */
.dlv2-proy .edv-chip { padding: 0 14px; gap: 8px; }
.dlv2-proy .edv__chips, .dlv2-proy .edv__ctl { gap: 8px; }
.dlv2-proy .edv-dd__b { height: 40px; padding: 0 14px; }
/* segmentado: caja padding 4 hueco 4 radio 8; segmento 32 alto padding 0 14 radio 4, sombra 0 1 3 8% */
.dlv2-proy .edv-seg { gap: 4px; }
.dlv2-proy .edv-seg__b { height: 32px; line-height: 32px; border-radius: 4px; }
.dlv2-proy .edv-seg__b.is-on { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); }
/* tabla de proyecto: 9 columnas de datos + acciones (anchos del archivo) */
.dlv2-proy .edv-t { min-width: 1230px; }
.dlv2-proy .edv-t th:nth-child(1) { min-width: 90px; }
.dlv2-proy .edv-t th:nth-child(2) { min-width: 170px; }
.dlv2-proy .edv-t th:nth-child(3) { min-width: 110px; }
.dlv2-proy .edv-t th:nth-child(4) { min-width: 100px; }
.dlv2-proy .edv-t th:nth-child(5) { min-width: 90px; }
.dlv2-proy .edv-t th:nth-child(6) { min-width: 100px; }
.dlv2-proy .edv-t th:nth-child(7) { min-width: 120px; }
.dlv2-proy .edv-t th:nth-child(8) { min-width: 130px; }
.dlv2-proy .edv-t th:nth-child(9) { min-width: 110px; }
/* cabecera 40 (padding 12/24); filas 65, 77 con insignia (padding 14/24) */
.dlv2-proy .edv-t th { height: 40px; padding: 0; }
.dlv2-proy .edv-t td { height: 65px; padding: 0; }
.dlv2-proy .edv-t th:first-child, .dlv2-proy .edv-t td:first-child { padding-left: 24px; }
.dlv2-proy .edv-t th:last-child, .dlv2-proy .edv-t td:last-child { padding-right: 24px; }
.dlv2-proy .edv-t__tp.has-bd { padding-top: 14px; padding-bottom: 14px; height: 77px; }
.dlv2-proy .edv-t__tp > span:first-child { display: block; }
.dlv2-proy .edv-t__tp .edv-bds { margin-top: 4px; }
.dlv2-proy .edv-t__a { white-space: nowrap; }
.dlv2-proy .edv-t__a > * + * { margin-left: 8px; }
/* pie de la tabla 53: padding 16/24, filete superior */
.dlv2-proy .edv-t__box .edv-more--t { height: 53px; padding: 0 24px; }
/* "Ver unidad": 36 alto, padding 0 14, borde 1 #3b82f6, radio 8 */
.dlv2-proy .edv-btn { padding: 0 14px; }
/* boton PDF compacto (por unidad, solo si la unidad trae su PDF) */
.dlv2-proy .edv-btn--pdf { border-color: #d1d8e5; color: #072031; gap: 6px; }
.dlv2-proy .edv-btn--pdf:hover { border-color: #072031; color: #072031; }
/* tarjeta de cuadricula 410.67 x 401: foto 200, cuerpo padding 16, hueco 12 */
.dlv2-proy .edv-card__b { padding: 16px; }
.dlv2-proy .edv-card__f { gap: 8px; }
.dlv2-proy .edv-card__btns { display: flex; gap: 8px; flex: none; }
.dlv2-proy .edv-card__ph.is-vacia { display: none; }
/* "Ver plano" (pildora blanca arriba a la derecha de la foto) */
.dlv2-proy .edv-card__plano {
  position: absolute; right: 12px; top: 12px; display: inline-flex; align-items: center; height: 24px; padding: 0 8px;
  border-radius: 6px; background: #ffffff; color: #072031; font-size: 12px; font-weight: 700; text-decoration: none;
}
@media (max-width: 999px) {
  .dlv2-proy .pv.edv { padding: 28px 16px 40px; }
  /* tarjeta movil 358 x 201: padding 16, hueco 12 */
  .dlv2-proy .edv-g--m { gap: 12px; }
  /* "Ver 18 unidades mas": 44 alto a todo el ancho */
  .dlv2-proy .edv-more:not(.edv-more--t) .edv-more__b { height: 44px; }
}

/* --- RESIDENCIAS (plantas) V3, 2477:5198 / 2477:5817 --------------------
   Escritorio: antetitulo "Residencias" (600 13/18, LS 10%, mayusculas,
   #866B44), cabecera apilada con los botones DEBAJO (hueco 20) y en fila
   (hueco 12). Movil: sin antetitulo; botones a lo ancho, orden
   Ver unidades / planos / brochure. Inter en el archivo -> Host Grotesk. */
body.dlv2-proy .dlv2-pl__head { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 20px; }
body.dlv2-proy .pv-pl-eb {
  margin: 0 0 4px;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: #866b44;
}
@media (max-width: 900px) {
  body.dlv2-proy .pv-pl-eb { display: none; }
  body.dlv2-proy .dlv2-pl__dl .pv-pl-ver { order: -3; }
  body.dlv2-proy.pv-con-unidades .dlv2-pl__dl > :last-child { order: -2; }
}
