/* Calculadora de prima de servicios (26 nov 2026). Usa la base visual de calculadora-ganancia.css (.cg-*);
   aquí solo lo propio: personas del equipo, botones de agregar y quitar, y las líneas sin muestra de color. */
html body .cp-persona { border: 0; border-top: 1px solid #C9D0DD; margin: 0 0 .5rem; padding: 1.25rem 0 0; position: relative; }
html body .cp-persona-tit { padding: 0; margin: 0 0 1rem; font-family: var(--dato), monospace; font-size: .8125rem; letter-spacing: .04em; color: #5A6274; }
html body .cp-acciones { margin: .5rem 0 0; }
html body .cp-agregar, html body .cp-quitar {
	font: inherit; font-size: 1rem; cursor: pointer; border-radius: 2px; min-height: 2.75rem; padding: .6rem 1rem;
	background: #FFFFFF; color: #0F47CC; border: 1px solid #0F47CC;
}
html body .cp-agregar:hover { background: #EEF3FC; }
html body .cp-quitar { position: absolute; top: .9rem; right: 0; min-height: 2.75rem; padding: .4rem .75rem; color: #5A6274; border-color: #C9D0DD; font-size: .875rem; }
html body .cp-agregar:focus-visible, html body .cp-quitar:focus-visible { outline: 2px solid #0F47CC; outline-offset: 2px; }
html body .cp-l dt::before { display: none; }
html body .cp-l dt { font-size: .9375rem; }
html body .cp-nota { margin: .75rem 0 0; font-size: .875rem; color: #9AA3B7; }
html body .cp-nota[hidden], html body [data-cp-despues][hidden] { display: none !important; }
html body .cg-datos input[type="date"] { font: inherit; font-size: 1rem; min-height: 3rem; padding: .6rem .875rem; border: 1px solid #C9D0DD; border-radius: 2px; background: #FFFFFF; color: #0D1423; width: 100%; }
html body #tabla-prima .tabla-datos td:not(.tabla-texto) { font-family: var(--dato), 'IBM Plex Mono', monospace; font-variant-numeric: tabular-nums; white-space: nowrap; }
html body #tabla-prima h2 { margin-bottom: 1.5rem; }
html body #tabla-prima .cg-cita { margin-bottom: 1.75rem; }
/* El total de un equipo puede tener 11 cifras: la cifra se ajusta al ancho de la tarjeta. */
html body [data-cp] .cg-recibo { container-type: inline-size; }
html body [data-cp] .cg-queda-cifra { font-size: clamp(2.25rem, 11cqi, 4.5rem); }
/* Ronda 1 del panel (26 nov): una sola medida en las líneas del recibo y aire para la barra fija en celular. */
html body .cp-l dt { font-size: 1rem; }
@media (max-width: 59.99em) { html body [data-cp] .cg-datos { padding-bottom: 4.5rem; } }
/* 26 nov: la calculadora del costo de un empleado usa la misma cifra ajustable. */
html body [data-ce] .cg-recibo { container-type: inline-size; }
html body [data-ce] .cg-queda-cifra { font-size: clamp(2.25rem, 11cqi, 4.5rem); }
html body #tabla-empleado h2 { margin-bottom: 1.5rem; }
html body #tabla-empleado .cg-cita { margin-bottom: 1.75rem; }
html body #tabla-empleado .tabla-datos td:not(.tabla-texto) { font-family: var(--dato), 'IBM Plex Mono', monospace; font-variant-numeric: tabular-nums; white-space: nowrap; }
/* La respuesta que diferencia a la calculadora del costo de un empleado: bloque propio en el recibo. */
html body .ce-ventas { margin: 1.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid rgba(154, 163, 183, .55); }
html body .ce-ventas-txt { display: block; font-size: 1rem; color: rgba(255, 255, 255, .82); margin-bottom: .35rem; }
html body .ce-ventas-cifra { display: block; font-family: var(--dato), 'IBM Plex Mono', monospace; font-variant-numeric: tabular-nums; font-weight: 500; font-size: clamp(1.75rem, 8cqi, 2.75rem); line-height: 1.05; color: #FFFFFF; }
