/* Horario semanal y hoja de asistencia (RRHH etapa 2). Usa los colores de estilos.css: --v-* vacaciones, --i-* incapacidad. */
.ho-semana { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 4px 0 16px; }
.ho-semana b { font-weight: 500; color: var(--petroleo); }
.ho-tabla { table-layout: fixed; min-width: 860px; }
.ho-tabla th, .ho-tabla td { vertical-align: top; padding: 6px 6px; }
.ho-tabla thead th { font-weight: 500; font-size: 13.5px; text-align: center; white-space: nowrap; }
.ho-tabla thead th:first-child, .ho-tabla tbody th { text-align: left; width: 170px; }
.ho-tabla tbody th { font-weight: 400; font-size: 14px; }
/* los turnos centrados bajo su día, como los encabezados (VIS-13) */
.ho-tabla tbody td { text-align: center; }
.ho-tabla tbody td .ho-celda { align-items: center; text-align: center; }
.ho-tabla tbody th small { color: var(--gris); }
.ho-tabla .ho-hoy { color: var(--petroleo); box-shadow: inset 0 -2px 0 var(--petroleo); }
.ho-rest th, .ho-rest td { background: var(--tinte); font-size: 13px; color: var(--gris); }
.ho-rest input { width: 100%; min-width: 0; font-size: 13px; padding: 5px 6px; }
.ho-dia-feriado { background: color-mix(in srgb, var(--arena) 14%, transparent); }
.ho-feriado { margin-top: 3px; color: var(--ocre); }
.ho-celda { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; width: 100%; min-height: 44px; padding: 6px; border: 1px dashed transparent;
  border-radius: var(--r-s); background: transparent; font: inherit; color: inherit; text-align: left; cursor: pointer; }
button.ho-celda:hover, button.ho-celda:focus-visible { border-color: var(--linea-fuerte); background: var(--tinte); }
.ho-lectura { cursor: default; }
.ho-vacio { font-size: 13px; color: var(--gris); opacity: .7; }
.ho-chip { display: inline-block; font-size: 13px; line-height: 1.35; padding: 2px 8px; border-radius: var(--r-s); background: var(--tinte-2); color: var(--tinta); }
.ho-esp { background: transparent; border: 1px solid var(--linea-fuerte); color: var(--gris); }
.ho-libre, .ho-libre_reposicion { color: var(--gris); }
.ho-vac, .ho-vacaciones { background: var(--v-fondo); color: var(--v-tinta); border: 1px solid var(--v-linea); }
.ho-inc, .ho-incapacidad, .ho-psg, .ho-pcg, .ho-paternidad { background: var(--i-fondo); color: var(--i-tinta); border: 1px solid var(--i-linea); }
.ho-aus { font-weight: 500; }
.ho-nota { display: block; font-size: 12px; color: var(--gris); line-height: 1.3; }
.ho-fuera { color: var(--linea-fuerte); }
.ho-aplicar { border: 1px solid var(--linea); border-radius: var(--r-m); padding: 8px 14px 4px; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 4px 16px; min-width: 0; }
.ho-aplicar legend { font-size: 14px; color: var(--gris); padding: 0 6px; }
.ho-aplicar .check { margin: 0 0 6px; }
.ho-nueva { display: flex; flex-wrap: wrap; gap: 0 12px; align-items: flex-end; max-width: 760px; }
.ho-nueva label { flex: 1 1 240px; }
.ho-nueva .btn { margin-bottom: 14px; }
.ho-movil { display: none; }
.ho-lista { list-style: none; margin: 0 0 16px; padding: 0; border: 1px solid var(--linea); border-radius: var(--r-m); background: var(--fondo); }
.ho-lista li { display: grid; grid-template-columns: minmax(84px, 38%) 1fr; align-items: center; gap: 8px; padding: 4px 10px; border-top: 1px solid var(--linea); }
.ho-lista li:first-child { border-top: 0; }
.ho-lista li > span { font-size: 14px; color: var(--gris); }
.ho-lista li.ho-hoy > span { color: var(--petroleo); font-weight: 500; }
.ho-mia li { padding: 10px 12px; }
.ho-persona h3 { font: 500 15px var(--sans); margin: 18px 0 6px; }
.ho-persona h3 small { font-weight: 400; color: var(--gris); }
.ho-dias-movil { display: flex; gap: 6px; overflow-x: auto; margin: 12px 0; scrollbar-width: none; }
.ho-dias-movil a { flex: 1 0 44px; display: flex; flex-direction: column; align-items: center; padding: 6px 4px; min-height: 44px; border: 1px solid var(--linea); border-radius: var(--r-m); text-decoration: none; color: var(--gris); font-size: 12.5px; }
.ho-dias-movil a b { font-weight: 500; font-size: 16px; color: var(--tinta); }
.ho-dias-movil a.on { border-color: var(--petroleo); color: var(--petroleo); box-shadow: inset 0 0 0 1px var(--petroleo); }
@media (max-width: 820px) {
  .ho-ancho { display: none; }
  .ho-movil { display: block; }
  .ho-movil .segmento { margin-bottom: 4px; }
}
@media print { .ho-movil { display: none; } .ho-ancho { display: block; } }
.ho-lista li > .ho-chip { justify-self: start; }
/* Asistencia */
.as-tabla { min-width: 900px; font-size: 13.5px; }
.as-tabla th, .as-tabla td { padding: 4px 3px; text-align: center; vertical-align: middle; }
.as-tabla thead th { font-weight: 500; font-size: 12.5px; line-height: 1.25; position: relative; }
.as-tabla .as-persona { text-align: left; min-width: 170px; position: sticky; left: 0; background: var(--fondo); z-index: 1; font-weight: 400; }
.as-tabla .n { text-align: right; padding-right: 8px; }
.as-tabla .as-depto th { text-align: left; background: var(--tinte); color: var(--gris); font-weight: 500; font-size: 12.5px; position: sticky; left: 0; }
.as-tabla th.as-proy, .as-tabla td .as-proy { background-image: repeating-linear-gradient(135deg, transparent 0 5px, color-mix(in srgb, var(--linea-fuerte) 35%, transparent) 5px 6px); }
.as-fer { display: block; font-size: 10.5px; color: var(--ocre); font-weight: 500; }
.as-cod { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 34px; min-height: 32px; padding: 0 4px; border: 1px solid transparent; border-radius: var(--r-s); background: transparent; font: 500 13px var(--sans); color: var(--tinta); }
button.as-cod { cursor: pointer; }
button.as-cod:hover, button.as-cod:focus-visible { border-color: var(--linea-fuerte); }
.as-v { background: var(--v-fondo); color: var(--v-tinta); }
.as-inc, .as-mal { background: var(--i-fondo); color: var(--i-tinta); }
.as-l, .as-vacio { color: var(--gris); font-weight: 400; }
.as-4 { background: color-mix(in srgb, var(--arena) 45%, transparent); }
.as-manual { text-decoration: underline dotted; text-underline-offset: 3px; border-color: var(--linea-fuerte); }
.as-senal { position: absolute; top: 2px; right: 2px; width: 7px; height: 7px; border-radius: 50%; background: var(--negroni); }
.as-senales { margin: 0 0 14px; padding-left: 18px; color: var(--i-tinta); }
.as-leyenda { margin: 10px 0 18px; }
.as-leyenda summary { cursor: pointer; color: var(--gris); }
.as-leyenda dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px 16px; margin: 10px 0 0; }
.as-leyenda dl div { display: flex; gap: 8px; align-items: center; }
.as-leyenda dd { margin: 0; font-size: 13.5px; }
.as-notas, .as-ajustes { max-width: 720px; }
.as-notas-txt { white-space: pre-line; }
/* Cuántas esperan, en la pestaña (Horas extra: Pendientes y Por revisar), como la insignia de la Bandeja. */
.subnav a .n { font: 400 12px var(--sans); color: var(--sobre); background: var(--petroleo); border-radius: var(--r-pill); padding: 0 7px; margin-left: 4px; }
