/* Health Metrix Academy lesson styles. Edit this file, not Additional CSS (Eduma disables it). */
/* HM lesson styles */
.hm-tag{background:#ECF6F6;border-left:4px solid #017F83;border-radius:8px;padding:14px 18px;margin:0 0 22px;color:#2C3E40}
.hm-tag strong{font-family:Poppins,sans-serif;color:#036068;text-transform:uppercase;letter-spacing:.08em;font-size:12px}
.hm-beat{font-family:Poppins,sans-serif;text-transform:uppercase;letter-spacing:.1em;font-size:13px;color:#7A5C0E;border-bottom:2px solid #E0B53A;display:inline-block;padding-bottom:4px;margin-bottom:16px}
.hm-author-note{background:#F6EBC8;border:1px dashed #B8860B;border-radius:6px;padding:8px 12px;font-size:14px;color:#7A5C0E}
.hm-footer-note{margin-top:28px;border-top:1px solid #E3EBEB;padding-top:10px;color:#566A6B}
.content-item-description h3,.lp-content-area h3{color:#024A59;margin-top:26px}

/* Calculator labels */
.hm-nocalc{color:#C62828;font-weight:700;}
p.hm-nocalc{display:inline-block;border:2px solid #C62828;border-radius:6px;padding:4px 12px;margin:0 0 16px;font-family:Poppins,sans-serif;}
.hm-calc{display:inline-block;color:#036068;font-weight:700;border:2px solid #017F83;border-radius:6px;padding:4px 12px;margin:0 0 16px;font-family:Poppins,sans-serif;}
.katex-display{overflow-x:auto;overflow-y:hidden;padding:4px 0;}

.katex{font-size:1.08em;}

/* Lesson template v2 */
.hm-goal{background:#F6EBC8;border-left:4px solid #E0B53A;padding:10px 14px;border-radius:4px;}
.hm-rule{background:#E6F4F4;border:2px solid #017F83;border-radius:6px;padding:10px 14px;text-align:center;font-size:1.1em;}
.hm-table{border-collapse:collapse;margin:8px 0 16px;min-width:260px;}
.hm-table th,.hm-table td{border:1px solid #cfdede;padding:6px 14px;text-align:center;}
.hm-table th{background:#024A59;color:#fff;}
.hm-table tr.hm-hl td{background:#FFF8E1;}
.hm-example{border:1px solid #cfdede;border-left:4px solid #017F83;border-radius:6px;padding:12px 16px;margin:14px 0;background:#fff;}
.hm-ex-head{font-family:Poppins,sans-serif;font-weight:700;color:#036068;margin-bottom:6px;}
.hm-marks{display:inline-block;font-size:.8em;font-weight:700;color:#7A5C0E;background:#F6EBC8;border-radius:4px;padding:0 6px;margin-left:6px;}
.hm-why{font-style:italic;color:#4a5a5a;}
.hm-mistake{border-left:4px solid #C62828;background:#FDECEA;padding:8px 14px;margin:10px 0;border-radius:4px;}
.hm-keypoints{border:2px solid #E0B53A;background:#FFFBEF;border-radius:8px;padding:12px 18px;margin:18px 0;}
.hm-examq{border:1px solid #cfdede;border-radius:6px;padding:12px 16px;margin:12px 0;}
.hm-jobs li{margin-bottom:6px;}

.hm-selfcheck{border:2px solid #017F83;background:#F4FAFA;border-radius:8px;padding:12px 18px;margin:22px 0;}
.hm-selfcheck li::marker{content:'☐  ';color:#017F83;}

.hm-table{display:block;overflow-x:auto;max-width:100%;}
.hm-figure{margin:10px 0 16px;}

/* Template v2 additions (2 Oct) */
.hm-goal ul{margin:6px 0 0 1.2em;}
.hm-markkey{font-size:.92em;background:#FFFBEF;border:1px solid #E0B53A;border-radius:6px;padding:8px 14px;margin:6px 0 14px;color:#3d4a4a;}
.hm-markkey .hm-marks{margin-left:0;}
/* Model answer button */
.hm-examq details{margin-top:10px;}
.hm-examq details summary{display:inline-block;list-style:none;cursor:pointer;background:#017F83;color:#fff;font-family:Poppins,sans-serif;font-weight:600;font-size:.95em;padding:7px 16px;border-radius:20px;margin:0;box-shadow:0 1px 3px rgba(0,0,0,.15);transition:background .15s;}
.hm-examq details summary::-webkit-details-marker{display:none;}
.hm-examq details summary::marker{content:'';}
.hm-examq details summary::before{content:'\25B8  ';}
.hm-examq details summary:hover{background:#036068;}
.hm-examq details[open] summary{background:#024A59;margin-bottom:10px;}
.hm-examq details[open] summary::before{content:'\25BE  ';}
.hm-examq details[open]{background:#F4FAFA;border-left:4px solid #017F83;padding:10px 14px;border-radius:6px;}

.hm-gap{display:inline-block;width:2em;}

/* 4 Oct 2026: table headings readable (theme forced white background) */
.hm-table th{background:#E3F2F1 !important;color:#1f2d2d !important;font-weight:700;}

/* JCE Mathematics stream (17 Oct 2026): Kalahari Coral. Scoped to .hm-jce so BGCSE lessons are untouched. */
.hm-jce{background:#FFF8F0;border-radius:16px;padding:18px 20px;color:#2C3E40}
.hm-jce a{color:#B5451B;text-decoration:underline}
.hm-jce a:hover{color:#8F3412}
.hm-jce h3{color:#0E1B1D}
.hm-jce .hm-beat{background:#B5451B;color:#fff;border:0;border-radius:999px;padding:3px 14px;font-size:12px;letter-spacing:.08em}
.hm-jce .hm-form{display:inline-block;background:#E6F4FB;color:#1F6F99;border-radius:999px;padding:3px 12px;font-family:Poppins,sans-serif;font-weight:700;font-size:12px;letter-spacing:.06em;text-transform:uppercase;margin:0 0 12px 6px}
.hm-jce .hm-goal{background:#fff;border:0;border-top:6px solid #E5673A;border-radius:14px;padding:12px 16px}
.hm-jce .hm-start{background:#E6F4FB;border-radius:14px;padding:12px 16px;margin:14px 0}
.hm-jce .hm-start strong:first-child{font-family:Poppins,sans-serif;color:#1F6F99}
.hm-jce .hm-words{background:#fff;border:1px solid #F3D9C8;border-radius:14px;padding:12px 16px;margin:14px 0}
.hm-jce .hm-words dt{font-weight:700;color:#B5451B;margin-top:6px}
.hm-jce .hm-words dd{margin:0 0 4px 0}
.hm-jce .hm-rule{background:#fff;border:2px solid #E5673A;border-radius:14px}
.hm-jce .hm-example{background:#fff;border:1px solid #F3D9C8;border-left:0;border-radius:14px;padding:0 0 12px;overflow:hidden}
.hm-jce .hm-example>*{margin-left:16px;margin-right:16px}
.hm-jce .hm-example .hm-ex-head{background:#E5673A;color:#fff;margin:0 0 10px;padding:8px 16px;font-size:19px}
.hm-jce .hm-example.hm-fade .hm-ex-head{background:#1F6F99;font-size:16px}
.hm-jce .hm-why{font-style:normal;color:#1F6F99}
.hm-jce .hm-marks{background:#FCE5DC;color:#8F3412}
.hm-jce .hm-markkey{background:#fff;border:1px solid #F3D9C8;border-radius:12px}
.hm-jce .hm-mistake{background:#FCE5DC;border-left:0;border-radius:14px;padding:10px 16px}
.hm-jce .hm-keypoints{background:#fff;border:2px dashed #3FA7D6;border-radius:14px}
.hm-jce .hm-examq{background:#fff;border:1px solid #F3D9C8;border-radius:14px}
.hm-jce .hm-examq details summary{background:#B5451B}
.hm-jce .hm-examq details summary:hover{background:#8F3412}
.hm-jce .hm-examq details[open] summary{background:#8F3412}
.hm-jce .hm-examq details[open]{background:#FFF8F0;border-left:4px solid #E5673A}
.hm-jce .hm-selfcheck{background:#fff;border:2px solid #E5673A;border-radius:14px}
.hm-jce .hm-selfcheck li::marker{color:#B5451B}
.hm-jce .hm-parent{background:#fff;border:2px solid #3FA7D6;border-radius:18px;padding:14px 18px;margin:22px 0}
.hm-jce .hm-parent>strong:first-child{display:block;font-family:Poppins,sans-serif;font-size:1.15em;color:#1F6F99;margin-bottom:6px}
.hm-jce .hm-parent dl{display:grid;grid-template-columns:minmax(0,9em) minmax(0,1fr);gap:6px 14px;margin:0}
.hm-jce .hm-parent dt{font-weight:700;color:#B5451B}
.hm-jce .hm-parent dd{margin:0}
@media (max-width:560px){.hm-jce{padding:14px 12px}.hm-jce .hm-parent dl{grid-template-columns:minmax(0,1fr)}}
.hm-jce .hm-table th{background:#E6F4FB !important;color:#0E1B1D !important}
.hm-jce .hm-calc{color:#1F6F99;border-color:#1F6F99}
.hm-jce .hm-tag{background:#E6F4FB;border-left-color:#1F6F99}
.hm-jce .hm-tag strong{color:#1F6F99}

/* Lesson popup header: readable title on the teal bar, all tracks (17 Oct 2026) */
#popup-header .course-title,#popup-header .course-title a{color:#FFFFFF !important}
#popup-header .curriculum-info,#popup-header .curriculum-info span{color:#FFFFFF !important;opacity:1}
/* JCE track chrome: course page (template 328) and lesson popup */
body.hm-track-jce .elementor-328{--e-global-color-hmdeep:#9A3A16;--e-global-color-primary:#B5451B;--e-global-color-accent:#8F3412;--e-global-color-secondary:#FFE3C2;--e-global-color-hmmist:#FFF1EA;--e-global-color-hmt50:#FCE5DC;--e-global-color-hmpaper:#FFF8F0;--e-global-color-hmwash:#E6F4FB;--e-global-color-hmdgold:#1F6F99;--e-global-color-hmline:#F3D9C8}
body.hm-track-jce #popup-header{background:#9A3A16 !important}
body.hm-track-jce #popup-footer,body.hm-track-jce .lp-course-curriculum .course-item.current{border-color:#B5451B}
body.hm-track-jce #popup-course .course-item.current a,body.hm-track-jce #popup-sidebar .course-item.current .item-name{color:#B5451B}
body.hm-track-jce #popup-sidebar .course-item.current{background:#FCE5DC}
body.hm-track-jce #popup-sidebar .course-item.current::before{background:#B5451B}body.hm-track-jce .course-item-ico,body.hm-track-jce .course-item-ico::before{color:#B5451B !important}
body.hm-track-jce .lp-modal-header,body.hm-track-jce .lp-modal-footer .lp-button.btn-yes{background:#B5451B !important;border-color:#B5451B !important}
body.hm-track-jce #popup-sidebar .course-item.current,body.hm-track-jce #popup-sidebar .course-item.current>a{border-left-color:#B5451B !important;box-shadow:none}body.hm-track-jce .course-item.current::after{background:#B5451B !important}
/* JCE colour refinement (17 Oct 2026): fewer colours; red only means wrong. Brick/coral + cream + ink; sky only for the Parent corner. */
body.hm-track-jce .elementor-324{--e-global-color-primary:#B5451B;--e-global-color-accent:#8F3412}
body.hm-track-jce .elementor-328{--e-global-color-hmwash:#FFF8F0;--e-global-color-hmdgold:#8F3412}
.hm-jce .hm-tag{background:#FFFFFF;border-left:4px solid #E5673A}
.hm-jce .hm-tag strong{color:#8F3412}
.hm-jce .hm-start{background:#FFFFFF;border:1px solid #F3D9C8}
.hm-jce .hm-start strong:first-child{color:#8F3412}
.hm-jce .hm-why{color:#4A5C5E}
.hm-jce .hm-example.hm-fade .hm-ex-head{background:#2C3E40}
.hm-jce .hm-keypoints{border:2px solid #F3D9C8}
.hm-jce .hm-table th{background:#FFF1EA !important}
.hm-jce .hm-mistake strong:first-child{color:#880807}
.hm-jce p.hm-nocalc,.hm-jce p.hm-calc{color:#0E1B1D !important;border:2px solid #0E1B1D !important;background:#FFFFFF}
.hm-jce .hm-nocalc{color:#0E1B1D !important}
.hm-jce .hm-nocalc::before{content:'\2298\00a0';font-weight:700}
.hm-jce p.hm-calc::before{content:'\2713\00a0';font-weight:700}
body.hm-track-jce .h5p-content{--h5p-theme-main-cta-base:#B5451B;--h5p-theme-main-cta-light:#C9532A;--h5p-theme-main-cta-dark:#8F3412;--h5p-theme-focus:#B5451B;--h5p-theme-contrast-cta:#FFF1EA;--h5p-theme-contrast-cta-white:#B5451B}
body.hm-track-jce .h5p-content .h5p-theme-primary-cta,body.hm-track-jce .h5p-content .h5p-theme-nav-button{background-color:#B5451B !important;border-color:#B5451B !important;color:#FFFFFF !important}
body.hm-track-jce .h5p-content .h5p-theme-primary-cta:hover:not(:disabled),body.hm-track-jce .h5p-content .h5p-theme-nav-button:hover:not(:disabled){background-color:#8F3412 !important;border-color:#8F3412 !important}body.hm-track-jce .h5p-content .h5p-joubelui-button,body.hm-track-jce .h5p-content .h5p-question-check-answer{background:#B5451B !important;border-color:#B5451B !important;color:#FFFFFF !important}
body.hm-track-jce .h5p-content .h5p-joubelui-button:hover{background:#8F3412 !important}
body.hm-track-jce .popup-right-sidebar__icon,body.hm-track-jce .popup-right-sidebar__toggle{color:#B5451B !important}
body.hm-track-jce .lp-notes__add,body.hm-track-jce .lp-notes__form-save{background:#B5451B !important;border-color:#B5451B !important;color:#FFFFFF !important}

/* JCE step-by-step (23 Oct 2026): coral rule beside each step */
.hm-jce .hm-step{border-left-color:#F3C3AE}
.hm-jce .hm-check{border-left-color:#F3C3AE}

/* JCE Science (30 Oct 2026): Jacaranda accent. Lessons use <div class='hm-jce hm-sci'>; course pages get body.hm-track-jce.hm-track-sci. Generated from the JCE coral rules. */
.hm-jce.hm-sci a{color:#6B3FA0;text-decoration:underline}
.hm-jce.hm-sci a:hover{color:#52307D}
.hm-jce.hm-sci .hm-beat{background:#6B3FA0;color:#fff;border:0;border-radius:999px;padding:3px 14px;font-size:12px;letter-spacing:.08em}
.hm-jce.hm-sci .hm-goal{background:#fff;border:0;border-top:6px solid #8E6BC9;border-radius:14px;padding:12px 16px}
.hm-jce.hm-sci .hm-words{background:#fff;border:1px solid #E1D6EF;border-radius:14px;padding:12px 16px;margin:14px 0}
.hm-jce.hm-sci .hm-words dt{font-weight:700;color:#6B3FA0;margin-top:6px}
.hm-jce.hm-sci .hm-rule{background:#fff;border:2px solid #8E6BC9;border-radius:14px}
.hm-jce.hm-sci .hm-example{background:#fff;border:1px solid #E1D6EF;border-left:0;border-radius:14px;padding:0 0 12px;overflow:hidden}
.hm-jce.hm-sci .hm-example .hm-ex-head{background:#8E6BC9;color:#fff;margin:0 0 10px;padding:8px 16px;font-size:19px}
.hm-jce.hm-sci .hm-marks{background:#EFE7F8;color:#52307D}
.hm-jce.hm-sci .hm-markkey{background:#fff;border:1px solid #E1D6EF;border-radius:12px}
.hm-jce.hm-sci .hm-mistake{background:#EFE7F8;border-left:0;border-radius:14px;padding:10px 16px}
.hm-jce.hm-sci .hm-examq{background:#fff;border:1px solid #E1D6EF;border-radius:14px}
.hm-jce.hm-sci .hm-examq details summary{background:#6B3FA0}
.hm-jce.hm-sci .hm-examq details summary:hover{background:#52307D}
.hm-jce.hm-sci .hm-examq details[open] summary{background:#52307D}
.hm-jce.hm-sci .hm-examq details[open]{background:#FFF8F0;border-left:4px solid #8E6BC9}
.hm-jce.hm-sci .hm-selfcheck{background:#fff;border:2px solid #8E6BC9;border-radius:14px}
.hm-jce.hm-sci .hm-selfcheck li::marker{color:#6B3FA0}
.hm-jce.hm-sci .hm-parent dt{font-weight:700;color:#6B3FA0}
body.hm-track-jce.hm-track-sci .elementor-328{--e-global-color-hmdeep:#9A3A16;--e-global-color-primary:#6B3FA0;--e-global-color-accent:#52307D;--e-global-color-secondary:#FFE3C2;--e-global-color-hmmist:#F5F0FB;--e-global-color-hmt50:#EFE7F8;--e-global-color-hmpaper:#FFF8F0;--e-global-color-hmwash:#E6F4FB;--e-global-color-hmdgold:#1F6F99;--e-global-color-hmline:#E1D6EF}
body.hm-track-jce.hm-track-sci #popup-footer,body.hm-track-jce.hm-track-sci .lp-course-curriculum .course-item.current{border-color:#6B3FA0}
body.hm-track-jce.hm-track-sci #popup-course .course-item.current a,body.hm-track-jce.hm-track-sci #popup-sidebar .course-item.current .item-name{color:#6B3FA0}
body.hm-track-jce.hm-track-sci #popup-sidebar .course-item.current{background:#EFE7F8}
body.hm-track-jce.hm-track-sci #popup-sidebar .course-item.current::before{background:#6B3FA0}
body.hm-track-jce.hm-track-sci .course-item-ico,body.hm-track-jce.hm-track-sci .course-item-ico::before{color:#6B3FA0 !important}
body.hm-track-jce.hm-track-sci .lp-modal-header,body.hm-track-jce.hm-track-sci .lp-modal-footer .lp-button.btn-yes{background:#6B3FA0 !important;border-color:#6B3FA0 !important}
body.hm-track-jce.hm-track-sci #popup-sidebar .course-item.current,body.hm-track-jce.hm-track-sci #popup-sidebar .course-item.current>a{border-left-color:#6B3FA0 !important;box-shadow:none}
body.hm-track-jce.hm-track-sci .course-item.current::after{background:#6B3FA0 !important}
body.hm-track-jce.hm-track-sci .elementor-324{--e-global-color-primary:#6B3FA0;--e-global-color-accent:#52307D}
body.hm-track-jce.hm-track-sci .elementor-328{--e-global-color-hmwash:#FFF8F0;--e-global-color-hmdgold:#52307D}
.hm-jce.hm-sci .hm-tag{background:#FFFFFF;border-left:4px solid #8E6BC9}
.hm-jce.hm-sci .hm-tag strong{color:#52307D}
.hm-jce.hm-sci .hm-start{background:#FFFFFF;border:1px solid #E1D6EF}
.hm-jce.hm-sci .hm-start strong:first-child{color:#52307D}
.hm-jce.hm-sci .hm-keypoints{border:2px solid #E1D6EF}
.hm-jce.hm-sci .hm-table th{background:#F5F0FB !important}
body.hm-track-jce.hm-track-sci .h5p-content{--h5p-theme-main-cta-base:#6B3FA0;--h5p-theme-main-cta-light:#7A52B8;--h5p-theme-main-cta-dark:#52307D;--h5p-theme-focus:#6B3FA0;--h5p-theme-contrast-cta:#F5F0FB;--h5p-theme-contrast-cta-white:#6B3FA0}
body.hm-track-jce.hm-track-sci .h5p-content .h5p-theme-primary-cta,body.hm-track-jce.hm-track-sci .h5p-content .h5p-theme-nav-button{background-color:#6B3FA0 !important;border-color:#6B3FA0 !important;color:#FFFFFF !important}
body.hm-track-jce.hm-track-sci .h5p-content .h5p-theme-primary-cta:hover:not(:disabled),body.hm-track-jce.hm-track-sci .h5p-content .h5p-theme-nav-button:hover:not(:disabled){background-color:#52307D !important;border-color:#52307D !important}
body.hm-track-jce.hm-track-sci .h5p-content .h5p-joubelui-button,body.hm-track-jce.hm-track-sci .h5p-content .h5p-question-check-answer{background:#6B3FA0 !important;border-color:#6B3FA0 !important;color:#FFFFFF !important}
body.hm-track-jce.hm-track-sci .h5p-content .h5p-joubelui-button:hover{background:#52307D !important}
body.hm-track-jce.hm-track-sci .popup-right-sidebar__icon,body.hm-track-jce.hm-track-sci .popup-right-sidebar__toggle{color:#6B3FA0 !important}
body.hm-track-jce.hm-track-sci .lp-notes__add,body.hm-track-jce.hm-track-sci .lp-notes__form-save{background:#6B3FA0 !important;border-color:#6B3FA0 !important;color:#FFFFFF !important}
.hm-jce.hm-sci .hm-step{border-left-color:#D9C9EE}
.hm-jce.hm-sci .hm-check{border-left-color:#D9C9EE}
.hm-jce.hm-sci .hm-cmd{background:#fff;border:1px solid #E1D6EF;border-radius:14px;padding:12px 16px;margin:14px 0}
.hm-jce.hm-sci .hm-cmd dt{font-family:Poppins,sans-serif;font-weight:700;color:#6B3FA0;margin-top:6px}
.hm-jce.hm-sci .hm-cmd dd{margin:0 0 4px 0}
.hm-jce.hm-sci .hm-exact{background:#fff;border:2px dashed #8E6BC9;border-radius:14px;padding:10px 16px;margin:14px 0}
.hm-jce.hm-sci .hm-exact strong:first-child{font-family:Poppins,sans-serif;color:#6B3FA0}
.hm-jce.hm-sci .hm-skills{background:#024A59;color:#fff;border-radius:14px;padding:10px 16px;margin:14px 0}
.hm-jce.hm-sci .hm-skills *{color:#fff}
.hm-jce.hm-sci .hm-skills strong:first-child{font-family:Poppins,sans-serif}
.hm-jce.hm-sci .hm-home{background:#fff;border:2px solid #3FA7D6;border-radius:14px;padding:10px 16px;margin:14px 0}
.hm-jce.hm-sci .hm-home strong:first-child{font-family:Poppins,sans-serif;color:#1F6F99}
.hm-jce.hm-sci .hm-noscore{margin-top:8px;padding-top:8px;border-top:1px dashed #D9C9EE}
.hm-jce.hm-sci .hm-noscore strong:first-child{color:#880807}
.hm-jce.hm-sci .hm-tick{color:#1F7A4D;font-weight:700}
.hm-jce.hm-sci .hm-figure svg{max-width:100%;height:auto}

/* JCE Science chrome (30 Oct 2026): popup header, course template, curriculum, H5P in Jacaranda, in source order. */
body.hm-track-jce.hm-track-sci .elementor-328{--e-global-color-hmdeep:#4E2A7A;--e-global-color-primary:#6B3FA0;--e-global-color-accent:#52307D;--e-global-color-secondary:#EDE3F8;--e-global-color-hmmist:#F5F0FB;--e-global-color-hmt50:#EFE7F8;--e-global-color-hmpaper:#FFF8F0;--e-global-color-hmwash:#E6F4FB;--e-global-color-hmdgold:#1F6F99;--e-global-color-hmline:#E1D6EF}
body.hm-track-jce.hm-track-sci #popup-header{background:#4E2A7A !important}
body.hm-track-jce.hm-track-sci #popup-footer,body.hm-track-jce.hm-track-sci .lp-course-curriculum .course-item.current{border-color:#6B3FA0}
body.hm-track-jce.hm-track-sci #popup-course .course-item.current a,body.hm-track-jce.hm-track-sci #popup-sidebar .course-item.current .item-name{color:#6B3FA0}
body.hm-track-jce.hm-track-sci #popup-sidebar .course-item.current{background:#EFE7F8}
body.hm-track-jce.hm-track-sci #popup-sidebar .course-item.current::before{background:#6B3FA0}
body.hm-track-jce.hm-track-sci .course-item-ico,body.hm-track-jce.hm-track-sci .course-item-ico::before{color:#6B3FA0 !important}
body.hm-track-jce.hm-track-sci .lp-modal-header,body.hm-track-jce.hm-track-sci .lp-modal-footer .lp-button.btn-yes{background:#6B3FA0 !important;border-color:#6B3FA0 !important}
body.hm-track-jce.hm-track-sci #popup-sidebar .course-item.current,body.hm-track-jce.hm-track-sci #popup-sidebar .course-item.current>a{border-left-color:#6B3FA0 !important;box-shadow:none}
body.hm-track-jce.hm-track-sci .course-item.current::after{background:#6B3FA0 !important}
body.hm-track-jce.hm-track-sci .elementor-324{--e-global-color-primary:#6B3FA0;--e-global-color-accent:#52307D}
body.hm-track-jce.hm-track-sci .elementor-328{--e-global-color-hmwash:#FFF8F0;--e-global-color-hmdgold:#52307D}
body.hm-track-jce.hm-track-sci .h5p-content{--h5p-theme-main-cta-base:#6B3FA0;--h5p-theme-main-cta-light:#7A52B8;--h5p-theme-main-cta-dark:#52307D;--h5p-theme-focus:#6B3FA0;--h5p-theme-contrast-cta:#F5F0FB;--h5p-theme-contrast-cta-white:#6B3FA0}
body.hm-track-jce.hm-track-sci .h5p-content .h5p-theme-primary-cta,body.hm-track-jce.hm-track-sci .h5p-content .h5p-theme-nav-button{background-color:#6B3FA0 !important;border-color:#6B3FA0 !important;color:#FFFFFF !important}
body.hm-track-jce.hm-track-sci .h5p-content .h5p-theme-primary-cta:hover:not(:disabled),body.hm-track-jce.hm-track-sci .h5p-content .h5p-theme-nav-button:hover:not(:disabled){background-color:#52307D !important;border-color:#52307D !important}
body.hm-track-jce.hm-track-sci .h5p-content .h5p-joubelui-button,body.hm-track-jce.hm-track-sci .h5p-content .h5p-question-check-answer{background:#6B3FA0 !important;border-color:#6B3FA0 !important;color:#FFFFFF !important}
body.hm-track-jce.hm-track-sci .h5p-content .h5p-joubelui-button:hover{background:#52307D !important}
body.hm-track-jce.hm-track-sci .popup-right-sidebar__icon,body.hm-track-jce.hm-track-sci .popup-right-sidebar__toggle{color:#6B3FA0 !important}
body.hm-track-jce.hm-track-sci .lp-notes__add,body.hm-track-jce.hm-track-sci .lp-notes__form-save{background:#6B3FA0 !important;border-color:#6B3FA0 !important;color:#FFFFFF !important}

/* JCE Science tabbed course template 2150 (30 Oct 2026): same Jacaranda globals as template 328 */
body.hm-track-jce.hm-track-sci .elementor-2150{--e-global-color-hmdeep:#9A3A16;--e-global-color-primary:#6B3FA0;--e-global-color-accent:#52307D;--e-global-color-secondary:#FFE3C2;--e-global-color-hmmist:#F5F0FB;--e-global-color-hmt50:#EFE7F8;--e-global-color-hmpaper:#FFF8F0;--e-global-color-hmwash:#E6F4FB;--e-global-color-hmdgold:#1F6F99;--e-global-color-hmline:#E1D6EF}
body.hm-track-jce.hm-track-sci .elementor-2150{--e-global-color-hmwash:#FFF8F0;--e-global-color-hmdgold:#52307D}
body.hm-track-jce.hm-track-sci .elementor-2150{--e-global-color-hmdeep:#4E2A7A;--e-global-color-primary:#6B3FA0;--e-global-color-accent:#52307D;--e-global-color-secondary:#EDE3F8;--e-global-color-hmmist:#F5F0FB;--e-global-color-hmt50:#EFE7F8;--e-global-color-hmpaper:#FFF8F0;--e-global-color-hmwash:#E6F4FB;--e-global-color-hmdgold:#1F6F99;--e-global-color-hmline:#E1D6EF}
body.hm-track-jce.hm-track-sci .elementor-2150{--e-global-color-hmwash:#FFF8F0;--e-global-color-hmdgold:#52307D}
body.hm-track-sci .ekits-content-course-tabs h4,.elementor-2150 .ekits-content-course-tabs h4{font-family:Poppins,sans-serif;color:#6B3FA0 !important;margin:18px 0 8px}

/* Check your step: same button as Show the model answer (Tam, 30 Oct 2026) */
.hm-example details summary{display:inline-block;list-style:none;cursor:pointer;background:#017F83;color:#fff;font-family:Poppins,sans-serif;font-weight:600;font-size:.95em;padding:7px 16px;border-radius:20px;margin:0;box-shadow:0 1px 3px rgba(0,0,0,.15);transition:background .15s;}
.hm-example details summary::-webkit-details-marker{display:none;}
.hm-example details summary::marker{content:'';}
.hm-example details summary::before{content:'\25B8  ';}
.hm-example details summary:hover{background:#036068;}
.hm-example details[open] summary{background:#024A59;margin-bottom:10px;}
.hm-example details[open] summary::before{content:'\25BE  ';}
.hm-example details summary:focus-visible,.hm-examq details summary:focus-visible{outline:3px solid #F2B705;outline-offset:2px;}
.hm-jce .hm-example details summary{background:#B5451B}
.hm-jce .hm-example details summary:hover,.hm-jce .hm-example details[open] summary{background:#8F3412}
.hm-jce.hm-sci .hm-example details summary{background:#6B3FA0}
.hm-jce.hm-sci .hm-example details summary:hover,.hm-jce.hm-sci .hm-example details[open] summary{background:#52307D}

/* Question sets: Previous / Question x of y / Next joined to the question card, straight under Check (Tam, 30 Oct 2026) */
.questionset .question-container{margin-bottom:0!important;padding-bottom:4px!important;border-bottom:0!important;border-bottom-left-radius:0!important;border-bottom-right-radius:0!important;box-shadow:none!important;}
.questionset .h5p-question-evaluation-container{padding-bottom:8px!important;}
.questionset .qs-footer{margin:0 var(--h5p-theme-spacing-m,24px) var(--h5p-theme-spacing-m,24px)!important;padding:10px 16px!important;background:#FFFFFF;border:1px solid rgb(220,223,250);border-top:1px solid #EEF0FB;border-radius:0 0 6px 6px;box-shadow:rgba(0,0,0,.05) 0 8px 20px 0;}
.questionset .qs-footer .progress-text{white-space:nowrap;}
@media (max-width:600px){.questionset .question-container{margin-left:0!important;margin-right:0!important;margin-top:8px!important;}.questionset .qs-footer{margin-left:0!important;margin-right:0!important;padding:8px 10px!important;}.questionset .qs-footer .progress-text{font-size:.85em;}}

/* JCE Science Form 3 self-study blocks (6 Nov 2026) */
.hm-jce.hm-sci .hm-explain{background:#EFE7F8;border-radius:14px;padding:12px 16px;margin:14px 0}
.hm-jce.hm-sci .hm-explain>p:first-child strong{font-family:Poppins,sans-serif;color:#6B3FA0}
.hm-jce.hm-sci .hm-explain ol{margin:6px 0 0 1.3em;padding:0}
.hm-jce.hm-sci .hm-explain li{margin:0 0 8px}
.hm-jce.hm-sci .hm-explain .hm-whyline{display:block;color:#4A5858;font-style:italic;margin-top:2px}
.hm-jce.hm-sci .hm-whybox{background:#fff;border-left:5px solid #8E6BC9;border-radius:0 14px 14px 0;padding:10px 16px;margin:14px 0}
.hm-jce.hm-sci .hm-whybox strong:first-child{font-family:Poppins,sans-serif;color:#6B3FA0}
.hm-jce.hm-sci .hm-revise{background:#fff;border:2px solid #6B3FA0;border-radius:14px;padding:12px 16px;margin:16px 0}
.hm-jce.hm-sci .hm-revise>p:first-child strong{font-family:Poppins,sans-serif;color:#6B3FA0}
.hm-jce.hm-sci .hm-revise ul{margin:6px 0 0 1.2em;padding:0}

/* JCE Maths Form courses: Revise it card in Kalahari Coral (15 Nov 2026) */
.hm-jce:not(.hm-sci) .hm-revise{background:#fff;border:2px solid #B5451B;border-radius:14px;padding:12px 16px;margin:16px 0}
.hm-jce:not(.hm-sci) .hm-revise>p:first-child strong{font-family:Poppins,sans-serif;color:#9A3A16}
.hm-jce:not(.hm-sci) .hm-revise ul{margin:6px 0 0 1.2em;padding:0}
.hm-jce:not(.hm-sci) .hm-ix{margin:16px 0}
.hm-jce:not(.hm-sci) .hm-ix>p:first-child strong{color:#9A3A16}
