/* Shared mobile layouts: preserve module behavior and native form submissions. */
.sph-mobile-intro>summary,.sph-mobile-filters>summary,.sphc-lesson-menu>summary{display:none}
.sph-mobile-intro>summary,.sph-mobile-filters>summary{list-style:none;cursor:pointer}
.sph-mobile-intro>summary::-webkit-details-marker,.sph-mobile-filters>summary::-webkit-details-marker{display:none}
.sph-mobile-chevron{margin-inline-start:auto;transition:transform .15s}
details[open]>summary>.sph-mobile-chevron{transform:rotate(180deg)}
.sph-mobile-filter-count{display:inline-grid;place-items:center;min-width:24px;height:24px;padding:0 7px;border-radius:8px;background:#e4f2ef;color:#126b6d;font-size:12px}
.sph-mobile-filter-state{display:flex;align-items:center;gap:10px;margin:0 0 14px;font-size:12px;color:#526c74}
.sph-mobile-filter-state>a{display:inline-flex;align-items:center;min-height:44px;color:#a14d37;font-weight:700}
.sph-account-drawer:not([open]){display:none!important}
.sph-nav-toggle[hidden]{display:none!important}
@media(max-width:1024px){
 body.sph-ux.woocommerce-account .elementor-13>.e-con{margin-block:14px 24px!important;padding-inline:12px!important;min-height:0!important}
 body.sph-ux.woocommerce-account .elementor-13>.e-con>.e-con-inner{gap:14px!important;padding-block:0!important;min-width:0}
 body.sph-ux.woocommerce-account .woocommerce-breadcrumb{padding:10px 14px!important;margin:0!important;min-height:0!important;font-size:11px!important;line-height:1.9!important;border-radius:12px!important}
 body.sph-ux.woocommerce-account .woocommerce>.sph-sidebar{padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;min-height:0!important}
 body.sph-ux.woocommerce-account .sph-sidebar .sph-side-card{padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;min-height:0!important}
 body.sph-ux.woocommerce-account .sph-sidebar :is(.sph-side-head,.sph-side-current){display:none!important}
 body.sph-ux.woocommerce-account .sph-nav-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:54px;border:1px solid #c5dfdd!important;border-radius:14px;background:#f0f8f6!important;color:#164c52!important;padding:10px 14px;font:inherit;text-align:right;cursor:pointer;box-shadow:0 3px 12px #154f5605}
 body.sph-ux.woocommerce-account .sph-nav-toggle__main{display:flex!important;flex-direction:row!important;align-items:center;gap:10px;font-size:14px;font-weight:750;white-space:nowrap}
 body.sph-ux.woocommerce-account .sph-nav-toggle__main svg{width:21px;height:21px;flex:none}
 body.sph-ux.woocommerce-account .sph-nav-toggle__current{max-width:55%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#53737b}
 body.sph-ux.woocommerce-account .woocommerce>.woocommerce-MyAccount-content{padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;min-width:0!important}
 body.sph-ux.woocommerce-account .sph-dashboard-intro{padding:18px!important;margin-bottom:14px;border-radius:18px}
 body.sph-ux.woocommerce-account .sph-dashboard-intro h1{font-size:22px;line-height:1.8;margin-bottom:6px;overflow-wrap:anywhere}
 body.sph-ux.woocommerce-account .sph-dashboard-intro p{font-size:13px;margin-bottom:0;line-height:1.9}
 body.sph-ux.woocommerce-account .sph-dashboard-eyebrow{font-size:11px;margin-bottom:5px}
 body.sph-ux.woocommerce-account .sph-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:18px}
 body.sph-ux.woocommerce-account .elementor-widget-woocommerce-my-account .woocommerce-MyAccount-content a.sph-dashboard-link{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:15px;min-width:0;border-radius:17px}
 body.sph-ux.woocommerce-account .sph-dashboard-link__icon{width:34px;height:34px;border-radius:10px}
 body.sph-ux.woocommerce-account .sph-dashboard-link strong{font-size:14px;line-height:1.85;padding-inline-end:0}
 body.sph-ux.woocommerce-account .sph-dashboard-link>span:not(.sph-dashboard-link__icon){font-size:12px;line-height:1.9}
 body.sph-ux.woocommerce-account .sph-dashboard-link>i{top:16px;left:15px}
 body.sph-ux.woocommerce-account .sph-summary{padding:16px!important;border-radius:18px!important}
 body.sph-ux.woocommerce-account .sph-summary .sph-card-label{font-size:11px!important;line-height:1.9!important}
 body.sph-ux .sph-account-drawer{position:fixed;inset:0;margin:0 0 0 auto;width:min(370px,92vw);max-width:92vw;height:100dvh;max-height:100dvh;padding:0;border:0;border-inline-end:1px solid #d3e5e3;border-radius:20px 0 0 20px;background:#fff;color:#174b51;box-shadow:-15px 0 70px #103b4633;overflow:hidden;box-sizing:border-box;font:inherit;text-align:right;direction:rtl}
 body.sph-ux .sph-account-drawer::backdrop{background:#123b4666;backdrop-filter:blur(3px)}
 body.sph-ux .sph-account-drawer[open]{display:flex;flex-direction:column}
 body.sph-ux .sph-account-drawer__head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:max(18px,env(safe-area-inset-top)) 20px 16px;border-bottom:1px solid #dce9e7;flex:none;background:#f3f9f7}
 body.sph-ux .sph-account-drawer__head h2{font:inherit;font-size:19px;font-weight:800;margin:0}
 body.sph-ux .sph-account-drawer__head button{display:grid;place-items:center;flex:none;width:44px;min-height:44px;border:1px solid #c9dfdc;border-radius:12px;background:#fff;color:#1c6568;padding:0;font:inherit;font-size:27px;line-height:1;cursor:pointer}
 body.sph-ux .sph-account-drawer .sph-side-body{display:block!important;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:14px 16px max(20px,env(safe-area-inset-bottom))}
 body.sph-ux .sph-account-drawer .sph-nav-list{display:grid;gap:7px!important;margin:0!important;padding:0!important;list-style:none}
 body.sph-ux .sph-account-drawer .sph-nav-link{display:flex;align-items:center;gap:12px;min-height:50px!important;padding:10px 13px!important;border:1px solid #e0eae9!important;border-radius:12px;color:#214e56!important;background:#fff!important;font-size:14px!important;font-weight:700;text-decoration:none}
 body.sph-ux .sph-account-drawer .sph-nav-item.is-active .sph-nav-link{background:#eaf5f1!important;border-color:#9bc9c1!important;color:#126b6d!important;box-shadow:none!important}
 body.sph-ux .sph-account-drawer .sph-icon{display:grid;place-items:center;width:32px;height:32px;flex:none;border-radius:9px;background:#f0f7f4;color:#247d7a}
 body.sph-ux .sph-account-drawer .sph-label{min-width:0;overflow-wrap:anywhere}
 body.sph-ux .sph-account-drawer .sph-support{margin-top:18px;padding:16px;border:1px solid #e0eae9;border-radius:13px;background:#f7faf9;font-size:12px;line-height:2;color:#546f75}
 body.sph-ux #sph-portal-app,body.sph-ux #sph-portal-app :is(.sph-skeleton,.sphp-shell,.sphp-grid,.sphp-card){min-width:0;max-width:100%;box-sizing:border-box}
 body.sph-ux #sph-portal-app :is(.sph-skeleton__subtitle,.sph-skeleton__title){max-width:100%}
}
@media(max-width:1024px){
 /* Keep the template's two rows, colors, borders and control positions. */
 body.sph-ux .elementor-location-header .elementor-element-d0ccd64,
 body.sph-ux .elementor-location-header .elementor-element-d0ccd64>.e-con-inner,
 body.sph-ux .elementor-location-header .elementor-element-7c156a3,
 body.sph-ux .elementor-location-header .elementor-element-1807d29{padding-block:0!important;min-height:60px!important;gap:0!important}
 body.sph-ux .elementor-location-header :is(.elementor-element-7c156a3,.elementor-element-1807d29){width:100%!important}
 body.sph-ux .elementor-location-header .elementor-element-1807d29{flex-wrap:nowrap!important}
 body.sph-ux .elementor-location-header .elementor-element-1807d29>:is(.elementor-element-e7a6327,.elementor-element-1069824,.elementor-element-268daf8,.elementor-element-c16443b){width:25%!important;flex-shrink:0}
 body.sph-ux .elementor-location-header .elementor-element-1807d29>:is(.elementor-element-1069824,.elementor-element-268daf8,.elementor-element-c16443b){padding:4px 6px!important;min-height:60px!important;justify-content:center!important}
 body.sph-ux .elementor-location-header .elementor-element-e7a6327{align-self:center!important}
 body.sph-ux .elementor-location-header .elementor-element-e7a6327 img{height:46px!important;width:auto!important;max-width:100%!important;object-fit:contain}
 body.sph-ux .elementor-location-header :is(.elementor-element-b8fd468,.elementor-element-3e0ecf7) .elementor-icon-box-icon{margin-bottom:3px!important;font-size:16px!important}
 body.sph-ux .elementor-location-header :is(.elementor-element-b8fd468,.elementor-element-3e0ecf7) .elementor-icon-box-title{font-size:14px!important;line-height:1.5!important;margin:0!important}
 body.sph-ux .elementor-location-header .sph-ux-account-link{gap:3px;min-height:50px;padding:0 3px;font-size:12px;white-space:nowrap}
 body.sph-ux .elementor-location-header .sph-ux-account-link svg{width:19px;height:19px}
 body.sph-ux .elementor-location-header .elementor-element-9244b12,
 body.sph-ux .elementor-location-header .elementor-element-9244b12>.e-con-inner{padding-block:0!important;min-height:44px!important;gap:0!important}
 body.sph-ux .elementor-location-header .elementor-element-f039c54 .elementor-button{min-width:44px;min-height:44px;padding:8px 12px!important}
 body.sph-ux .sph-mobile-intro>summary{display:flex;align-items:center;gap:10px;min-height:44px;font-size:12px;color:#356c70;font-weight:650}
 body.sph-ux .sph-mobile-intro[open]>summary{margin-bottom:7px}
 body.sph-ux .sph-mobile-filters{padding:0;margin:0 0 14px;border:1px solid #d5e5e2;border-radius:14px;background:#f8fbfa;box-shadow:none}
 body.sph-ux .sph-mobile-filters>summary{display:flex;align-items:center;gap:10px;min-height:52px;padding:9px 15px;font-size:14px;font-weight:750;color:#1b5b60}
 body.sph-ux .sph-mobile-filters>summary>svg{width:20px;height:20px;flex:none}
 body.sph-ux .sph-mobile-filters[open]>summary{border-bottom:1px solid #dce9e5}
 body.sph-ux .sph-mobile-filters :is(.spha-filters,.sphc-filters){display:grid;grid-template-columns:minmax(0,1fr);gap:14px;padding:16px;margin:0;border:0;background:none;box-shadow:none;border-radius:0}
 body.sph-ux .sph-mobile-filters .spha-field{margin:0}
 body.sph-ux .sph-mobile-filters :is(input,select){min-height:48px;font-size:16px!important}
 body.sph-ux .sph-mobile-filters :is(button[type=submit],.sphc-btn){width:100%;min-height:48px}
 body.sph-ux .sph-mobile-filter-state{margin:-2px 0 12px;gap:10px;flex-wrap:wrap;line-height:1.8}
 body.sph-ux .sph-mobile-filter-state>span{max-width:100%;overflow-wrap:anywhere}
 /* Product browsing: cards precede secondary introductions and links. */
 body.sph-ux .spa .spa-wrap{padding-top:12px}
 body.sph-ux .spa .spa-breadcrumb{margin-bottom:10px;min-height:20px}
 body.sph-ux .spa .spa-hero{grid-template-columns:minmax(0,1fr);min-height:0;gap:0;padding:14px 17px;border-radius:18px}
 body.sph-ux .spa .spa-art{display:none}
 body.sph-ux .spa .spa-kicker,body.sph-ux .spa .spa-hero-links{display:none}
 body.sph-ux .spa h1{font-size:23px;line-height:1.65;letter-spacing:0}
 body.sph-ux .spa .spa-hero p{font-size:13px;margin-top:0;line-height:2}
 body.sph-ux .spa .spa-hero::after{top:17px;height:31px;width:3px}
 body.sph-ux .spa .spa-topics{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;gap:8px;padding:12px 0;margin:0 0 15px;scroll-padding-inline:4px}
 body.sph-ux .spa .spa-topics a{flex:0 0 auto;max-width:90%;min-height:44px;white-space:nowrap;padding:7px 12px;font-size:12px}
 body.sph-ux .spa .spa-section-head{margin-bottom:12px}
 body.sph-ux .spa .spa-eyebrow{display:none}
 body.sph-ux .spa .spa-section-head h2{font-size:19px}
 body.sph-ux .spa .spa-filters{padding:0;margin-bottom:14px;border-radius:14px}
 body.sph-ux .spa .spa-filters summary{display:flex;min-height:52px;padding:9px 15px;font-size:14px}
 body.sph-ux .spa .spa-filter-form{grid-template-columns:minmax(0,1fr);padding:16px;gap:14px}
 body.sph-ux .spa .spa-filters:not([open])>form,body.sph-ux .sph-mobile-filters:not([open])>form{display:none!important}
 body.sph-ux .spa .spa-search-field,body.sph-ux .spa .spa-filter-submit{grid-column:auto}
 body.sph-ux .spa .spa-field label{font-size:12px}
 body.sph-ux .spa .spa-field :is(input,select){font-size:16px;min-height:48px}
 body.sph-ux .spa .spa-active-filters{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;margin:0 0 12px;gap:8px;font-size:11px}
 body.sph-ux .spa .spa-active-filters>span:first-child{display:none}
 body.sph-ux .spa .spa-active-filters>*{flex:none}
 body.sph-ux .spa .spa-filter-chip{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 body.sph-ux .spa .spa-active-filters a{min-height:44px}
 body.sph-ux .spa .spa-card-cover{aspect-ratio:16/9}
 body.sph-ux .spa .spa-card-body{padding:17px}
 /* Assessment catalogue: keep consent and the runner introduction untouched. */
 body.sph-ux.spha-active .spha-archive{padding-block:14px 32px}
 body.sph-ux.spha-active .spha-catalog-breadcrumb{margin-bottom:10px;font-size:11px;gap:7px}
 body.sph-ux.spha-active .spha-archive__hero{padding:15px 17px;border-radius:18px;margin-bottom:14px}
 body.sph-ux.spha-active .spha-archive__hero>.spha-eyebrow{display:none}
 body.sph-ux.spha-active .spha-archive__hero h1{font-size:23px;line-height:1.7;margin:0}
 body.sph-ux.spha-active .spha-archive__hero p{font-size:13px;line-height:2}
 body.sph-ux.spha-active .spha-catalog-steps{gap:8px 12px;margin-top:12px;font-size:11px}
 body.sph-ux.spha-active .spha-category-index__heading{margin:16px 0 12px;flex-direction:row;align-items:center;gap:10px}
 body.sph-ux.spha-active .spha-category-index__heading h2{font-size:18px;margin:0}
 body.sph-ux.spha-active .spha-category-index__heading p{display:none}
 body.sph-ux.spha-active .spha-category-index__heading>a{font-size:12px;min-height:44px;padding:8px 12px;flex:none}
 body.sph-ux.spha-active .spha-archive__summary{margin:12px 2px;font-size:12px}
 body.sph-ux.spha-active .spha-category-card__media{aspect-ratio:2.1}
 body.sph-ux.spha-active .spha-product-card__media{aspect-ratio:2.1}
 /* Learning catalogue and account content. */
 body.sph-ux .sphc-catalog{width:calc(100% - 28px);margin:14px auto 36px}
 body.sph-ux .sphc-catalog .sphc-page-head{padding:15px 17px;border-radius:18px;margin-bottom:14px}
 body.sph-ux .sphc-catalog .sphc-eyebrow{display:none}
 body.sph-ux .sphc-catalog h1{font-size:23px;line-height:1.7;margin-bottom:0}
 body.sph-ux .sphc-catalog .sphc-page-head p{font-size:13px;line-height:2;margin-bottom:5px}
 body.sph-ux .sphc-catalog .sphc-page-head>.sphc-link{min-height:36px;font-size:12px}
 body.sph-ux .sphc-catalog .sphc-cover{aspect-ratio:16/9}
 body.sph-ux .sphc-account>.sphc-section-heading{gap:12px;margin-bottom:16px}
 body.sph-ux .sphc-account .sphc-empty{padding:26px 18px}
 body.sph-ux .sphc-learning{margin-top:16px}
 body.sph-ux .sphc-learning-head{gap:10px;margin-bottom:16px}
 body.sph-ux .sphc-learning-head h1{font-size:21px;line-height:1.8}
 body.sph-ux .sphc-player-toolbar :is(select,button){min-height:44px!important}
 body.sph-ux .sphc-learning-layout{grid-template-columns:minmax(0,1fr);gap:16px}
 body.sph-ux .sphc-learning .sphc-syllabus{order:-1;padding:0;margin-bottom:0;overflow:hidden}
 body.sph-ux .sphc-learning .sphc-lesson-content{order:0}
 body.sph-ux .sphc-lesson-menu>summary{display:flex;align-items:center;gap:10px;min-height:52px;padding:12px 16px;font-size:14px;color:#205c62;font-weight:750;cursor:pointer;list-style:none;background:#f4faf7}
 body.sph-ux .sphc-lesson-menu>summary::-webkit-details-marker{display:none}
 body.sph-ux .sphc-lesson-menu>summary>span:not(.sph-mobile-chevron){font-size:12px;color:#668087;font-weight:500}
 body.sph-ux .sphc-lesson-menu>.sphc-section-heading{display:none}
 body.sph-ux .sphc-lesson-menu>:not(summary){margin:15px}
 body.sph-ux .sphc-lesson-menu .sphc-lesson-list{margin:0;padding:0}
 body.sph-ux.woocommerce-account .sph-dashboard-intro{padding:16px!important}
 body.sph-ux.woocommerce-account .sph-dashboard-eyebrow{display:none}
 body.sph-ux.woocommerce-account .sph-dashboard-intro h1{font-size:20px;line-height:1.65}
 body.sph-ux #sph-portal-app .sphp-header{padding:17px!important;gap:12px!important}
 body.sph-ux #sph-portal-app .sphp-title{font-size:20px!important}
 body.sph-ux #sph-portal-app .sphp-tabs{max-width:100%;min-width:0;overscroll-behavior-x:contain}
 body.sph-ux #sph-portal-app .sphp-card{padding:18px!important}
 body.sph-ux #sph-portal-app :is(.sphp-input,.sphp-select,.sphp-textarea){min-height:48px!important;font-size:16px!important}
 body.sph-ux #sph-portal-app .sphp-actions{flex-wrap:wrap!important;gap:10px!important}
 body.sph-ux #sph-portal-app .sphp-actions button{min-height:46px!important}
 body.sph-ux :is(.sph-session__dialog,.sph-search__dialog,.spha-modal__dialog){max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overscroll-behavior:contain}
 body.sph-ux :is(.spha-account-card,.sphc-panel,.sph-nd__main){min-width:0}
}
@media(max-width:760px){
 body.sph-ux .sph-nd .sph-nd__top{padding:17px!important;gap:12px!important;margin-bottom:14px!important}
 body.sph-ux .sph-nd .sph-nd__eyebrow{display:none!important}
 body.sph-ux .sph-nd .sph-nd__title{font-size:21px!important;line-height:1.8!important;margin-bottom:6px!important}
 body.sph-ux .sph-nd .sph-nd__lead{font-size:12px!important;line-height:2!important;margin-bottom:0!important}
 body.sph-ux .sph-nd .sph-nd__types{margin-top:0!important;flex-wrap:nowrap!important;overflow-x:auto;min-width:0;max-width:100%;gap:8px!important}
 body.sph-ux .sph-nd .sph-nd-chip{flex:none;min-height:44px!important;font-size:12px!important}
 body.sph-ux .sph-nd .sph-nd__meta{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important;padding:12px!important;margin-bottom:14px!important}
 body.sph-ux .sph-nd .sph-nd__meta>[data-role=count]{font-size:12px!important;min-width:0}
 body.sph-ux .sph-nd .sph-nd-filter-toggle{min-height:44px!important;font-size:13px!important}
 body.sph-ux .sph-nd .sph-nd__sort{grid-column:1/-1;display:flex!important;align-items:center;gap:12px!important;min-width:0}
 body.sph-ux .sph-nd .sph-nd__sort label{margin:0!important;font-size:12px!important;flex:none}
 body.sph-ux .sph-nd .sph-nd__sort select{min-width:0;flex:1;min-height:46px!important;width:auto!important;font-size:16px!important}
}
@media(prefers-reduced-motion:reduce){.sph-mobile-chevron{transition:none}}
