.single-acc_collection .wp-block-group.has-accent-4-color.has-text-color.has-link-color.has-small-font-size.is-layout-flex {
    display: none !important;
}

/* =========================
   GRID DE RUTAS Y COLECCIONES
   ========================= */

.acc-paths-grid,
.acc-collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin: 30px 0;
}

.acc-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px;
}

.acc-card-inner a {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.acc-card-image {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #f3f3f3;
}

.acc-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.acc-card-content {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.acc-card-title {
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.3;
    margin: 0;
    color: #1f1f1f;
}

.acc-card-text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #5a5a5a;
    margin: 0;
}

.acc-card-footer {
    margin-top: auto;
    padding-top: 8px;
}

.acc-card-link {
    font-size: 0.92rem;
    font-weight: 500;
    color: #1f1f1f;
}

/* =========================
   ACORDEÓN DE LECCIONES
   ========================= */

.acc-lesson-header {
    padding: 14px 16px;
    background: #f7f7f9;
    margin-top: 12px;
    cursor: pointer;
    border-radius: 12px;
    border: 1px solid #e6e6e6;
    font-weight: 600;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.acc-lesson-header:hover {
    background: #f1f1f5;
    border-color: #dcdcdc;
}

.acc-lesson-header.disabled {
    opacity: 0.55;
    cursor: default;
}

.acc-lesson-body {
    display: none;
    flex-direction: column;
    padding: 14px 20px;
    margin: 8px 0 14px 0;
    border-left: 3px solid #dcd8ff;
    background: #fcfcff;
    border-radius: 0 0 12px 12px;
}

.acc-lesson-body ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.acc-lesson-body li {
    padding: 8px 0;
    border-bottom: 1px solid #efefef;
}

.acc-lesson-body li:last-child {
    border-bottom: none;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 768px) {
    .acc-paths-grid,
    .acc-collections-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

/* =========================
   ESTADOS VISUALES DE PARTES
   ========================= */

.acc-parts-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.acc-part-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid #ececec;
}

.acc-part-item:last-child {
    border-bottom: none;
}

.acc-part-title {
    font-size: 0.95rem;
    color: #2a2a2a;
    line-height: 1.4;
}

.acc-part-status {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.acc-part-item.completed .acc-part-status {
    background: #eaf7ee;
    color: #237a3b;
    border: 1px solid #cfead7;
}

.acc-part-item.unlocked .acc-part-status {
    background: #f2f0ff;
    color: #4d43c8;
    border: 1px solid #ddd8ff;
}

.acc-part-item.locked .acc-part-status {
    background: #f4f4f4;
    color: #777;
    border: 1px solid #e3e3e3;
}

.acc-lesson-title {
    font-weight: 500;
    color: #1f1f1f;
}

.acc-lesson-status {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 500;
    background: #f4f4f4;
    color: #555;
    border: 1px solid #e3e3e3;
}

.acc-lesson-accordion.completed .acc-lesson-status {
    background: #eaf7ee;
    color: #237a3b;
    border-color: #cfead7;
}

.acc-lesson-accordion.locked .acc-lesson-status {
    background: #f4f4f4;
    color: #777;
    border-color: #e3e3e3;
}

/* =========================
   ACORDEÓN MEJORADO
   ========================= */

.acc-lesson-accordion {
    margin-bottom: 14px;
}

.acc-lesson-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    width: 100%;
}

.acc-lesson-title-wrap {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.acc-lesson-arrow {
    font-size: 0.95rem;
    line-height: 1;
    transition: transform 0.22s ease;
    color: #4d43c8;
    flex-shrink: 0;
}

.acc-lesson-accordion.open .acc-lesson-arrow {
    transform: rotate(90deg);
}

.acc-lesson-accordion.open .acc-lesson-header {
    background: #f3f1ff;
    border-color: #d9d4ff;
}

.acc-lesson-accordion.open .acc-lesson-body {
    display: flex;
}

.acc-lesson-title {
    display: inline-block;
    min-width: 0;
}

.acc-lesson-header.disabled .acc-lesson-arrow {
    color: #9a9a9a;
}

.acc-lesson-header.disabled .acc-lesson-title {
    color: #7a7a7a;
}

/* =========================
   ENLACE "IR A LA LECCIÓN"
   ========================= */

.acc-lesson-body a {
    display: block;
    width: fit-content;
    margin-top: 14px;
    margin-left: auto;
    padding: 10px 16px;
    border-radius: 6px;
    background: #4d43c8;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.92rem;
    line-height: 1;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.acc-lesson-body a:hover {
    background: #3f36b2;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(77, 67, 200, 0.18);
}

.acc-lesson-body a:focus {
    outline: 2px solid #cfc9ff;
    outline-offset: 2px;
}

/* =========================
   MI APRENDIZAJE
   ========================= */

.acc-my-learning {
    max-width: 100%;
    margin: 30px 0;
}

.acc-my-learning-path h3 {
    margin: 0 0 18px 0;
    font-size: 1.35rem;
    line-height: 1.3;
}

.acc-my-learning-path h3 a {
    color: #1f1f1f;
    text-decoration: none;
}

.acc-my-learning-path h3 a:hover {
    color: #4d43c8;
}

.acc-my-learning-collection ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.acc-my-learning-collection li {
    padding: 8px 0;
    border-bottom: 1px solid #ececec;
    line-height: 1.5;
}

.acc-my-learning-collection li:last-child {
    border-bottom: none;
}

.acc-my-learning-collection li a {
    color: #2a2a2a;
    text-decoration: none;
    font-weight: 500;
}

.acc-my-learning-collection li a:hover {
    color: #4d43c8;
}

.acc-my-learning-path p {
    margin: 14px 0 0 0;
    line-height: 1.5;
}

.acc-my-learning-path p a {
    color: #4d43c8;
    font-weight: 600;
    text-decoration: none;
}

.acc-my-learning-path p a:hover {
    text-decoration: underline;
}

.acc-my-learning-next {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #f3f1ff;
    border: 1px solid #ddd8ff;
    color: #312a84;
}

.acc-my-learning-pro-lock {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #fff8ef;
    border: 1px solid #f2d8b2;
    color: #8a5a16;
}

@media (max-width: 768px) {
    .acc-my-learning {
        margin: 20px auto;
    }

    .acc-my-learning-collection {
        padding: 14px;
    }
}

.acc-my-learning-next-line {
    margin-top: 6px;
    padding-left: 32px;
}

/* =========================
   AJUSTE VISUAL DE MARCA
   ========================= */

:root {
    --acc-brand: #635BFF;
    --acc-brand-dark: #312A84;
    --acc-brand-soft: #F3F1FF;
    --acc-brand-border: #DDD8FF;
    --acc-text: #1f1f1f;
    --acc-text-soft: #5f6368;
    --acc-surface: #ffffff;
    --acc-surface-soft: #fafaff;
    --acc-border: #e7e7e7;
    --acc-success-bg: #eaf7ee;
    --acc-success-text: #237a3b;
    --acc-warning-bg: #fff8ef;
    --acc-warning-text: #8a5a16;
}

/* Contenedores generales */
.acc-learning-path-single,
.acc-my-learning {
    color: var(--acc-text);
}

/* =========================
   CARDS DE RUTAS Y COLECCIONES
   ========================= */

.acc-path-card,
.acc-collection-card {
    border: 1px solid var(--acc-border);
    border-radius: 10px;
    background: var(--acc-surface);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(20, 20, 43, 0.05);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.acc-path-card:hover,
.acc-collection-card:hover {
    transform: translateY(-4px);
    border-color: var(--acc-brand-border);
    box-shadow: 0 14px 28px rgba(99, 91, 255, 0.12);
}

.acc-path-card a,
.acc-collection-card a {
    text-decoration: none;
    color: inherit;
}

.acc-path-card h3,
.acc-collection-card h3 {
    margin: 0 0 10px 0;
    font-size: 1.12rem;
    line-height: 1.35;
    color: var(--acc-text);
}

.acc-collection-card p,
.acc-path-card p {
    margin: 0;
    color: var(--acc-text-soft);
}

/* Estados visuales de colección en ruta */
.acc-collection-card.completed {
    border-color: #cfead7;
    background: linear-gradient(180deg, #ffffff 0%, #f8fdf9 100%);
}

.acc-collection-card.unlocked {
    border-color: var(--acc-brand-border);
    background: linear-gradient(180deg, #ffffff 0%, #f8f7ff 100%);
}

.acc-collection-card.locked {
    opacity: 0.82;
    background: #fcfcfc;
}

.acc-collection-card.locked .acc-card-inner {
    filter: grayscale(0.08);
}

/* =========================
   ACORDEÓN
   ========================= */

.acc-lesson-accordion {
    margin-bottom: 16px;
}

.acc-lesson-header {
    background: #fbfbfe;
    border: 1px solid #e8e8ef;
    border-radius: 10px;
    padding: 16px 18px;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.acc-lesson-header:hover {
    background: #f7f6ff;
    border-color: var(--acc-brand-border);
    box-shadow: 0 6px 18px rgba(99, 91, 255, 0.08);
}

.acc-lesson-accordion.open .acc-lesson-header {
    background: var(--acc-brand-soft);
    border-color: var(--acc-brand-border);
    box-shadow: 0 8px 20px rgba(99, 91, 255, 0.10);
}

.acc-lesson-arrow {
    color: var(--acc-brand);
    font-weight: 500;
}

.acc-lesson-title {
    color: var(--acc-text);
    font-weight: 500;
}

.acc-lesson-status {
    background: #f4f4f6;
    color: #555;
    border: 1px solid #e3e3e7;
}

.acc-lesson-accordion.completed .acc-lesson-status {
    background: var(--acc-success-bg);
    color: var(--acc-success-text);
    border-color: #cfead7;
}

.acc-lesson-accordion.locked .acc-lesson-status {
    background: #f5f5f5;
    color: #7b7b7b;
    border-color: #e4e4e4;
}

.acc-lesson-body {
    background: #fdfdff;
    border-left: 4px solid var(--acc-brand-border);
    border-radius: 0 0 14px 14px;
}

/* =========================
   PARTES DE LECCIÓN
   ========================= */

.acc-part-item {
    padding: 10px 0;
}

.acc-part-title {
    color: var(--acc-text);
}

.acc-part-status {
    font-weight: 500;
}

.acc-part-item.unlocked .acc-part-status {
    background: var(--acc-brand-soft);
    color: var(--acc-brand);
    border: 1px solid var(--acc-brand-border);
}

/* =========================
   BOTÓN / ENLACE A LECCIÓN
   ========================= */

.acc-lesson-body a {
    display: block;
    width: fit-content;
    margin-top: 16px;
    margin-left: auto;
    padding: 10px 14px;
    border-radius: 6px;
    background: var(--acc-brand);
    color: #ffffff;
    text-decoration: none;
    font-size: 0.94rem;
    font-weight: 500;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(99, 91, 255, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.acc-lesson-body a:hover {
    background: #5249f5;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(99, 91, 255, 0.28);
}

.acc-lesson-body a:focus {
    outline: 2px solid #cfc9ff;
    outline-offset: 2px;
}

/* =========================
   MI APRENDIZAJE
   ========================= */

.acc-my-learning h2 {
    font-size: 28px;
    margin-bottom: 26px;
    line-height: 1.2;
    color: var(--acc-text);
}

.acc-my-learning-path {
    border: 1px solid var(--acc-brand-border);
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #fcfcff 100%);
    box-shadow: 0 10px 24px rgba(99, 91, 255, 0.06);
    padding: 24px;
    margin-bottom: 26px;
}

.acc-my-learning-path h3 {
    margin-bottom: 18px;
    font-size: 1.3rem;
}

.acc-my-learning-path h3 a {
    color: var(--acc-text);
    text-decoration: none;
}

.acc-my-learning-path h3 a:hover {
    color: var(--acc-brand);
}

.acc-my-learning-collection {
    margin-bottom: 18px;
    padding: 16px 18px;
    border-radius: 10px;
    background: var(--acc-surface-soft);
    border: 1px solid #ece9ff;
}

.acc-my-learning-collection h4 {
    margin: 0 0 12px 0;
    color: var(--acc-brand-dark);
    font-size: 1.02rem;
}

.acc-my-learning-collection li {
    padding: 8px 0;
    border-bottom: 1px solid #ededf3;
}

.acc-my-learning-collection li a {
    color: var(--acc-text);
    font-weight: 500;
    text-decoration: none;
}

.acc-my-learning-collection li a:hover {
    color: var(--acc-brand);
}

.acc-my-learning-next {
    margin-top: 18px;
    padding: 15px 16px;
    border-radius: 10px;
    background: var(--acc-brand-soft);
    border: 1px solid var(--acc-brand-border);
    color: var(--acc-brand-dark);
}

.acc-my-learning-pro-lock {
    margin-top: 18px;
    padding: 15px 16px;
    border-radius: 10px;
    background: var(--acc-warning-bg);
    border: 1px solid #f2d8b2;
    color: var(--acc-warning-text);
}

.acc-my-learning-next a {
    color: var(--acc-brand);
    font-weight: 500;
    text-decoration: none;
}

.acc-my-learning-next a:hover {
    text-decoration: underline;
}

.acc-my-learning-empty {
    border: 1px dashed #d7d7de;
    border-radius: 10px;
    background: #fafafa;
    padding: 18px;
    color: #666;
}

/* =========================
   RESPONSIVE FINO
   ========================= */

@media (max-width: 768px) {
    .acc-collection-hero-card {
        padding: 20px;
    }

    .acc-my-learning-path {
        padding: 18px;
    }

    .acc-lesson-header {
        padding: 14px 15px;
    }

    .acc-lesson-status {
        font-size: 0.74rem;
    }
}

.acc-lesson-accordion.membership-locked .acc-lesson-status {
    background: #fff1f1;
    color: #a12622;
    border-color: #f4c7c7;
}

.acc-lesson-accordion.membership-locked .acc-lesson-header {
    background: #fffafa;
    border-color: #f4d4d4;
}

.acc-lesson-accordion.membership-locked .acc-lesson-arrow {
    color: #e53935;
}

.acc-lesson-accordion.membership-locked .acc-lesson-title {
    color: #6a2a2a;
}

.acc-my-learning-start-btn {
    display: inline-block;
    margin-top: 8px;
    padding: 11px 18px;
    border-radius: 12px;
    background: #635BFF;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 8px 18px rgba(99, 91, 255, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.acc-my-learning-start-btn:hover {
    background: #5249f5;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(99, 91, 255, 0.28);
}

/* =========================
   ACORDEÓN DE PARTES EN LECCIÓN
   ========================= */

.acc-lesson-parts {
    margin-top: 24px;
}

.acc-part-accordion {
    margin-bottom: 16px;
}

.acc-part-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 16px 18px;
    background: #fbfbfe;
    border: 1px solid #e8e8ef;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.acc-part-header:hover {
    background: #f7f6ff;
    border-color: #ddd8ff;
    box-shadow: 0 6px 18px rgba(99, 91, 255, 0.08);
}

.acc-part-header.disabled {
    opacity: 0.6;
    cursor: default;
}

.acc-part-title-wrap {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.acc-part-arrow {
    font-size: 0.95rem;
    line-height: 1;
    transition: transform 0.22s ease;
    color: #635BFF;
    flex-shrink: 0;
}

.acc-part-accordion.open .acc-part-arrow {
    transform: rotate(90deg);
}

.acc-part-heading {
    font-weight: 500;
    color: #1f1f1f;
}

.acc-part-badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 500;
    background: #f4f4f6;
    color: #555;
    border: 1px solid #e3e3e7;
}

.acc-part-accordion.completed .acc-part-badge {
    background: #eaf7ee;
    color: #237a3b;
    border-color: #cfead7;
}

.acc-part-accordion.locked .acc-part-badge {
    background: #f4f4f4;
    color: #777;
    border-color: #e3e3e3;
}

.acc-part-body {
    display: none;
    padding: 20px 16px;
    margin-top: 8px;
    border-left: 4px solid #ddd8ff;
    background: #fdfdff;
    border-radius: 0 0 14px 14px;
}

.acc-part-accordion.open .acc-part-body {
    display: block;
    box-shadow: 0 8px 20px rgba(99, 91, 255, 0.06);
}

/* =========================
   REFINAMIENTO DE PARTES
   ========================= */

.acc-part-body > *:first-child {
    margin-top: 0;
}

.acc-part-body > *:last-child {
    margin-bottom: 0;
}

.acc-part-body p {
    line-height: 1.5;
    margin: 0 0 14px 0;
}

.acc-part-body h3,
.acc-part-body h4 {
    margin-top: 0;
    margin-bottom: 12px;
}

.acc-part-body form {
    margin-top: 14px;
}

.acc-part-body .acc-quiz {
    margin-top: 12px;
    padding: 16px;
    border-radius: 12px;
    background: #ffffff;
}

.acc-part-body .acc-quiz-question {
    margin-bottom: 10px;
}

.acc-part-body .acc-quiz-question-body {
    margin-top: 10px;
}

.acc-quiz-options-body {
    margin-top: 15px;
}

.acc-part-body label {
    display: inline-block;
    margin-bottom: 8px;
    line-height: 1.5;
}

.acc-part-body button,
.acc-part-body .acc-complete-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 14px;
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    background: #635BFF;
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(99, 91, 255, 0.18);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.acc-part-body button:hover,
.acc-part-body .acc-complete-btn:hover {
    background: #5249f5;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(99, 91, 255, 0.24);
}

.acc-part-body button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.acc-part-accordion.open .acc-part-header {
    background: #f3f1ff;
    border-color: #ddd8ff;
    box-shadow: 0 8px 20px rgba(99, 91, 255, 0.10);
}

/* =========================
   NAVEGACIÓN INTERNA DEL LMS
   ========================= */
.acc-lms-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 64px 0 22px 0;
    padding: 12px 16px;
    border: 1px solid #ddd8ff;
    border-radius: 10px;
    background: #f8f7ff;
    font-size: 0.94rem;
    line-height: 1.5;
}

.acc-lms-nav a {
    color: #635BFF;
    text-decoration: none;
    font-weight: 600;
}

.acc-lms-nav a:hover {
    text-decoration: underline;
}

.acc-lms-nav-sep {
    color: #8f8aa8;
}

.acc-lms-nav-current {
    color: #1f1f1f;
    font-weight: 500;
}

@media (max-width: 768px) {
    .acc-lms-nav {
        margin-top: 50px;
}
}

/* =========================
   ESTADOS VISUALES DE RUTAS
   ========================= */

/* =========================
   ESTADOS VISUALES DE RUTAS
   ========================= */

.acc-path-card.completed,
.acc-path-card.unlocked,
.acc-path-card.locked {
    border-color: #e6e1e1;
    background: linear-gradient(180deg, #fcfcfc 0%, #f7f7f7 100%);
}

.acc-path-card .acc-card-image {
    background: #ffffff;
}

.acc-path-card .acc-card-title {
    color: #1f1f1f;
}

.acc-path-card .acc-card-link {
    color: #5F6368;
    font-weight: 500;
}

.acc-path-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(20, 20, 43, 0.08);
    border-color: #e6e1e1;
}

/* =========================
   BADGES DE RUTAS
   ========================= */

.acc-card-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-top: 4px;
    margin-bottom: 2px;
}

.acc-card-badge-completed {
    background: #eaf7ee;
    color: #237a3b;
    border: 1px solid #cfead7;
}

.acc-card-badge-unlocked {
    background: #f2f0ff;
    color: #4d43c8;
    border: 1px solid #ddd8ff;
}

.acc-card-badge-locked {
    background: #fff8ef;
    color: #8a5a16;
    border: 1px solid #f2d8b2;
}

/* =========================
   BOTÓN ENLACE A MI APRENDIZAJE
   ========================= */

.acc-my-learning-link-wrap {
    margin: 18px 0 24px 0;
}

.acc-my-learning-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 12px;
    background: #635BFF;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(99, 91, 255, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.acc-my-learning-link-btn:hover {
    background: #5249f5;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(99, 91, 255, 0.28);
}

/* =========================
   PULIDO DE MI APRENDIZAJE
   ========================= */

.acc-my-learning-collection ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.acc-my-learning-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid #ededf3;
}

.acc-my-learning-row:last-child {
    border-bottom: none;
}

.acc-my-learning-row-left {
    min-width: 0;
}

.acc-my-learning-row-left a {
    color: var(--acc-text);
    font-weight: 500;
    text-decoration: none;
}

.acc-my-learning-row-left a:hover {
    color: var(--acc-brand);
}

.acc-my-learning-row-right {
    justify-self: end;
    white-space: nowrap;
}

.acc-my-learning-status-done {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 500;
    background: var(--acc-success-bg);
    color: var(--acc-success-text);
    border: 1px solid #cfead7;
}

.acc-my-learning-next-label {
    font-weight: 500;
    margin-bottom: 8px;
}

.acc-my-learning-next-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    margin-top: 0;
    padding-left: 32px;
}

.acc-my-learning-next-line a {
    color: var(--acc-brand);
    font-weight: 500;
    text-decoration: none;
}

.acc-my-learning-next-line a:hover {
    text-decoration: underline;
}

.acc-my-learning-locked-lesson {
    color: var(--acc-brand-dark);
    font-size: 1.02rem;
    font-weight: 500;
    padding-left: 24px;
}

.acc-my-learning-locked-note {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 500;
    background: #fff3e8;
    color: #9a4f08;
    border: 1px solid #f2d8b2;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.acc-my-learning-locked-note:hover {
    background: #ffe8d2;
    color: #7a3f06;
    border-color: #e8c38f;
}

@media (max-width: 640px) {
    .acc-my-learning-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .acc-my-learning-row-right {
        justify-self: start;
    }

    .acc-my-learning-next-line {
        padding-left: 0;
    }
}

.acc-my-learning-continue-btn {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 500;
    background: #f2f0ff;
    color: #4d43c8;
    border: 1px solid #ddd8ff;
    text-decoration: none;
}

.acc-my-learning-continue-btn:hover {
    background: #e9e5ff;
    color: #3f36b2;
}

@media (max-width: 640px) {
    .acc-my-learning-next-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .acc-my-learning-next-right {
        justify-self: start;
    }
}

.acc-my-learning-action-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
}

.acc-my-learning-action-left {
    min-width: 0;
}

.acc-my-learning-action-right {
    justify-self: end;
    align-self: center;
    white-space: nowrap;
}

.acc-my-learning-next-label {
    font-weight: 500;
    margin-bottom: 10px;
}

.acc-my-learning-next-line {
    margin-top: 0;
    padding-left: 0;
}

.acc-my-learning-continue-btn {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 500;
    background: #f2f0ff;
    color: #4d43c8;
    border: 1px solid #ddd8ff;
    text-decoration: none;
}

.acc-my-learning-continue-btn:hover {
    background: #e9e5ff;
    color: #3f36b2;
}

@media (max-width: 640px) {
    .acc-my-learning-action-card {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .acc-my-learning-action-right {
        justify-self: start;
    }
}

/* =========================
   ACORDEÓN EN MI APRENDIZAJE
   ========================= */

.acc-my-learning-collection-accordion {
    margin-bottom: 18px;
    border-radius: 10px;
    background: var(--acc-surface-soft);
    border: 1px solid #ece9ff;
    overflow: hidden;
}

.acc-my-learning-collection-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    cursor: pointer;
    background: #fafaff;
    transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.acc-my-learning-collection-header:hover {
    background: #f6f4ff;
}

.acc-my-learning-collection-title-wrap {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.acc-my-learning-collection-arrow {
    font-size: 0.95rem;
    line-height: 1;
    color: var(--acc-brand);
    transition: transform 0.22s ease;
    flex-shrink: 0;
}

.acc-my-learning-collection-title {
    color: var(--acc-brand-dark);
    font-size: 1.02rem;
    font-weight: 500;
}

.acc-my-learning-collection-body {
    display: none;
    padding: 0 18px 14px 18px;
}

.acc-my-learning-collection-accordion.open .acc-my-learning-collection-body {
    display: block;
}

.acc-my-learning-collection-accordion.open .acc-my-learning-collection-arrow {
    transform: rotate(90deg);
}

.acc-my-learning-collection-accordion.open .acc-my-learning-collection-header {
    background: #f3f1ff;
    box-shadow: inset 0 -1px 0 #ece9ff;
}

/* =========================
   NAVEGACIÓN ENTRE LECCIONES
   ========================= */

.acc-lesson-nav {
    margin-top: 28px;
}

.acc-lesson-nav-btn {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 18px;
    border-radius: 10px;
    text-decoration: none;
    border: 1px solid var(--acc-brand-border);
    background: var(--acc-surface);
    box-shadow: 0 8px 20px rgba(99, 91, 255, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.acc-lesson-nav-btn:hover {
    transform: translateY(-2px);
    background: var(--acc-brand-soft);
    box-shadow: 0 12px 24px rgba(99, 91, 255, 0.12);
}

.acc-lesson-nav-label {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--acc-text-soft);
}

.acc-lesson-nav-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--acc-text);
}

/* diferenciación opcional */
.acc-lesson-nav-btn.next {
    border-left: 4px solid var(--acc-brand);
}

.acc-lesson-nav-btn.prev {
    border-left: 4px solid #999;
}

/* =========================
   PÁGINA UPGRADE
   ========================= */

.acc-upgrade-page {
    max-width: 520px;
    margin: 60px auto;
    text-align: center;
}

.acc-upgrade-page h1 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.acc-upgrade-page p {
    margin-bottom: 12px;
    color: var(--acc-text-soft);
}

.acc-upgrade-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 22px;
    border-radius: 12px;
    background: var(--acc-brand);
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 10px 22px rgba(99, 91, 255, 0.25);
}

.acc-upgrade-btn:hover {
    background: #5249f5;
}

/* =========================
   PROGRESO POR COLECCIÓN
   ========================= */

.acc-my-learning-progress {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--acc-brand);
    background: var(--acc-brand-soft);
    border: 1px solid var(--acc-brand-border);
    padding: 4px 8px;
    border-radius: 999px;
}

/* =========================
   PROGRESO POR RUTA
   ========================= */

.acc-path-progress-wrapper {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--acc-border);
}

.acc-path-progress-bar {
    width: 100%;
    height: 8px;
    background: #eee;
    border-radius: 999px;
    overflow: hidden;
}

.acc-path-progress-fill {
    height: 100%;
    background: var(--acc-brand);
    transition: width 0.3s ease;
}

.acc-path-progress-text {
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 6px;
    color: var(--acc-text-soft);
}

/* =========================
   REPRODUCTOR DE AUDIO
   ========================= */
.acc-audio-player,
.acc-audio-player button,
.acc-audio-player input,
.acc-audio-player input.acc-audio-seek-slider {
    all: revert;
    box-sizing: border-box !important;
}

.acc-audio-player {
    display: flex !important;
    align-items: center !important;
    background: #fbfbfe !important;
    border: 1px solid #cfcfcf !important;
    border-radius: 16px !important;
    padding: 8px !important;
    gap: 16px !important;
    max-width: 800px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    color: #ffffff !important;
}

.acc-audio-play-btn {
    flex: 0 0 45px !important;
    height: 40px !important;
    width: 40px !important;
    background: #ffffff !important;
    color: #000000 !important;
    border-radius: 50% !important;
    border: none !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.acc-audio-center {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 6px !important;
    min-width: 0 !important;
    align-self: center !important;
}

.acc-audio-seek-slider {
    width: 100% !important;
    cursor: pointer !important;
    accent-color: #635BFF !important;
    height: 4px !important;
    display: block !important;
    margin-top: 10px !important;
    margin-bottom: 0 !important;
}

.acc-audio-time-markers {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 10px !important;
    color: #b3b3b3 !important;
    margin: 0 !important;
}

.acc-audio-repeat-btn {
    flex: 0 0 32px !important;
    background: transparent !important;
    height: 40px !important;
    width: 40px !important;
    border: none !important;
    color: #b3b3b3 !important;
    cursor: pointer !important;
    font-size: 25px !important;
}

.acc-audio-play-btn:hover {
    transform: scale(1.2);
}

.acc-audio-repeat-btn:hover {
    font-size: 30px !important;
}

.acc-audio-repeat-btn.active {
    color: #635BFF !important;
    font-size: 25px !important;
}

.acc-part-body .acc-audio-repeat-btn,
.acc-part-body .acc-audio-repeat-btn:hover,
.acc-part-body .acc-audio-repeat-btn:focus,
.acc-part-body .acc-audio-repeat-btn.active {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* =========================
   FIN DEL REPRODUCTOR DE AUDIO
   ========================= */

   /* =========================
   AUDIO CORTO NOMBRE COLECCIÓN
   ========================= */

.acc-collection-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.acc-collection-title-row h2 {
    margin: 0;
    font-size: 28px;
}

.acc-collection-name-audio-btn {
    appearance: none;
    -webkit-appearance: none;
    border: none;
    background: transparent;
    color: var(--acc-brand);
    padding: 0;
    margin: 12px 0px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    cursor: pointer;
    line-height: 1.5;
    box-shadow: none;
    vertical-align: middle;
}

.acc-collection-name-audio-btn svg {
    display: block;
    width: 32px;
    height: 32px;
}

.acc-collection-name-audio-btn:hover {
    color: var(--acc-brand-dark);
    transform: none;
    background: transparent;
}

.acc-collection-name-audio-btn:focus {
    outline: 2px solid var(--acc-brand-border);
    outline-offset: 2px;
}

/* =========================
   MODO REPASO
   ========================= */
.acc-quiz-result-line {
    font-weight: 500;
    margin: 0 0 10px 0 !important;
    line-height: 1.3;
}

.acc-quiz-review-badge {
    display: inline-flex;
    align-items: center;
    margin: 0 0 14px 0;
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff4d6;
    color: #8a5a16;
    border: 1px solid #f2d8b2;
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1;
}

.acc-quiz-options-body {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px 18px;
    align-items: center;
}

.acc-quiz-option {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    margin: 0 !important;
    line-height: 1.2;
    font-weight: 500;
    text-transform: lowercase;
}

.acc-quiz-option input[type="radio"] {
    margin: 0;
}

/* =========================
   HERO DE COLECCIÓN
   Desktop: 2 columnas
   Mobile/Tablet: filas
   ========================= */

.acc-collection-hero-card {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    column-gap: 28px;
    align-items: start;
    border: 1px solid var(--acc-brand-border);
    border-radius: 10px;
    background: linear-gradient(135deg, #ffffff 0%, #f7f6ff 100%);
    box-shadow: 0 12px 28px rgba(99, 91, 255, 0.08);
    padding: 24px;
}

.acc-collection-image {
    width: 100%;
}

.acc-collection-image img {
    width: 100%;
    display: block;
    box-shadow: 0 10px 24px rgba(20, 20, 43, 0.08);
}

.acc-collection-hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    min-width: 0;
    padding-top: 4px;
}

.acc-collection-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
    margin: 0 0 14px 0;
}

.acc-collection-title-row h2 {
    margin: 0;
    font-size: 28px;
    line-height: 1.15;
}

.acc-collection-name-audio-btn {
    margin: 0;
    flex: 0 0 auto;
    align-self: flex-start;
}

.acc-collection-hero-content > p {
    margin: 0;
    color: var(--acc-text-soft);
    font-size: 1rem;
}

/* Tablet y phone */
@media (max-width: 768px) {
    .acc-collection-hero-card {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .acc-collection-hero-content {
        width: 100%;
        padding-top: 0;
    }

    .acc-collection-title-row {
        flex-wrap: wrap;
        margin-bottom: 10px;
    }
}

/* =========================
   RUTAS - CARD COMPACTA NUEVA
   ========================= */

.acc-paths-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.acc-path-card .acc-card-inner {
    padding: 16px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.acc-path-card .acc-card-top {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.acc-path-card .acc-card-image {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 6px;
    border-radius: 12px;
    background: #ffffff;
    border-bottom: none;
}

.acc-path-card .acc-card-image img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
    display: block;
    opacity: 0.75;
}

.acc-path-card .acc-card-heading-group {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.acc-path-card .acc-card-title {
    margin: 0;
    padding-top: 10px;
    font-size: 1.05rem;
    line-height: 1.25;
    text-align: left;
}

.acc-path-card .acc-card-content {
    padding: 0;
    text-align: left;
    align-items: flex-start;
    gap: 0;
}

.acc-path-card .acc-card-footer {
    margin-top: 18px;
    padding-top: 0;
}

.acc-path-card .acc-card-link {
    display: block;
    margin: 20px 0;
    padding-left: 8px;
    font-size: 0.95rem;
    line-height: 1.4;
    color: #5F6368;
}

@media (max-width: 768px) {
    .acc-paths-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .acc-path-card .acc-card-inner {
        min-height: 160px;
    }
}

.acc-part-state-available {
    color: #4d43c8;
}

.acc-part-state-available::before {
    content: "🔓 ";
}

.acc-part-state-quiz-done {
    color: #237a3b;
}

.acc-part-state-quiz-done::before {
    content: "✓ ";
}

.acc-part-state-locked {
    color: #777;
}

.acc-part-state-locked::before {
    content: "🔒 ";
}

.acc-list-content {
    padding-left: 20px;
    margin: 12px 0;
}

.acc-list-content span {
    font-weight: bold;
    color: #5F6368;
}

.acc-list-content::before {
    content: "✓ ";
}

.acc-audio-advice {
    padding-top: 20px;
}

.acc-audio-advice::before {
    content: "🎧 ";
}

/* =========================
   MI APRENDIZAJE - TOPBAR
   ========================= */

.acc-my-learning-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.acc-my-learning-topbar h2 {
    margin: 0;
}

.acc-my-learning-print-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #f3f1ff;
    color: #635BFF;
    border: 1px solid #ddd8ff;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.acc-my-learning-print-icon:hover {
    background: #ebe7ff;
    color: #5249f5;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(99, 91, 255, 0.14);
}

.acc-my-learning-print-icon:focus {
    outline: 2px solid #cfc9ff;
    outline-offset: 2px;
}

@media (max-width: 640px) {
    .acc-my-learning-topbar {
        align-items: flex-start;
    }
}

/* =========================
   VERSIÓN IMPRIMIBLE / PDF
   ========================= */

.acc-my-learning-print .acc-my-learning-print-icon {
    display: none !important;
}

.acc-my-learning-print .acc-my-learning-collection-body {
    display: block !important;
}

.acc-my-learning-print .acc-my-learning-collection-arrow,
.acc-my-learning-print .acc-my-learning-continue-btn,
.acc-my-learning-print .acc-my-learning-locked-note,
.acc-my-learning-print .acc-my-learning-start-btn {
    display: none !important;
}

.acc-my-learning-print .acc-my-learning-collection-header {
    cursor: default;
}

@media print {
    body {
        background: #ffffff !important;
    }

    .acc-my-learning {
        margin: 0 !important;
        padding: 0 !important;
    }

    .acc-my-learning-topbar {
        margin-bottom: 18px;
    }

    .acc-my-learning-print-icon {
        display: none !important;
    }

    .acc-my-learning-path {
        box-shadow: none !important;
        background: #ffffff !important;
        border: 1px solid #d9d9e3 !important;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .acc-my-learning-collection-accordion {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .acc-my-learning-collection-body {
        display: block !important;
    }

    .acc-my-learning-next,
    .acc-my-learning-pro-lock {
        box-shadow: none !important;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .acc-path-progress-fill {
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }
}