/* qma-child/css/paginas/p-ba6cfb2bca.css: CSS que vivía en el contenido. Páginas: ver la opción qma_css_paginas. 23-oct-2026 */
.qma-matrix-wrap {
    margin: 0 auto;
    max-width: 1100px;
  }
  .qma-matrix-title {
    font-size: 1.6rem;
    margin: 0 0 12px;
    line-height: 1.3;
  }
  .qma-table-responsive {
    width: 100%;
    overflow-x: auto;          /* Scroll horizontal seguro en móviles */
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
    border: 1px solid #e6e6e6;
    background: #fff;
  }
  .qma-matrix {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;          /* Evita que colapse demasiado en desktop */
  }
  .qma-matrix th,
  .qma-matrix td {
    padding: 12px 14px;
    border-bottom: 1px solid #eee;
    text-align: left;
    vertical-align: top;
  }
.qma-matrix thead th {
    background: #0063FF;
    color: #ffffff;
    font-weight: 600;
    white-space: nowrap;
  }
  .qma-matrix tbody tr:hover {
    background: #fafafa;
  }

  /* Apilado tipo tarjetas en pantallas muy pequeñas */
  @media (max-width: 680px) {
    .qma-table-responsive {
      border-radius: 6px;
    }
    .qma-matrix {
      min-width: 0;
      border-collapse: separate;
      border-spacing: 0 10px;    /* separa “tarjetas” */
    }
    .qma-matrix thead {
      display: none;             /* ocultamos cabecera */
    }
    .qma-matrix tbody tr {
      display: block;
      background: #fff;
      border: 1px solid #eee;
      border-radius: 8px;
      padding: 8px 10px;
    }
    .qma-matrix tbody td {
      display: grid;
      grid-template-columns: 140px 1fr; /* etiqueta + contenido */
      gap: 8px;
      border: none;
      padding: 8px 4px;
    }
    .qma-matrix tbody td::before {
      content: attr(data-label);
      font-weight: 600;
      color: #333;
    }
.qma-matrix thead th {
    background: #0063FF;
    color: #ffffff;
    font-weight: 600;
    white-space: nowrap;
  }
  }
