/* Sitio y campus */
.theme-toggle{ display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;border:1px solid #ccdadd;border-radius:50%;background:transparent;color:#0d4c57;cursor:pointer;font-size:18px;flex-shrink:0; }
.theme-toggle:hover{ background:#edf5f6; }
.theme-toggle:focus-visible{ outline:3px solid #ff9d50;outline-offset:3px; }
.nav-menu-botones > .nav-theme-item{ padding:15px 5px; }
.mobile_nav .theme-toggle{ width:36px;height:36px; }
html[data-theme="dark"]{ color-scheme:dark;--theme-bg:#101b24;--theme-surface:#192934;--theme-raised:#223845;--theme-text:#e5edf1;--theme-muted:#b0c2cc;--theme-border:#3d5664;--ms-blue-900:#d5eaf7;--ms-blue-800:#a4d3ee;--ms-slate-050:#223845;--ms-slate-100:#3d5664;--ms-slate-700:#b0c2cc; }
html[data-theme="dark"] body{ background:var(--theme-bg);color:var(--theme-text); }
html[data-theme="dark"] .theme-toggle{ color:#ffd39c;border-color:var(--theme-border); }
html[data-theme="dark"] .theme-toggle:hover{ background:var(--theme-raised); }

html[data-theme="dark"] :is(
 .header,.header.header-fixed,.navigation-portrait .nav-menus-wrapper,.nav-menu > li .nav-dropdown,.megamenu,.megamenu-footer,
 .search-dialog,.modal-content,.modal-left,.modal-content .modal-body,.modal-content .modal-footer,
 .panel-default,.aitsaccordionw3layouts .panel-collapse,.w3aitssinglewthree,.wthreeproductdisplay,
 .cbp-pggrid > li.wthree.aits .cbp-pgcontent,.card,.cardcate,.categoria_titulo,.box-categoria,.box-categoria .inner,
 .me-card,.pc-card,.goal-card,.profesional-item,.home-area-card,.home-review,.home_search_dropdown,.home-free-list,
 .course-discovery-card,.course-ranking-wrap,.course-hero,.course-cover,.already-box,.curso_datos,.curso_box.fl_color .box_contenido,
 .pricing-item,.feature-item,.premium-video-feature__panel,#accordion-temario .card,#accordion-temario .accordion-title,#accordion-temario .card-body,
 .met-item,.faq-item,.testi-card,.sticky-cta,.sim-card,.qs-cta-box,.testimonio-box,.testaudios .audio-card,.beca-card,
 .vocacion .voc-test-card,.voc-results,.voc-suggestion-card,.voc-profession-area,.loginp_wrap,.contenido-articulo,.modern-card,.estructura-bloque,
 .pregunta-box,.opcion,.test-intro,.test-results,.result-card,.res-card,.historial-item,.res-score-card,.res-texto,.bolsa-card,.perfil-tarjeta,
 .continue-study-action,.cursos-sort select,.cursos-filter .filter-chip,.course-skeleton-card,.study-route-node,.cq-start-card,.cq-start-email,
 .cq-result-overview,.cq-result-email,.cq-result-detail,.cq-just-box,.content-block,.datos-cuenta-m,.tp-card,.tp-teacher-feedback,.avp-form-card,
 .cq-retry-panel,.cq-next-step,.course-complete-card,.course-comment-review,.certificate-ready-body,
 .registro-pagos .opciones-pago .btn-metodo,.registro-pagos .datos-cuenta,.registro-pagos .card-pago-total,.telefono-card,.telefono-modal-section,
 #mpago-multi-resumen,#mpago-card-total,#certf #prevdatos
){ background:var(--theme-surface) !important;color:var(--theme-text);border-color:var(--theme-border); }
html[data-theme="dark"] :is(.bggray,.bg-secundario,#miscursos .bg-secundario.py-80,.perfil-pagina,.banner-portada,.grad_light,.seccion-comentarios,.profesionales-section,.mas-elegidos,.certificacion-section,.categolist,.similares-section,.seccion-estructura,.voc-test-bg){ background:var(--theme-bg) !important;color:var(--theme-text); }
html[data-theme="dark"] :is(.help-card,.help-card-icon,.study-header-actions,.study-route-head,.study-route-step.is-current,.study-next-step,.home-vocational,.home-duration-options a,.home-free,.home_stats,.pricing-highlight,.faq-item p,.qs-sede-lugar,.test-notice,.res-pill,.res-dim-list li,.test-start-card,.telefono-modal-section-alt,.banner-encuesta-compact,.tp-file-picker label,.tp-message,#videos .study-video-empty,.cq-next-step.is-pending,.cq-next-step.is-locked,.test-item .test-btn){ background:var(--theme-raised) !important;color:var(--theme-text);border-color:var(--theme-border); }
html[data-theme="dark"] :is(h1,h2,h3,h4,h5,h6,.font-title-lg,.font-titulo-xs,.txt-verde,.texto-primario,.course-discovery-card strong,.course-discovery-heading h2,.course-discovery-heading h3,.course-ranking-area,.misestudios-intro-label,.nav-menu > li > a,.nav-dropdown > li > a,.megamenu-col a,.megamenu-col-title,.categoria_titulo h6 a,.cbp-pginfo h3 a,.cbp-pgoptcart,.study-header-action,.study-route-step,.content-item-action,.cq-start-card,.cq-opt,.cq-result-detail,.content-title){ color:var(--theme-text) !important; }
html[data-theme="dark"] :is(.font-desc-lg,.texto-secundario,.text-muted,.banner-portada-start p,.cardcate p,.categoria_titulo span,.course-discovery-heading p,.course-discovery-card small,.course-discovery-clear,.cbp-pginfo p,.home-review p,.home-review small,.study-route-head p,.study-route-step small,.cq-start-card p,.cq-start-card label,.cq-result-detail p,.content-block p,.perfil-tarjeta label){ color:var(--theme-muted) !important; }
html[data-theme="dark"] :is(.panel-title a,.modal-footer a,.faq-item a,.contenido-articulo a,.course-discovery-card:hover,.megamenu-col a:hover,.nav-menu > li > a:hover){ color:#80d6da !important; }
html[data-theme="dark"] :is(.form-control,textarea,select,.cq-opt,#fcomen #comentario,#fperfil .form-control,.avp-form-card .form-control){ background-color:var(--theme-bg) !important;color:var(--theme-text) !important;border-color:var(--theme-border) !important; }
html[data-theme="dark"] :is(input,textarea)::placeholder{ color:#a4b9c5;opacity:1; }
html[data-theme="dark"] .form-control:focus{ border-color:#80d6da !important;box-shadow:0 0 0 2px #80d6da33; }
html[data-theme="dark"] :is(.filter-chip.is-active,.filter-chip.active,.cq-opt.cq-selected,.opcion:has(input:checked)){ background:#254b50 !important;color:#e5edf1 !important;border-color:#80d6da !important; }
html[data-theme="dark"] :is(.nav-tabs > li > a,.nav-tabs > li.active > a,.nav-tabs > li.active > a:hover){ background:var(--theme-surface);color:var(--theme-text);border-color:var(--theme-border); }
html[data-theme="dark"] :is(.table > thead > tr > th,.table > tbody > tr > td,.panel-group .panel-heading + .panel-collapse > .panel-body){ border-color:var(--theme-border); }
html[data-theme="dark"] :is(.table-striped > tbody > tr:nth-of-type(odd),.comparacion tbody tr:nth-child(odd)){ background:var(--theme-raised); }
html[data-theme="dark"] .course-discovery-scroll-hint.is-left{ background:linear-gradient(to left,transparent,var(--theme-surface) 62%); }
html[data-theme="dark"] .course-discovery-scroll-hint.is-right{ background:linear-gradient(to right,transparent,var(--theme-surface) 62%); }
html[data-theme="dark"] :is(.study-route-scroll-hint.is-left,.home-duration-hint.is-left,.home-reviews-hint.is-left){ background:linear-gradient(to left,transparent,var(--theme-bg) 66%); }
html[data-theme="dark"] :is(.study-route-scroll-hint.is-right,.home-duration-hint.is-right,.home-reviews-hint.is-right){ background:linear-gradient(to right,transparent,var(--theme-bg) 66%); }
html[data-theme="dark"] .close{ color:var(--theme-text);opacity:.85;text-shadow:none; }
html[data-theme="dark"] .search-dialog-close{ background:var(--theme-raised);color:var(--theme-text); }
html[data-theme="dark"] .nav-toggle:before{ background:#b0c2cc;box-shadow:0 .5em 0 #b0c2cc,0 1em 0 #b0c2cc; }
html[data-theme="dark"] .submenu-indicator-chevron{ border-color:transparent #b0c2cc #b0c2cc transparent; }
html[data-theme="dark"] .nav-brand .logo{ background:transparent;border-radius:0;padding:0;filter:brightness(0) invert(1); }
@media print{ .theme-toggle{ display:none !important; } }

html[data-theme="dark"] :is(.home_description,.home_trustpilot_label,.home_trustpilot_score,.home-payments-title,.home-payments-text,.home-reviews-score-text,.me-price-now,.me-cta,.home-duration-title,.home-vocational-copy strong,.megamenu-btn-outline,.destacar,.welinter){ color:var(--theme-text) !important; }
html[data-theme="dark"] :is(.home-review,.profesional-item,.home-free,.home-vocational-copy,.certificacion-benefits,.home-duration-title,.me-card,.course-hero,.curso_datos,.pricing-item,.feature-item,.met-item,.faq-item,.testi-card,.sim-card,.perfil-tarjeta,.cq-start-card,.cq-result-detail,.content-block,.study-route-step,.study-header-action) :is(p,strong,small,label){ color:var(--theme-text) !important; }
html[data-theme="dark"] :is(.home-review a,.home-reviews-head a,.home_search_prompt strong,.home-recommend span,.home_search_hint,.certificacion-section .destacar){ color:#80d6da !important; }
html[data-theme="dark"] :is(.home_bullets .b,.home_trustpilot,.home_trustpilot_media,.home_search_box,.mas-elegidos .home-payments-box,.home-review-avatar,.home-free-tag,.certificacion-benefits div,.gallery-controls button,.cq-btn-atras,.cq-btn-no,.cq-just-btns .cq-btn-no,.cq-feedback .cq-action-secondary,.study-route-step.is-current .study-route-node){ background:var(--theme-raised) !important;color:var(--theme-text) !important;border-color:var(--theme-border); }
html[data-theme="dark"] :is(.home_search_input,.home_search_prompt,.home_search_prompt strong,.home_search_item,.home_search_item_title,.home_search_item_meta,.home_search_empty,.home_search_hint,.home-recommend,.home-recommend span,.home-reviews-head p,.home-areas-head p,.home-vocational-copy span,.certificacion-benefits span,.home-free-action small){ color:var(--theme-muted) !important; }
html[data-theme="dark"] .home_title span{ background-image:linear-gradient(95deg,#ff9d50,#80d6da); }
html[data-theme="dark"] :is(.home_search_item:hover,.megamenu-col a:hover,.cursos-filter .filter-chip.isActive,.cq-opt:hover){ background:var(--theme-raised) !important;color:var(--theme-text) !important; }
html[data-theme="dark"] :is(.home-recommend-cta,.home-recommend-cta span,.home_search_icon,.home_search_more,.home-area-body p,.home-reviews-heading p,.study-route-label,.study-route-description,.content-description){ color:var(--theme-muted) !important; }
html[data-theme="dark"] :is(.home-recommend-cta,.study-header-action-icon,.cq-start-icon,.cq-result-explanation,.cq-result-detail .cq-result-correct,.cq-result-detail .cq-result-incorrect,.course-comment-saved,.cq-feedback,.cq-feedback.is-success,.cq-feedback.is-error,.tp-message[role="alert"]){ background:var(--theme-raised) !important;border-color:var(--theme-border); }
html[data-theme="dark"] .study-header-action.is-available:hover{ background:var(--theme-surface); }
html[data-theme="dark"] :is(.pricing-item,.course-hero,.hero-price-preview,.sim-card,.content-block,.cq-start-card) :is(span:not([class]),b){ color:var(--theme-text); }
html[data-theme="dark"] :is(.course-hero-modern,.detalle-video-feature,.premium-video-feature,.certificacion-gallery,.certificacion-preview__frame,.sim-img-wrap,.bg-light,.cbp-pginfo::after,.cbp-pggrid > li.wthree.aits::before){ background:var(--theme-bg) !important;border-color:var(--theme-border); }
html[data-theme="dark"] :is(.course-hero-modern,.pricing-strip,.hero-price-preview,.sim-card,.met-item,.faq-item,.testi-card,.cbp-pginfo,.cbp-pgoptions,.perfil-tarjeta,.pregunta-box,.test-intro,.result-card,.res-card,.historial-item) :is(p,small,strong,b,label,span:not(.badge):not(.badge-sale):not(.text-white)){ color:var(--theme-text) !important; }
html[data-theme="dark"] :is(.hero-description,.hero-price-now,.hero-price-context,.hero-price-term,.enroll-help,.hero-payment-logos,.cbp-pgoptcart,.study-route-title,.content-item-title,.module-title,.cq-question,.cq-result-text){ color:var(--theme-text) !important; }
html[data-theme="dark"] :is(.hero-highlights span,.hero-benefits span,.btn.enroll-btn--secondary,.btn-outline,.cq-review-launch.is-summary,.chatpdf-launch,.datos-cuenta-m,.note-editor.note-frame,.note-editor .note-editing-area .note-editable){ background:var(--theme-surface) !important;color:var(--theme-text) !important;border-color:var(--theme-border); }
html[data-theme="dark"] :is(.cbp-pgoptsize span,.hero-trust-item,.ise-search-box,.ise-filtros-header,.ise-filtros-panel){ background:var(--theme-surface) !important;color:var(--theme-text) !important;border-color:var(--theme-border) !important; }
html[data-theme="dark"] :is(.ise-search-box input,.ise-filtros-label,.ise-filtros-header-left,.hero-trust-item i){ color:var(--theme-text) !important; }
html[data-theme="dark"] .btn-whatsapp-modern{ color:#86dfaa;border-color:#4cb977; }
html[data-theme="dark"] .hero-payment-logos img{ background:#fff;border-radius:3px; }

/* Detalle de curso */
html[data-theme="dark"] .hero-enrollment-pricing .hero-price-preview{
    padding: 18px;
    background: var(--theme-surface) !important;
    border: 1px solid var(--theme-border);
    border-radius: 14px;
    box-shadow: none;
}
html[data-theme="dark"] .hero-enrollment-grid,html[data-theme="dark"] .hero-price-total{ border-color: var(--theme-border); }
html[data-theme="dark"] .hero-price-total small,html[data-theme="dark"] .hero-price-duration small,html[data-theme="dark"] .hero-price-insc small{ color: var(--theme-muted) !important; }
html[data-theme="dark"] .detalle-video-feature{
    background: transparent !important;
}
html[data-theme="dark"] .detalle-video-feature__panel{
    background: var(--theme-raised) !important;
    border: 1px solid var(--theme-border);
    box-shadow: none;
}
html[data-theme="dark"] .pricing-strip{ background: var(--theme-surface) !important; }
html[data-theme="dark"] .pricing-strip::after{ background: none; }
html[data-theme="dark"] .curso_box.fl_color .box_texto,html[data-theme="dark"] .curso_box.fl_color .box_texto :is(p, li, div, span, strong, small, summary),html[data-theme="dark"] .sticky-cta-title{ color: var(--theme-text) !important; }
html[data-theme="dark"] .sticky-cta-price{ color: #80d6da !important; }
html[data-theme="dark"] .sticky-cta-price small{ color: var(--theme-muted); }
html[data-theme="dark"] .curso_box.fl_color .premium,html[data-theme="dark"] .certificacion-meta p{
    background: var(--theme-raised) !important;
    border-color: var(--theme-border);
}
html[data-theme="dark"] .curso_box.fl_color .box_texto .premium__title,html[data-theme="dark"] .curso_box.fl_color .box_texto .premium__linktext{ color: #80d6da !important; }
html[data-theme="dark"] .nav-menu > li > .nav-dropdown::before{ background-color: var(--theme-surface); }

/* Institucion y testimonios */
html[data-theme="dark"] .qs-historia-head p,html[data-theme="dark"] .qs-timeline p,html[data-theme="dark"] .qs-timeline li.is-hoy p,html[data-theme="dark"] .qs-sede-texto p,html[data-theme="dark"] .qs-sede-label,html[data-theme="dark"] .step-item p,html[data-theme="dark"] .testimonio-box .testimonio-txt p{ color: var(--theme-muted) !important; }
html[data-theme="dark"] .qs-timeline-year,html[data-theme="dark"] .qs-sede-lugar strong,html[data-theme="dark"] .step-item strong,html[data-theme="dark"] .step-item a,html[data-theme="dark"] .bolsa-card-header i,html[data-theme="dark"] .bolsa-frase_txt strong{ color: #80d6da !important; }
html[data-theme="dark"] .qs-timeline li.is-hoy .qs-timeline-year{ color: #ff9d50 !important; }
html[data-theme="dark"] .qs-timeline::before,html[data-theme="dark"] .step-item:not(:last-child)::before{ background: var(--theme-border); }
html[data-theme="dark"] .qs-timeline li::before{ background: var(--theme-surface);border-color:#80d6da; }
html[data-theme="dark"] .qs-timeline li.is-hoy::before{ background:#ff9d50;border-color:#ff9d50; }
html[data-theme="dark"] .qs-sede,html[data-theme="dark"] .testimonio-footer{ border-color: var(--theme-border); }
html[data-theme="dark"] .testimonio-box .testimonio-nombre{ color:var(--theme-text) !important; }
html[data-theme="dark"] .testimonio-box small{ color:var(--theme-muted); }
html[data-theme="dark"] .testimonio-box small .fa-map-marker{ color:#80d6da; }
html[data-theme="dark"] .testimonio-box a{ color:#ffae70;border-color:#ffae70; }

/* Comparacion de cursos */
html[data-theme="dark"] .comparacion .comparar-row{ background:var(--theme-raised) !important; }
html[data-theme="dark"] .comparacion :is(td, th, table){ border-color:var(--theme-border); }
html[data-theme="dark"] .comparacion .tickazul{ color:#8acbff; }
html[data-theme="dark"] .comparacion .tickverde{ color:#8be0a4; }
html[data-theme="dark"] .comparacion .precio-ahora,html[data-theme="dark"] .comparacion .precio-ahora span{ color:#ffae70; }
html[data-theme="dark"] .comparacion .precio-antes{ color:var(--theme-muted); }

/* Campus */
html[data-theme="dark"] .aitsaccordionw3layouts .chatpdf-launch-title,html[data-theme="dark"] .cuestionario-resumen-titulo,html[data-theme="dark"] .cuestionario-dato-etiqueta{ color:var(--theme-text) !important; }
html[data-theme="dark"] .aitsaccordionw3layouts .chatpdf-launch-sub{ color:var(--theme-muted) !important; }
html[data-theme="dark"] .aitsaccordionw3layouts .chatpdf-launch::after,html[data-theme="dark"] .content-item-icon,html[data-theme="dark"] .content-icon,html[data-theme="dark"] .cuestionario-estado-disponible{ color:#80d6da !important; }
html[data-theme="dark"] .cuestionario-estado-aprobado{ color:#8be0a4 !important; }
html[data-theme="dark"] .cuestionario-estado-desaprobado{ color:#ff9b9b !important; }
html[data-theme="dark"] .cuestionario-puntaje{ color:#ffd080 !important; }
html[data-theme="dark"] .cuestionario-resumen-interactivo:hover,html[data-theme="dark"] .cuestionario-resumen-interactivo:focus{
    background:var(--theme-raised) !important;
}
@media (max-width:768px){
    html[data-theme="dark"] .hero-enrollment-pricing .hero-price-preview{ padding:14px; }
}

html[data-theme="dark"] .aitsaccordionw3layouts .content-main > .fa,html[data-theme="dark"] .cuestionario-resumen-titulo i{ color:#80d6da; }
html[data-theme="dark"] .cuestionario-resumen-datos{ color:var(--theme-muted); }
html[data-theme="dark"] .testimonio-box .testimonio-footer{ border-color:var(--theme-border); }

html[data-theme="dark"] .carousel-wrapper::before{ background:linear-gradient(to right,var(--theme-bg),transparent) !important; }
html[data-theme="dark"] .carousel-wrapper::after{ background:linear-gradient(to left,var(--theme-bg),transparent) !important; }
html[data-theme="dark"] :is(.home-aliados img,.qs-logos img){ filter:brightness(0) invert(1);opacity:1; }
html[data-theme="dark"] :is(.testvideos,.voc-professions){ background:var(--theme-bg) !important; }
html[data-theme="dark"] :is(.testvideos .col-videos,.boxpromo .caja,.becas-nota,.card-partners,.certificados-texto){ background:var(--theme-surface) !important;border-color:var(--theme-border); }
html[data-theme="dark"] :is(.mas-elegidos-lead,.me-meta span,.profesionales-head p,.home-aliados-title,.home-free-meta > span,.qs-cta-copy p,.becas-nota,.boxpromo .caja,.bolsa-frase_txt span,.buzon-recaptcha-note,#buzon-telefono-ayuda,#contador,.voc-test-card p,.voc-progress-count,.seccion-intro_txt p,.card.shadow p,.card-body p,.cbp-pggrid > p,.similares-sub,.reg-step-desc,.reg-label,.recu-pasos li,.recu-ayuda,.nav-menus-wrapper-close-button){ color:var(--theme-muted) !important; }
html[data-theme="dark"] :is(.seccion-intro_txt p,.card.shadow p,.card-body p,.becas-nota,.boxpromo .caja) :is(strong,em){ color:inherit !important; }
html[data-theme="dark"] :is(.home-areas-all,.qs-cta-secondary,.btn-bolsa.btn-empresa,.btn-capacitar,.boxpromo .box-icon,.buzon-recaptcha-note a,.voc-progress-count strong,.voc-profession-area strong,.cursosdeunmes_txt,.combos_txt,.reg-step.active .reg-step-title,.recu-pasos li.actual,.btestimonios){ color:#80d6da !important;border-color:#80d6da; }
html[data-theme="dark"] .cursospremium_txt{ color:#ffd080 !important; }
html[data-theme="dark"] .voc-profession-area .texto-secundario{ background:var(--theme-raised) !important; }
html[data-theme="dark"] .certificacion-meta p{ color:var(--theme-text) !important; }

/* Cuestionarios */
html[data-theme="dark"] :is(.cq-start-title,.cq-start-email strong,.cq-q-title,.cq-result-title,.cq-timer-val,.cq-next-step > strong,.cq-retry-panel strong,.cq-result-overview-copy strong,.cq-result-score,.cq-result-section-head,.cq-session-status){ color:var(--theme-text) !important; }
html[data-theme="dark"] :is(.cq-start-sub,.cq-q-label,.cq-nota-label,.cq-result-sub,.cq-result-wait,.cq-timer,.cq-next-step p,.cq-next-caption,.cq-next-status,.cq-retry-panel p,.cq-result-overview-copy p,.cq-result-score small,.cq-result-email-status,.cq-result-explanation,.cq-feedback){ color:var(--theme-muted) !important; }
html[data-theme="dark"] :is(.cq-start-email a,.cq-start-icon,.cq-result-email,.cq-result-close){ color:#80d6da !important; }
html[data-theme="dark"] .cq-start-icon svg{ stroke:#80d6da; }
html[data-theme="dark"] .cq-timer svg{ stroke:var(--theme-muted); }
html[data-theme="dark"] :is(.cq-timer.low,.cq-timer.low .cq-timer-val,.cq-nota.fail,.cq-feedback.is-error){ color:#ff9b9b !important; }
html[data-theme="dark"] .cq-timer.low svg{ stroke:#ff9b9b; }
html[data-theme="dark"] :is(.cq-nota.ok,.cq-feedback.is-success){ color:#8be0a4 !important; }
html[data-theme="dark"] .cq-next-status{ background:var(--theme-raised) !important; }
html[data-theme="dark"] .cq-next-step.is-ready .cq-next-status{ color:#8be0a4 !important; }
html[data-theme="dark"] .cq-next-step.is-pending .cq-next-status{ color:#ffd080 !important; }
html[data-theme="dark"] :is(.cq-start-divider,.cq-timer,.cq-result-detail,.cq-retry-panel){ border-color:var(--theme-border); }
html[data-theme="dark"] .cq-opt input[type=radio]{ accent-color:#80d6da; }
html[data-theme="dark"] .cq-btn-sig:disabled{ background:var(--theme-raised);color:var(--theme-muted);opacity:1; }
html[data-theme="dark"] #chatpdf-frame{ background:var(--theme-surface); }

/* Asistente de estudio */
html[data-theme="dark"] :is(.chat-root,.chat-scroll,.chat-input,.tutor-action,.message.bot .bubble){ background:var(--theme-surface) !important;color:var(--theme-text);border-color:var(--theme-border); }
html[data-theme="dark"] :is(.tutor-welcome-icon,.tutor-action:hover,.tutor-action:focus,.message.bot .bubble){ background:var(--theme-raised) !important; }
html[data-theme="dark"] .tutor-welcome-icon{ color:#80d6da; }
html[data-theme="dark"] .tutor-welcome p{ color:var(--theme-muted); }
html[data-theme="dark"] .tutor-action i{ color:#ffae70; }
html[data-theme="dark"] .chat-input input{ background:var(--theme-bg);color:var(--theme-text);border-color:var(--theme-border); }
html[data-theme="dark"] .chat-input input:focus{ border-color:#80d6da;outline:2px solid #80d6da33; }
html[data-theme="dark"] .message .bubble{ border-color:var(--theme-border); }
html[data-theme="dark"] .message.bot .bubble a{ color:#80d6da; }
html[data-theme="dark"] .typing-dot{ background:var(--theme-muted); }

html[data-theme="dark"] .certificacion-copy #horasc{ color:var(--theme-text) !important; }
html[data-theme="dark"] :is(.card-partners p,.card-partners p strong,.card-partners p b,.certificados-descripcion,.certificados-puntos li,.voc-professions-head p,.cq-just-copy p,.cq-just-note){ color:var(--theme-muted) !important; }
html[data-theme="dark"] .cq-just-copy > strong{ color:var(--theme-text) !important; }

/* Perfil, cursos y certificados */
html[data-theme="dark"] :is(.perfil-cabecera p,.perfil-acciones p,.misestudios-empty p,#miscursos .text-center small,.banner-encuesta-copy small,.study-next-step-copy small,.module-quiz-note,.certificate-download-pending,.course-complete-name,.course-comment-review p,.avp-context,.avp-file-help,.avp-required-note,.avp-file-name){ color:var(--theme-muted) !important; }
html[data-theme="dark"] :is(.perfil-volver,#testBack,.tp-delivery-link,.copiares,.course-comment-saved-label){ color:#80d6da !important; }
html[data-theme="dark"] :is(.study-next-step-copy strong,.chatpdf-material-select label,.certificate-ready-message){ color:var(--theme-text) !important; }
html[data-theme="dark"] .course-comment-stars{ color:#ffd080; }
html[data-theme="dark"] :is(.cq-just-note,.badge.badge-warning,.badge.badge-info,.badge.badge-primary,.avp-file-button){ background:var(--theme-raised) !important;color:var(--theme-text) !important;border-color:var(--theme-border); }
html[data-theme="dark"] .cq-just-note .fa{ color:var(--theme-muted); }
html[data-theme="dark"] :is(.module-payment-action.is-preview,.module-payment-action.is-notify){ background:var(--theme-raised) !important;color:var(--theme-text) !important;border-color:var(--theme-border); }
html[data-theme="dark"] .module-payment-action.is-sent{ background:#254b40 !important;color:#8be0a4 !important;border-color:#518c73; }
html[data-theme="dark"] .module-payment-action.is-notify span{ color:inherit !important; }
html[data-theme="dark"] :is(.combo-app,.combo-modal){ --combo-texto:var(--theme-text);--combo-suave:var(--theme-muted);--combo-linea:var(--theme-border);--combo-fondo:var(--theme-raised);--combo-naranja-fondo:#493822; }
html[data-theme="dark"] :is(.combo-compra,.combo-curso,.combo-barra,.combo-input,.combo-elegir,.combo-head-icon,.combo-lugar.is-lleno,.combo-empty,.combo-skeleton,.msg){ background:var(--theme-surface) !important;color:var(--theme-text);border-color:var(--theme-border); }
html[data-theme="dark"] :is(.combo-head p,.combo-cargando,.combo-nota,.combo-curso-txt span,.combo-fecha,.combo-resultados,.combo-app p,.combo-modal p,.msg){ color:var(--theme-muted) !important; }
html[data-theme="dark"] :is(.combo-contador,.combo-campo-label .fa,.combo-head-icon,.combo-lugar-quitar,.combo-mas button){ color:#80d6da; }
html[data-theme="dark"] :is(.combo-curso.is-elegido,.combo-elegir.is-elegido){ background:#254b50 !important;color:var(--theme-text);border-color:#80d6da;box-shadow:inset 0 0 0 1px #80d6da; }
html[data-theme="dark"] .combo-aviso{ color:#ffd080;background:#493822; }
html[data-theme="dark"] .combo-aviso.is-ok{ color:#8be0a4;background:#254b40; }
html[data-theme="dark"] .combo-skeleton-line{ background:linear-gradient(90deg,var(--theme-surface),var(--theme-raised),var(--theme-surface)); }

/* Navegacion y referidos */
html[data-theme="dark"] :is(.ref-link p,.ref-link p small,.ref-link p strong,.container[style*="text-align: right"] > p){ color:var(--theme-muted) !important; }
html[data-theme="dark"] :is(.boxref input,.pagination > li > a,.pagination > li > span,.combo-skeleton-card){ background:var(--theme-surface);color:var(--theme-text);border-color:var(--theme-border); }
html[data-theme="dark"] .pagination > .active > a,html[data-theme="dark"] .pagination > .active > span{ background:#0d4c57;color:#fff;border-color:#80d6da; }
html[data-theme="dark"] .pagination > li > a:hover{ background:var(--theme-raised);color:#80d6da; }
html[data-theme="dark"] .cq-circle:not(.cq-active):not(.cq-done){ background:var(--theme-raised);color:var(--theme-muted);border-color:var(--theme-border); }
html[data-theme="dark"] .cq-line:not(.cq-done){ background:var(--theme-border); }

/* Preguntas frecuentes */
html[data-theme="dark"] #faqlist .panel-default > .panel-heading + .panel-collapse > .panel-body{ background:var(--theme-surface) !important;color:var(--theme-text);border-color:var(--theme-border); }

/* Chat de WhatsApp */
html[data-theme="dark"] #iniciaw-card{ background:var(--theme-surface);border:1px solid var(--theme-border); }
html[data-theme="dark"] #iniciaw-card .wsp-bubble-area{ background:var(--theme-bg); }
html[data-theme="dark"] #iniciaw-card .wsp-bubble{ background:var(--theme-raised); }
html[data-theme="dark"] #iniciaw-card .wsp-bubble p{ color:var(--theme-text); }
html[data-theme="dark"] #iniciaw-card :is(.wsp-bubble small,.wsp-field label,.wsp-response-time,.wsp-recaptcha-note){ color:var(--theme-muted); }
html[data-theme="dark"] #iniciaw-card :is(.wsp-field input,.wsp-field select,.wsp-field textarea){ background:var(--theme-bg) !important;color:var(--theme-text) !important;border-color:var(--theme-border); }
html[data-theme="dark"] #iniciaw-card :is(.wsp-field input,.wsp-field textarea)::placeholder{ color:var(--theme-muted); }
html[data-theme="dark"] #iniciaw-card :is(.wsp-field input,.wsp-field select,.wsp-field textarea):focus{ border-color:#80d6da;box-shadow:0 0 0 2px #80d6da33; }
html[data-theme="dark"] #iniciaw-card :is(.wsp-recaptcha-note a,.wsp-spinner){ color:#80d6da; }

/* Solicitud de certificado */
html[data-theme="dark"] #certf #notas{ background:var(--theme-raised) !important;color:var(--theme-muted);border-color:var(--theme-border); }
html[data-theme="dark"] #certf #prevdatos{ background:var(--theme-surface) !important;color:var(--theme-text) !important;border-color:var(--theme-border); }
html[data-theme="dark"] #certf #notas strong{ color:var(--theme-text) !important; }
html[data-theme="dark"] #certf :is(.cert-data-intro,.cert-data-reminder,.cert-data-row span,.cert-form-head,.cert-postal-form label,.certificate-payment-copy,.cert-postal-unavailable){ color:var(--theme-muted) !important; }
html[data-theme="dark"] #certf :is(.cert-data-row > .fa,.cert-data-reminder a,.certificate-success-icon){ color:#80d6da !important; }
html[data-theme="dark"] #certf #notas .cert-data-reminder strong,html[data-theme="dark"] #certf .cert-field-error{ color:#ff9b9b !important; }
html[data-theme="dark"] #certf .cert-postal-alert{ background:#493822;border-color:#9e793e;color:#ffd080; }
html[data-theme="dark"] #certf .cert-postal-alert :is(p,strong){ color:inherit !important; }
html[data-theme="dark"] #certf .btn[data-dismiss="modal"]{ background:var(--theme-raised) !important;color:var(--theme-text) !important;border-color:var(--theme-border) !important; }

/* Tests */
html[data-theme="dark"] .tests-page .test-meta{ color:var(--theme-muted); }
html[data-theme="dark"] .tests-page .test-meta strong{ color:#80d6da; }
html[data-theme="dark"] .tests-page .test-progress{ background:var(--theme-raised); }

/* Tests opcionales, comentarios y partners */
html[data-theme="dark"] .aitsaccordionw3layouts .tests-opcionales-wrapper{ background:var(--theme-surface);border:1px solid var(--theme-border); }
html[data-theme="dark"] .aitsaccordionw3layouts .tests-opcionales-label{ color:#ffae70; }
html[data-theme="dark"] .aitsaccordionw3layouts .test-item .test-title{ color:var(--theme-text); }
html[data-theme="dark"] .aitsaccordionw3layouts .test-item .test-course{ color:var(--theme-muted); }
html[data-theme="dark"] #fcomen{ color:var(--theme-text); }
html[data-theme="dark"] #fcomen label{ color:var(--theme-text); }
html[data-theme="dark"] :is(.course-comment-intro,.course-comment-required,.course-comment-field-help,.course-comment-consent,#fcomen small){ color:var(--theme-muted) !important; }
html[data-theme="dark"] #fcomen .star-rating .fa{ color:#ffd080; }
html[data-theme="dark"] #fcomen #qopinion{ background:var(--theme-raised) !important;border-color:var(--theme-border); }
html[data-theme="dark"] #fcomen #qopinion strong{ color:var(--theme-text); }
html[data-theme="dark"] #fcomen #qopinion-b input{ background:var(--theme-surface) !important;color:var(--theme-text);border-color:var(--theme-border) !important; }
html[data-theme="dark"] .vc_copyrightaits:has(#carousel-partners){ background:var(--theme-bg) !important; }
html[data-theme="dark"] #carousel-partners img{ filter:grayscale(1) invert(1) brightness(2);mix-blend-mode:screen; }
html[data-theme="dark"] #carousel-partners .carousel-control{ color:var(--theme-muted); }

/* Mensajes y alertas */
html[data-theme="dark"] :is(#fcomen #mencom,#certf #rescert,#certf #menpost,#mencertdesc,#mencert,[id^="dmensajecheq_"],.cq-feedback,.cq-retry-panel,.avp-message,.tp-message,.alert:not(.promo-refresh)){
 background:var(--message-bg,var(--theme-raised)) !important;
 color:var(--message-text,var(--theme-text)) !important;
 border:1px solid var(--message-border,var(--theme-border)) !important;
}
html[data-theme="dark"] :is(#fcomen #mencom.is-error,#certf #rescert,#certf #menpost,#mencertdesc.is-error,.cq-feedback.is-error,.avp-message.is-error,.tp-message[role="alert"],.alert-danger){
 --message-bg:#402629;--message-text:#ffb9b2;--message-border:#99545a;
}
html[data-theme="dark"] :is(#fcomen #mencom.is-success,#mencertdesc.is-success,.cq-feedback.is-success,.avp-message.is-success,.alert-success){
 --message-bg:#203c30;--message-text:#a3e5ba;--message-border:#4e8966;
}
html[data-theme="dark"] :is(#mencert,[id^="dmensajecheq_"],.cq-retry-panel,.avp-message.is-warning,.alert-warning){
 --message-bg:#493822;--message-text:#ffd080;--message-border:#9e793e;
}
html[data-theme="dark"] :is(#fcomen #mencom,#certf #rescert,#certf #menpost,#mencertdesc,#mencert,[id^="dmensajecheq_"],.cq-feedback,.cq-retry-panel,.avp-message,.tp-message,.alert:not(.promo-refresh)) :is(p,strong,span){ color:inherit !important; }
html[data-theme="dark"] :is(.cq-feedback,.cq-retry-panel,.avp-message,.tp-message,.alert:not(.promo-refresh)) a{ color:#80d6da; }
html[data-theme="dark"] :is(.tp-help,.tp-delivery-header > span,.avp-progress-percent,.avp-amount-symbol,.certificate-card .txtmensaje){ color:var(--theme-muted) !important; }
html[data-theme="dark"] :is(.tp-refresh,#mpago-preview){ background:var(--theme-raised) !important;color:var(--theme-text);border-color:var(--theme-border); }
html[data-theme="dark"] :is(#mpago-desc,#mpago-aviso-habilitacion){ color:var(--theme-muted) !important; }
html[data-theme="dark"] #mpago-monto{ color:#80d6da !important; }

html[data-theme="dark"] .avp-form-card label{ color:var(--theme-text) !important; }
html[data-theme="dark"] .cq-retry-panel .cq-retry-icon{ color:var(--message-text,#ffd080); }

/* Carrusel de partners */
html[data-theme="dark"] #carousel-partners .carousel-inner{ mix-blend-mode:screen; }

/* Catalogo y certificados */
html[data-theme="dark"] .certificados-sistema{ background:var(--theme-surface) !important;border-color:var(--theme-border); }
html[data-theme="dark"] .certificados-sistema .certificados-texto{ background:transparent !important; }
html[data-theme="dark"] .certificados-muestras img{ background:var(--theme-raised);box-shadow:0 8px 20px rgba(0,0,0,.25); }
html[data-theme="dark"] :is(.ise-chip,.course-picker-trigger){ background:var(--theme-raised) !important;color:var(--theme-text) !important;border-color:var(--theme-border) !important; }
html[data-theme="dark"] :is(.ise-chip-remove,.ise-chip-clear-all,.ise-btn-reset){ color:var(--theme-muted) !important; }
html[data-theme="dark"] :is(.ise-chip-remove:hover,.ise-chip-clear-all:hover,.ise-btn-reset:hover){ color:var(--theme-text) !important; }
html[data-theme="dark"] .course-picker-trigger:hover{ background:#254b50 !important;border-color:#80d6da !important; }
html[data-theme="dark"] .course-picker-trigger-arrow{ color:#ffad66; }
/* Inscripcion */
html[data-theme="dark"] .reg-wrap{ --gray-100:var(--theme-raised);--gray-200:var(--theme-border);--gray-400:var(--theme-muted);--gray-600:var(--theme-muted);--gray-800:var(--theme-text);--error:#ffb9b2;--success:#a3e5ba;color:var(--theme-text); }
html[data-theme="dark"] .reg-progress{ background:var(--theme-raised); }
html[data-theme="dark"] :is(.reg-input,.reg-select,.reg-field .iti__search-input){ background:var(--theme-bg) !important;color:var(--theme-text) !important;border-color:var(--theme-border) !important; }
html[data-theme="dark"] :is(.reg-input:focus,.reg-select:focus,.reg-field .iti:focus-within .reg-input){ border-color:#80d6da !important;box-shadow:0 0 0 3px rgba(128,214,218,.15); }
html[data-theme="dark"] :is(.reg-input.error,.reg-select.error,.reg-field .iti:focus-within .reg-input.error){ border-color:#ffb9b2 !important; }
html[data-theme="dark"] .reg-input.ok{ border-color:#a3e5ba !important; }
html[data-theme="dark"] .reg-wrap input::placeholder{ color:var(--theme-muted);opacity:1; }
html[data-theme="dark"] :is(.reg-step-title,.reg-check-label a,.reg-login-trigger,.reg-eye-btn:hover){ color:#80d6da; }
html[data-theme="dark"] :is(.reg-login-note,#reg-account-help,.reg-field .iti__dropdown-content){ background:var(--theme-raised);color:var(--theme-text);border-color:var(--theme-border); }
html[data-theme="dark"] :is(.reg-login-note a,#reg-account-help a,#reg-account-help strong){ color:#80d6da; }
html[data-theme="dark"] .reg-field .iti__country:hover{ background:#254b50; }
html[data-theme="dark"] .reg-dot.done{ background:#80d6da; }
html[data-theme="dark"] #tel-preview{ background:#203c30;color:#a3e5ba;border-color:#4e8966; }
html[data-theme="dark"] #tel-preview :is(strong,small){ color:inherit; }
/* Mis cursos */
html[data-theme="dark"] #miscursos .cbp-pginfo{ background:var(--category-dark,var(--theme-raised)) !important;border-top:3px solid color-mix(in srgb,var(--category-dark,var(--theme-raised)) 50%,#fff); }
html[data-theme="dark"] #miscursos .cbp-pginfo.cursospremium{ border-top-color:#ffd080; }
html[data-theme="dark"] #miscursos .cbp-pginfo > span{ background:var(--theme-bg);color:color-mix(in srgb,var(--category-dark,var(--theme-raised)) 25%,#fff) !important; }
html[data-theme="dark"] #miscursos .cbp-pginfo.cursospremium > span{ color:#ffd080 !important; }
html[data-theme="dark"] #miscursos .cbp-pginfo::after{ background:#0d4c57 !important;color:var(--theme-text); }
html[data-theme="dark"] .cbp-pgoptions .barraprog .progress{ background:var(--theme-raised);box-shadow:inset 0 0 0 1px var(--theme-border); }
html[data-theme="dark"] .cbp-pgoptions .barraprog .progress-bar{ background:#176354; }
html[data-theme="dark"] .cbp-pgoptions .barraprog .progress-bar[aria-valuenow="100"]{ background:#176354; }
html[data-theme="dark"] .cbp-pgoptions .barraprog .progress-bar > span{ color:var(--theme-text) !important;text-shadow:0 1px 2px rgba(0,0,0,.6); }

/* Selector de cursos */
html[data-theme="dark"] .course-picker-head{ background:#0d4c57 !important; }
html[data-theme="dark"] .course-picker-head p{ color:var(--theme-text); }
html[data-theme="dark"] :is(.course-picker-head-icon,.course-picker-close,.course-picker-option,.course-picker-back,.course-picker-restart,.course-picker-course,.course-picker-progress){ background:var(--theme-raised) !important;color:var(--theme-text) !important;border-color:var(--theme-border) !important; }
html[data-theme="dark"] :is(.course-picker-option:hover,.course-picker-option:focus,.course-picker-course:hover,.course-picker-course:focus){ background:#254b50 !important;border-color:#80d6da !important; }
html[data-theme="dark"] .course-picker-course.is-recommended{ border-color:#ffad66 !important; }
html[data-theme="dark"] :is(.course-picker-result-note,.course-picker-loading,.course-picker-reason,.course-picker-course-copy small){ color:var(--theme-muted) !important; }
html[data-theme="dark"] :is(.course-picker-view,.course-picker-course-copy strong){ color:var(--theme-text); }
html[data-theme="dark"] .course-picker-error{ background:#402629;color:#ffb9b2;border:1px solid #99545a; }
html[data-theme="dark"] .course-picker-empty{ background:#493822;color:#ffd080; }
html[data-theme="dark"] .course-picker-badge{ background:var(--theme-bg);color:#80d6da; }
html[data-theme="dark"] .course-picker-badge-1{ color:#ffb477; }

html[data-theme="dark"] :is(.reg-input:focus,.reg-select:focus){ --theme-border:#80d6da; }
html[data-theme="dark"] :is(.reg-input.error,.reg-select.error){ --theme-border:#ffb9b2; }
html[data-theme="dark"] .reg-input.ok{ --theme-border:#a3e5ba; }

html[data-theme="dark"] .enrollment-bonus{ background:#493822;border-color:#9e793e;color:#ffd080; }
html[data-theme="dark"] .enrollment-bonus :is(strong,.enrollment-bonus-copy,.enrollment-bonus-copy small){ color:#ffd080; }

/* Video de doble certificacion */
html[data-theme="dark"] .premium-video-feature{ background:transparent !important; }
html[data-theme="dark"] .premium-video-feature__panel{ border:1px solid var(--theme-border);box-shadow:none; }
html[data-theme="dark"] .premium-video-copy p{ color:var(--theme-muted) !important; }

/* Test vocacional */
html[data-theme="dark"] #pregvocacion tbody tr:not(:first-child){ background:var(--theme-raised) !important; }
html[data-theme="dark"] #pregvocacion tbody tr:not(:first-child):hover,html[data-theme="dark"] #pregvocacion tbody tr.is-answered{ background:#25434a !important; }
html[data-theme="dark"] #pregvocacion tbody tr.is-missing{ background:#402629 !important;box-shadow:0 0 0 2px #99545a; }
html[data-theme="dark"] #pregvocacion td{ color:var(--theme-text); }
html[data-theme="dark"] #pregvocacion tbody tr:first-child td{ color:var(--theme-muted); }
html[data-theme="dark"] #pregvocacion td > strong{ background:var(--theme-bg);color:#80d6da; }
html[data-theme="dark"] #pregvocacion .voc-choice span{ background:var(--theme-bg);color:var(--theme-text);border-color:var(--theme-border); }
html[data-theme="dark"] #pregvocacion .voc-choice-yes input:checked + span{ background:#176354;color:var(--theme-text);border-color:#80d6da; }
html[data-theme="dark"] #pregvocacion .voc-choice-no input:checked + span{ background:#3b4b59;color:var(--theme-text);border-color:#b0c2cc; }
html[data-theme="dark"] #pregvocacion .voc-choice input:focus-visible + span{ outline-color:#ffad66; }
html[data-theme="dark"] :is(.voc-progress,.voc-result-track){ background:var(--theme-border); }
html[data-theme="dark"] #vocacion #blimpiar{ background:var(--theme-raised);color:var(--theme-text);border-color:var(--theme-border); }
html[data-theme="dark"] :is(.voc-result-label,.voc-suggestion-copy strong,.voc-suggestion-view,.voc-profession-action){ color:var(--theme-text); }
html[data-theme="dark"] :is(.voc-results > p,.voc-suggestions-head p,.voc-suggestion-copy > span){ color:var(--theme-muted); }
html[data-theme="dark"] :is(.voc-eyebrow,.voc-all-courses,.voc-suggestion-copy small){ color:#ffb477; }
html[data-theme="dark"] .voc-profession-icon{ background:var(--theme-raised);color:#80d6da; }
html[data-theme="dark"] #sugcursos{ border-color:var(--theme-border); }
/* Buzon */
html[data-theme="dark"] :is(#fbuzon #ferror,#vocacion #ferror){ background:#402629;color:#ffb9b2;border:1px solid #99545a; }
html[data-theme="dark"] #fbuzon #fok{ background:#203c30;color:#a3e5ba;border:1px solid #4e8966; }
html[data-theme="dark"] #fbuzon .buzon-error{ color:#ffb9b2; }
html[data-theme="dark"] #fbuzon [aria-invalid="true"]{ --theme-border:#ffb9b2;border-color:#ffb9b2 !important; }
html[data-theme="dark"] #fbuzon .buzon-ayuda{ color:var(--theme-muted); }
html[data-theme="dark"] #fbuzon :is(.iti__dropdown-content,.iti__search-input){ background:var(--theme-raised);color:var(--theme-text);border-color:var(--theme-border); }
html[data-theme="dark"] #fbuzon .iti__country:hover{ background:#254b50; }

/* Resultados de tests */
html[data-theme="dark"] .tests-page .res-score-num.neutral{ color:var(--theme-text); }
html[data-theme="dark"] .tests-page :is(.res-score-lbl,.res-subtitulo){ color:var(--theme-muted) !important; }
html[data-theme="dark"] .tests-page .res-section-lbl{ color:var(--theme-text);border-color:var(--theme-border); }
html[data-theme="dark"] .tests-page .res-score-num.alto{ color:#a3e5ba; }
html[data-theme="dark"] .tests-page .res-score-num.medio{ color:#ffd080; }
html[data-theme="dark"] .tests-page .res-score-num.bajo{ color:#ffb9b2; }
html[data-theme="dark"] .tests-page :is(.res-check.alto,.res-dim-badge.alto,.historial-nivel-alto){ background:#203c30;color:#a3e5ba; }
html[data-theme="dark"] .tests-page :is(.res-check.medio,.res-dim-badge.medio,.historial-nivel-medio){ background:#493822;color:#ffd080; }
html[data-theme="dark"] .tests-page :is(.res-check.bajo,.res-dim-badge.bajo,.historial-nivel-bajo){ background:#402629;color:#ffb9b2; }
html[data-theme="dark"] .tests-page .historial-nivel-sin{ background:var(--theme-raised);color:var(--theme-muted); }
html[data-theme="dark"] .tests-page .res-check svg{ stroke:currentColor; }

/* Contacto por WhatsApp */
html[data-theme="dark"] :is(#perfil-telefono-preview,#tel-preview){ background:#203c30 !important;color:#a3e5ba !important;border-color:#4e8966 !important; }
html[data-theme="dark"] :is(#perfil-telefono-preview,#tel-preview) :is(strong,span,small,i){ color:#a3e5ba !important; }

/* Categorias de cursos */
html[data-theme="dark"] :is(.cbp-pginfo.cursosadistancia,.cbp-pgrotate.cursosadistancia){ --category-dark:#75431f; }
html[data-theme="dark"] :is(.cbp-pginfo.cursospremium,.cbp-pgrotate.cursospremium){ --category-dark:#605022; }
html[data-theme="dark"] :is(.cbp-pginfo.combos,.cbp-pgrotate.combos){ --category-dark:#254f76; }
html[data-theme="dark"] :is(.cbp-pginfo.programa,.cbp-pgrotate.programa){ --category-dark:#254f76; }
html[data-theme="dark"] :is(.cbp-pginfo.cursosdeunmes,.cbp-pgrotate.cursosdeunmes){ --category-dark:#343e49; }
html[data-theme="dark"] :is(.cbp-pginfo.membresía,.cbp-pgrotate.membresía){ --category-dark:#2c343d; }
html[data-theme="dark"] :is(.cbp-pginfo.judiciales,.cbp-pgrotate.judiciales){ --category-dark:#605022; }
html[data-theme="dark"] :is(.cbp-pginfo.cursosdocentes,.cbp-pgrotate.cursosdocentes){ --category-dark:#60472f; }
html[data-theme="dark"] :is(.cbp-pginfo.idiomas,.cbp-pgrotate.idiomas){ --category-dark:#772d40; }
html[data-theme="dark"] :is(.cbp-pginfo.prácticaslaborales,.cbp-pgrotate.prácticaslaborales){ --category-dark:#58244c; }
html[data-theme="dark"] :is(.cbp-pginfo.cooperacioneducativa,.cbp-pgrotate.cooperacioneducativa){ --category-dark:#662443; }
html[data-theme="dark"] :is(.cbp-pginfo.programadecertificacion,.cbp-pgrotate.programadecertificacion){ --category-dark:#663939; }
html[data-theme="dark"] :is(.cbp-pginfo.programadecapacitacionenvideo,.cbp-pgrotate.programadecapacitacionenvideo){ --category-dark:#28505f; }
html[data-theme="dark"] :is(.cbp-pginfo.cursosenvideo,.cbp-pgrotate.cursosenvideo){ --category-dark:#2c517f; }
html[data-theme="dark"] :is(.cbp-pginfo.cursolibro,.cbp-pgrotate.cursolibro){ --category-dark:#173f47; }
html[data-theme="dark"] :is(.cbp-pginfo.apoyouniversitario,.cbp-pgrotate.apoyouniversitario){ --category-dark:#26553f; }
html[data-theme="dark"] :is(.cbp-pginfo.introduccionuniversitaria,.cbp-pgrotate.introduccionuniversitaria){ --category-dark:#26553f; }
html[data-theme="dark"] :is(.cbp-pginfo.cursospresenciales,.cbp-pgrotate.cursospresenciales){ --category-dark:#545338; }
html[data-theme="dark"] :is(.cbp-pginfo.carreras,.cbp-pgrotate.carreras){ --category-dark:#234c4e; }
html[data-theme="dark"] :is(.cbp-pginfo,.cbp-pgrotate){ background:var(--category-dark,var(--theme-raised)) !important; }

/* Directorio de WhatsApp */
html[data-theme="dark"] #telefonos .telefono-modal-intro p,html[data-theme="dark"] #telefonos .telefono-modal .modal-footer p,html[data-theme="dark"] #telefonos .telefono-modal-section-head span{color:var(--theme-muted)!important;}
html[data-theme="dark"] #telefonos .telefono-modal-badge{background:var(--theme-raised);color:#b9e9ed;border:1px solid var(--theme-border);}
html[data-theme="dark"] #telefonos .telefono-card{background:var(--theme-raised)!important;border-color:var(--theme-border);}
html[data-theme="dark"] #telefonos .telefono-card-top strong{color:var(--theme-text)!important;}
html[data-theme="dark"] #telefonos .telefono-card-top span{color:#ffc285!important;}
html[data-theme="dark"] #telefonos .telefono-card-icon{background:#193d32;color:#8ae5b0!important;}
html[data-theme="dark"] #telefonos .telefono-card-icon i.fa-whatsapp{color:inherit!important;}
html[data-theme="dark"] #telefonos .telefono-card-action{background:#4c351f;border-color:#95714b;color:#ffd39c!important;}
html[data-theme="dark"] #telefonos .telefono-card:hover,html[data-theme="dark"] #telefonos .telefono-card:focus-visible{border-color:#80d6da;box-shadow:0 0 0 2px #80d6da33;outline:none;}
html[data-theme="dark"] #telefonos .telefono-card:hover .telefono-card-action,html[data-theme="dark"] #telefonos .telefono-card:focus .telefono-card-action{background:#6b471f;border-color:#da9c53;color:#fff3df!important;}

/* Pago de modulos */
html[data-theme="dark"] #modal-pago-modulo :is(#mpago-multi,.mpago-aviso-card,#mpago-retiro-confirmacion,#mpago-aviso-modulos,#mpago-multi-lista label){border-color:var(--theme-border)!important;}
html[data-theme="dark"] #modal-pago-modulo :is(.mpago-multi-toggle,.mpago-multi-escala,#mpago-multi-descuento,.mpago-copy-cbu){background:#193d32!important;color:#b8edce!important;border-color:#497b61!important;}
html[data-theme="dark"] #modal-pago-modulo :is(.mpago-multi-toggle:hover,.mpago-multi-back:hover,.mpago-copy-cbu:hover){background:#24513e!important;}
html[data-theme="dark"] #modal-pago-modulo :is(.mpago-multi-abrir,.mpago-multi-back){color:#b8edce!important;border-color:#6da98a!important;}
html[data-theme="dark"] #modal-pago-modulo .mpago-multi-back{background:var(--theme-raised)!important;}
html[data-theme="dark"] #modal-pago-modulo :is(#mpago-multi-titulos,#mpago-concepto,#mpago-aviso-pendiente h5,#mpago-retiro-confirmacion h5){color:var(--theme-text)!important;}
html[data-theme="dark"] #modal-pago-modulo :is(.mpago-multi-ayuda,.mpago-multi-ayuda p,#mpago-aviso-pendiente p,#mpago-loading p){color:var(--theme-muted)!important;}
html[data-theme="dark"] #modal-pago-modulo :is(#mpago-multi-ahorro,.mpago-aviso-icono){color:#a3e5ba!important;}
html[data-theme="dark"] #modal-pago-modulo :is(#mpago-multi-total,#mpago-total-monto,#mpago-loading .fa){color:#80d6da!important;}
html[data-theme="dark"] #modal-pago-modulo .mpago-aviso-card{background:var(--theme-raised)!important;}
html[data-theme="dark"] #modal-pago-modulo .mpago-aviso-secundario{background:var(--theme-raised)!important;color:var(--theme-text)!important;border-color:var(--theme-border)!important;}
html[data-theme="dark"] #modal-pago-modulo :is(#mpago-promo > span,#mpago-retiro-resultado:not(:empty)){background:#493a20!important;color:#ffe3aa!important;border-color:#8c713f!important;}
html[data-theme="dark"] #modal-pago-modulo .mpago-total-toggle{background:#71451c!important;color:#fff0d8!important;}
html[data-theme="dark"] #modal-pago-modulo .mpago-total-toggle:hover{background:#865323!important;}
html[data-theme="dark"] #modal-pago-modulo :is(.mpago-total-precio,#mpago-card-total p){color:#ffd39c!important;}
html[data-theme="dark"] #modal-pago-modulo .btn-metodo-m{background:var(--theme-raised)!important;color:var(--theme-text)!important;border-color:var(--theme-border)!important;}
html[data-theme="dark"] #modal-pago-modulo .btn-metodo-m.sel{background:#193d32!important;color:#b8edce!important;border-color:#80d6da!important;}
html[data-theme="dark"] #modal-pago-modulo :is(summary,button):focus-visible{outline:2px solid #80d6da!important;outline-offset:3px;}
html[data-theme="dark"] #modal-pago-modulo #mpago-multi-resumen.cargando :is(.mpago-multi-beneficio,#mpago-multi-total)::after{background:linear-gradient(100deg,var(--theme-raised) 25%,#35515e 45%,var(--theme-raised) 65%);background-size:220% 100%;}
html[data-theme="dark"] #modal-pago-modulo .btn-metodo-m :is(i,.metodo-hint){color:var(--theme-muted)!important;}
html[data-theme="dark"] #modal-pago-modulo .btn-metodo-m:hover:not(:disabled){border-color:#80d6da!important;}
html[data-theme="dark"] #modal-pago-modulo .datos-cuenta-m{background:var(--theme-raised)!important;color:var(--theme-text)!important;border-color:var(--theme-border)!important;}

/* Cabeceras de contenidos del campus */
html[data-theme="dark"] .aitsaccordionw3layouts #accordion > .panel > .panel-heading{background:var(--theme-raised)!important;}
html[data-theme="dark"] .aitsaccordionw3layouts #accordion > .panel > .panel-heading:has(+ .panel-collapse.in),html[data-theme="dark"] .aitsaccordionw3layouts #accordion > .panel > .panel-heading:has(+ .panel-collapse.collapsing){border-radius:8px 8px 0 0;border-bottom:1px solid var(--theme-border);}
html[data-theme="dark"] .aitsaccordionw3layouts #accordion > .panel > .panel-collapse.in{border-color:var(--theme-border);}
html[data-theme="dark"] .panel-default > .panel-heading{background:var(--theme-surface)!important;color:var(--theme-text);border-color:var(--theme-border);}

/* Filas de videos y archivos */
html[data-theme="dark"] .aitsaccordionw3layouts .content-item-action:is(:hover,:focus,:focus-within){background:var(--theme-raised)!important;color:var(--theme-text)!important;}
html[data-theme="dark"] .aitsaccordionw3layouts .content-item-action:is(:hover,:focus,:focus-within) .content-item-title{color:var(--theme-text)!important;}
html[data-theme="dark"] .aitsaccordionw3layouts .content-item-action:focus-visible{outline:2px solid #80d6da;outline-offset:2px;}

/* Buscador de cursos */
html[data-theme="dark"] #searchform .search-control-row{background:var(--theme-bg)!important;border-color:var(--theme-border);}
html[data-theme="dark"] #searchform .search-field-icon{color:#80d6da;}
html[data-theme="dark"] #searchform .search-control-row #searchbox{background:transparent!important;box-shadow:none;}
html[data-theme="dark"] #searchform .search-control-row:focus-within{border-color:#80d6da;box-shadow:0 0 0 3px #80d6da33;}

/* Portada y detalle renovados: superficies, textos y estados interactivos. */
html[data-theme="dark"] .public-header-shell .mobile_nav .balumnos{background:#f47b12!important;color:#fff!important;border-color:#f47b12!important}
html[data-theme="dark"] .public-header-shell .mobile_nav .balumnos:hover{background:#dd6908!important;border-color:#dd6908!important;color:#fff!important}
html[data-theme="dark"] .ise-detail-page .detail-section .curso_box.fl_color .box_contenido{background:transparent!important}
html[data-theme="dark"] .ise-detail-page :is(.requisitos-copy i,.faq-item summary::after,.faq-item summary .faq-icon){color:#9cdee3!important}
html[data-theme="dark"] .ise-detail-page .btn-whatsapp-modern{background:transparent!important;color:#9ce5b7!important;border-color:#579c74!important}
html[data-theme="dark"] .ise-detail-page .btn-whatsapp-modern:hover{background:#214638!important;color:#fff!important;border-color:#80c99d!important}
html[data-theme="dark"] .ise-detail-page .faq-item,html[data-theme="dark"] .ise-detail-page .faq-item p{background:transparent!important}
html[data-theme="dark"] .public-header-shell .fijado-countdown-text{color:#b0c2cc!important}
html[data-theme="dark"] .ise-home-page :is(.home_bullets i,.me-meta i,.home-free-icon,.home-free-btn){color:#9cdee3!important}
html[data-theme="dark"] .ise-home-page .home-free-btn:hover{color:#fff!important;background:#31515f!important;border-color:#76b7c2!important}
html[data-theme="dark"] .ise-detail-page .detalle-video-feature__eyebrow{color:var(--theme-muted)!important}
html[data-theme="dark"] .public-header-shell .header.header-public-refresh{background:var(--theme-surface)!important;border-color:var(--theme-border)!important}
html[data-theme="dark"] .public-header-shell .nav-cursos-badge{color:#9cdee3!important}
html[data-theme="dark"] .public-header-shell .nav-theme-item .theme-toggle,html[data-theme="dark"] .public-header-shell .buttonsearch{background:var(--theme-raised)!important;color:var(--theme-text)!important;border-color:var(--theme-border)!important}
html[data-theme="dark"] .public-header-shell .nav-theme-item .theme-toggle:hover,html[data-theme="dark"] .public-header-shell .buttonsearch:hover,html[data-theme="dark"] .public-header-shell .buttonsearch[aria-expanded="true"]{background:#31515f!important;color:#fff!important;border-color:#76b7c2!important}
html[data-theme="dark"] .ise-home-page .home-refresh .home_title span{background:none!important;background-image:none!important;color:#ffad67!important;-webkit-text-fill-color:#ffad67!important}
html[data-theme="dark"] .ise-home-page :is(.home-proof,.home-areas,.home-study,.home-reviews,.home-free,.certificacion-refresh,.profesionales-section){background:var(--theme-bg)!important;border-color:var(--theme-border)!important}
html[data-theme="dark"] .ise-home-page :is(.home-proof-list li,.home-study-grid article,.me-foot,.home-reviews-head,.home-duration){border-color:var(--theme-border)!important}
html[data-theme="dark"] .ise-home-page :is(.home-proof-list strong,.home-area-info h3,.home-study-grid h3,.home-study-grid>article>span,.home-duration-title,.me-price-now){color:var(--theme-text)!important}
html[data-theme="dark"] .ise-home-page :is(.home-eyebrow,.subcat,.home-quick>a,.home-areas-all,.home-duration-title>i,.home-vocational>a){color:#8fd5de!important}
html[data-theme="dark"] .ise-home-page :is(.home_description,.home-quick>span,.home-proof-list span,.mas-elegidos-lead,.me-meta,.me-price-was,.me-price-now small,.home-study-grid p,.profesionales-head p,.home-free-head p,.home-free-text){color:var(--theme-muted)!important}
html[data-theme="dark"] .ise-detail-page :is(.detail-section,.detail-section.detail-tint,.similares-section,.detalle-secciones,.detail-recent-courses){background:var(--theme-bg)!important;color:var(--theme-text)!important;border-color:var(--theme-border)!important}
html[data-theme="dark"] .ise-detail-page :is(.hero-enrollment-grid,.hero-price-card,.detail-study-grid .detalle-video-feature__panel){background:var(--theme-surface)!important;border-color:var(--theme-border)!important;box-shadow:none!important}
html[data-theme="dark"] .ise-detail-page :is(.detalle-antetitulo,.detalle-secciones a,.detail-course-poster a,.met-icon,.faq-item summary,.sim-cta,.hero-installments-feature strong i,.certificacion-meta #horasc){color:#9cdee3!important}
html[data-theme="dark"] .ise-detail-page :is(.detail-section .box_texto,.detail-section .box_texto p,.detail-section .requisitos-copy,.detail-faq-heading p,.similares-sub,.hero-description,.hero-payment-methods span,.hero-payment-methods strong,.certificacion-texto,.salida-laboral-copy){color:var(--theme-muted)!important}
html[data-theme="dark"] .ise-detail-page :is(.detail-section .section-badge-title,.sim-title,.hero-payment-options,.hero-price-main,.hero-price-now){color:var(--theme-text)!important}
html[data-theme="dark"] .ise-detail-page :is(.hero-price-total,.hero-price-main,.hero-price-side,.hero-payment-methods,.hero-payment-methods>div,.hero-price-total .hero-installments-feature,.certificacion-premium-opcional,.detalle-ayuda,.faq-item,#accordion-temario .card){border-color:var(--theme-border)!important}
html[data-theme="dark"] .ise-detail-page #accordion-temario .accordion-title:not(.collapsed){background:var(--theme-raised)!important}
html[data-theme="dark"] .ise-detail-page #accordion-temario .card-body{color:var(--theme-muted)!important}

html[data-theme="dark"] .ise-detail-page .detail-closing{background:var(--theme-raised)!important;border-color:var(--theme-border)!important}
html[data-theme="dark"] .ise-detail-page .detail-closing :is(h2,.detail-closing-course){color:#fff!important}
html[data-theme="dark"] .ise-detail-page .detail-closing p{color:#c5dedf!important}

