/* Nómina «tal cual Connecteam» (2026-10-08): Hoy, Hojas de horas, Personas, Políticas y Ajustes (public/js/nomina/*.js). Prefijo .hz- */
.hz-top { gap: 10px; margin-bottom: 14px; align-items: center; } .hz-top .pr-tabs { margin-bottom: 0; min-width: 0; }
.hz-suc { width: auto; max-width: 240px; height: 40px; font-weight: 700; }
.hz-cont { gap: 12px; }
.hz-barra { gap: 10px; align-items: center; }
.hz-nav { display: flex; align-items: center; gap: 8px; } .hz-nav-t { display: flex; flex-direction: column; min-width: 150px; line-height: 1.2; } .hz-nav-t b { font-size: 16px; }
.hz-buscar { width: 220px; } .hz-barra .select { width: auto; min-width: 150px; height: 38px; }
.hz-aviso { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; max-width: none; margin: 0; padding: 10px 14px; border-radius: var(--r-md); background: var(--warn-soft); }
.hz-aviso:not(.warn) { background: var(--card-2); } .hz-aviso .icon { width: 18px; height: 18px; flex: none; }
.hz-oculto { display: none !important; }
.hz-pop-t { padding: 8px 12px 2px; font-size: 11.5px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }

/* tarjetas de arriba (Marcando ahora · Asistencia · Pago) */
.hz-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.hz-card { padding: 16px 18px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 2px; }
.hz-card-n { font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; } .hz-card-l { font-weight: 700; }
.hz-card.vivo .hz-card-n { color: var(--ok); }

/* tira de totales: Regulares + Extra + Tiempo libre = Total | descansos */
.hz-tira { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 12px 16px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.hz-tira > div { display: flex; flex-direction: column; line-height: 1.2; } .hz-tira b { font-size: 17px; font-variant-numeric: tabular-nums; } .hz-tira span { font-size: 12px; color: var(--muted); }
.hz-tira > i { font-style: normal; color: var(--muted); font-weight: 700; } .hz-tira > i.sep { width: 1px; align-self: stretch; background: var(--line); margin: 0 4px; }
.hz-tira > .fuerte b { color: var(--primary); } :root[data-theme='dark'] .hz-tira > .fuerte b { color: var(--accent); }
.hz-tira > .pago { margin-left: auto; text-align: right; } .hz-tira.compacta { padding: 10px 14px; } .hz-tira.compacta b { font-size: 15px; }

/* HOY */
.hz-hoy-grid { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 12px; align-items: start; }
.hz-tabla { padding: 0; overflow: hidden; }
.hz-hoy-cab, .hz-hoy-p { display: grid; grid-template-columns: 210px minmax(0, 1fr) 300px; gap: 12px; padding: 10px 14px; }
.hz-hoy-cab { background: var(--card-2); font-size: 12.5px; font-weight: 700; color: var(--muted); grid-template-columns: 210px 110px 90px 90px minmax(0, 1fr) 300px; }
.hz-hoy-cab span:nth-child(5) { visibility: hidden; } .hz-hoy-cab span:last-child { text-align: right; }
.hz-hoy-p { border-top: 1px solid var(--line); cursor: pointer; transition: background var(--t) var(--ease); align-items: start; } .hz-hoy-p:hover { background: var(--card-2); }
.hz-hoy-p.adentro { box-shadow: inset 3px 0 0 var(--ok); } .hz-hoy-p.pausa { box-shadow: inset 3px 0 0 var(--warn); }
.hz-hoy-quien, .hz-quien, .hz-p-quien { display: flex; align-items: center; gap: 10px; min-width: 0; }
.hz-nombre { display: block; overflow-wrap: anywhere; line-height: 1.25; }
.hz-incs { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 3px; }
.hz-hoy-ents { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.hz-ent { display: grid; grid-template-columns: 110px 90px 90px minmax(0, 1fr); gap: 8px; align-items: center; font-size: 14px; min-height: 26px; }
.hz-ent-tipo { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; } .hz-ent-tipo .icon { width: 15px; height: 15px; color: var(--muted); flex: none; }
.hz-ent.descanso { color: var(--warn-text); } .hz-ent.descanso .icon { color: var(--warn-text); } .hz-ent.libre .icon { color: var(--ok-text); }
.hz-ent-h { font-variant-numeric: tabular-nums; white-space: nowrap; }
.hz-job { display: inline-block; max-width: 100%; padding: 2px 8px; border-radius: 8px; background: var(--primary-soft); color: var(--primary); font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
:root[data-theme='dark'] .hz-job { color: var(--accent); }
.hz-ayer { color: var(--muted); font-size: 12px; } .hz-mano { color: var(--muted); }
.hz-vivo { display: inline-flex; align-items: center; gap: 6px; color: var(--ok-text); font-weight: 700; } .hz-pausa { display: inline-flex; align-items: center; gap: 5px; color: var(--warn-text); font-weight: 700; } .hz-pausa .icon { width: 14px; height: 14px; }
.hz-hoy-tot { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; text-align: right; }
.hz-hoy-tot div { display: flex; flex-direction: column; line-height: 1.2; } .hz-hoy-tot span { font-size: 11px; color: var(--muted); } .hz-hoy-tot b { font-variant-numeric: tabular-nums; }
.hz-hoy-tot .extra b, .hz-td.extra, .hz-td.extra b { color: var(--warn-text); }
.hz-act { position: sticky; top: 8px; max-height: 70vh; overflow: auto; }
.hz-act-l { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; } .hz-act-l li { display: flex; gap: 10px; align-items: flex-start; }
.hz-act-ic { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--card-2); } .hz-act-ic .icon { width: 15px; height: 15px; }
.hz-act-ic.in { background: var(--ok-soft); color: var(--ok-text); } .hz-act-ic.out { background: var(--card-3); } .hz-act-ic.pausa { background: var(--warn-soft); color: var(--warn-text); }

/* HOJAS DE HORAS (tabla por período) */
.hz-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.hz-grid { display: grid; width: 100%; }
.hz-th, .hz-td { padding: 9px 10px; display: flex; align-items: center; min-width: 0; border-bottom: 1px solid var(--line); }
.hz-th { background: var(--card-2); font-size: 12.5px; font-weight: 700; color: var(--muted); position: sticky; top: 0; z-index: 1; white-space: nowrap; }
.hz-th.hoy { color: var(--primary); } :root[data-theme='dark'] .hz-th.hoy { color: var(--accent); }
.hz-th.c, .hz-td.c { justify-content: center; text-align: center; } .hz-th.r, .hz-td.r { justify-content: flex-end; text-align: right; font-variant-numeric: tabular-nums; }
.hz-hojas .hz-td { cursor: pointer; } .hz-hojas .hz-td.r, .hz-hojas .hz-td.c:last-child { cursor: default; }
.hz-th.fijo, .hz-td.fijo { position: sticky; left: 0; z-index: 2; background: var(--card); } .hz-th.fijo { background: var(--card-2); z-index: 3; }
.hz-td.vacio { color: var(--muted); padding: 16px; cursor: default; }
.hz-dia { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 50px; height: 28px; padding: 0 6px; border-radius: 8px; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.hz-dia.vacio { color: var(--muted); font-weight: 500; }
.hz-dia.n1 { background: #e3efcf; color: #143601; } .hz-dia.n2 { background: #c7e3a3; color: #143601; } .hz-dia.n3 { background: #8fc45a; color: #0f1a08; } .hz-dia.n4 { background: #3f7d1f; color: #fff; }
.hz-dia.extra { box-shadow: inset 0 0 0 2px var(--warn); } .hz-dia.libre { background: var(--ok-soft); color: var(--ok-text); }
:root[data-theme='dark'] .hz-dia.n1 { background: #23361a; color: #cdf2a0; } :root[data-theme='dark'] .hz-dia.n2 { background: #2f4f1d; color: #dff7c2; } :root[data-theme='dark'] .hz-dia.n3 { background: #4d7d27; color: #fff; } :root[data-theme='dark'] .hz-dia.n4 { background: #6aa82e; color: #0f1a08; }
.hz-aprob { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 12px; border-radius: var(--r-pill); font-weight: 700; font-size: 13px; background: var(--card-2); color: var(--text); border: 1px solid var(--line); cursor: pointer; }
.hz-aprob:hover { background: var(--card-3); } .hz-aprob.ok { background: var(--ok-soft); color: var(--ok-text); border-color: transparent; } .hz-aprob .icon { width: 14px; height: 14px; }

/* la hoja de una persona */
.modal.wide.hz-modal-hoja { width: min(1180px, 100%); }
.hz-hoja { gap: 12px; } .hz-hoja-nav { gap: 8px; }
.hz-hoja-inc { display: flex; flex-direction: column; gap: 6px; padding: 10px 14px; border-radius: var(--r-md); background: var(--danger-soft); color: var(--danger-text); }
.hz-hoja-inc > b { display: inline-flex; align-items: center; gap: 6px; } .hz-hoja-inc .icon { width: 16px; height: 16px; }
.hz-hoja-grid { min-width: 1040px; grid-template-columns: 112px 158px 96px 130px 130px minmax(120px, 1fr) 48px 84px 84px 70px; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.hz-hoja-grid .hz-td { font-size: 14px; } .hz-hoja-grid .hz-th { position: static; }
.hz-fecha { flex-direction: column; align-items: flex-start !important; justify-content: center; gap: 2px; background: var(--card-2); } .hz-fecha.hoy b { color: var(--primary); }
.hz-tipo { gap: 6px; flex-wrap: wrap; font-weight: 600; } .hz-tipo .icon { width: 15px; height: 15px; color: var(--muted); } .hz-tipo.descanso, .hz-tipo.descanso .icon { color: var(--warn-text); }
.hz-hoja-grid .hz-td:nth-child(10n + 6) { flex-direction: column; align-items: flex-start; justify-content: center; }
.hz-nota { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hz-ajustes { display: flex; flex-direction: column; gap: 8px; }

/* PERSONAS */
.hz-subtabs { flex: none; }
.hz-prow { display: grid; grid-template-columns: minmax(220px, 1.6fr) 130px 120px 100px 130px 96px 80px 100px 36px; gap: 10px; align-items: center; padding: 9px 14px; border-bottom: 1px solid var(--line); cursor: pointer; min-width: max-content; }
.hz-prow:hover { background: var(--card-2); } .hz-prow.cab { cursor: default; font-size: 12.5px; font-weight: 700; color: var(--muted); background: var(--card-2); padding: 8px 14px; }
.hz-prow.off > .hz-p-quien .avatar { opacity: .55; } .hz-prow .r { text-align: right; justify-content: flex-end; }
.hz-p-c { font-size: 14px; min-width: 0; overflow-wrap: anywhere; } .hz-p-c .pr-code { font-size: 14px; padding: 2px 8px; }
.hz-tarifas { display: flex; flex-direction: column; gap: 6px; } .hz-tarifa { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 10px; background: var(--card-2); }

/* POLÍTICAS */
.hz-pols { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; }
.hz-pol { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: var(--r-md); background: var(--card-2); border: 1px solid var(--line); }
.hz-pol-reglas { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: flex-end; } .hz-pol-reglas > div { display: flex; flex-direction: column; } .hz-pol-reglas span { font-size: 12px; color: var(--muted); }
.hz-pol-txt { flex-basis: 100%; font-size: 13.5px; color: var(--text-2); }
.hz-pol-gente { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.hz-regla { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); } .hz-regla:first-of-type { border-top: 0; } .hz-regla .input { width: 90px; }
.hz-asig { display: flex; flex-direction: column; max-height: 52vh; overflow: auto; border: 1px solid var(--line); border-radius: var(--r-md); }
.hz-asig-it { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-bottom: 1px solid var(--line); cursor: pointer; } .hz-asig-it:last-child { border-bottom: 0; } .hz-asig-it:hover { background: var(--card-2); }
.hz-asig-it input { width: 18px; height: 18px; accent-color: var(--primary); flex: none; }
.hz-dos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; } .hz-dos > * { min-width: 0; }
.hz-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.hz-chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 6px 0 12px; border-radius: var(--r-pill); background: var(--card-2); font-weight: 600; font-size: 14px; }
.hz-chip button { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); } .hz-chip button:hover { background: var(--card-3); color: var(--text); } .hz-chip .icon { width: 13px; height: 13px; }

/* AJUSTES */
.hz-frase { color: var(--text-2); margin: 0; } .hz-guardar { justify-content: flex-end; position: sticky; bottom: 8px; }

/* KIOSCO: tercer botón (descanso) y elegir trabajo */
.ck-acciones.tres { grid-template-columns: 1fr 1fr 1fr; } .ck-accion.pausa { background: #b7791f; }
.ck-conf-ic.pausa { background: #b7791f; }
.ck-trabajos { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; width: 100%; }
.ck-trabajo { height: 38px; padding: 0 14px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .08); color: inherit; font-weight: 700; border: 1px solid rgba(255, 255, 255, .15); cursor: pointer; } .ck-trabajo.on { background: var(--ok); border-color: transparent; color: #fff; }

@media (max-width: 1100px) {
  .hz-hoy-grid { grid-template-columns: 1fr; } .hz-act { position: static; max-height: none; }
}
@media (max-width: 900px) {
  .hz-cards { grid-template-columns: 1fr 1fr; } .hz-cards .hz-card:last-child { grid-column: 1 / -1; }
  .hz-hoy-cab { display: none; }
  .hz-hoy-p { grid-template-columns: 1fr; gap: 8px; }
  .hz-hoy-tot { grid-template-columns: repeat(4, 1fr); text-align: left; }
  .hz-ent { grid-template-columns: 1fr auto auto; } .hz-ent-job { display: none; }
  .hz-dos { grid-template-columns: 1fr; }
  .hz-tira > .pago { margin-left: 0; text-align: left; }
}
@media (max-width: 640px) {
  .hz-buscar, .hz-suc { width: 100%; max-width: none; } .hz-top .hz-suc { order: -1; }
  .hz-cards { grid-template-columns: 1fr; } .hz-cards .hz-card { padding: 12px 14px; } .hz-card-n { font-size: 24px; }
  .hz-tira { gap: 6px 10px; padding: 10px 12px; } .hz-tira b { font-size: 15px; } .hz-tira > i.sep { flex-basis: 100%; height: 1px; width: auto; margin: 2px 0; }
  .hz-hoy-tot { grid-template-columns: 1fr 1fr; } .hz-nav-t { min-width: 0; }
  .ck-acciones.tres { grid-template-columns: 1fr 1fr; } .ck-acciones.tres .ck-accion.pausa { grid-column: 1 / -1; order: 3; }
}

/* TIEMPO LIBRE */
.hz-lrow { display: grid; grid-template-columns: minmax(200px, 1.5fr) repeat(4, minmax(90px, 1fr)); gap: 10px; align-items: center; padding: 9px 12px; border-bottom: 1px solid var(--line); cursor: pointer; min-width: max-content; }
.hz-lrow:hover { background: var(--card-2); } .hz-lrow.cab { cursor: default; font-size: 12.5px; font-weight: 700; color: var(--muted); background: var(--card-2); } .hz-lrow .r { text-align: right; }
.hz-libre { border: 1px solid var(--line); border-radius: var(--r-md); overflow: auto hidden; -webkit-overflow-scrolling: touch; }   /* 2026-11-16: en el celular las columnas quedaban cortadas y sin forma de deslizarlas */
.hz-regs { display: flex; flex-direction: column; gap: 6px; max-height: 60vh; overflow: auto; }
.hz-reg .grow b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .hz-reg { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--card-2); } .hz-reg-f { width: 84px; flex: none; font-size: 13.5px; }

/* la hoja en el teléfono (bloques por día) */
.hz-mlista { display: none; flex-direction: column; gap: 8px; }
.hz-mdia { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; } .hz-mdia.hoy { border-color: var(--primary); }
.hz-mdia-cab { display: flex; align-items: center; gap: 8px; padding: 8px 10px 8px 12px; background: var(--card-2); font-size: 14px; }
.hz-ment { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-top: 1px solid var(--line); font-size: 14.5px; cursor: pointer; } .hz-ment > .icon { width: 16px; height: 16px; color: var(--muted); flex: none; }
.hz-ment.descanso, .hz-ment.descanso > .icon { color: var(--warn-text); } .hz-ment b { font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .hz-solo-ancho { display: none; } .hz-mlista { display: flex; }
  .hz-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .hz-cards .hz-card:last-child { grid-column: auto; }
  .hz-card { padding: 10px 12px; min-width: 0; } .hz-card-n { font-size: 18px; overflow-wrap: anywhere; } .hz-card-l { font-size: 12.5px; line-height: 1.2; } .hz-card .tiny { display: none; }
  .hz-prow { grid-template-columns: minmax(0, 1fr) auto auto 36px; min-width: 0; padding: 9px 10px; }
  .hz-prow > :nth-child(2), .hz-prow > :nth-child(3), .hz-prow > :nth-child(4), .hz-prow > :nth-child(5), .hz-prow > :nth-child(8) { display: none; }
}
.hz-hoja-grid .hz-td:nth-child(10n + 4), .hz-hoja-grid .hz-td:nth-child(10n + 5) { white-space: nowrap; }

/* el menú ⋯ / Agregar se abre también desde un diálogo: va por encima del fondo del diálogo */
.pr-pop { z-index: 400; }

/* PERSONAS (rediseño 2026-10-12): resumen arriba, filtros rápidos y una tarjeta por persona (public/js/nomina/personas.js). Prefijo .np- */
.np-resumen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.np-kpi { position: relative; min-width: 0; } .np-kpi .hz-card-n small { font-size: 15px; font-weight: 700; color: var(--muted); margin-left: 2px; }
.np-kpi-btn { font: inherit; color: inherit; text-align: left; cursor: pointer; transition: border-color var(--t-fast), transform var(--t-fast); } .np-kpi-btn:hover { border-color: var(--ok); } .np-kpi-btn:active { transform: scale(.99); }
.np-kpi.vivo .hz-card-n { color: var(--ok); }
.np-kpi-ic { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); }
.np-kpi-ic.ok { background: var(--ok-soft); color: var(--ok-text); } .np-kpi-ic .icon { width: 18px; height: 18px; }
.np-tipos { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.np-rep { gap: 8px; } .np-barras { display: flex; flex-direction: column; gap: 6px; }
.np-barra { display: grid; grid-template-columns: minmax(0, 1fr) minmax(40px, 1.2fr) auto; gap: 8px; align-items: center; font-size: 13px; }
.np-barra-n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .np-barra b { font-variant-numeric: tabular-nums; min-width: 18px; text-align: right; }
.np-barra-t { height: 8px; border-radius: 99px; background: var(--card-2); overflow: hidden; } .np-barra-t i { display: block; height: 100%; border-radius: 99px; background: var(--primary); min-width: 6px; }

.np-barra-top { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.np-barra-der { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } .np-barra-der .hz-buscar { width: 260px; }
.np-vista { display: inline-flex; padding: 3px; gap: 2px; border-radius: var(--r-pill); background: var(--card-2); border: 1px solid var(--line); }
.np-vista-b { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border: 0; border-radius: var(--r-pill); background: transparent; color: var(--text-2); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.np-vista-b .icon { width: 15px; height: 15px; } .np-vista-b.on { background: var(--card); color: var(--text); box-shadow: var(--shadow); }
.np-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.np-chip { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--card); color: var(--text-2); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: background var(--t-fast), border-color var(--t-fast); }
.np-chip b { font-size: 12px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; display: grid; place-items: center; background: var(--card-2); color: var(--text); font-variant-numeric: tabular-nums; }
.np-chip:hover { border-color: var(--primary); } .np-chip.on { background: var(--primary); border-color: var(--primary); color: var(--on-primary); } .np-chip.on b { background: rgba(255, 255, 255, .22); color: inherit; }
.np-chip.vivo .dot { background: var(--ok); } .np-chip.warn:not(.on) b { background: var(--danger-soft); color: var(--danger-text); }

.np-cuerpo { display: flex; flex-direction: column; gap: 18px; }
.np-vacio { padding: 18px; text-align: center; border: 1px dashed var(--line); border-radius: var(--r-lg); }
.np-grupo { display: flex; flex-direction: column; gap: 10px; }
.np-grupo-t { display: flex; align-items: center; gap: 8px; font-size: 15px; } .np-grupo-t > .icon { width: 17px; height: 17px; color: var(--muted); }
.np-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; }

.np-card { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); cursor: pointer; min-width: 0; transition: border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast); }
.np-card:hover { border-color: var(--primary); transform: translateY(-1px); box-shadow: var(--shadow-lg); } .np-card:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.np-card.trabajando { border-left: 4px solid var(--ok); } .np-card.descanso { border-left: 4px solid var(--warn); }
.np-card.off { opacity: .72; } .np-card.off .avatar { filter: grayscale(.8); }
.np-card-top { display: flex; align-items: flex-start; gap: 12px; } .np-card-top > .btn { margin: -4px -6px 0 0; }
.np-nombre { font-size: 16px; }
.np-ava { position: relative; flex: none; display: inline-flex; }
.np-punto { position: absolute; right: -1px; bottom: -1px; width: 14px; height: 14px; border-radius: 50%; border: 2.5px solid var(--card); background: var(--ok); }
.hz-prow .np-punto { width: 11px; height: 11px; border-width: 2px; } .np-punto.descanso { background: var(--warn); }
.np-estado { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; height: 22px; padding: 0 9px; border-radius: var(--r-pill); font-size: 12px; font-weight: 700; background: var(--card-2); color: var(--text-2); }
.np-estado.ok { background: var(--ok-soft); color: var(--ok-text); } .np-estado.ok .dot { background: var(--ok); animation: np-late 1.6s ease-in-out infinite; }
.np-estado.warn { background: var(--warn-soft); color: var(--warn-text); } .np-estado.muted { color: var(--muted); background: transparent; border: 1px dashed var(--line); }
.np-estado-h { font-weight: 600; opacity: .85; } .np-estado-h::before { content: '·'; margin-right: 6px; }
@keyframes np-late { 50% { opacity: .35; } }
.np-pago { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: var(--r-md); background: var(--card-2); }
.np-et { display: block; font-size: 11.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px; }
.np-tarifa { font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; } .np-tarifa small { font-size: 14px; font-weight: 700; color: var(--muted); margin-left: 2px; }
.np-codigo { text-align: right; } .np-codigo b { display: inline-block; font-size: 18px; letter-spacing: .12em; padding: 2px 10px; border-radius: 8px; background: var(--card); border: 1px solid var(--line); }
.np-datos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.np-dato { display: flex; gap: 8px; align-items: flex-start; min-width: 0; } .np-dato > .icon { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--muted); }
.np-dato-l { font-size: 12px; color: var(--muted); } .np-dato-v { font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.np-pol { display: inline-block; margin-top: 2px; padding: 1px 8px; border-radius: 6px; font-size: 12.5px; font-weight: 700; background: var(--primary-soft); color: var(--primary); } .np-pol.exento { background: var(--card-2); color: var(--text-2); }
.np-antig { display: block; font-weight: 500; }
.np-pie { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.np-tel { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--text-2); text-decoration: none; min-width: 0; } .np-tel:hover { color: var(--primary); } .np-tel .icon { width: 15px; height: 15px; }

@media (max-width: 1100px) { .np-resumen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .np-resumen { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .np-kpi-ic { display: none; } .np-resumen .hz-card .tiny { display: block; }
  .np-barra-der, .np-barra-der .hz-buscar { width: 100%; } .np-barra-der .hz-buscar { flex: 1; width: auto; }
  .np-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; -webkit-overflow-scrolling: touch; } .np-chip { flex: none; }
  .np-grid { grid-template-columns: 1fr; } .np-card { padding: 14px; } .np-tarifa { font-size: 22px; }
}

/* Celular (2026-11-16): para el dedo. Medían 30–34 px de alto. */
@media (max-width: 860px) { .np-chip { height: 38px; } .np-vista-b { height: 36px; } }
