.ifa-app{--navy:#10385F;--peach:#FCDEB5;--orange:#FF6A1B;max-width:100%;color:var(--navy);background:#fffdf9;font-family:inherit;padding-bottom:85px;overflow:hidden}.ifa-app *{box-sizing:border-box}.ifa-app a{text-decoration:none}.ifa-top{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:20px max(22px,calc((100% - 1050px)/2));background:#fff}.ifa-brand{font-size:16px;font-weight:900;letter-spacing:-.5px;line-height:1.1}.ifa-brand small{display:block;letter-spacing:3px;font-size:9px;margin-left:21px;margin-top:3px}.ifa-brand-dot{color:var(--orange);font-size:20px}.ifa-top-link{font-size:13px;font-weight:700;color:var(--navy)}.ifa-hero{background:var(--peach);border-radius:0 0 34px 34px;padding:62px max(25px,calc((100% - 1000px)/2)) 66px;position:relative;overflow:hidden}.ifa-eyebrow,.ifa-section-title>span{font-size:11px;letter-spacing:2px;font-weight:800;color:#bb551e}.ifa-hero h1{font-size:clamp(35px,6vw,60px);line-height:1.12;max-width:700px;letter-spacing:-1.6px;margin:18px 0}.ifa-hero h1 em{font-style:normal;color:var(--orange)}.ifa-hero p{max-width:490px;font-size:16px;line-height:1.65;margin-bottom:25px}.ifa-button{display:inline-flex;align-items:center;justify-content:center;gap:24px;border-radius:100px;background:var(--orange);color:#fff!important;font-weight:800;padding:15px 24px;position:relative;z-index:1}.ifa-hero-circle{position:absolute;right:-30px;bottom:-110px;width:280px;height:280px;border-radius:50%;background:#ffb46d;color:#fff;font-size:160px;text-align:center;line-height:260px;opacity:.35}.ifa-welcome,.ifa-section{max-width:1050px;margin:auto;padding:36px 24px}.ifa-welcome h2,.ifa-section h2{font-size:clamp(24px,4vw,36px);margin:0 0 8px;color:var(--navy)}.ifa-welcome p,.ifa-section p{line-height:1.65}.ifa-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:22px}.ifa-actions a{border:1px solid #f1dfd2;background:#fff;border-radius:20px;padding:22px;color:var(--navy);display:flex;gap:12px;align-items:center}.ifa-actions a span{display:grid;place-items:center;border-radius:50%;background:var(--peach);color:var(--orange);width:42px;height:42px;flex-shrink:0}.ifa-section-title{margin-bottom:20px}.ifa-course{display:grid;grid-template-columns:38% 62%;background:#fff;border:1px solid #f2e3d7;border-radius:25px;overflow:hidden;box-shadow:0 12px 40px rgba(16,56,95,.06)}.ifa-course-visual{background:var(--peach);display:grid;place-items:center;min-height:300px}.ifa-orbit{width:200px;height:200px;border:10px solid var(--orange);border-radius:50%;display:grid;place-items:center;font-size:56px;font-weight:900;letter-spacing:-7px}.ifa-orbit span{color:var(--orange)}.ifa-course-content{padding:32px}.ifa-tag{display:inline-block;border-radius:30px;background:#fff1e6;color:#b54b12;padding:6px 12px;font-size:12px;font-weight:800}.ifa-course h3{font-size:27px;line-height:1.2;margin:16px 0 8px;color:var(--navy)}.ifa-facts{display:flex;flex-wrap:wrap;gap:15px;font-size:12px;font-weight:700;margin:18px 0}.ifa-price{margin-bottom:18px;display:flex;align-items:center;gap:12px}.ifa-price strong{font-size:25px}.ifa-price del{color:#8e9298}.ifa-soft{background:#fff3e4;border-radius:24px;margin-bottom:30px}.ifa-text-link{color:var(--orange);font-weight:800}.ifa-bottom{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:center;background:#fff;box-shadow:0 -4px 18px #10385f15;z-index:9999;padding:9px 8px max(9px,env(safe-area-inset-bottom))}.ifa-bottom a{display:flex;flex-direction:column;align-items:center;gap:3px;flex:1;max-width:160px;color:var(--navy);font-size:11px;font-weight:700}.ifa-bottom a span{font-size:24px;line-height:1.1}.ifa-bottom a[aria-current]{color:var(--orange)}@media(max-width:700px){.ifa-top{padding:15px 20px}.ifa-brand{font-size:13px}.ifa-hero{padding:45px 23px 50px}.ifa-hero-circle{width:170px;height:170px;line-height:150px;font-size:90px;right:-65px;bottom:-75px}.ifa-hero p{font-size:14px}.ifa-welcome,.ifa-section{padding:30px 20px}.ifa-actions a{padding:14px 10px;gap:8px;font-size:13px}.ifa-actions a span{width:35px;height:35px}.ifa-course{grid-template-columns:1fr}.ifa-course-visual{min-height:185px}.ifa-orbit{width:130px;height:130px;font-size:37px;border-width:7px}.ifa-course-content{padding:24px}.ifa-course h3{font-size:23px}.ifa-soft{margin:0 15px 25px}.ifa-app{padding-bottom:90px}}

/* v0.2: responsive enhancement of existing MasterStudy pages.
   Course purchase, enrollment and lesson actions remain owned by MasterStudy. */
@media (max-width: 767px) {
 body.single-stm-courses, body.post-type-archive-stm-courses,
 body[class*="stm-lms"], body.page-template-default {overflow-x:clip;}
 body.single-stm-courses .container, body.post-type-archive-stm-courses .container,
 body.single-stm-courses .elementor-container {max-width:100%;}
 body.single-stm-courses img, body.post-type-archive-stm-courses img,
 body[class*="stm-lms"] img {max-width:100%;height:auto;}
 body.single-stm-courses h1, body.post-type-archive-stm-courses h1 {font-size:clamp(1.7rem,7vw,2.35rem);line-height:1.15;color:#10385F;overflow-wrap:anywhere;}
 body.single-stm-courses h2, body.post-type-archive-stm-courses h2 {color:#10385F;line-height:1.2;}
 body.single-stm-courses .stm_lms_course__image, body.single-stm-courses .stm_lms_course__image img,
 body.single-stm-courses .stm_lms_courses__single--image img {border-radius:18px;}
 body.single-stm-courses .stm_lms_course__sidebar, body.single-stm-courses .stm_lms_course__sidebar_holder,
 body.single-stm-courses .stm_lms_course__content, body.single-stm-courses .stm_lms_course__main {max-width:100%;min-width:0;}
 body.single-stm-courses .stm_lms_course__sidebar .btn, body.single-stm-courses .stm_lms_course__sidebar button,
 body.single-stm-courses .stm_lms_course__sidebar a.btn,
 body.single-stm-courses a.stm_lms_button, body.single-stm-courses .stm_lms_button,
 body.single-stm-courses .stm-lms-buy-buttons a, body.single-stm-courses .stm-lms-buy-buttons button {
  background:#FF6A1B;color:white;border-radius:999px;min-height:46px;padding:12px 18px;
  max-width:100%;white-space:normal;text-align:center;
 }
 body.single-stm-courses .stm_lms_course__sidebar .btn:hover, body.single-stm-courses a.stm_lms_button:hover {background:#10385F;color:#fff;}
 body.single-stm-courses .stm_lms_course__sidebar, body.single-stm-courses .stm_lms_course__sidebar_holder,
 body.single-stm-courses .stm_lms_course__tabs, body.single-stm-courses .stm_lms_course__content {
  border-radius:18px;
 }
 .ifa-lms-nav {position:fixed;z-index:9998;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  background:#fffaf5;border-top:1px solid #FCDEB5;box-shadow:0 -5px 22px rgba(16,56,95,.12);padding:8px 5px max(8px,env(safe-area-inset-bottom));}
 .ifa-lms-nav a {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#10385F!important;
  font-size:11px;line-height:1.2;text-decoration:none!important;min-height:47px;}
 .ifa-lms-nav a span {font-size:23px;color:#FF6A1B;line-height:1.1;}
 body:has(.ifa-lms-nav) {padding-bottom:78px!important;}
}
@media (min-width:768px) {.ifa-lms-nav {display:none!important;}}

/* v0.3: focused MasterStudy mobile course and account layout */
.ifa-install-link{background:transparent;border:0;color:#10385F;font:inherit;font-size:12px;text-decoration:underline;text-underline-offset:3px;cursor:pointer;padding:6px 9px;white-space:nowrap}
.ifa-install-link[hidden]{display:none!important}.ifa-install-home{margin-left:auto}.ifa-top{flex-wrap:wrap}
@media(max-width:767px){
 html,body{max-width:100%;overflow-x:hidden}
 body:has(.ifa-lms-nav) .site,body:has(.ifa-lms-nav) #page{max-width:100%;overflow-x:clip}
 body:has(.ifa-lms-nav) .elementor-section,body:has(.ifa-lms-nav) .elementor-container,
 body:has(.ifa-lms-nav) .elementor-widget-wrap{max-width:100%;min-width:0}
 body:has(.ifa-lms-nav) .stm-lms-wrapper,body:has(.ifa-lms-nav) .stm_lms_wrapper,
 body:has(.ifa-lms-nav) .stm-lms-course__sidebar,body:has(.ifa-lms-nav) .stm_lms_course__sidebar,
 body:has(.ifa-lms-nav) .stm-lms-course__content,body:has(.ifa-lms-nav) .stm_lms_course__content,
 body:has(.ifa-lms-nav) .stm-lms-user,body:has(.ifa-lms-nav) .stm_lms_user,
 body:has(.ifa-lms-nav) .stm_lms_user_info_top,body:has(.ifa-lms-nav) .stm-lms-user-account{
  box-sizing:border-box;max-width:100%!important;min-width:0!important;
 }
 body:has(.ifa-lms-nav) .stm_lms_user_info_top,body:has(.ifa-lms-nav) .stm_lms_user_info_top__wrapper,
 body:has(.ifa-lms-nav) .stm-lms-user-account__header{display:flex;flex-wrap:wrap;gap:12px}
 body:has(.ifa-lms-nav) .stm_lms_user_info_top .avatar{max-width:70px;height:auto}
 body:has(.ifa-lms-nav) .stm_lms_user_info_top h2,body:has(.ifa-lms-nav) .stm_lms_user_info_top h3{overflow-wrap:anywhere}
 body:has(.ifa-lms-nav) .stm_lms_user_courses,body:has(.ifa-lms-nav) .stm_lms_courses__grid,
 body:has(.ifa-lms-nav) .stm-lms-courses-grid{grid-template-columns:minmax(0,1fr)!important}
 body:has(.ifa-lms-nav) .stm_lms_user_courses a,body:has(.ifa-lms-nav) .stm_lms_courses__single,
 body:has(.ifa-lms-nav) .stm_lms_course__sidebar a{max-width:100%;overflow-wrap:anywhere}
 body:has(.ifa-lms-nav) .stm_lms_user_info_top button,body:has(.ifa-lms-nav) .stm_lms_user_info_top .btn,
 body:has(.ifa-lms-nav) .stm_lms_course__sidebar .btn{min-height:44px;white-space:normal}
 body:has(.ifa-lms-nav) table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
 body:has(.ifa-lms-nav) input,body:has(.ifa-lms-nav) select,body:has(.ifa-lms-nav) textarea{max-width:100%;box-sizing:border-box}
 .ifa-install-link:not(.ifa-install-home){position:fixed;z-index:9997;right:12px;bottom:calc(83px + env(safe-area-inset-bottom));background:#fff8f0;border:1px solid #FCDEB5;border-radius:20px;box-shadow:0 3px 12px #10385f12;text-decoration:none}
}
@media(min-width:768px){.ifa-install-link:not(.ifa-install-home){display:none!important}}

/* v0.4: aliases inherit the existing MasterStudy styling without an iframe. */
@media(max-width:767px){body:has(.ifa-lms-nav) .site-content,body:has(.ifa-lms-nav) main,body:has(.ifa-lms-nav) .container{min-width:0;max-width:100%;}body:has(.ifa-lms-nav) .stm_lms_courses__single,body:has(.ifa-lms-nav) .stm-lms-course__card{width:100%;min-width:0;}body:has(.ifa-lms-nav) .stm_lms_user_courses{overflow-wrap:anywhere;}}

/* v0.5: narrow-screen course stacking and native app account login. */
.ifa-account-login{box-sizing:border-box;max-width:440px;margin:20px auto 45px;padding:24px;background:#fff;border:1px solid #f3dfce;border-radius:22px;color:#10385F;box-shadow:0 8px 24px #10385f0d}
.ifa-account-login h1{font-size:clamp(26px,6vw,36px);line-height:1.15;margin:8px 0}.ifa-account-kicker{font-size:11px;letter-spacing:1.5px;font-weight:800;color:#FF6A1B}
.ifa-account-login label{display:block;font-weight:700;margin:12px 0 6px}.ifa-account-login input:not([type=checkbox]){box-sizing:border-box;width:100%;max-width:100%;padding:13px;border:1px solid #d9dfe4;border-radius:12px;font-size:16px}
.ifa-account-login #wp-submit{border:0;background:#FF6A1B;color:#fff;font-weight:800;cursor:pointer}.ifa-account-login a{color:#10385F}
@media(max-width:767px){
 body:has(.ifa-lms-nav) .site-header,body:has(.ifa-lms-nav) header.site-header{max-width:100%;overflow:hidden}
 body:has(.ifa-lms-nav) .site-content,body:has(.ifa-lms-nav) .entry-content{padding-left:12px;padding-right:12px}
 body:has(.ifa-lms-nav) .stm_lms_course__content,body:has(.ifa-lms-nav) .stm_lms_course__sidebar,
 body:has(.ifa-lms-nav) .stm_lms_course__sidebar_holder{width:100%!important;max-width:100%!important;min-width:0!important;float:none!important;position:static!important;left:auto!important;right:auto!important;margin-left:0!important;margin-right:0!important}
 body:has(.ifa-lms-nav) .stm_lms_course__container,body:has(.ifa-lms-nav) .stm_lms_course__wrapper,
 body:has(.ifa-lms-nav) .stm_lms_course__main,body:has(.ifa-lms-nav) .stm-lms-course__layout,
 body:has(.ifa-lms-nav) .stm_lms_course__content_wrapper{display:flex!important;flex-direction:column!important;gap:16px;max-width:100%!important;min-width:0!important}
 body:has(.ifa-lms-nav) .stm_lms_course__tabs{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
 body:has(.ifa-lms-nav) .stm_lms_course__tabs ul{display:flex;flex-wrap:nowrap;min-width:max-content}
 body:has(.ifa-lms-nav) .stm_lms_course__sidebar_holder img{max-width:100%;height:auto}
 body:has(.ifa-lms-nav) .stm_lms_course__sidebar .btn,body:has(.ifa-lms-nav) .stm_lms_course__sidebar button{width:100%;max-width:100%}
 .ifa-account-login{margin:12px auto 30px;padding:20px 16px}
}

/* v0.6: dedicated account page avoids empty theme page template. */
.ifa-account-app-page{margin:0;background:#fffaf5;color:#10385F;min-height:100vh;padding-bottom:92px;overflow-x:hidden}
.ifa-account-app{max-width:720px;margin:auto;padding:0 16px 35px}
.ifa-account-app-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 0;border-bottom:1px solid #f0ddce}
.ifa-account-app-head a{color:#10385F;text-decoration:none;font-weight:700}.ifa-account-app-head strong{font-size:17px}
.ifa-account-app .ifa-account-login{margin:22px auto;max-width:510px}
.ifa-account-links{display:grid;gap:10px;margin-top:20px}.ifa-account-links a{display:block;background:#FCDEB5;border-radius:13px;padding:14px 16px;text-decoration:none;color:#10385F;font-weight:700}
.ifa-account-links a:first-child{background:#FF6A1B;color:white}
/* App routes retain bottom navigation on desktop as well as mobile. */
.ifa-account-app-page .ifa-lms-nav,body.single-stm-courses:has(a[href*="/app/"]) .ifa-lms-nav{position:fixed;z-index:9998;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#fffaf5;border-top:1px solid #FCDEB5;box-shadow:0 -5px 22px #10385f1f;padding:8px 5px max(8px,env(safe-area-inset-bottom))}
.ifa-account-app-page .ifa-lms-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#10385F!important;font-size:11px;text-decoration:none;min-height:47px}.ifa-account-app-page .ifa-lms-nav a span{font-size:23px;color:#FF6A1B}
@media(min-width:768px){.ifa-account-app-page .ifa-lms-nav{display:grid!important}}
/* Keep the MasterStudy course description available, but allow compact reading on phones. */
@media(max-width:767px){body.single-stm-courses .stm_lms_course__content{font-size:15px;line-height:1.5}body.single-stm-courses .stm_lms_course__content h1{font-size:27px}body.single-stm-courses .stm_lms_course__sidebar{padding:16px!important}body.single-stm-courses .stm_lms_course__tabs{margin-bottom:12px}}

/* v0.7: consistent app navigation for ALL course aliases, independent of viewport and theme. */
body.ifa-course-app-context{padding-bottom:88px!important}
body.ifa-course-app-context .ifa-lms-nav{display:grid!important;position:fixed!important;bottom:0!important;left:0!important;right:0!important;z-index:2147483000!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;background:#fffaf5!important;border-top:1px solid #f2d8bd!important;box-shadow:0 -4px 18px #10385f22!important;padding:7px 4px max(7px,env(safe-area-inset-bottom))!important;visibility:visible!important;opacity:1!important;transform:none!important;width:100%!important;max-width:none!important}
body.ifa-course-app-context .ifa-lms-nav a{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:2px!important;min-height:48px!important;font-size:11px!important;line-height:1.2!important;color:#10385f!important;text-decoration:none!important;padding:2px!important}
body.ifa-course-app-context .ifa-lms-nav a span{font-size:21px!important;color:#ff6a1b!important}
body.ifa-course-app-context .ifa-course-topnav{display:flex!important;align-items:center;justify-content:space-between;gap:8px;padding:12px max(14px,calc((100vw - 1140px)/2));background:#fffaf5;color:#10385f;border-bottom:1px solid #fcdeb5;font-size:13px;position:relative;z-index:30}
body.ifa-course-app-context .ifa-course-topnav a{color:#10385f!important;text-decoration:none!important;font-weight:700}
@media(max-width:767px){body.ifa-course-app-context .ifa-course-topnav{padding:11px 14px}body.ifa-course-app-context .ifa-course-topnav strong{font-size:12px}body.ifa-course-app-context .stm_lms_course__sidebar,body.ifa-course-app-context .stm_lms_course__content{max-width:100%!important;min-width:0!important}}

/* v0.8: primary LMS action, delegated to MasterStudy's original control. */
body.single-stm-courses .ifa-learning-action{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:16px;max-width:1140px;margin:18px auto 12px;padding:15px 18px;background:#fff6ec;border:1px solid #f5d6b8;border-radius:17px;box-shadow:0 5px 18px #10385f12;color:#10385f}
.ifa-learning-action-info{display:flex;flex-direction:column;gap:3px;min-width:0}.ifa-learning-action-info strong{font-size:17px;line-height:1.25}.ifa-learning-action-info span{font-size:13px;opacity:.8}
.ifa-learning-action-button{flex:none;min-height:48px;padding:12px 20px;background:#ff6a1b;color:#fff;border:0;border-radius:12px;font-size:16px;font-weight:800;cursor:pointer}
.ifa-learning-action-button:focus-visible{outline:3px solid #10385f;outline-offset:3px}
@media(max-width:767px){body.single-stm-courses .ifa-learning-action{margin:12px 12px 16px;padding:15px;flex-direction:column;align-items:stretch;gap:12px}.ifa-learning-action-button{width:100%}.ifa-learning-action-info strong{font-size:17px}}

/* v0.9 compact course on app routes only */
body.ifa-course-app-context .ifa-learning-action-compact{display:block!important;max-width:900px!important;padding:0!important;margin:16px auto!important;border:0!important;background:transparent!important;box-shadow:none!important}
.ifa-compact-course{padding:22px;background:#fff6ec;border:1px solid #f5d6b8;border-radius:18px;box-shadow:0 4px 14px #10385f10;color:#10385f}
.ifa-compact-course h1{font-size:clamp(22px,3vw,30px)!important;line-height:1.22!important;margin:0 0 12px!important;color:#10385f!important}.ifa-compact-course p{font-size:15px;line-height:1.5;margin:0 0 12px}.ifa-compact-price{display:flex;gap:12px;align-items:baseline;margin:10px 0}.ifa-compact-price strong{font-size:27px;color:#ff6a1b}.ifa-compact-price del{color:#738297;font-size:16px}.ifa-compact-course .ifa-learning-action-button{width:100%;max-width:420px}.ifa-compact-small{font-size:13px!important;color:#53677a}.ifa-compact-details{max-width:900px;margin:12px auto 100px;color:#10385f}.ifa-compact-details>summary{padding:13px 18px;cursor:pointer;background:#fff;border:1px solid #ead9c8;border-radius:12px;font-weight:700}.ifa-compact-details[open]>summary{margin-bottom:14px}.ifa-compact-details .stm_lms_course__container,.ifa-compact-details .stm_lms_course__wrapper{max-width:100%!important}
@media(max-width:767px){body.ifa-course-app-context .ifa-learning-action-compact,.ifa-compact-details{margin:12px!important}.ifa-compact-course{padding:17px}.ifa-compact-course .ifa-learning-action-button{max-width:none}}

/* v1.0: app-only compact MasterStudy page; leave original course and checkout intact. */
body.ifa-course-app-context:has(.ifa-learning-action-compact) .site-header,
body.ifa-course-app-context:has(.ifa-learning-action-compact) #masthead,
body.ifa-course-app-context:has(.ifa-learning-action-compact) header.header,
body.ifa-course-app-context:has(.ifa-learning-action-compact) .stm-header,
body.ifa-course-app-context:has(.ifa-learning-action-compact) .stm_lms_header{display:none!important}
body.ifa-course-app-context:has(.ifa-learning-action-compact) .ifa-course-topnav{position:sticky;top:0;z-index:9999;background:#fffaf5}
.ifa-compact-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:18px}
.ifa-compact-tabs button{background:#fff;border:1px solid #e9d7c4;border-radius:10px;padding:12px 5px;color:#10385f;font:inherit;font-size:13px;font-weight:700;cursor:pointer;min-width:0}
.ifa-compact-tabs button:focus-visible{outline:3px solid #ff6a1b;outline-offset:2px}
.ifa-compact-details{scroll-margin-top:76px}
.ifa-compact-details:not([open])>*:not(summary){display:none!important}
@media(max-width:520px){.ifa-compact-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.ifa-compact-tabs button{font-size:12px}}

/* v1.1: show only the compact learning surface until a tab is explicitly opened. */
body.ifa-compact-ready .ifa-original-site-header{display:none!important}
body.ifa-compact-ready .ifa-course-topnav{display:flex!important;position:sticky!important;top:0!important;z-index:99999!important;background:#fffaf5!important}
/* Closed disclosure must keep its summary visible. */
body.ifa-compact-ready details.ifa-compact-details:not([open]){display:block!important}
body.ifa-compact-ready .ifa-learning-action-compact{max-width:900px;margin:18px auto!important;padding:0 14px!important}
body.ifa-compact-ready .ifa-compact-course{box-sizing:border-box;max-width:100%;margin:0!important}
body.ifa-compact-ready .ifa-compact-facts{font-size:14px;color:#10385f;font-weight:600;margin:8px 0 12px}
body.ifa-compact-ready .ifa-compact-details[open]{max-width:1000px;margin:12px auto 90px;padding:10px 14px;box-sizing:border-box}
body.ifa-compact-ready .ifa-compact-details[open] > summary{cursor:pointer;padding:12px;color:#10385f;font-weight:700}
body.ifa-compact-ready .ifa-lms-nav{display:flex!important;position:fixed!important;bottom:0!important;left:0!important;right:0!important;z-index:99999!important}
body.ifa-compact-ready{padding-bottom:85px!important}
@media(min-width:900px){body.ifa-compact-ready .ifa-compact-course h1{font-size:clamp(24px,3vw,32px)!important}}

/* v1.2: one primary action inside compact course card, without broken tabs. */
body.ifa-compact-ready .ifa-compact-tabs,body.ifa-compact-ready .ifa-extra-action-hidden{display:none!important}
body.ifa-compact-ready .ifa-compact-course .ifa-learning-action-button{display:block!important;margin-top:15px!important;width:100%!important;max-width:none!important}
body.ifa-compact-ready .ifa-compact-facts{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 5px!important;font-weight:700;color:#10385f}
body.ifa-compact-ready .ifa-compact-course{padding:clamp(16px,3vw,25px)!important}

/* v1.3: the block theme header is a wp-block-group.if-shell, NOT an HTML header.
   Scope to the compact /app/courses/ page, never to checkout or lesson screens. */
body.ifa-compact-ready .if-shell:has(.wp-block-site-logo):has(.wp-block-navigation),
body.ifa-compact-ready header.wp-block-template-part:has(.wp-block-site-logo),
body.ifa-compact-ready .wp-block-template-part:has(.wp-block-site-logo):has(.wp-block-navigation){display:none!important}
body.ifa-compact-ready .ifa-course-topnav{display:flex!important;visibility:visible!important;opacity:1!important}

/* v1.4 - precise header hiding, and single CTA within the card */
body.ifa-compact-ready .ifa-original-site-header{display:none!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;overflow:hidden!important}
body.ifa-compact-ready .ifa-learning-action-compact>.ifa-learning-action-button,body.ifa-compact-ready .ifa-learning-action-compact>.ifa-learning-action-info{display:none!important}
body.ifa-compact-ready .ifa-compact-course{display:flex!important;flex-direction:column!important;gap:10px!important}
body.ifa-compact-ready .ifa-compact-course .ifa-learning-action-button{position:static!important;float:none!important;display:block!important;order:99!important;align-self:stretch!important;margin:8px 0 0!important;max-width:none!important;width:100%!important}

/* v1.5: reliable theme-header hiding and CTA containment */
body.ifa-compact-ready .ifa-original-site-header{display:none!important}
body.ifa-compact-ready .ifa-learning-action-compact{display:block!important;max-width:900px!important;margin:16px auto!important;padding:0 14px!important}
body.ifa-compact-ready .ifa-learning-action-compact .ifa-compact-course{display:flex!important;flex-direction:column!important;box-sizing:border-box!important}
body.ifa-compact-ready .ifa-learning-action-compact .ifa-compact-course>.ifa-learning-action-button{display:block!important;position:static!important;width:100%!important;max-width:none!important;order:99!important;margin-top:10px!important}

/* v1.6: footer must occupy the full width; previous flex rule collapsed all links left. */
body.ifa-course-app-context .ifa-lms-nav,
body.ifa-compact-ready .ifa-lms-nav{
 display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
 align-items:stretch!important;justify-content:stretch!important;
 width:100%!important;max-width:100%!important;box-sizing:border-box!important;
 left:0!important;right:0!important;bottom:0!important;position:fixed!important;
 padding:7px 6px max(8px,env(safe-area-inset-bottom))!important;
 gap:0!important;z-index:2147483000!important;
}
body.ifa-course-app-context .ifa-lms-nav>a{
 display:flex!important;flex-direction:column!important;align-items:center!important;
 justify-content:center!important;text-align:center!important;min-width:0!important;
 width:100%!important;box-sizing:border-box!important;gap:3px!important;
 font-size:12px!important;line-height:1.25!important;padding:3px 1px!important;
}
body.ifa-course-app-context .ifa-lms-nav>a span{display:block!important;font-size:22px!important;line-height:1.1!important}
body.ifa-compact-ready .ifa-original-site-header{display:none!important;visibility:hidden!important;height:0!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;overflow:hidden!important}

/* v1.7: only on app routes. Do not hide app navigation or MasterStudy scripts. */
body.ifa-app-hide-theme-chrome .ifa-course-topnav,
body.ifa-app-hide-theme-chrome .ifa-original-site-header,
body.ifa-app-hide-theme-chrome .ifa-theme-footer-hidden,
body.ifa-app-hide-theme-chrome footer.wp-block-template-part,
body.ifa-app-hide-theme-chrome footer.site-footer,
body.ifa-app-hide-theme-chrome #colophon,
body.ifa-app-hide-theme-chrome .site-footer {display:none!important;visibility:hidden!important;height:0!important;margin:0!important;padding:0!important;overflow:hidden!important}
body.ifa-app-hide-theme-chrome .ifa-lms-nav{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important}

/* v1.8: MasterStudy overview hidden behind an accessible, user-controlled disclosure. */
body.ifa-compact-ready details.ifa-compact-details{display:block!important;max-width:900px;margin:10px auto 100px!important;padding:0 14px!important;box-sizing:border-box}
body.ifa-compact-ready details.ifa-compact-details>summary{display:list-item!important;cursor:pointer;border:1px solid #f4cfac;border-radius:12px;background:#fff9f2;color:#10385f;padding:14px 18px;font-weight:700;list-style-position:inside}
body.ifa-compact-ready details.ifa-compact-details:not([open])>*:not(summary){display:none!important}
body.ifa-compact-ready details.ifa-compact-details[open]>*:not(summary){display:block}
body.ifa-compact-ready details.ifa-compact-details[open]{overflow:visible}

/* v2.0: keep disclosure trigger visible, only hide original MasterStudy content. */
body.ifa-compact-ready details.ifa-compact-details,body.ifa-compact-ready details.ifa-compact-details:not([open]){display:block!important;visibility:visible!important;opacity:1!important}
body.ifa-compact-ready details.ifa-compact-details > summary{display:list-item!important;visibility:visible!important}

/* v2.1: team page on both site and app */
.ifa-team-page{max-width:1500px;margin:0 auto;padding:32px 16px 105px;color:#082c50;font-family:inherit}.ifa-team-intro{text-align:center;margin:8px auto 30px}.ifa-team-intro span{font-size:12px;letter-spacing:.12em;font-weight:700;color:#ff691a}.ifa-team-intro h1{font-size:clamp(32px,5vw,52px);margin:8px 0}.ifa-team-intro p{font-size:18px}.ifa-team-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.ifa-team-card{background:#fcdfb9;border-radius:30px;padding:28px 24px 24px;min-width:0}.ifa-team-card img{display:block;width:min(100%,275px);aspect-ratio:1;object-fit:cover;border-radius:50%;margin:0 auto 10px}.ifa-team-card h2{font-size:clamp(23px,2vw,32px);line-height:1.15;text-align:center;margin:8px 0 18px;color:#082c50;font-weight:800}.ifa-team-role{text-align:center;font-size:17px;line-height:1.4;min-height:48px;margin:0 0 14px}.ifa-team-bio{font-size:17px;line-height:1.65;margin:0}.ifa-team-app{margin:0;background:#fff9f3}.ifa-team-shell{max-width:1500px;margin:auto}.ifa-team-back{display:inline-block;margin:22px 20px 0;color:#082c50;text-decoration:none;font-weight:700}.ifa-team-app .ifa-lms-nav{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;position:fixed;bottom:0;left:0;right:0;z-index:9999}.ifa-team-app .ifa-lms-nav a{text-align:center;min-width:0}.ifa-team-app .ifa-team-page{padding-bottom:110px}@media(max-width:1050px){.ifa-team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.ifa-team-grid{grid-template-columns:1fr;gap:16px}.ifa-team-card{padding:22px}.ifa-team-card img{max-width:240px}.ifa-team-card h2{font-size:28px}.ifa-team-role{min-height:0}.ifa-team-bio{font-size:16px}.ifa-team-page{padding:20px 14px 100px}}

/* v2.3: de app-ondernavigatie is uitsluitend voor smalle schermen.
   Override alle eerdere desktop display:grid/flex !important regels. */
@media screen and (min-width: 900px) {
  html body .ifa-lms-nav,
  html body.ifa-course-app-context .ifa-lms-nav,
  html body.ifa-compact-ready .ifa-lms-nav,
  html body.ifa-app-hide-theme-chrome .ifa-lms-nav,
  html body.ifa-team-app .ifa-lms-nav,
  html body.ifa-account-app-page .ifa-lms-nav,
  html body .ifa-bottom {
    display: none !important;
    visibility: hidden !important;
  }
}
