
      /* Badges pastel (si no están ya en tu CSS global) */
      .badge-personalizado { font-weight: 600; padding:.35rem .5rem; border-radius: .5rem; }
      .badge-presencial     { background:#FDE1E1; color:#7a2a2a; }
      .badge-online         { background:#DBFBE7; color:#245c3a; }
      .badge-semipresencial { background:#FEF9C2; color:#6b5b00; }

      /* Encabezado pegajoso del thead */
      .table-sticky thead th { position: sticky; top: 0; background: #fff; z-index: 2; }

      /* Alineación del THEAD (vertical y horizontal) */
      .table-sticky thead th {
        vertical-align: middle !important;
        text-align: center !important;
        white-space: nowrap;
      }

      /* Bloques por mes con colores alternados */
      .month-header { font-weight: 700; color: #2a4e78; border-top: 2px solid #e9ecef; }
      .month-block-A { background: #f7fbff; } /* azul muy claro */
      .month-block-B { background: #fff8f2; } /* naranja muy claro */

      /* Mantener un hover distinguible del fondo alternado */
      .table-hover tbody tr:hover { background-color: rgba(0,0,0,.06); }
      .table-hover tbody tr.month-block-A:hover { background-color: #e9f2ff; }
      .table-hover tbody tr.month-block-B:hover { background-color: #ffefe3; }

      .month-header.month-block-A { background: #e9f2ff; }
      .month-header.month-block-B { background: #ffefe3; }

.stcw-calendar-title { color: #2a4e78; }
.stcw-calendar-code { width: 75px; }
.stcw-calendar-mode { width: 120px; }
.stcw-calendar-date { width: 110px; }
.stcw-registration { white-space: normal; line-height: 1.35; font-size: .8rem; }
.stcw-calendar-state { width: 180px; min-width: 155px; }
.stcw-editions-table th, .stcw-editions-table td { vertical-align: middle; }
.stcw-registration-site { display: inline-block; margin: .15rem .1rem; line-height: 1.35; }
.stcw-registration-sites { display: flex; flex-wrap: wrap; gap: .25rem; justify-content: center; }
.stcw-editions-table th:last-child, .stcw-editions-table td:last-child { width: 44%; }
.stcw-editions-table td:first-child, .stcw-editions-table td:nth-child(2) { white-space: nowrap; }

.stcw-calendar { min-width: 1050px; }
.stcw-calendar th, .stcw-calendar td { padding: .6rem .5rem; vertical-align: middle; }
.stcw-calendar th:nth-child(4), .stcw-calendar th:nth-child(5),
.stcw-calendar td:nth-child(4), .stcw-calendar td:nth-child(5) { white-space: nowrap; }
.stcw-calendar th:nth-child(2), .stcw-calendar td:nth-child(2) { min-width: 260px; }
.stcw-calendar .month-header td { padding: .45rem .5rem; }
.stcw-editions-table .stcw-registration-sites { justify-content: flex-start; }
