
.jmfc-student-tree{display:grid;gap:8px}.jmfc-student-folder,.jmfc-student-folder summary,.jmfc-student-children,.jmfc-free-link{border:0!important;outline:0!important;box-shadow:none!important}.jmfc-student-folder:not([open]) .jmfc-student-children{display:none!important}.jmfc-student-folder summary{cursor:pointer!important}.jmfc-student-folder summary:after{content:"▸"!important;margin-left:auto!important}.jmfc-student-folder[open] summary:after{content:"▾"!important}.jmfc-free-link em{display:none!important}.jmulms-free-content-document{background:#fff;border:0!important;box-shadow:none!important;border-radius:0!important;padding:clamp(18px,2.5vw,34px)!important;line-height:1.7}.jmulms-free-content-document h1{margin-top:10px;color:#111827;font-size:clamp(34px,4vw,54px);line-height:1.05}.jmfc-badge{display:inline-flex;background:#dcfce7;color:#166534;border-radius:999px;padding:7px 12px;font-weight:950;font-size:12px;text-transform:uppercase;letter-spacing:.04em}.jmfc-content-body{font-size:16px;color:#111827}.jmfc-content-body p{margin:0 0 16px}.jmfc-video{position:relative;width:100%;max-width:960px;aspect-ratio:16/9;border-radius:22px;overflow:hidden;background:#000;margin:22px 0}.jmfc-video iframe{position:absolute;inset:0;width:100%!important;height:100%!important;border:0!important;display:block;background:#000}.jmulms-paid-free-dashboard.jmulms-dark-mode .jmulms-free-content-document,.jmulms-paid-free-dashboard.jmulms-dark-mode .jmfc-content-body{background:#000!important;color:#fff!important}.jmulms-paid-free-dashboard.jmulms-dark-mode .jmulms-free-content-document h1{color:#a78bfa!important}@media(max-width:760px){.jmfc-video{border-radius:16px;margin:16px 0}.jmulms-free-content-document h1{font-size:34px}}


/* v1.0.5 - mantiene abierta la ruta del contenido gratuito seleccionado */
.jmfc-free-link.active{background:#f4f0ff!important;color:#111827!important}.jmulms-dark-mode .jmfc-free-link.active{background:#17112a!important;color:#fff!important}


/* v1.0.6 - Mantener visible la ruta activa del contenido gratuito */
.jmfc-student-folder.jmfc-current-branch > summary{
    background:rgba(139,92,246,.08)!important;
}
.jmfc-free-link.active{
    background:rgba(139,92,246,.12)!important;
    font-weight:900!important;
}
.jmfc-student-folder:not([open]) .jmfc-student-children{
    display:none!important;
}


/* JM HTML sandbox front rendering */
.jm-html-sandbox-wrap{width:100%;max-width:100%;margin:18px 0}.jm-html-sandbox-wrap .jm-html-sandbox-frame,.jm-html-sandbox-frame{display:block;width:100%;min-height:420px;height:720px;border:0;border-radius:18px;background:#fff;box-shadow:0 18px 48px rgba(15,23,42,.08);overflow:hidden}.jmulms-rich-content .jm-html-sandbox-wrap,.jmfc-content-body .jm-html-sandbox-wrap{margin:0}@media(max-width:760px){.jm-html-sandbox-wrap .jm-html-sandbox-frame,.jm-html-sandbox-frame{min-height:520px;border-radius:14px}}


/* JM Hybrid Premium Editor */
.jm-hybrid-editor-shell{background:#fff;border:1px solid #dbe3ef;border-radius:24px;margin:18px 20px 24px;overflow:hidden;box-shadow:0 22px 55px rgba(15,23,42,.08)}
.jm-hybrid-editor-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:16px 18px;background:linear-gradient(135deg,#f8fafc,#eef2ff);border-bottom:1px solid #dbe3ef;color:#111827}.jm-hybrid-editor-head strong{font-size:16px;font-weight:950}.jm-hybrid-editor-head p{margin:5px 0 0;color:#64748b;line-height:1.45}.jm-hybrid-editor-head span{white-space:nowrap;background:#ecfdf5;color:#166534;border:1px solid #bbf7d0;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:950;text-transform:uppercase;letter-spacing:.04em}
.jm-hybrid-toolbar{display:flex;gap:7px;flex-wrap:wrap;padding:12px;background:#fff;border-bottom:1px solid #e5e7eb;position:sticky;top:32px;z-index:5}.jm-hybrid-toolbar button{border:1px solid #cbd5e1;background:#fff;border-radius:12px;padding:8px 11px;font-weight:950;cursor:pointer;color:#111827;box-shadow:0 6px 14px rgba(15,23,42,.04)}.jm-hybrid-toolbar button:hover{background:#eef2ff;border-color:#a78bfa}.jm-hybrid-toolbar .jm-hybrid-insert-html{background:linear-gradient(135deg,#8b5cf6,#ec4899);color:#fff;border:0;box-shadow:0 12px 24px rgba(139,92,246,.22)}
.jm-hybrid-editor{min-height:480px;padding:30px;line-height:1.72;font-size:16px;color:#111827;outline:0;background:#fff}.jm-hybrid-editor:focus{box-shadow:inset 0 0 0 3px rgba(139,92,246,.12)}.jm-hybrid-editor h1,.jm-hybrid-editor h2,.jm-hybrid-editor h3{line-height:1.15;color:#0f172a}.jm-hybrid-editor img{max-width:100%;height:auto}.jm-hybrid-help{padding:12px 18px;background:#f8fafc;border-top:1px solid #e5e7eb;color:#64748b;font-weight:700;font-size:13px}.jm-hybrid-hidden{display:none!important}
.jm-raw-html-block{margin:22px 0!important;border:2px dashed #c4b5fd!important;border-radius:22px!important;background:#faf5ff!important;padding:10px!important;display:block!important}.jm-raw-html-card{background:#fff;border-radius:17px;overflow:hidden;box-shadow:0 16px 38px rgba(15,23,42,.08)}.jm-raw-html-top{display:flex;align-items:center;gap:10px;justify-content:space-between;padding:12px 14px;background:#111827;color:#fff}.jm-raw-html-top strong{font-weight:950}.jm-raw-html-top span{margin-right:auto;background:#22c55e;color:#052e16;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:950;text-transform:uppercase}.jm-raw-html-top button{border:0;border-radius:10px;padding:7px 10px;font-weight:900;cursor:pointer}.jm-raw-html-edit{background:#8b5cf6;color:#fff}.jm-raw-html-remove{background:#fee2e2;color:#991b1b}.jm-hybrid-admin-frame{width:100%;min-height:360px;height:520px;border:0;background:#fff;display:block}.jm-hybrid-render{width:100%;max-width:100%;overflow-wrap:anywhere}.jm-hybrid-render img,.jm-hybrid-render video,.jm-hybrid-render iframe{max-width:100%}.jm-hybrid-render .jm-html-sandbox-frame,.jm-html-sandbox-frame{display:block;width:100%;min-height:420px;border:0;border-radius:18px;background:#fff;box-shadow:inset 0 0 0 1px #e5e7eb}.jm-html-sandbox-wrap{margin:18px 0}.jm-html-sandbox-wrap iframe{width:100%;height:620px}
.jm-hybrid-modal-overlay{position:fixed;inset:0;background:rgba(15,23,42,.72);z-index:100000;display:flex;align-items:center;justify-content:center;padding:22px}.jm-hybrid-modal{width:min(1120px,96vw);max-height:94vh;overflow:auto;background:#fff;border-radius:24px;box-shadow:0 28px 90px rgba(0,0,0,.35);padding:0}.jm-hybrid-modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:18px 22px;border-bottom:1px solid #e5e7eb;background:linear-gradient(135deg,#111827,#312e81);color:#fff}.jm-hybrid-modal-head strong{font-size:20px;font-weight:950}.jm-hybrid-modal-head p{margin:5px 0 0;color:#cbd5e1}.jm-hybrid-modal-close{border:0;background:rgba(255,255,255,.15);color:#fff;width:38px;height:38px;border-radius:12px;font-size:26px;line-height:1;cursor:pointer}.jm-hybrid-modal-code{display:block;width:calc(100% - 36px);min-height:260px;margin:18px;border:1px solid #cbd5e1;border-radius:18px;background:#0f172a;color:#e5e7eb;padding:16px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:13px;line-height:1.55;resize:vertical;direction:ltr}.jm-hybrid-modal-preview-title{margin:0 18px 8px;font-weight:950;color:#111827}.jm-hybrid-modal-preview{display:block;width:calc(100% - 36px);height:360px;margin:0 18px 18px;border:1px solid #e5e7eb;border-radius:18px;background:#fff}.jm-hybrid-modal-actions{display:flex;justify-content:flex-end;gap:10px;padding:16px 18px 20px;border-top:1px solid #e5e7eb;background:#f8fafc}.jm-hybrid-modal-actions .button-primary{background:linear-gradient(135deg,#8b5cf6,#ec4899)!important;border:0!important;border-radius:12px!important;font-weight:900!important}
@media(max-width:782px){.jm-hybrid-editor-shell{margin:14px 10px}.jm-hybrid-editor{min-height:360px;padding:18px}.jm-hybrid-toolbar{top:0}.jm-hybrid-editor-head{display:block}.jm-hybrid-editor-head span{display:inline-block;margin-top:8px}.jm-raw-html-top{display:grid;grid-template-columns:1fr;align-items:start}.jm-hybrid-modal-overlay{padding:10px}.jm-hybrid-modal-code,.jm-hybrid-modal-preview{width:calc(100% - 20px);margin-left:10px;margin-right:10px}}


/* JM Editor depurado: evita espacios gigantes, mejora cursor, videos y borrado */
.jm-hybrid-cursor-spacer{min-height:22px!important;margin:10px 0!important;line-height:22px!important;display:block!important;outline:1px dashed transparent!important;}
.jm-hybrid-cursor-spacer:hover{outline-color:#ddd6fe!important;background:#faf5ff!important;}
.jm-hybrid-cursor-spacer:before{content:"";display:inline-block;width:1px;height:18px;}
.jm-raw-html-block{clear:both!important;position:relative!important;max-width:100%!important;overflow:visible!important;margin:14px 0!important;}
.jm-raw-html-card{max-width:100%!important;overflow:hidden!important;}
.jm-hybrid-admin-frame{height:520px!important;min-height:260px!important;max-height:560px!important;overflow:auto!important;}
.jm-hybrid-modal{display:flex!important;flex-direction:column!important;max-height:92vh!important;overflow:hidden!important;}
.jm-hybrid-modal-code{min-height:210px!important;max-height:34vh!important;}
.jm-hybrid-modal-preview{height:260px!important;min-height:220px!important;max-height:280px!important;flex:0 0 auto!important;}
.jm-hybrid-modal-actions{position:sticky!important;bottom:0!important;z-index:2!important;}
.jm-hybrid-video-embed{position:relative!important;width:100%!important;max-width:100%!important;margin:18px 0 26px!important;background:#000!important;border-radius:18px!important;overflow:visible!important;box-sizing:border-box!important;clear:both!important;}
.jm-hybrid-video-ratio{position:relative!important;width:100%!important;aspect-ratio:16/9!important;background:#000!important;border-radius:18px!important;overflow:visible!important;}
.jm-hybrid-video-ratio iframe{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;border:0!important;border-radius:18px!important;background:#000!important;display:block!important;}
.jm-hybrid-video-embed video{display:block!important;width:100%!important;max-width:100%!important;border-radius:18px!important;background:#000!important;}
.jm-hybrid-video-controls{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;background:#111827!important;color:#fff!important;border-radius:14px 14px 0 0!important;padding:10px 12px!important;font-weight:950!important;}
.jm-hybrid-video-controls button{border:0!important;border-radius:10px!important;background:#fee2e2!important;color:#991b1b!important;padding:7px 10px!important;font-weight:900!important;cursor:pointer!important;}
.jm-hybrid-render .jm-hybrid-video-controls{display:none!important;}
.jm-hybrid-render .jm-hybrid-video-embed,.jmfc-video{overflow:visible!important;margin:18px 0 32px!important;}
.jm-hybrid-render .jm-hybrid-video-ratio,.jmfc-video .jm-hybrid-video-ratio{aspect-ratio:16/9!important;overflow:visible!important;border-radius:18px!important;background:#000!important;}
.jm-hybrid-render iframe,.jmfc-video iframe{max-width:100%!important;}


/* JM Premium Content UX v1.0.20260612 - responsive titles, videos, editor fullscreen */
:root{--jm-content-title-size:34px;--jm-content-text-size:17px;--jm-content-title-color:#0f172a;--jm-content-text-color:#111827;--jm-completed-button-bg:#ff8a00;--jm-completed-button-text:#ffffff;--jm-content-accent:#8b5cf6;}
.jmulms-free-content-document h1,.jmulms-course-head h2,.jmulms-selected-course h1,.jmulms-selected-course h2{font-size:var(--jm-content-title-size,34px)!important;line-height:1.12!important;color:var(--jm-content-title-color,#0f172a)!important;letter-spacing:-.025em!important;margin:10px 0 20px!important;max-width:1100px!important;}
.jmfc-content-body,.jmulms-rich-content,.jmulms-chapter-body,.jm-hybrid-render{font-size:var(--jm-content-text-size,17px)!important;color:var(--jm-content-text-color,#111827)!important;line-height:1.72!important;}
.jmfc-content-body p,.jmulms-rich-content p,.jmulms-chapter-body p{color:var(--jm-content-text-color,#111827)!important;}
.jmulms-front-btn,.jmulms-complete-form .jmulms-front-btn{background:var(--jm-completed-button-bg,#ff8a00)!important;color:var(--jm-completed-button-text,#fff)!important;border:0!important;border-radius:999px!important;font-weight:950!important;box-shadow:0 14px 28px rgba(255,138,0,.22)!important;}
.jmulms-video,.jmfc-video,.jm-hybrid-video-embed{position:relative!important;width:100%!important;max-width:1180px!important;margin:22px auto 34px!important;background:#000!important;border-radius:18px!important;overflow:visible!important;padding:0!important;box-sizing:border-box!important;clear:both!important;}
.jmulms-video:before,.jmfc-video:before{content:""!important;display:block!important;padding-top:56.25%!important;}
.jmulms-video iframe,.jmfc-video iframe,.jmulms-video video,.jmfc-video video{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;border:0!important;border-radius:18px!important;background:#000!important;display:block!important;overflow:visible!important;}
.jm-hybrid-video-ratio{position:relative!important;width:100%!important;aspect-ratio:16/9!important;background:#000!important;border-radius:18px!important;overflow:visible!important;}
.jm-hybrid-video-ratio iframe,.jm-hybrid-video-ratio video{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;border:0!important;border-radius:18px!important;background:#000!important;}
.jmulms-video iframe,.jmfc-video iframe,.jm-hybrid-video-ratio iframe{min-height:260px!important;}
.jmulms-content-style-preview{grid-column:1/-1;background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:18px;margin-top:8px}.jmulms-content-style-preview h2{font-size:var(--jm-content-title-size,34px)!important;color:var(--jm-content-title-color,#0f172a)!important;margin:0 0 8px!important}.jmulms-content-style-preview p{font-size:var(--jm-content-text-size,17px)!important;color:var(--jm-content-text-color,#111827)!important}.jmulms-content-style-preview button{background:var(--jm-completed-button-bg,#ff8a00)!important;color:var(--jm-completed-button-text,#fff)!important;border:0;border-radius:999px;padding:12px 18px;font-weight:950}.jm-hybrid-toolbar .jm-hybrid-danger{background:#fee2e2!important;color:#991b1b!important;border-color:#fecaca!important}.jm-hybrid-toolbar .jm-hybrid-fullscreen-btn{background:#111827!important;color:#fff!important}.jm-hybrid-editor-shell.jm-hybrid-fullscreen{position:fixed!important;z-index:100001!important;inset:18px!important;margin:0!important;border-radius:24px!important;display:flex!important;flex-direction:column!important;background:#fff!important;box-shadow:0 30px 100px rgba(0,0,0,.45)!important}.jm-hybrid-editor-shell.jm-hybrid-fullscreen .jm-hybrid-toolbar{top:0!important}.jm-hybrid-editor-shell.jm-hybrid-fullscreen .jm-hybrid-editor{flex:1 1 auto!important;min-height:0!important;overflow:auto!important}.jm-hybrid-editor{color:#111827!important;font-size:17px!important}.jm-hybrid-editor .jmcta-button,.jmulms-rich-content .jmcta-button,.jmfc-content-body .jmcta-button{max-width:100%}.jm-hybrid-shortcode-chip{display:inline-block;background:#f5f3ff;color:#5b21b6;border:1px solid #ddd6fe;border-radius:999px;padding:4px 9px;font-weight:900;font-family:ui-monospace,monospace}
@media(max-width:900px){.jmulms-free-content-document h1,.jmulms-course-head h2,.jmulms-selected-course h1,.jmulms-selected-course h2{font-size:clamp(24px,7vw,34px)!important}.jmulms-video,.jmfc-video,.jm-hybrid-video-embed{border-radius:12px!important;margin:16px auto 26px!important}.jmulms-video iframe,.jmfc-video iframe,.jmulms-video video,.jmfc-video video,.jm-hybrid-video-ratio iframe{border-radius:12px!important}.jm-hybrid-editor-shell.jm-hybrid-fullscreen{inset:8px!important;border-radius:18px!important}.jm-hybrid-toolbar{gap:5px!important}.jm-hybrid-toolbar button,.jm-hybrid-toolbar select{padding:7px 9px!important;font-size:12px!important}}
/* JM Premium video aspect override */
.jmulms-video,.jmfc-video{aspect-ratio:16/9!important;min-height:260px!important;}
.jmulms-video:before,.jmfc-video:before{display:none!important;content:none!important;padding:0!important;}


/* JM Student Sticky Menu + Fluid HTML Content v1.0.20260612 */
@media (min-width:1025px){
  .jmulms-paid-free-dashboard .jmulms-unified-side,
  .jmulms-paid-free-dashboard .jmulms-side,
  .jmulms-student-dashboard .jmulms-student-menu,
  .jmulms-student-dashboard .jmulms-menu-panel,
  .jmulms-student-dashboard .jmulms-dashboard-sidebar,
  .jmulms-student-dashboard .jmulms-lms-sidebar,
  .jmulms-student-dashboard .jmulms-access-sidebar,
  .jmulms-lms-dashboard .jmulms-student-menu,
  .jmulms-lms-dashboard .jmulms-menu-panel,
  .jmulms-lms-dashboard .jmulms-dashboard-sidebar,
  .jmulms-lms-dashboard .jmulms-lms-sidebar,
  .jmulms-lms-dashboard .jmulms-access-sidebar,
  .jmulms-front-dashboard .jmulms-student-menu,
  .jmulms-front-dashboard .jmulms-menu-panel,
  .jmulms-front-dashboard .jmulms-dashboard-sidebar,
  .jmulms-front-dashboard .jmulms-lms-sidebar,
  .jmulms-front-dashboard .jmulms-access-sidebar,
  .jmulms-dashboard .jmulms-side{
    position:sticky!important;
    top:86px!important;
    align-self:start!important;
    max-height:calc(100vh - 106px)!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior:contain!important;
    scrollbar-width:thin!important;
    z-index:20!important;
  }
  .jmulms-paid-free-dashboard .jmulms-main,
  .jmulms-paid-free-dashboard .jmulms-content-panel,
  .jmulms-paid-free-dashboard .jmulms-rich-content,
  .jmulms-paid-free-dashboard .jmfc-content-body,
  .jmulms-student-dashboard .jmulms-student-content,
  .jmulms-student-dashboard .jmulms-content-panel,
  .jmulms-lms-dashboard .jmulms-content-panel,
  .jmulms-front-dashboard .jmulms-content-panel{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
  }
}
@media (max-width:1024px){
  .jmulms-paid-free-dashboard .jmulms-unified-side,
  .jmulms-paid-free-dashboard .jmulms-side,
  .jmulms-dashboard .jmulms-side{
    position:relative!important;
    top:auto!important;
    max-height:none!important;
    overflow:visible!important;
  }
}
.jm-html-sandbox-wrap,
.jmulms-rich-content .jm-html-sandbox-wrap,
.jmfc-content-body .jm-html-sandbox-wrap,
.jmulms-chapter-body .jm-html-sandbox-wrap{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  margin:0 0 28px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:transparent!important;
  overflow:visible!important;
}
.jm-html-sandbox-wrap .jm-html-sandbox-frame,
iframe.jm-html-sandbox-frame{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  min-height:1px!important;
  height:720px;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  outline:0!important;
  background:transparent!important;
  overflow:hidden!important;
  aspect-ratio:auto!important;
}
.jmulms-rich-content,
.jmfc-content-body,
.jmulms-chapter-body,
.jm-hybrid-render{
  width:100%!important;
  max-width:none!important;
  overflow:visible!important;
}
.jmulms-rich-content > *,
.jmfc-content-body > *,
.jmulms-chapter-body > *,
.jm-hybrid-render > *{
  max-width:100%!important;
}
.jmulms-paid-free-dashboard .jmulms-content-panel,
.jmulms-paid-free-dashboard .jmulms-main{
  overflow:visible!important;
}
.jmulms-video iframe,
.jmfc-video iframe,
.jm-hybrid-video-ratio iframe{
  overflow:hidden!important;
}

/* JM 20260614 - MENU STICKY CSS NATIVO FINAL
   Soluciona: sticky real + scroll interno + sin solape de submenus + sin invadir footer.
   Enfoque nuevo: CSS position:sticky dentro del layout natural. No usa JS de fijacion manual.
*/
@media (min-width:1025px){
  :root{--jm-lms-sticky-top:76px;--jm-lms-sticky-bottom-gap:18px;}
  body .jmulms-dashboard,
  body .jmulms-paid-free-dashboard,
  body .jmulms-lms-dashboard,
  body .jmulms-front-dashboard,
  body .jmulms-student-dashboard{
    overflow:visible!important;
    align-items:flex-start!important;
  }
  body .jmulms-paid-free-dashboard,
  body .jmulms-dashboard.jmulms-paid-free-dashboard,
  body .jmulms-dashboard.jmulms-lms-dashboard{
    position:relative!important;
  }
  body .jmulms-paid-free-dashboard .jmulms-unified-side,
  body .jmulms-paid-free-dashboard .jmulms-side,
  body .jmulms-dashboard .jmulms-side,
  body .jmulms-student-dashboard .jmulms-student-menu,
  body .jmulms-student-dashboard .jmulms-menu-panel,
  body .jmulms-student-dashboard .jmulms-dashboard-sidebar,
  body .jmulms-student-dashboard .jmulms-lms-sidebar,
  body .jmulms-front-dashboard .jmulms-student-menu,
  body .jmulms-front-dashboard .jmulms-menu-panel,
  body .jmulms-front-dashboard .jmulms-lms-sidebar,
  body .jm-lms-css-sticky-menu{
    position:-webkit-sticky!important;
    position:sticky!important;
    top:var(--jm-lms-sticky-top,76px)!important;
    align-self:flex-start!important;
    height:auto!important;
    max-height:calc(100vh - var(--jm-lms-sticky-top,76px) - var(--jm-lms-sticky-bottom-gap,18px))!important;
    max-height:calc(100dvh - var(--jm-lms-sticky-top,76px) - var(--jm-lms-sticky-bottom-gap,18px))!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior:contain!important;
    -webkit-overflow-scrolling:touch!important;
    scrollbar-width:thin!important;
    scrollbar-gutter:stable!important;
    z-index:10!important;
    box-sizing:border-box!important;
    padding-bottom:92px!important;
    transform:none!important;
    will-change:auto!important;
    contain:none!important;
  }
  body .jm-lms-css-sticky-menu::-webkit-scrollbar,
  body .jmulms-paid-free-dashboard .jmulms-unified-side::-webkit-scrollbar,
  body .jmulms-paid-free-dashboard .jmulms-side::-webkit-scrollbar,
  body .jmulms-dashboard .jmulms-side::-webkit-scrollbar{width:9px!important;display:block!important;}
  body .jm-lms-css-sticky-menu::-webkit-scrollbar-track,
  body .jmulms-paid-free-dashboard .jmulms-unified-side::-webkit-scrollbar-track,
  body .jmulms-paid-free-dashboard .jmulms-side::-webkit-scrollbar-track,
  body .jmulms-dashboard .jmulms-side::-webkit-scrollbar-track{background:rgba(15,23,42,.05)!important;border-radius:999px!important;}
  body .jm-lms-css-sticky-menu::-webkit-scrollbar-thumb,
  body .jmulms-paid-free-dashboard .jmulms-unified-side::-webkit-scrollbar-thumb,
  body .jmulms-paid-free-dashboard .jmulms-side::-webkit-scrollbar-thumb,
  body .jmulms-dashboard .jmulms-side::-webkit-scrollbar-thumb{background:#c7cdd8!important;border-radius:999px!important;border:2px solid #fff!important;}
  body .jmulms-paid-free-dashboard .jmulms-paid-free-menu,
  body .jmulms-paid-free-dashboard .jmulms-unified-menu,
  body .jmulms-paid-free-dashboard .jmfc-student-tree,
  body .jm-lms-css-sticky-menu .jmulms-paid-free-menu,
  body .jm-lms-css-sticky-menu .jmulms-unified-menu,
  body .jm-lms-css-sticky-menu .jmfc-student-tree{
    display:flex!important;
    flex-direction:column!important;
    gap:3px!important;
    position:static!important;
    overflow:visible!important;
    height:auto!important;
    max-height:none!important;
  }
  body .jmulms-paid-free-dashboard details,
  body .jm-lms-css-sticky-menu details,
  body .jmulms-paid-free-dashboard .jmfc-student-folder,
  body .jm-lms-css-sticky-menu .jmfc-student-folder{
    display:block!important;
    position:static!important;
    overflow:visible!important;
    height:auto!important;
    max-height:none!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    opacity:1!important;
    transform:none!important;
  }
  body .jmulms-paid-free-dashboard details > summary,
  body .jm-lms-css-sticky-menu details > summary,
  body .jmulms-paid-free-dashboard .jmulms-side-link,
  body .jm-lms-css-sticky-menu .jmulms-side-link{
    position:static!important;
    display:flex!important;
    align-items:center!important;
    gap:7px!important;
    font-size:13px!important;
    line-height:1.18!important;
    font-weight:850!important;
    color:#071124!important;
    margin:0!important;
    padding:7px 8px!important;
    min-height:30px!important;
  }
  body .jmulms-paid-free-dashboard details[open] > .jmulms-side-submenu,
  body .jmulms-paid-free-dashboard details[open] > .jmfc-student-children,
  body .jm-lms-css-sticky-menu details[open] > .jmulms-side-submenu,
  body .jm-lms-css-sticky-menu details[open] > .jmfc-student-children,
  body .jmulms-paid-free-dashboard .jmulms-side-submenu,
  body .jmulms-paid-free-dashboard .jmfc-student-children,
  body .jm-lms-css-sticky-menu .jmulms-side-submenu,
  body .jm-lms-css-sticky-menu .jmfc-student-children{
    position:static!important;
    display:flex!important;
    flex-direction:column!important;
    gap:3px!important;
    overflow:visible!important;
    height:auto!important;
    max-height:none!important;
    min-height:0!important;
    margin:3px 0 5px 24px!important;
    padding:0!important;
    opacity:1!important;
    visibility:visible!important;
    transform:none!important;
  }
  body .jmulms-paid-free-dashboard details:not([open]) > .jmulms-side-submenu,
  body .jmulms-paid-free-dashboard details:not([open]) > .jmfc-student-children,
  body .jm-lms-css-sticky-menu details:not([open]) > .jmulms-side-submenu,
  body .jm-lms-css-sticky-menu details:not([open]) > .jmfc-student-children{display:none!important;}
  body .jmulms-paid-free-dashboard .jmulms-side-subitem,
  body .jmulms-paid-free-dashboard .jmfc-free-leaf,
  body .jm-lms-css-sticky-menu .jmulms-side-subitem,
  body .jm-lms-css-sticky-menu .jmfc-free-leaf{
    position:static!important;
    display:flex!important;
    align-items:center!important;
    gap:6px!important;
    font-size:12.5px!important;
    line-height:1.16!important;
    font-weight:600!important;
    margin:0!important;
    padding:6px 7px!important;
    min-height:28px!important;
    white-space:normal!important;
  }
  body .jmulms-paid-free-dashboard .jmulms-side-subitem strong,
  body .jmulms-paid-free-dashboard .jmfc-free-leaf strong,
  body .jm-lms-css-sticky-menu .jmulms-side-subitem strong,
  body .jm-lms-css-sticky-menu .jmfc-free-leaf strong{font-size:12.5px!important;line-height:1.16!important;font-weight:650!important;}
  body .jmulms-paid-free-dashboard .jmulms-menu-icon,
  body .jm-lms-css-sticky-menu .jmulms-menu-icon{font-size:14px!important;min-width:18px!important;width:18px!important;}
  body .jmulms-student-main,
  body .jmulms-content,
  body .jmulms-front-content{padding-top:12px!important;}
  body .jmulms-student-hero{margin-bottom:10px!important;padding-bottom:6px!important;}
  body .jmulms-student-hero + *{margin-top:6px!important;}
}
@media (max-width:1024px){
  body .jm-lms-css-sticky-menu,
  body .jmulms-paid-free-dashboard .jmulms-unified-side,
  body .jmulms-paid-free-dashboard .jmulms-side,
  body .jmulms-dashboard .jmulms-side{
    position:relative!important;
    top:auto!important;
    max-height:none!important;
    overflow:visible!important;
    padding-bottom:0!important;
    z-index:auto!important;
  }
}


/* JM 20260614 - SCROLL MORADO + GUIAS RESPONSIVE + VIDEO PREMIUM FULLSCREEN
   Base conservada: sticky CSS nativo funcionando. No cambia layout ni footer. */
@media (min-width:1025px){
  body .jm-lms-css-sticky-menu,
  body .jmulms-paid-free-dashboard .jmulms-unified-side,
  body .jmulms-paid-free-dashboard .jmulms-side,
  body .jmulms-dashboard .jmulms-side{
    scrollbar-width:thin!important;
    scrollbar-color:#8b5cf6 rgba(139,92,246,.16)!important;
  }
  body .jm-lms-css-sticky-menu::-webkit-scrollbar,
  body .jmulms-paid-free-dashboard .jmulms-unified-side::-webkit-scrollbar,
  body .jmulms-paid-free-dashboard .jmulms-side::-webkit-scrollbar,
  body .jmulms-dashboard .jmulms-side::-webkit-scrollbar{
    width:12px!important;
    display:block!important;
  }
  body .jm-lms-css-sticky-menu::-webkit-scrollbar-track,
  body .jmulms-paid-free-dashboard .jmulms-unified-side::-webkit-scrollbar-track,
  body .jmulms-paid-free-dashboard .jmulms-side::-webkit-scrollbar-track,
  body .jmulms-dashboard .jmulms-side::-webkit-scrollbar-track{
    background:linear-gradient(180deg,rgba(139,92,246,.10),rgba(236,72,153,.10))!important;
    border-radius:999px!important;
    margin:12px 0!important;
  }
  body .jm-lms-css-sticky-menu::-webkit-scrollbar-thumb,
  body .jmulms-paid-free-dashboard .jmulms-unified-side::-webkit-scrollbar-thumb,
  body .jmulms-paid-free-dashboard .jmulms-side::-webkit-scrollbar-thumb,
  body .jmulms-dashboard .jmulms-side::-webkit-scrollbar-thumb{
    background:linear-gradient(180deg,#7c3aed 0%,#a855f7 48%,#ec4899 100%)!important;
    border-radius:999px!important;
    border:2px solid #fff!important;
    box-shadow:0 8px 20px rgba(139,92,246,.34)!important;
  }
  body .jm-lms-css-sticky-menu::-webkit-scrollbar-thumb:hover,
  body .jmulms-paid-free-dashboard .jmulms-unified-side::-webkit-scrollbar-thumb:hover,
  body .jmulms-paid-free-dashboard .jmulms-side::-webkit-scrollbar-thumb:hover,
  body .jmulms-dashboard .jmulms-side::-webkit-scrollbar-thumb:hover{
    background:linear-gradient(180deg,#6d28d9 0%,#9333ea 48%,#db2777 100%)!important;
  }
}
body.jm-lms-dashboard-active,
body.jm-lms-dashboard-active .jmulms-main,
body.jm-lms-dashboard-active .jmulms-content-panel,
body.jm-lms-dashboard-active .jmulms-rich-content,
body.jm-lms-dashboard-active .jmfc-content-body,
body.jm-lms-dashboard-active .jmulms-chapter-body{
  scrollbar-width:thin!important;
  scrollbar-color:#8b5cf6 rgba(139,92,246,.14)!important;
}
body.jm-lms-dashboard-active::-webkit-scrollbar,
body.jm-lms-dashboard-active .jmulms-main::-webkit-scrollbar,
body.jm-lms-dashboard-active .jmulms-content-panel::-webkit-scrollbar,
body.jm-lms-dashboard-active .jmulms-rich-content::-webkit-scrollbar,
body.jm-lms-dashboard-active .jmfc-content-body::-webkit-scrollbar,
body.jm-lms-dashboard-active .jmulms-chapter-body::-webkit-scrollbar{width:11px!important;height:11px!important;}
body.jm-lms-dashboard-active::-webkit-scrollbar-track,
body.jm-lms-dashboard-active .jmulms-main::-webkit-scrollbar-track,
body.jm-lms-dashboard-active .jmulms-content-panel::-webkit-scrollbar-track,
body.jm-lms-dashboard-active .jmulms-rich-content::-webkit-scrollbar-track,
body.jm-lms-dashboard-active .jmfc-content-body::-webkit-scrollbar-track,
body.jm-lms-dashboard-active .jmulms-chapter-body::-webkit-scrollbar-track{background:rgba(139,92,246,.10)!important;border-radius:999px!important;}
body.jm-lms-dashboard-active::-webkit-scrollbar-thumb,
body.jm-lms-dashboard-active .jmulms-main::-webkit-scrollbar-thumb,
body.jm-lms-dashboard-active .jmulms-content-panel::-webkit-scrollbar-thumb,
body.jm-lms-dashboard-active .jmulms-rich-content::-webkit-scrollbar-thumb,
body.jm-lms-dashboard-active .jmfc-content-body::-webkit-scrollbar-thumb,
body.jm-lms-dashboard-active .jmulms-chapter-body::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#8b5cf6,#ec4899)!important;border-radius:999px!important;border:2px solid #fff!important;}

.jm-lms-scroll-hint{
  position:fixed!important;
  z-index:999999!important;
  width:min(346px,calc(100vw - 28px))!important;
  background:linear-gradient(135deg,#5b21b6 0%,#8b5cf6 45%,#ec4899 100%)!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.36)!important;
  border-radius:20px!important;
  padding:16px 46px 16px 18px!important;
  box-shadow:0 24px 70px rgba(88,28,135,.36),0 8px 18px rgba(236,72,153,.18)!important;
  font-family:inherit!important;
  font-size:14px!important;
  line-height:1.35!important;
  font-weight:750!important;
  letter-spacing:-.01em!important;
  opacity:0!important;
  transform:translateY(8px) scale(.985)!important;
  transition:opacity .22s ease,transform .22s ease!important;
  pointer-events:auto!important;
}
.jm-lms-scroll-hint.is-visible{opacity:1!important;transform:translateY(0) scale(1)!important;}
.jm-lms-scroll-hint strong{display:block!important;font-size:15px!important;line-height:1.2!important;margin:0 0 5px!important;color:#fff!important;font-weight:950!important;}
.jm-lms-scroll-hint span{display:block!important;color:rgba(255,255,255,.93)!important;font-weight:650!important;}
.jm-lms-scroll-hint:before{
  content:""!important;
  position:absolute!important;
  left:-10px!important;
  top:30px!important;
  width:18px!important;
  height:18px!important;
  background:#7c3aed!important;
  border-left:1px solid rgba(255,255,255,.34)!important;
  border-bottom:1px solid rgba(255,255,255,.34)!important;
  transform:rotate(45deg)!important;
  box-shadow:-8px 8px 22px rgba(88,28,135,.16)!important;
}
.jm-lms-scroll-hint.jm-arrow-right:before{left:auto!important;right:-10px!important;transform:rotate(225deg)!important;}
.jm-lms-scroll-hint.jm-content-hint:before{left:auto!important;right:-10px!important;transform:rotate(225deg)!important;background:#ec4899!important;}
.jm-lms-scroll-hint-close{
  position:absolute!important;
  top:10px!important;
  right:10px!important;
  width:28px!important;
  height:28px!important;
  border:0!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.18)!important;
  color:#fff!important;
  font-size:19px!important;
  line-height:28px!important;
  text-align:center!important;
  cursor:pointer!important;
  font-weight:900!important;
}
.jm-lms-scroll-hint-close:hover{background:rgba(255,255,255,.28)!important;}
.jm-lms-scroll-target{
  position:fixed!important;
  z-index:999998!important;
  width:7px!important;
  border-radius:999px!important;
  pointer-events:none!important;
  background:linear-gradient(180deg,#8b5cf6,#ec4899)!important;
  box-shadow:0 0 0 4px rgba(139,92,246,.18),0 12px 30px rgba(139,92,246,.38)!important;
  opacity:0!important;
  transition:opacity .18s ease!important;
}
.jm-lms-scroll-target.is-visible{opacity:1!important;}
.jm-lms-scroll-target.jm-content-scroll-target{right:5px!important;left:auto!important;}
@media (max-width:1024px){
  .jm-lms-scroll-hint{
    left:14px!important;
    right:14px!important;
    bottom:18px!important;
    top:auto!important;
    width:auto!important;
    max-width:none!important;
    border-radius:18px!important;
    padding:15px 42px 15px 16px!important;
  }
  .jm-lms-scroll-hint:before{display:none!important;}
  .jm-lms-scroll-target{display:none!important;}
  .jm-lms-scroll-hint.jm-content-hint{bottom:96px!important;}
}

/* JM 20260614 - VIDEO LMS PREMIUM RESPONSIVE FULLSCREEN */
.jmulms-video,
.jmfc-video,
.jm-hybrid-video-embed{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  margin:18px auto 28px!important;
  background:#000!important;
  border-radius:18px!important;
  overflow:visible!important;
  padding:0!important;
  box-sizing:border-box!important;
  clear:both!important;
  aspect-ratio:16/9!important;
  min-height:0!important;
  height:auto!important;
}
.jmulms-video:before,
.jmfc-video:before{display:none!important;content:none!important;padding:0!important;}
.jmulms-video iframe,
.jmfc-video iframe,
.jmulms-video video,
.jmfc-video video,
.jm-hybrid-video-ratio iframe,
.jm-hybrid-video-ratio video{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
  border:0!important;
  border-radius:18px!important;
  background:#000!important;
  display:block!important;
  overflow:hidden!important;
}
.jm-hybrid-video-ratio{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  aspect-ratio:16/9!important;
  min-height:0!important;
  height:auto!important;
  background:#000!important;
  border-radius:18px!important;
  position:relative!important;
  overflow:visible!important;
}
.jmulms-video,
.jmfc-video{position:relative!important;}
@media(max-width:900px){
  .jmulms-video,
  .jmfc-video,
  .jm-hybrid-video-embed{
    width:100%!important;
    max-width:100%!important;
    margin:14px auto 22px!important;
    border-radius:14px!important;
    aspect-ratio:16/9!important;
    min-height:0!important;
  }
  .jmulms-video iframe,
  .jmfc-video iframe,
  .jmulms-video video,
  .jmfc-video video,
  .jm-hybrid-video-ratio iframe,
  .jm-hybrid-video-ratio video,
  .jm-hybrid-video-ratio{border-radius:14px!important;min-height:0!important;}
  .jmulms-rich-content iframe[src*="youtube"],
  .jmulms-rich-content iframe[src*="vimeo"],
  .jmfc-content-body iframe[src*="youtube"],
  .jmfc-content-body iframe[src*="vimeo"]{width:100%!important;aspect-ratio:16/9!important;height:auto!important;min-height:0!important;}
}

/* JM 20260614 - MOBILE VIDEO FULL WIDTH SAFE + NO HORIZONTAL PAN
   Basado en el estado estable sticky CSS nativo. Corrige videos en celulares/tabletas
   sin crear desplazamiento horizontal hacia el theme CLENTAC/offcanvas. */
@media (max-width: 1024px), (pointer: coarse){
  html.jm-lms-mobile-no-x,
  html.jm-lms-mobile-no-x body,
  body.jm-lms-mobile-no-x{
    width:100%!important;
    max-width:100vw!important;
    overflow-x:hidden!important;
    overscroll-behavior-x:none!important;
    touch-action:pan-y!important;
  }

  body.jm-lms-mobile-no-x #page,
  body.jm-lms-mobile-no-x .site,
  body.jm-lms-mobile-no-x .wrapper,
  body.jm-lms-mobile-no-x .main-wrapper,
  body.jm-lms-mobile-no-x .jmulms-paid-free-dashboard,
  body.jm-lms-mobile-no-x .jmulms-lms-dashboard,
  body.jm-lms-mobile-no-x .jmulms-student-dashboard,
  body.jm-lms-mobile-no-x .jmulms-front-dashboard,
  body.jm-lms-mobile-no-x .jmfc-content-body,
  body.jm-lms-mobile-no-x .jmulms-rich-content,
  body.jm-lms-mobile-no-x .jmulms-content-panel,
  body.jm-lms-mobile-no-x .jmulms-free-content-document{
    max-width:100vw!important;
    overflow-x:hidden!important;
  }

  body.jm-lms-mobile-no-x .jmulms-content-panel,
  body.jm-lms-mobile-no-x .jmulms-course-content,
  body.jm-lms-mobile-no-x .jmulms-chapter-body,
  body.jm-lms-mobile-no-x .jmulms-rich-content,
  body.jm-lms-mobile-no-x .jmfc-content-body,
  body.jm-lms-mobile-no-x .jmulms-free-content-document{
    padding-left:0!important;
    padding-right:0!important;
  }

  body.jm-lms-mobile-no-x .jmulms-video,
  body.jm-lms-mobile-no-x .jmfc-video,
  body.jm-lms-mobile-no-x .jm-hybrid-video-embed{
    display:block!important;
    position:relative!important;
    width:100vw!important;
    max-width:100vw!important;
    min-width:100vw!important;
    aspect-ratio:16/9!important;
    height:auto!important;
    min-height:0!important;
    margin-left:calc(50% - 50vw)!important;
    margin-right:calc(50% - 50vw)!important;
    margin-top:18px!important;
    margin-bottom:30px!important;
    background:#000!important;
    border-radius:0!important;
    overflow:hidden!important;
    padding:0!important;
    box-sizing:border-box!important;
    box-shadow:0 16px 34px rgba(15,23,42,.20)!important;
    clear:both!important;
  }

  body.jm-lms-mobile-no-x .jmulms-video:before,
  body.jm-lms-mobile-no-x .jmfc-video:before{
    display:none!important;
    content:none!important;
    padding:0!important;
  }

  body.jm-lms-mobile-no-x .jmulms-video iframe,
  body.jm-lms-mobile-no-x .jmfc-video iframe,
  body.jm-lms-mobile-no-x .jm-hybrid-video-embed iframe,
  body.jm-lms-mobile-no-x .jmulms-video video,
  body.jm-lms-mobile-no-x .jmfc-video video,
  body.jm-lms-mobile-no-x .jm-hybrid-video-embed video,
  body.jm-lms-mobile-no-x .jm-hybrid-video-ratio iframe,
  body.jm-lms-mobile-no-x .jm-hybrid-video-ratio video{
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    max-width:100%!important;
    min-height:0!important;
    border:0!important;
    display:block!important;
    object-fit:contain!important;
    background:#000!important;
    border-radius:0!important;
  }

  body.jm-lms-mobile-no-x .jm-hybrid-video-ratio{
    position:relative!important;
    width:100%!important;
    max-width:100%!important;
    aspect-ratio:16/9!important;
    height:auto!important;
    background:#000!important;
    overflow:hidden!important;
    border-radius:0!important;
  }

  body.jm-lms-mobile-no-x .jmulms-rich-content > iframe[src*="youtube"],
  body.jm-lms-mobile-no-x .jmulms-rich-content > iframe[src*="youtu.be"],
  body.jm-lms-mobile-no-x .jmulms-rich-content > iframe[src*="vimeo"],
  body.jm-lms-mobile-no-x .jmfc-content-body > iframe[src*="youtube"],
  body.jm-lms-mobile-no-x .jmfc-content-body > iframe[src*="youtu.be"],
  body.jm-lms-mobile-no-x .jmfc-content-body > iframe[src*="vimeo"],
  body.jm-lms-mobile-no-x .jm-hybrid-render > iframe[src*="youtube"],
  body.jm-lms-mobile-no-x .jm-hybrid-render > iframe[src*="youtu.be"],
  body.jm-lms-mobile-no-x .jm-hybrid-render > iframe[src*="vimeo"]{
    display:block!important;
    position:relative!important;
    width:100vw!important;
    max-width:100vw!important;
    min-width:100vw!important;
    height:56.25vw!important;
    min-height:190px!important;
    max-height:576px!important;
    margin-left:calc(50% - 50vw)!important;
    margin-right:calc(50% - 50vw)!important;
    margin-top:18px!important;
    margin-bottom:30px!important;
    border:0!important;
    border-radius:0!important;
    background:#000!important;
    box-shadow:0 16px 34px rgba(15,23,42,.20)!important;
  }
}


/* JM 20260625 Emergency HTML Public Render Fix */
.jm-html-sandbox-wrap,
.jm-html-sandbox-wrap .jm-html-sandbox-frame,
iframe.jm-html-sandbox-frame{
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
.jm-html-sandbox-wrap{
  display:block!important;
  overflow:visible!important;
  max-height:none!important;
  height:auto!important;
  margin:0 0 28px!important;
  background:transparent!important;
}
.jm-html-sandbox-wrap .jm-html-sandbox-frame,
iframe.jm-html-sandbox-frame{
  display:block!important;
  min-height:720px!important;
  height:var(--jm-html-estimated-height,1200px)!important;
  max-height:none!important;
  overflow:hidden!important;
  border:0!important;
  background:transparent!important;
}
.jm-has-html-sandbox-frame,
.jmulms-content-panel.jm-has-html-sandbox-frame,
.jmfc-content-body.jm-has-html-sandbox-frame,
.jmulms-rich-content.jm-has-html-sandbox-frame,
.jmulms-free-content-document.jm-has-html-sandbox-frame{
  overflow:visible!important;
  max-height:none!important;
  height:auto!important;
}
@media(max-width:760px){
  .jm-html-sandbox-wrap{margin-left:0!important;margin-right:0!important;}
  .jm-html-sandbox-wrap .jm-html-sandbox-frame,
  iframe.jm-html-sandbox-frame{min-height:900px!important;border-radius:0!important;}
}
