
:root{--dharma:#123265;--dharma-2:#34689a;--ink:#253247;--muted:#5d6878;--line:#dfe6ee;--soft:#f5f8fb;--accent:#eaf3fb;--quote:#fbf7ef;--shadow:0 10px 28px rgba(18,50,101,.09)}
html{scroll-behavior:smooth}body{color:var(--ink);font-size:1rem;line-height:1.72;padding-top:72px}.navbar{box-shadow:0 3px 14px rgba(0,0,0,.16)}#progressBar{position:absolute;left:0;bottom:0;width:100%;height:4px;border:0;background:transparent}#progressBar::-webkit-progress-bar{background:rgba(255,255,255,.17)}#progressBar::-webkit-progress-value{background:#72c4eb}#progressBar::-moz-progress-bar{background:#72c4eb}.unit-banner{margin-top:0;background:linear-gradient(135deg,#eef5fb,#fff);border-bottom:1px solid var(--line)}.unit-banner img{width:100%;height:auto;display:block;max-height:320px;object-fit:cover}.course-main{padding-top:2.2rem;padding-bottom:2rem}.page-title{text-align:center;color:#1e2d46;font-weight:700;margin:0 0 1.8rem;line-height:1.25}.lead-copy{font-size:1.03rem}.content-section{scroll-margin-top:96px;margin:0 0 2.4rem}.content-section>h3{font-size:1.38rem;color:var(--dharma);font-weight:700;margin:0 0 1.1rem;padding-bottom:.6rem;border-bottom:2px solid #dce9f4}.content-section p{text-align:justify}.clean-list{padding-left:1.2rem}.clean-list li{margin:.42rem 0}.concept-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(235px,1fr));gap:1rem;margin:1rem 0 1.5rem}.concept-card{border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:var(--shadow);overflow:hidden}.concept-card details{height:100%}.concept-card summary{list-style:none;cursor:pointer;padding:1rem 1.1rem;font-weight:700;color:var(--dharma);background:linear-gradient(180deg,#f9fcff,#eef5fb);display:flex;align-items:center;justify-content:space-between;gap:1rem}.concept-card summary::-webkit-details-marker{display:none}.concept-card summary::after{content:'+';font-size:1.35rem;line-height:1;color:var(--dharma-2)}.concept-card details[open] summary::after{content:'−'}.concept-body{padding:1rem 1.1rem}.concept-body p:last-child,.concept-body ul:last-child{margin-bottom:0}.concept-body img{display:block;max-width:100%;height:auto;margin:1rem auto}.info-aside{border-left:4px solid var(--dharma-2);background:var(--soft);border-radius:0 10px 10px 0;padding:1rem 1.15rem;margin:1rem 0 1.5rem}.info-aside details summary{cursor:pointer;font-weight:700;color:var(--dharma)}.figure-card{margin:1.5rem auto 2rem;padding:1rem;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:var(--shadow);text-align:center}.figure-card img{display:block;max-width:100%;height:auto;margin:0 auto;border-radius:7px}.figure-card figcaption{margin-top:.8rem;color:var(--muted);font-size:.94rem;text-align:center}.quote-card{display:grid;grid-template-columns:minmax(110px,160px) 1fr;gap:1.25rem;align-items:center;background:#f7f4ee;border:1px solid #e5dbc7;border-radius:14px;padding:1.2rem;margin:1.8rem 0}.quote-card figure{margin:0}.quote-card img{width:100%;height:auto;border-radius:10px}.quote-card blockquote{margin:0;font-size:1.08rem}.quote-card cite{display:block;margin-top:.65rem;font-style:normal;font-weight:700;color:var(--dharma)}.relationship-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--line);border-radius:12px;overflow:hidden;margin:1rem 0 1.8rem}.relationship-grid>div{padding:.85rem;border-right:1px solid var(--line);border-bottom:1px solid var(--line);text-align:center}.relationship-grid>div:nth-child(4n){border-right:0}.relationship-grid .grid-head{background:#e9ddf3;font-weight:700;color:#3f3150}.relationship-grid .grid-key{background:#f1e8f8;font-weight:700;text-align:left}.unit-index{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem;margin:1.5rem 0}.unit-index a{display:block;height:100%;padding:1.05rem 1.15rem;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--dharma);font-weight:700;text-decoration:none;box-shadow:var(--shadow);transition:transform .18s ease,box-shadow .18s ease}.unit-index a:hover,.unit-index a:focus{transform:translateY(-2px);box-shadow:0 14px 30px rgba(18,50,101,.14);text-decoration:none}.section-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:1.5rem}.section-toc{border:1px solid var(--line);border-radius:12px;background:var(--soft);padding:1rem;margin-bottom:1.5rem}.section-toc strong{display:block;color:var(--dharma);margin-bottom:.55rem}.section-toc ul{margin:0;padding-left:1.2rem}.section-toc a{color:#314f78}.video-card{border:1px solid var(--line);border-radius:14px;overflow:hidden;box-shadow:var(--shadow);margin:2rem 0}.video-card header{padding:.9rem 1rem;background:#dff3fb;color:#1d3f58;font-weight:700}.video-card .video-body{padding:1rem}.video-frame{position:relative;width:100%;padding-top:56.25%;overflow:hidden;border-radius:9px;background:#000}.video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.pagination-wrap{margin:2rem 0 1rem}.site-footer{padding:0 1rem 1.5rem}.site-footer p{text-align:center;color:#586273;font-size:.92rem}.fade-in{animation:softIn .42s ease both}@keyframes softIn{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}
.course-infographic{margin:0 auto 2rem;max-width:100%;text-align:center}.course-infographic img{display:block;width:100%;height:auto;margin:0 auto;border:2px solid var(--dharma);border-radius:10px;box-shadow:var(--shadow)}
.video-exercise-example{margin-top:2rem}.video-exercise-example .card{border-radius:10px;overflow:hidden}.video-exercise-example table{background:#fff}.video-exercise-example .table td,.video-exercise-example .table th{vertical-align:middle}.video-exercise-example .form-check{margin:0}.video-exercise-example .td-center{text-align:center}.video-exercise-example .min{width:110px}.video-exercise-example .mostrar-respuesta{min-width:150px}
@media (max-width:767.98px){body{padding-top:62px}.course-main{padding-top:1.5rem}.page-title{font-size:1.65rem}.quote-card{grid-template-columns:1fr;text-align:center}.quote-card img{max-width:170px;margin:auto}.relationship-grid{grid-template-columns:1fr}.relationship-grid>div{border-right:0}.relationship-grid .grid-head{display:none}.relationship-grid .grid-key{border-top:2px solid #cdb9df}.navbar-brand img.logo_lg_img{display:none}.navbar-brand img.logo_sm_img{display:block}.content-section p{text-align:left}}@media (min-width:768px){.navbar-brand img.logo_sm_img{display:none}.navbar-brand img.logo_lg_img{display:block}}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.fade-in,.unit-index a{animation:none;transition:none}}

/* =========================================================
   SECCIÓN ACTIVA EN EL MENÚ SUPERIOR
   La opción correspondiente a la sección actual se muestra
   con fondo azul y texto blanco.
   ========================================================= */
.dropdown-menu .dropdown-item.active,
.dropdown-menu .dropdown-item[aria-current="page"] {
    background-color: #007bff !important;
    color: #ffffff !important;
    font-weight: 600;
}

.dropdown-menu .dropdown-item.active i,
.dropdown-menu .dropdown-item[aria-current="page"] i {
    color: #ffffff !important;
}



/* =========================================================
   COMPONENTE REUTILIZABLE: FRASE CÉLEBRE CON AUDIO
   El texto leído se guarda en .quote-audio-text[hidden].
   Para una nueva frase solo es necesario copiar el bloque
   HTML; no se requieren cambios adicionales en CSS o JS.
   ========================================================= */
.quote-card-audio{
  position:relative;
  padding-bottom:4.2rem;
}

.quote-audio-btn{
  position:absolute;
  right:1.15rem;
  bottom:1rem;
  width:44px;
  height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid #d7dde5;
  border-radius:50%;
  background:#fff;
  color:#657386;
  box-shadow:0 2px 6px rgba(0,0,0,.12);
  cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease, color .18s ease, background-color .18s ease;
  z-index:2;
}

.quote-audio-btn:hover,
.quote-audio-btn:focus{
  color:var(--dharma);
  background:#f7fbff;
  box-shadow:0 4px 10px rgba(18,50,101,.18);
  transform:translateY(-1px);
  outline:none;
}

.quote-audio-btn:focus-visible{
  outline:3px solid rgba(52,104,154,.28);
  outline-offset:3px;
}

.quote-audio-btn.is-speaking{
  color:#fff;
  background:var(--dharma);
  border-color:var(--dharma);
}

.quote-audio-btn i{
  font-size:1rem;
  pointer-events:none;
}

@media (max-width:767.98px){
  .quote-card-audio{
    padding-bottom:4.4rem;
  }
  .quote-audio-btn{
    right:1rem;
    bottom:1rem;
  }
}


/* =========================================================
   ESTÁNDAR DE LLAMADO DE ATENCIÓN PARA FRASES CÉLEBRES
   ========================================================= */
.quote-card-audio--highlight{
  padding-bottom:5.4rem;
}

.quote-card-audio--highlight .quote-audio-panel{
  position:absolute;
  right:1rem;
  bottom:1rem;
  display:flex;
  align-items:center;
  gap:.7rem;
  padding:.55rem .7rem;
  background:#ffffff;
  border:1px solid #d9dee6;
  border-radius:12px;
  box-shadow:0 3px 10px rgba(0,0,0,.10);
  z-index:2;
}

.quote-card-audio--highlight .quote-audio-title{
  color:#c62828;
  font-weight:700;
  font-style:italic;
  line-height:1.1;
  white-space:nowrap;
}

.quote-card-audio--highlight .quote-audio-btn{
  position:static;
  right:auto;
  bottom:auto;
  flex:0 0 auto;
}

@media (max-width:767.98px){
  .quote-card-audio--highlight{
    padding-bottom:5.8rem;
  }
  .quote-card-audio--highlight .quote-audio-panel{
    right:.85rem;
    left:.85rem;
    justify-content:space-between;
  }
}


/* =========================================================
   ESTÁNDAR UNIDAD 1: TARJETAS CON COLORES PROFESIONALES
   Y APERTURA INDEPENDIENTE
   ---------------------------------------------------------
   - Cada grupo conserva su distribución original.
   - Abrir una tarjeta no estira las tarjetas vecinas.
   - Los colores se aplican secuencialmente dentro de cada
     .concept-grid y se reinician en el siguiente grupo.
   ========================================================= */

.concept-grid {
    align-items: start !important;
}

.concept-card {
    align-self: start !important;
    height: auto !important;
    min-height: 0 !important;
    width: 100% !important;
    overflow: hidden;
}

.concept-card details {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
}

.concept-card details:not([open]) {
    height: auto !important;
    min-height: 0 !important;
}

.concept-card details:not([open]) .concept-body {
    display: none !important;
}

.concept-card .concept-body {
    height: auto !important;
}

/* 1. Azul profesional */
.concept-grid > .concept-card:nth-child(6n+1) {
    border-color: #9DBED8 !important;
    background-color: #F4F9FD !important;
}
.concept-grid > .concept-card:nth-child(6n+1) details,
.concept-grid > .concept-card:nth-child(6n+1) .concept-body {
    background-color: #F4F9FD !important;
}
.concept-grid > .concept-card:nth-child(6n+1) summary {
    background-color: #D9EAF7 !important;
    color: #17365D !important;
}

/* 2. Verde petróleo suave */
.concept-grid > .concept-card:nth-child(6n+2) {
    border-color: #A6CFC2 !important;
    background-color: #F3FAF7 !important;
}
.concept-grid > .concept-card:nth-child(6n+2) details,
.concept-grid > .concept-card:nth-child(6n+2) .concept-body {
    background-color: #F3FAF7 !important;
}
.concept-grid > .concept-card:nth-child(6n+2) summary {
    background-color: #DCEFE9 !important;
    color: #174C45 !important;
}

/* 3. Dorado suave */
.concept-grid > .concept-card:nth-child(6n+3) {
    border-color: #D9C38E !important;
    background-color: #FFF9ED !important;
}
.concept-grid > .concept-card:nth-child(6n+3) details,
.concept-grid > .concept-card:nth-child(6n+3) .concept-body {
    background-color: #FFF9ED !important;
}
.concept-grid > .concept-card:nth-child(6n+3) summary {
    background-color: #F4E5C1 !important;
    color: #5D4718 !important;
}

/* 4. Lavanda profesional */
.concept-grid > .concept-card:nth-child(6n+4) {
    border-color: #C5B8D9 !important;
    background-color: #FAF7FD !important;
}
.concept-grid > .concept-card:nth-child(6n+4) details,
.concept-grid > .concept-card:nth-child(6n+4) .concept-body {
    background-color: #FAF7FD !important;
}
.concept-grid > .concept-card:nth-child(6n+4) summary {
    background-color: #E8E0F2 !important;
    color: #493A63 !important;
}

/* 5. Coral sobrio */
.concept-grid > .concept-card:nth-child(6n+5) {
    border-color: #D9B1A7 !important;
    background-color: #FFF7F4 !important;
}
.concept-grid > .concept-card:nth-child(6n+5) details,
.concept-grid > .concept-card:nth-child(6n+5) .concept-body {
    background-color: #FFF7F4 !important;
}
.concept-grid > .concept-card:nth-child(6n+5) summary {
    background-color: #F3DDD7 !important;
    color: #673D35 !important;
}

/* 6. Azul grisáceo */
.concept-grid > .concept-card:nth-child(6n) {
    border-color: #B7C7D8 !important;
    background-color: #F6F9FC !important;
}
.concept-grid > .concept-card:nth-child(6n) details,
.concept-grid > .concept-card:nth-child(6n) .concept-body {
    background-color: #F6F9FC !important;
}
.concept-grid > .concept-card:nth-child(6n) summary {
    background-color: #DDE7F1 !important;
    color: #30475F !important;
}

/* Mantener el signo + / − visible y coherente */
.concept-card summary::after {
    color: currentColor !important;
}


/* =========================================================
   AJUSTES v11
   - Tarjetas con colores más vívidos y texto negro
   - Grid 1.2.2 en una sola columna
   ========================================================= */

.concept-card,
.concept-card details,
.concept-card .concept-body {
    color: #111111 !important;
}

.concept-card summary,
.concept-card summary strong,
.concept-card .concept-body,
.concept-card .concept-body p,
.concept-card .concept-body li,
.concept-card .concept-body figcaption {
    color: #111111 !important;
}

/* 1. Azul vívido */
.concept-grid > .concept-card:nth-child(6n+1) {
    border-color: #6da8e6 !important;
    background-color: #dcecff !important;
}
.concept-grid > .concept-card:nth-child(6n+1) details,
.concept-grid > .concept-card:nth-child(6n+1) .concept-body {
    background-color: #eaf4ff !important;
}
.concept-grid > .concept-card:nth-child(6n+1) summary {
    background-color: #9ecaf7 !important;
    color: #111111 !important;
}

/* 2. Verde vívido */
.concept-grid > .concept-card:nth-child(6n+2) {
    border-color: #5fbf9f !important;
    background-color: #dff7ef !important;
}
.concept-grid > .concept-card:nth-child(6n+2) details,
.concept-grid > .concept-card:nth-child(6n+2) .concept-body {
    background-color: #eafbf5 !important;
}
.concept-grid > .concept-card:nth-child(6n+2) summary {
    background-color: #9de3c8 !important;
    color: #111111 !important;
}

/* 3. Dorado vívido */
.concept-grid > .concept-card:nth-child(6n+3) {
    border-color: #d6a93d !important;
    background-color: #fff2cf !important;
}
.concept-grid > .concept-card:nth-child(6n+3) details,
.concept-grid > .concept-card:nth-child(6n+3) .concept-body {
    background-color: #fff7e0 !important;
}
.concept-grid > .concept-card:nth-child(6n+3) summary {
    background-color: #f3cf74 !important;
    color: #111111 !important;
}

/* 4. Lavanda vívida */
.concept-grid > .concept-card:nth-child(6n+4) {
    border-color: #b991dc !important;
    background-color: #f5e8ff !important;
}
.concept-grid > .concept-card:nth-child(6n+4) details,
.concept-grid > .concept-card:nth-child(6n+4) .concept-body {
    background-color: #f9f0ff !important;
}
.concept-grid > .concept-card:nth-child(6n+4) summary {
    background-color: #d8b9f3 !important;
    color: #111111 !important;
}

/* 5. Coral vívido */
.concept-grid > .concept-card:nth-child(6n+5) {
    border-color: #d98d8d !important;
    background-color: #fde8e8 !important;
}
.concept-grid > .concept-card:nth-child(6n+5) details,
.concept-grid > .concept-card:nth-child(6n+5) .concept-body {
    background-color: #fef1f1 !important;
}
.concept-grid > .concept-card:nth-child(6n+5) summary {
    background-color: #f2b3b3 !important;
    color: #111111 !important;
}

/* 6. Turquesa vívido */
.concept-grid > .concept-card:nth-child(6n) {
    border-color: #63bfc9 !important;
    background-color: #e0f7fa !important;
}
.concept-grid > .concept-card:nth-child(6n) details,
.concept-grid > .concept-card:nth-child(6n) .concept-body {
    background-color: #ebfbfc !important;
}
.concept-grid > .concept-card:nth-child(6n) summary {
    background-color: #9adfe5 !important;
    color: #111111 !important;
}

.concept-card summary::after {
    color: #111111 !important;
}

/* 1.2.2 tarjetas apiladas una debajo de otra */
.stack-grid-122 {
    grid-template-columns: 1fr !important;
}


/* =========================================================
   ESTÁNDAR DE TABLAS SSK011
   Cabecera azul / texto blanco / cuerpo blanco / texto negro
   Responsive: desplazamiento horizontal controlado en teléfono
   ========================================================= */
.standard-table-card {
    background-color: #EEF8FC !important;
    border-radius: 10px;
    padding: 24px !important;
}
.standard-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.standard-table {
    width: 100%;
    margin: 0 auto;
    border-collapse: collapse;
    background: #FFFFFF;
    border: 2px solid #273469;
    color: #000000;
}
.standard-table th,
.standard-table td {
    border: 1px solid #273469;
    padding: 10px 12px;
    vertical-align: middle;
}
.standard-table thead th {
    background: #273469 !important;
    color: #FFFFFF !important;
    border-color: #FFFFFF !important;
    text-align: center;
    font-weight: 700;
}
.standard-table tbody td {
    background: #FFFFFF !important;
    color: #000000 !important;
}
.standard-table tbody td:first-child {
    font-weight: 700;
}
.standard-table--effectiveness {
    width: 82%;
    min-width: 620px;
}
.standard-table--relationships {
    width: 100%;
    min-width: 760px;
}
.standard-table--relationships td:not(:first-child) {
    text-align: center;
}
@media (max-width: 991.98px) {
    .standard-table-card {
        padding: 16px !important;
    }
    .standard-table--effectiveness,
    .standard-table--relationships {
        width: 100%;
    }
}
@media (max-width: 767.98px) {
    .standard-table-card {
        padding: 10px !important;
    }
    .standard-table th,
    .standard-table td {
        padding: 8px 9px;
        font-size: 0.92rem;
        line-height: 1.35;
    }
}


/* =========================================================
   v14 - TABLAS RESPONSIVE EN TELÉFONO
   ---------------------------------------------------------
   Escritorio/tablet conservan exactamente la tabla actual.
   En teléfono las filas se transforman en tarjetas legibles,
   sin desplazamiento horizontal.
   ========================================================= */

@media (max-width: 767.98px) {

    /* Contenedor sin scroll horizontal en móvil */
    .standard-table-wrap {
        overflow-x: visible !important;
        width: 100% !important;
    }

    .standard-table--effectiveness,
    .standard-table--relationships {
        width: 100% !important;
        min-width: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }

    .standard-table--effectiveness thead,
    .standard-table--relationships thead,
    .standard-table--effectiveness colgroup,
    .standard-table--relationships colgroup {
        display: none !important;
    }

    .standard-table--effectiveness tbody,
    .standard-table--relationships tbody {
        display: block !important;
        width: 100% !important;
    }

    /* =====================================================
       1.1.3 - EFECTIVIDAD DE LA COMUNICACIÓN
       Cada objetivo se convierte en una tarjeta.
       ===================================================== */

    .standard-table--effectiveness tbody tr {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        width: 100% !important;
        margin: 0 0 14px 0 !important;
        border: 1px solid #273469 !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        background: #FFFFFF !important;
    }

    .standard-table--effectiveness tbody td {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: auto !important;
        min-width: 0 !important;
        padding: 9px 5px !important;
        border: 0 !important;
        border-right: 1px solid #C8D3E6 !important;
        background: #FFFFFF !important;
        color: #000000 !important;
        text-align: center !important;
        font-size: 0.82rem !important;
        line-height: 1.25 !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
    }

    .standard-table--effectiveness tbody td:last-child {
        border-right: 0 !important;
    }

    .standard-table--effectiveness tbody td:first-child {
        grid-column: 1 / -1 !important;
        display: block !important;
        padding: 10px 12px !important;
        border-right: 0 !important;
        border-bottom: 1px solid #273469 !important;
        background: #EAF1FB !important;
        color: #000000 !important;
        text-align: left !important;
        font-size: 0.86rem !important;
        font-weight: 700 !important;
        line-height: 1.3 !important;
    }

    .standard-table--effectiveness tbody td:nth-child(2)::before,
    .standard-table--effectiveness tbody td:nth-child(3)::before,
    .standard-table--effectiveness tbody td:nth-child(4)::before {
        display: block !important;
        margin-bottom: 3px !important;
        color: #273469 !important;
        font-size: 0.72rem !important;
        line-height: 1.1 !important;
        font-weight: 700 !important;
    }

    .standard-table--effectiveness tbody td:nth-child(2)::before {
        content: "Oral";
    }

    .standard-table--effectiveness tbody td:nth-child(3)::before {
        content: "Escrita";
    }

    .standard-table--effectiveness tbody td:nth-child(4)::before {
        content: "Oral + Escrita";
    }

    /* =====================================================
       1.2.3 - RELACIONES / PROPORCIONA / EXIGENCIAS / HABILIDADES
       Cada relación se convierte en una tarjeta vertical.
       ===================================================== */

    .standard-table--relationships tbody tr {
        display: block !important;
        width: 100% !important;
        margin: 0 0 14px 0 !important;
        border: 1px solid #273469 !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        background: #FFFFFF !important;
    }

    .standard-table--relationships tbody td {
        display: grid !important;
        grid-template-columns: 38% minmax(0, 62%) !important;
        align-items: start !important;
        width: 100% !important;
        min-width: 0 !important;
        padding: 9px 10px !important;
        border: 0 !important;
        border-bottom: 1px solid #D4DCE9 !important;
        background: #FFFFFF !important;
        color: #000000 !important;
        text-align: left !important;
        font-size: 0.82rem !important;
        line-height: 1.3 !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
    }

    .standard-table--relationships tbody td:last-child {
        border-bottom: 0 !important;
    }

    .standard-table--relationships tbody td::before {
        display: block !important;
        padding-right: 8px !important;
        color: #273469 !important;
        font-weight: 700 !important;
    }

    .standard-table--relationships tbody td:nth-child(1)::before {
        content: "Relaciones";
    }

    .standard-table--relationships tbody td:nth-child(2)::before {
        content: "Proporciona";
    }

    .standard-table--relationships tbody td:nth-child(3)::before {
        content: "Exigencias";
    }

    .standard-table--relationships tbody td:nth-child(4)::before {
        content: "Habilidades";
    }

    .standard-table--relationships tbody td:first-child {
        background: #EAF1FB !important;
        font-weight: 700 !important;
    }

    /* Recuadro exterior más compacto en teléfono */
    .standard-table-card {
        padding: 8px !important;
    }
}


/* =========================================================
   v16 - AJUSTES DE TARJETAS Y TABLAS 1.4 / 1.5
   ========================================================= */

/* 1.4.3: las cuatro tarjetas se presentan una debajo de otra */
.stack-grid-143 {
    grid-template-columns: 1fr !important;
}

/* Tabla Comunicación y Ciclo de Vida */
.standard-table--lifecycle {
    width: 100%;
    min-width: 760px;
}
.standard-table--lifecycle td {
    text-align: center;
}
.standard-table--lifecycle td:nth-child(3) {
    text-align: left;
}
.standard-table--lifecycle .phase-group {
    font-weight: 700;
    background: #EAF1FB !important;
    color: #273469 !important;
    text-align: center !important;
}
.table-list {
    margin: 0;
    padding-left: 1.15rem;
}
.table-list li {
    margin: .12rem 0;
}

/* Tabla Las 7 U's */
.standard-table--tips {
    width: 100%;
    min-width: 780px;
}
.standard-table--tips td:first-child {
    width: 34%;
    font-weight: 700;
}
.standard-table--tips td:nth-child(2) {
    text-align: left;
}

@media (max-width: 767.98px) {

    /* =====================================================
       1.5 - CICLO DE VIDA: una tarjeta por fase
       ===================================================== */
    .standard-table--lifecycle {
        min-width: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }
    .standard-table--lifecycle thead,
    .standard-table--lifecycle colgroup {
        display: none !important;
    }
    .standard-table--lifecycle tbody {
        display: block !important;
        width: 100% !important;
    }
    .standard-table--lifecycle tbody tr {
        display: block !important;
        position: relative !important;
        width: 100% !important;
        margin: 0 0 14px 0 !important;
        padding-top: 38px !important;
        border: 1px solid #273469 !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        background: #FFFFFF !important;
    }
    .standard-table--lifecycle tbody tr::before {
        content: attr(data-grupo) !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        min-height: 38px !important;
        padding: 8px 10px !important;
        background: #273469 !important;
        color: #FFFFFF !important;
        font-weight: 700 !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }
    .standard-table--lifecycle tbody td {
        display: grid !important;
        grid-template-columns: 39% minmax(0,61%) !important;
        width: 100% !important;
        min-width: 0 !important;
        padding: 9px 10px !important;
        border: 0 !important;
        border-bottom: 1px solid #D4DCE9 !important;
        background: #FFFFFF !important;
        color: #000000 !important;
        text-align: left !important;
        font-size: .82rem !important;
        line-height: 1.3 !important;
        box-sizing: border-box !important;
        overflow-wrap: anywhere !important;
    }
    .standard-table--lifecycle tbody td:last-child {
        border-bottom: 0 !important;
    }
    .standard-table--lifecycle tbody td::before {
        display: block !important;
        padding-right: 8px !important;
        color: #273469 !important;
        font-weight: 700 !important;
    }
    .standard-table--lifecycle tbody td.phase-group {
        display: none !important;
    }
    .standard-table--lifecycle tbody td:nth-of-type(2)::before {
        content: "Fase";
    }
    .standard-table--lifecycle tbody td:nth-of-type(3)::before {
        content: "Atributo principal";
    }
    .standard-table--lifecycle tbody td:nth-of-type(4)::before {
        content: "Estilo";
    }
    /* En filas sin celda rowspan visible, los índices cambian */
    .standard-table--lifecycle tbody tr.phase-row--plain td:nth-of-type(1)::before {
        content: "Fase";
    }
    .standard-table--lifecycle tbody tr.phase-row--plain td:nth-of-type(2)::before {
        content: "Atributo principal";
    }
    .standard-table--lifecycle tbody tr.phase-row--plain td:nth-of-type(3)::before {
        content: "Estilo";
    }

    /* =====================================================
       1.5 - 7 U'S: cada U se convierte en una tarjeta
       ===================================================== */
    .standard-table--tips {
        min-width: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }
    .standard-table--tips thead,
    .standard-table--tips colgroup {
        display: none !important;
    }
    .standard-table--tips tbody {
        display: block !important;
        width: 100% !important;
    }
    .standard-table--tips tbody tr {
        display: block !important;
        width: 100% !important;
        margin: 0 0 14px 0 !important;
        border: 1px solid #273469 !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        background: #FFFFFF !important;
    }
    .standard-table--tips tbody td {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        padding: 10px 12px !important;
        border: 0 !important;
        background: #FFFFFF !important;
        color: #000000 !important;
        text-align: left !important;
        font-size: .83rem !important;
        line-height: 1.35 !important;
        box-sizing: border-box !important;
        overflow-wrap: anywhere !important;
    }
    .standard-table--tips tbody td:first-child {
        width: 100% !important;
        background: #EAF1FB !important;
        color: #273469 !important;
        font-weight: 700 !important;
        border-bottom: 1px solid #273469 !important;
    }
}
