/* Grupo Nórdico — Nórdico Lotes › Ventas (public/ventas.js): clases vt-. Mobile first (390 px): una columna, nada desborda;
   desde 900 px, el detalle en dos columnas y las etapas lado a lado. */
.vt { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.vt .sec-h { margin-bottom: 10px; gap: 8px; flex-wrap: wrap; }
.vt .sec-h h2 { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.vt-tabs { align-self: flex-start; max-width: 100%; overflow-x: auto; flex-wrap: nowrap; }
.vt-tabs button { white-space: nowrap; }
.vt-cols { display: grid; grid-template-columns: 1fr; gap: 14px; }
.vt-col { min-width: 0; }
/* una venta en curso en una lista */
.vt-f { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; width: 100%; text-align: left; border: 1px solid var(--linea-2); background: var(--hielo-2);
  border-radius: 10px; padding: 9px 11px; margin-bottom: 6px; cursor: pointer; font: inherit; color: inherit; min-width: 0; }
.vt-f:hover { border-color: var(--azul-2); background: #fff; }
.vt-f-i { display: flex; flex-direction: column; gap: 2px; flex: 1 1 200px; min-width: 0; overflow-wrap: anywhere; }
.vt-f-d { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.vt-cli { font-weight: 650; }
/* el cronograma */
.vt-crg.vt-pasadas { border: 1px solid #f1c7c7; }
.vt-cr { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--linea); cursor: pointer; min-width: 0; }
.vt-cr:last-child { border-bottom: 0; }
.vt-cr-h { display: flex; flex-direction: column; min-width: 64px; }
.vt-cr-h b { font: 700 16px var(--fm); color: var(--azul-9); }
.vt-cr-c { flex: 1; min-width: 0; overflow-wrap: anywhere; display: flex; flex-direction: column; gap: 3px; }
/* el detalle */
.vt-cab { display: flex; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.vt-cab h2 { margin: 0 0 2px; font-size: 19px; overflow-wrap: anywhere; }
.vt-pasos { display: flex; flex-wrap: wrap; gap: 6px; }
.vt-paso { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; background: var(--hielo-2); border: 1px solid var(--linea-2); font-size: 12.5px; color: var(--gris-6, #5b6680); }
.vt-paso.ok { background: #e6f4ea; border-color: #b7dfc3; color: #17663a; }
.vt-paso.aca { background: #fff; border-color: var(--azul-2); color: var(--azul-9); font-weight: 650; }
.vt-g { display: grid; grid-template-columns: 1fr; gap: 14px; }
.vt-c { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.vt-sub { font-size: 12px; font-weight: 650; text-transform: uppercase; letter-spacing: .04em; color: var(--gris-6, #5b6680); margin: 4px 0 6px; }
.vt-rev { display: flex; flex-direction: column; gap: 4px; }
.vt-rev-i { display: flex; align-items: flex-start; gap: 8px; padding: 6px 0; border-bottom: 1px dashed var(--linea); cursor: pointer; font-size: 14px; }
.vt-rev-i input { margin-top: 3px; width: 17px; height: 17px; flex: none; }
.vt-corr { border-left: 3px solid var(--linea-2); padding: 4px 0 4px 10px; margin-top: 8px; display: flex; flex-direction: column; gap: 3px; overflow-wrap: anywhere; }
.vt-contacto { display: flex; flex-direction: column; gap: 4px; padding: 10px; border-radius: 10px; background: var(--hielo-2); border: 1px solid var(--linea-2); overflow-wrap: anywhere; }
.vt-lotes { display: flex; flex-direction: column; gap: 6px; margin: 10px 0; overflow-wrap: anywhere; }
.vt-tit { margin-top: 2px; }
.vt-propio { margin: 10px 0; }
.vt-propio summary { cursor: pointer; color: var(--azul-9); }
.vt-form { min-width: 0; }
.vt-fs { border: 1px solid var(--linea-2); border-radius: 12px; padding: 8px 12px 2px; margin: 12px 0 0; min-width: 0; }
.vt-fs legend { font-weight: 650; font-size: 13px; padding: 0 6px; }
.vt-campos { display: grid; grid-template-columns: 1fr; gap: 0 12px; }
.vt-campos .campo { min-width: 0; }
.vt-campos .inp { width: 100%; min-width: 0; }
.vt-en { color: var(--azul-2); font-weight: 800; }
.vt-rc .vt-form { margin-top: 10px; }
#vt-orig { max-width: 100%; min-width: 0; }
@media (min-width: 560px) {
  .vt-campos { grid-template-columns: 1fr 1fr; }
  .vt-campos .vt-ancho { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .vt-g { grid-template-columns: 1.25fr 1fr; align-items: start; }
  .vt-cols { grid-template-columns: repeat(2, 1fr); align-items: start; }
}
@media (min-width: 1280px) {
  .vt-cols { grid-template-columns: repeat(4, 1fr); }
}
