/* V657: iguala la paleta de Ver detalle con Editar tanda. */
.t360-tanda-detail {
  background-color: #1a1a1a !important;
  border-color: #333 !important;
  color: #f5f5f5 !important;
}
.t360-tanda-detail > div:first-child,
.t360-tanda-detail > div:nth-child(2) {
  background-color: #1a1a1a !important;
  border-color: #333 !important;
}
.t360-tanda-detail > div:first-child {
  border-bottom-color: #333 !important;
}
.t360-tanda-detail > div:first-child > div:first-child > div:first-child {
  background-color: #e91e63 !important;
}
.t360-tanda-detail > div:first-child > button {
  background-color: #0a0a0a !important;
  color: #fff !important;
}
/* Recuadros y tabla usan el mismo negro que los campos del modal Editar. */
.t360-tanda-detail [class*="bg-[#1a1a1a]"] {
  background-color: #0a0a0a !important;
  border-color: #333 !important;
}
.t360-tanda-detail [class*="bg-[#111]"] {
  background-color: #111 !important;
}
.t360-tanda-detail [class*="border-[#262626]"],
.t360-tanda-detail [class*="divide-[#262626]"] {
  border-color: #333 !important;
}
.t360-tanda-detail tbody tr {
  background-color: #0a0a0a !important;
  border-color: #303036 !important;
}
.t360-tanda-detail tbody tr:hover {
  background-color: #141414 !important;
}
.t360-tanda-detail [class*="text-zinc-500"] { color: #a1a1aa !important; }
.t360-tanda-detail [class*="text-zinc-600"] { color: #85858d !important; }
.t360-tanda-detail [class*="text-zinc-400"] { color: #a1a1aa !important; }
.t360-tanda-detail [class*="bg-[#262626]"] {
  background-color: #202024 !important;
  border-color: #333 !important;
}
@media (max-width: 640px) {
  .t360-tanda-detail > div:nth-child(2) { padding: 16px !important; }
}

/* Los datos resumidos van al negro de los campos de edición. */
.t360-tanda-detail > div:nth-child(2) > div:first-child > div {
  background-color: #0a0a0a !important;
  border-color: #333 !important;
}
.t360-tanda-detail > div:nth-child(2) > div:first-child > div > div:first-child {
  color: #a1a1aa !important;
}

/* Mantiene negros los bloques de resumen frente al normalizador global de modales. */
.t360-tanda-detail [data-t360-dark-surface="1"] {
  background-color: #0a0a0a !important;
  border-color: #333 !important;
}
