/* EWA v2.9.5 — MOBILE FIRST CONTRACT
   Loaded last. Mobile users are the primary viewport.
   Palette remains BLACK + WHITE + Branding Accent only.
*/
html,body{max-width:100%;overflow-x:hidden}
body[data-ewa-theme="brand"]{min-width:0}
body[data-ewa-theme="brand"] *,body[data-ewa-theme="brand"] *:before,body[data-ewa-theme="brand"] *:after{min-width:0}
body[data-ewa-theme="brand"] :where(img,video,iframe,svg,canvas){max-width:100%}
body[data-ewa-theme="brand"] :where(button,a,input,select,textarea){touch-action:manipulation}
body[data-ewa-theme="brand"] :where(input,select,textarea){font-size:16px!important}
body[data-ewa-theme="brand"] :where(.ewa-course-card,.ewa-book-card,.ewa-news-card,.ewa-post-card,.ewa-lesson-glass,.ewa-stat,.ewa-payment-panel,.ewa-auth-shell,.ewa-cart-panel,.ewa-checkout-card){min-width:0}

@media(max-width:900px){
 body[data-ewa-theme="brand"] .ewa-container{width:min(calc(100% - 32px),var(--ewa-max))!important}
 body[data-ewa-theme="brand"] .ewa-section{padding:60px 0!important}
 body[data-ewa-theme="brand"] .ewa-page-hero,body[data-ewa-theme="brand"] .ewa-dashboard-hero{padding:52px 0 38px!important}
 body[data-ewa-theme="brand"] .ewa-page-hero h1,body[data-ewa-theme="brand"] .ewa-dashboard-hero h1{font-size:clamp(34px,8vw,54px)!important;line-height:1.02!important;overflow-wrap:anywhere}
 body[data-ewa-theme="brand"] .ewa-section-head{align-items:flex-start!important}
 body[data-ewa-theme="brand"] :where(.ewa-course-grid,.ewa-book-grid,.ewa-content-glass-grid,.ewa-dashboard-grid,.ewa-student-course-grid,.ewa-about-profile-sections){grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body[data-ewa-theme="brand"] :where(.ewa-membership-grid,.ewa-trust-grid,.ewa-about-grid,.ewa-product-layout,.ewa-checkout-layout,.ewa-course-preview-grid,.ewa-player-layout){grid-template-columns:1fr!important}
 body[data-ewa-theme="brand"] .ewa-course-preview-grid{gap:28px!important}
 body[data-ewa-theme="brand"] .ewa-course-preview-image{position:relative!important;inset:auto!important;width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:16/10!important;order:2!important;transform:none!important;margin:0!important}
 body[data-ewa-theme="brand"] .ewa-course-preview-image img{position:static!important;width:100%!important;height:100%!important;object-fit:cover!important}
 body[data-ewa-theme="brand"] .ewa-course-preview-grid>div:first-child{order:1!important}
 body[data-ewa-theme="brand"] .ewa-course-preview-grid h1{font-size:clamp(36px,8vw,58px)!important;line-height:1!important;overflow-wrap:anywhere}
 body[data-ewa-theme="brand"] .ewa-course-preview-meta{gap:8px!important}
 body[data-ewa-theme="brand"] .ewa-demo-lecture-card{display:grid!important;grid-template-columns:1fr!important;gap:20px!important;padding:22px!important}
 body[data-ewa-theme="brand"] .ewa-unlock-card{display:grid!important;grid-template-columns:1fr!important;gap:20px!important;padding:24px!important}
 body[data-ewa-theme="brand"] .ewa-unlock-card .ewa-btn{width:100%!important}
 body[data-ewa-theme="brand"] .ewa-product-order-card{position:static!important;top:auto!important}
 body[data-ewa-theme="brand"] .ewa-product-gallery{height:auto!important;min-height:0!important;aspect-ratio:1/1!important}
 body[data-ewa-theme="brand"] .ewa-product-slide img{padding:12px!important;object-fit:contain!important}
 body[data-ewa-theme="brand"] .ewa-checkout-layout{gap:18px!important}
 body[data-ewa-theme="brand"] .ewa-payment-panel{grid-template-columns:1fr!important;gap:20px!important}
 body[data-ewa-theme="brand"] .ewa-footer-grid{grid-template-columns:1fr 1fr!important}
 body[data-ewa-theme="brand"] .ewa-news-card,body[data-ewa-theme="brand"] .ewa-post-card{grid-template-columns:1fr!important;flex-basis:min(88vw,560px)!important}
 body[data-ewa-theme="brand"] .ewa-news-image,body[data-ewa-theme="brand"] .ewa-post-image{min-height:220px!important;max-height:300px!important}
 body[data-ewa-theme="brand"] .ewa-testimonial-card{width:min(78vw,400px)!important}
 body[data-ewa-theme="brand"] .ewa-testimonial-stage{min-height:390px!important;height:min(118vw,600px)!important}
 body[data-ewa-theme="brand"] .ewa-feedback-lightbox{padding:16px!important}
 body[data-ewa-theme="brand"] .ewa-feedback-lightbox img{max-width:96vw!important;max-height:84vh!important}
 body[data-ewa-theme="brand"] .ewa-feedback-lightbox button{top:12px!important;right:12px!important;min-height:44px}
 body[data-ewa-theme="brand"] .ewa-player-sidebar{position:static!important;top:auto!important;width:100%!important;max-height:none!important}
 body[data-ewa-theme="brand"] .ewa-player-nav{display:flex!important;gap:8px!important;overflow-x:auto!important;overscroll-behavior-x:contain;padding:2px 0 10px!important;scrollbar-width:thin}
 body[data-ewa-theme="brand"] .ewa-player-nav button{flex:0 0 min(78vw,280px)!important;min-height:64px!important}
 body[data-ewa-theme="brand"] .ewa-player-main{width:100%!important}
 body[data-ewa-theme="brand"] .ewa-player-lesson-head{align-items:flex-start!important;gap:16px!important}
 body[data-ewa-theme="brand"] .ewa-player-lesson{scroll-margin-top:82px}
 body[data-ewa-theme="brand"] .ewa-quiz-workspace{grid-template-columns:1fr!important}
 body[data-ewa-theme="brand"] .ewa-question-palette{order:2!important;position:static!important;width:100%!important}
 body[data-ewa-theme="brand"] .ewa-palette-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important}
 body[data-ewa-theme="brand"] .ewa-quiz-main{order:1!important;width:100%!important}
 body[data-ewa-theme="brand"] .ewa-result-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body[data-ewa-theme="brand"] .ewa-dashboard-grid>*{grid-column:auto!important}
}

@media(max-width:620px){
 html{-webkit-text-size-adjust:100%}
 body[data-ewa-theme="brand"] .ewa-container,body[data-ewa-theme="brand"] .ewa-content-viewer-container{width:calc(100% - 24px)!important;max-width:none!important}
 body[data-ewa-theme="brand"] .ewa-section{padding:46px 0!important}
 body[data-ewa-theme="brand"] .ewa-section-head{display:block!important;margin-bottom:24px!important}
 body[data-ewa-theme="brand"] .ewa-section-head h2{font-size:clamp(28px,8vw,38px)!important;line-height:1.04!important}
 body[data-ewa-theme="brand"] .ewa-kicker,body[data-ewa-theme="brand"] .ewa-eyebrow{font-size:10px!important;letter-spacing:.13em!important}

 body[data-ewa-theme="brand"] .ewa-header{position:sticky!important;top:0!important}
 body[data-ewa-theme="brand"] .ewa-header-inner{min-height:64px!important;height:64px!important;gap:10px!important}
 body[data-ewa-theme="brand"] .ewa-logo-img{width:42px!important;height:42px!important;border-radius:10px!important}
 body[data-ewa-theme="brand"] .ewa-brand-mark{width:40px!important;height:40px!important}
 body[data-ewa-theme="brand"] .ewa-brand-text{display:none!important}
 body[data-ewa-theme="brand"] .ewa-header-actions{display:none!important}
 body[data-ewa-theme="brand"] .ewa-menu-toggle{display:grid!important;width:44px!important;height:44px!important;margin-left:auto!important;padding:10px!important;place-content:center;gap:4px;background:var(--ewa-black)!important;border:1px solid var(--ewa-line)!important}
 body[data-ewa-theme="brand"] .ewa-menu-toggle>span:not(.screen-reader-text){display:block!important;width:20px!important;height:2px!important;background:var(--ewa-white)!important;border-radius:999px}
 body[data-ewa-theme="brand"] .ewa-nav{position:absolute!important;display:none!important;top:64px!important;left:10px!important;right:10px!important;width:auto!important;max-height:calc(100dvh - 76px)!important;overflow-y:auto!important;background:var(--ewa-black)!important;border:1px solid var(--ewa-line)!important;border-radius:14px!important;padding:10px!important;box-shadow:var(--ewa-shadow)!important}
 body[data-ewa-theme="brand"] .ewa-nav.is-open{display:block!important}
 body[data-ewa-theme="brand"] .ewa-nav-list,body[data-ewa-theme="brand"] .ewa-nav ul{display:grid!important;grid-template-columns:1fr!important;gap:2px!important}
 body[data-ewa-theme="brand"] .ewa-nav a{display:flex!important;align-items:center!important;min-height:46px!important;padding:10px 12px!important;font-size:15px!important;color:var(--ewa-white)!important;border-radius:9px}
 body[data-ewa-theme="brand"] .ewa-nav a:hover{background:rgba(255,255,255,.08)!important}

 body[data-ewa-theme="brand"] .ewa-hero-fullscreen{min-height:calc(100svh - 64px)!important;height:auto!important;padding:0!important}
 body[data-ewa-theme="brand"] .ewa-hero-content{min-height:calc(100svh - 64px)!important;padding:58px 0 44px!important;align-items:center!important}
 body[data-ewa-theme="brand"] .ewa-hero-copy{width:100%!important;max-width:100%!important}
 body[data-ewa-theme="brand"] .ewa-hero h1{font-size:clamp(42px,13vw,62px)!important;line-height:.96!important;max-width:92%!important;overflow-wrap:anywhere}
 body[data-ewa-theme="brand"] .ewa-hero-lead{font-size:16px!important;line-height:1.55!important;max-width:92%!important}
 body[data-ewa-theme="brand"] .ewa-actions{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;width:100%!important}
 body[data-ewa-theme="brand"] .ewa-actions .ewa-btn{width:100%!important;min-height:48px!important}
 body[data-ewa-theme="brand"] .ewa-hero-mini{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important;margin-top:24px!important}
 body[data-ewa-theme="brand"] .ewa-teacher-photo-bg{object-position:68% center!important}
 body[data-ewa-theme="brand"] .ewa-hero-overlay{background:linear-gradient(90deg,var(--ewa-black) 0%,rgba(0,0,0,.91) 50%,rgba(0,0,0,.48) 100%)!important}

 body[data-ewa-theme="brand"] .ewa-home-classes{padding:40px 0!important}
 body[data-ewa-theme="brand"] .ewa-class-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
 body[data-ewa-theme="brand"] .ewa-class-tile{min-height:58px!important;max-height:none!important;height:auto!important;aspect-ratio:auto!important;padding:6px!important;border-radius:9px!important;font-size:clamp(9px,2.9vw,12px)!important;overflow-wrap:anywhere}

 body[data-ewa-theme="brand"] :where(.ewa-course-grid,.ewa-book-grid,.ewa-content-glass-grid,.ewa-dashboard-grid,.ewa-student-course-grid,.ewa-about-profile-sections){grid-template-columns:1fr!important;gap:14px!important}
 body[data-ewa-theme="brand"] .ewa-course-media{height:auto!important;aspect-ratio:16/10!important}
 body[data-ewa-theme="brand"] .ewa-course-body{padding:18px!important}
 body[data-ewa-theme="brand"] .ewa-home-course-card .ewa-course-body{display:block!important}
 body[data-ewa-theme="brand"] .ewa-home-course-card .ewa-course-link{display:inline-flex!important;margin-top:12px!important;min-height:44px!important;align-items:center}

 body[data-ewa-theme="brand"] .ewa-course-preview-hero{padding:42px 0!important;overflow:hidden!important}
 body[data-ewa-theme="brand"] .ewa-course-preview-grid{display:flex!important;flex-direction:column!important;gap:24px!important}
 body[data-ewa-theme="brand"] .ewa-course-preview-grid>div{width:100%!important;max-width:100%!important}
 body[data-ewa-theme="brand"] .ewa-course-preview-grid h1{font-size:clamp(36px,11vw,50px)!important;line-height:.98!important;margin:10px 0 18px!important}
 body[data-ewa-theme="brand"] .ewa-course-preview-lead{font-size:16px!important;line-height:1.55!important}
 body[data-ewa-theme="brand"] .ewa-course-preview-image{display:block!important;position:relative!important;width:100%!important;height:auto!important;aspect-ratio:16/10!important;min-height:0!important;border-radius:18px!important;overflow:hidden!important;transform:none!important;inset:auto!important;margin:0!important}
 body[data-ewa-theme="brand"] .ewa-course-preview-image img{display:block!important;position:static!important;width:100%!important;height:100%!important;object-fit:cover!important;transform:none!important}
 body[data-ewa-theme="brand"] .ewa-course-preview-meta{display:flex!important;gap:8px!important;flex-wrap:wrap!important}
 body[data-ewa-theme="brand"] .ewa-course-preview-meta span{font-size:9px!important;padding:8px 10px!important}
 body[data-ewa-theme="brand"] .ewa-demo-lecture-card{padding:16px!important;border-radius:16px!important}
 body[data-ewa-theme="brand"] .ewa-video-shell{border-radius:12px!important}
 body[data-ewa-theme="brand"] .ewa-lesson-glass{padding:18px!important;border-radius:16px!important}
 body[data-ewa-theme="brand"] .ewa-lesson-glass h3{font-size:21px!important}
 body[data-ewa-theme="brand"] .ewa-lesson-block-button{grid-template-columns:36px minmax(0,1fr) auto!important;gap:9px!important;min-height:58px!important;padding:10px!important}
 body[data-ewa-theme="brand"] .ewa-lesson-block-button strong{font-size:13px!important;overflow-wrap:anywhere}
 body[data-ewa-theme="brand"] .ewa-lesson-block-button>span:last-child{font-size:11px!important;white-space:nowrap}
 body[data-ewa-theme="brand"] .ewa-unlock-card{padding:18px!important;border-radius:16px!important}

 body[data-ewa-theme="brand"] .ewa-about-grid{display:flex!important;flex-direction:column!important;gap:24px!important}
 body[data-ewa-theme="brand"] .ewa-about-photo,body[data-ewa-theme="brand"] .ewa-about-placeholder{width:100%!important;max-width:100%!important;height:auto!important;aspect-ratio:4/5!important;border-radius:18px!important}
 body[data-ewa-theme="brand"] .ewa-about-gallery{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 body[data-ewa-theme="brand"] .ewa-about-gallery img{height:auto!important;aspect-ratio:1/1!important;border-radius:12px!important}
 body[data-ewa-theme="brand"] .ewa-about-profile-card{padding:18px!important}

 body[data-ewa-theme="brand"] .ewa-student-welcome{display:grid!important;grid-template-columns:1fr!important;gap:14px!important;padding:18px!important;border-radius:16px!important}
 body[data-ewa-theme="brand"] .ewa-student-welcome h2{font-size:26px!important}
 body[data-ewa-theme="brand"] .ewa-member-state{justify-self:start!important;white-space:normal!important}
 body[data-ewa-theme="brand"] .ewa-payment-panel{padding:18px!important}
 body[data-ewa-theme="brand"] .ewa-payment-methods{grid-template-columns:1fr!important}
 body[data-ewa-theme="brand"] .ewa-payment-methods span{overflow-wrap:anywhere}
 body[data-ewa-theme="brand"] .ewa-learning-pulse{padding:18px!important;border-radius:18px!important}
 body[data-ewa-theme="brand"] .ewa-pulse-score{display:grid!important;grid-template-columns:1fr!important;gap:16px!important}
 body[data-ewa-theme="brand"] .ewa-progress-ring{width:104px!important;height:104px!important}
 body[data-ewa-theme="brand"] .ewa-pulse-grid,body[data-ewa-theme="brand"] .ewa-engagement-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body[data-ewa-theme="brand"] .ewa-engagement-panel{display:grid!important;grid-template-columns:1fr!important;gap:18px!important;padding:18px!important}
 body[data-ewa-theme="brand"] .ewa-dashboard-section-head{display:block!important;margin:38px 0 16px!important}
 body[data-ewa-theme="brand"] .ewa-dashboard-section-head .ewa-text-link{display:inline-flex!important;margin-top:10px}
 body[data-ewa-theme="brand"] .ewa-student-course-card{display:grid!important;grid-template-columns:1fr!important}
 body[data-ewa-theme="brand"] .ewa-student-course-cover{height:auto!important;aspect-ratio:16/9!important}
 body[data-ewa-theme="brand"] .ewa-student-course-body{padding:18px!important}
 body[data-ewa-theme="brand"] .ewa-recommendation-list,body[data-ewa-theme="brand"] .ewa-notification-list,body[data-ewa-theme="brand"] .ewa-quiz-report-list{display:grid!important;gap:10px!important}
 body[data-ewa-theme="brand"] .ewa-notification,body[data-ewa-theme="brand"] .ewa-quiz-report-list article{display:grid!important;grid-template-columns:1fr!important;gap:12px!important}
 body[data-ewa-theme="brand"] .ewa-quiz-report-metrics{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;margin-top:10px!important}
 body[data-ewa-theme="brand"] .ewa-diary-lesson>summary{padding:14px!important}
 body[data-ewa-theme="brand"] .ewa-diary-items{padding:0 12px 12px!important}

 body[data-ewa-theme="brand"] .ewa-player{padding:42px 0 64px!important}
 body[data-ewa-theme="brand"] .ewa-player-head{display:grid!important;grid-template-columns:1fr!important;gap:18px!important;padding-bottom:24px!important}
 body[data-ewa-theme="brand"] .ewa-player-head h1{font-size:clamp(34px,10vw,48px)!important;overflow-wrap:anywhere}
 body[data-ewa-theme="brand"] .ewa-player-progress{width:100%!important;max-width:none!important}
 body[data-ewa-theme="brand"] .ewa-player-layout{display:grid!important;grid-template-columns:1fr!important;gap:18px!important}
 body[data-ewa-theme="brand"] .ewa-player-sidebar{padding:14px!important;border-radius:14px!important}
 body[data-ewa-theme="brand"] .ewa-player-nav button{flex-basis:82vw!important}
 body[data-ewa-theme="brand"] .ewa-player-lesson{padding:18px!important;border-radius:16px!important}
 body[data-ewa-theme="brand"] .ewa-player-lesson-head{display:grid!important;grid-template-columns:1fr!important}
 body[data-ewa-theme="brand"] .ewa-complete-btn{width:100%!important;min-height:44px!important}
 body[data-ewa-theme="brand"] .ewa-player-block{padding:0!important}

 body[data-ewa-theme="brand"] .ewa-quiz-page-section{padding:36px 0 56px!important}
 body[data-ewa-theme="brand"] .ewa-quiz-card{padding:16px!important;border-radius:16px!important}
 body[data-ewa-theme="brand"] .ewa-quiz-head{display:grid!important;grid-template-columns:1fr auto!important;gap:12px!important;align-items:start!important}
 body[data-ewa-theme="brand"] .ewa-quiz-head h3{font-size:22px!important;line-height:1.15!important;margin:4px 0!important}
 body[data-ewa-theme="brand"] .ewa-quiz-head p{font-size:13px!important;line-height:1.45!important}
 body[data-ewa-theme="brand"] .ewa-quiz-timer-wrap{text-align:right!important}
 body[data-ewa-theme="brand"] .ewa-quiz-timer{font-size:20px!important}
 body[data-ewa-theme="brand"] .ewa-quiz-meta{display:flex!important;flex-wrap:wrap!important;justify-content:space-between!important;gap:7px!important;font-size:11px!important}
 body[data-ewa-theme="brand"] .ewa-question{padding:18px 0!important}
 body[data-ewa-theme="brand"] .ewa-question>h2{font-size:21px!important;line-height:1.3!important}
 body[data-ewa-theme="brand"] .ewa-option-card{grid-template-columns:36px minmax(0,1fr)!important;gap:10px!important;padding:12px!important;min-height:58px!important}
 body[data-ewa-theme="brand"] .ewa-option-state{grid-column:2!important}
 body[data-ewa-theme="brand"] .ewa-option-text{font-size:17px!important;line-height:1.4!important;overflow-wrap:anywhere}
 body[data-ewa-theme="brand"] .ewa-quiz-controls{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
 body[data-ewa-theme="brand"] .ewa-quiz-controls .ewa-btn{width:100%!important;min-width:0!important;padding:0 10px!important}
 body[data-ewa-theme="brand"] .ewa-question-palette{padding:14px!important;border-radius:14px!important}
 body[data-ewa-theme="brand"] .ewa-palette-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:6px!important}
 body[data-ewa-theme="brand"] .ewa-palette-btn{height:42px!important;min-width:0!important;padding:0!important}
 body[data-ewa-theme="brand"] .ewa-result-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 body[data-ewa-theme="brand"] .ewa-result-score{padding:14px!important}
 body[data-ewa-theme="brand"] .ewa-review-head,body[data-ewa-theme="brand"] .ewa-review-qhead{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
 body[data-ewa-theme="brand"] .ewa-review-filters{display:flex!important;overflow-x:auto!important;gap:7px!important;padding-bottom:4px!important}
 body[data-ewa-theme="brand"] .ewa-review-filters button{flex:0 0 auto!important;min-height:42px!important}

 body[data-ewa-theme="brand"] .ewa-content-viewer{padding-top:36px!important}
 body[data-ewa-theme="brand"] .ewa-content-viewer>.ewa-container>h1{font-size:clamp(30px,9vw,42px)!important;overflow-wrap:anywhere}
 body[data-ewa-theme="brand"] .ewa-content-viewer-stage{margin-top:20px!important;border-radius:14px!important}
 body[data-ewa-theme="brand"] .ewa-code-frame,body[data-ewa-theme="brand"] .ewa-content-viewer-frame{width:100%!important;max-width:100%!important;height:1200px!important;min-height:1200px!important;border-radius:0!important}
 body[data-ewa-theme="brand"] .ewa-rich-content{padding:20px!important;font-size:16px!important;line-height:1.72!important}

 body[data-ewa-theme="brand"] .ewa-store-product-hero{padding-top:42px!important}
 body[data-ewa-theme="brand"] .ewa-product-layout{gap:18px!important}
 body[data-ewa-theme="brand"] .ewa-product-gallery{border-radius:16px!important}
 body[data-ewa-theme="brand"] .ewa-gallery-arrow{width:44px!important;height:44px!important}
 body[data-ewa-theme="brand"] .ewa-product-order-card{padding:18px!important;border-radius:16px!important}
 body[data-ewa-theme="brand"] .ewa-book-card-shop{grid-template-columns:100px minmax(0,1fr)!important;gap:14px!important;padding:14px!important}
 body[data-ewa-theme="brand"] .ewa-book-store-cover>img,body[data-ewa-theme="brand"] .ewa-book-card-shop .ewa-book-placeholder{height:145px!important}
 body[data-ewa-theme="brand"] .ewa-book-card-shop h2{font-size:17px!important;overflow-wrap:anywhere}
 body[data-ewa-theme="brand"] .ewa-cart-panel,body[data-ewa-theme="brand"] .ewa-checkout-card{padding:18px!important;border-radius:16px!important}
 body[data-ewa-theme="brand"] .ewa-cart-line{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;align-items:start!important}
 body[data-ewa-theme="brand"] .ewa-cart-line-actions{display:flex!important;flex-wrap:wrap!important;gap:8px!important}
 body[data-ewa-theme="brand"] .ewa-cart-line-actions button{min-width:44px!important;height:44px!important}
 body[data-ewa-theme="brand"] .ewa-form{padding:18px!important;border-radius:16px!important}
 body[data-ewa-theme="brand"] .ewa-form-grid{grid-template-columns:1fr!important;gap:14px!important}
 body[data-ewa-theme="brand"] .ewa-form label.full{grid-column:auto!important}
 body[data-ewa-theme="brand"] .ewa-btn-wide{width:100%!important}

 body[data-ewa-theme="brand"] .ewa-auth-page{padding:34px 0!important;min-height:calc(100svh - 64px)!important;display:grid!important;align-items:center!important}
 body[data-ewa-theme="brand"] .ewa-auth-shell{width:calc(100% - 24px)!important;max-width:520px!important;margin:0 auto!important;padding:20px!important;border-radius:18px!important}
 body[data-ewa-theme="brand"] .ewa-auth-row{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
 body[data-ewa-theme="brand"] .ewa-auth-form .ewa-btn{width:100%!important}

 body[data-ewa-theme="brand"] .ewa-news-card,body[data-ewa-theme="brand"] .ewa-post-card{flex-basis:calc(100vw - 40px)!important;border-radius:16px!important}
 body[data-ewa-theme="brand"] .ewa-news-body,body[data-ewa-theme="brand"] .ewa-post-body{padding:18px!important}
 body[data-ewa-theme="brand"] .ewa-news-body h3,body[data-ewa-theme="brand"] .ewa-post-body h3{font-size:21px!important}
 body[data-ewa-theme="brand"] .ewa-slider-btn{width:44px!important;height:44px!important}
 body[data-ewa-theme="brand"] .ewa-testimonial-stage{min-height:360px!important;height:112vw!important;max-height:520px!important}
 body[data-ewa-theme="brand"] .ewa-testimonial-card{width:82vw!important;max-width:360px!important;border-radius:16px!important}
 body[data-ewa-theme="brand"] .ewa-stack-controls{display:grid!important;grid-template-columns:auto 1fr auto!important;gap:8px!important}
 body[data-ewa-theme="brand"] .ewa-stack-controls button{min-width:0!important;width:100%!important;min-height:44px!important}
 body[data-ewa-theme="brand"] .ewa-stack-controls [data-stack-count]{text-align:center!important}
 body[data-ewa-theme="brand"] .ewa-news-detail-container{width:calc(100% - 24px)!important}
 body[data-ewa-theme="brand"] .ewa-news-detail-image{border-radius:14px!important;margin-bottom:24px!important}
 body[data-ewa-theme="brand"] .ewa-news-detail-copy{font-size:16px!important;line-height:1.7!important}

 body[data-ewa-theme="brand"] .ewa-footer{padding:44px 0 22px!important}
 body[data-ewa-theme="brand"] .ewa-footer-grid{grid-template-columns:1fr!important;gap:28px!important}
 body[data-ewa-theme="brand"] .ewa-footer-bottom{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;margin-top:30px!important}
}

@media(max-width:360px){
 body[data-ewa-theme="brand"] .ewa-container,body[data-ewa-theme="brand"] .ewa-content-viewer-container{width:calc(100% - 18px)!important}
 body[data-ewa-theme="brand"] .ewa-class-grid{gap:4px!important}
 body[data-ewa-theme="brand"] .ewa-class-tile{font-size:9px!important;padding:4px!important}
 body[data-ewa-theme="brand"] .ewa-quiz-head{grid-template-columns:1fr!important}
 body[data-ewa-theme="brand"] .ewa-quiz-timer-wrap{text-align:left!important}
 body[data-ewa-theme="brand"] .ewa-palette-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
 body[data-ewa-theme="brand"] .ewa-quiz-controls{grid-template-columns:1fr!important}
 body[data-ewa-theme="brand"] .ewa-book-card-shop{grid-template-columns:86px minmax(0,1fr)!important}
 body[data-ewa-theme="brand"] .ewa-book-store-cover>img,body[data-ewa-theme="brand"] .ewa-book-card-shop .ewa-book-placeholder{height:128px!important}
}

/* Generic content safety and iPhone ergonomics */
@media(max-width:620px){
 html.ewa-nav-open{overflow:hidden}
 body[data-ewa-theme="brand"] .ewa-header{padding-top:env(safe-area-inset-top,0)}
 body[data-ewa-theme="brand"] :where(.ewa-content,.ewa-continuous-reading){overflow-wrap:anywhere;word-break:normal}
 body[data-ewa-theme="brand"] :where(.ewa-content,.ewa-continuous-reading) table{display:block;width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;border-collapse:collapse}
 body[data-ewa-theme="brand"] :where(.ewa-content,.ewa-continuous-reading) pre{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
 body[data-ewa-theme="brand"] :where(.ewa-content,.ewa-continuous-reading) iframe{width:100%!important}
 body[data-ewa-theme="brand"] .ewa-404{padding:20px 0}
 body[data-ewa-theme="brand"] :where(.ewa-btn,button,input[type=submit]){min-height:44px}
 body[data-ewa-theme="brand"] :where(input[type=file]){max-width:100%;overflow:hidden}
}


/* Dashboard learning history */
@media(max-width:700px){
 body[data-ewa-theme="brand"] .ewa-pulse-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body[data-ewa-theme="brand"] .ewa-quiz-report-metrics{display:grid!important;grid-template-columns:1fr 1fr;gap:10px;width:100%}
 body[data-ewa-theme="brand"] .ewa-quiz-report-metrics .ewa-text-link,
 body[data-ewa-theme="brand"] .ewa-review-attempt-btn{min-height:44px;display:flex!important;align-items:center}
 body[data-ewa-theme="brand"] .ewa-full-quiz-review{padding:16px}
 body[data-ewa-theme="brand"] .ewa-lecture-performance-list article{display:grid;gap:12px}
 body[data-ewa-theme="brand"] .ewa-lecture-performance-list .ewa-text-link{min-height:44px;display:flex;align-items:center}
}
@media(max-width:380px){
 body[data-ewa-theme="brand"] .ewa-pulse-grid{grid-template-columns:1fr!important}
}


/* Mobile Mistake Diary folders */
@media(max-width:760px){
 body[data-ewa-theme="brand"] .ewa-mistake-course-grid{grid-template-columns:1fr!important}
 body[data-ewa-theme="brand"] .ewa-mistake-course>summary{grid-template-columns:38px minmax(0,1fr);gap:12px;padding:15px}
 body[data-ewa-theme="brand"] .ewa-mistake-course>summary>b{grid-column:2;justify-self:start}
 body[data-ewa-theme="brand"] .ewa-mistake-folder-icon{width:36px;height:36px}
 body[data-ewa-theme="brand"] .ewa-mistake-quiz>summary{align-items:flex-start}
}


/* EWA 2.9.14 — mobile fixes for course rows + quiz review */
@media(max-width:620px){
 body[data-ewa-theme="brand"] .ewa-lesson-block-button{
   grid-template-columns:82px minmax(0,1fr) auto!important;
   column-gap:10px!important;
 }
 body[data-ewa-theme="brand"] .ewa-lesson-block-button>.ewa-block-type{
   font-size:10px!important;
   line-height:1.3!important;
   letter-spacing:.07em!important;
 }
 body[data-ewa-theme="brand"] .ewa-lesson-block-button>strong{
   font-size:13px!important;
   line-height:1.35!important;
 }
 body[data-ewa-theme="brand"] .ewa-attempt-review-question{
   padding:15px!important;
   border-radius:15px!important;
 }
 body[data-ewa-theme="brand"] .ewa-attempt-review-question :where(
   .ewa-diary-qhead span,
   .ewa-diary-qhead small,
   h4,
   .ewa-diary-answer,
   .ewa-diary-answer b,
   .ewa-explanation summary,
   .ewa-explanation p
 ){
   font-size:17px!important;
   line-height:1.45!important;
 }
 body[data-ewa-theme="brand"] .ewa-attempt-review-question .ewa-review-student-answer,
 body[data-ewa-theme="brand"] .ewa-attempt-review-question .ewa-review-correct-answer{
   padding:14px!important;
 }
}
@media(max-width:390px){
 body[data-ewa-theme="brand"] .ewa-lesson-block-button{
   grid-template-columns:72px minmax(0,1fr)!important;
 }
 body[data-ewa-theme="brand"] .ewa-lesson-block-button>span:last-child{
   grid-column:2!important;
   justify-self:start!important;
   margin-top:2px!important;
 }
}


/* EWA 2.9.15 — mobile quiz feedback/performance */
@media(max-width:700px){
 body[data-ewa-theme="brand"] .ewa-option-card{
   grid-template-columns:44px minmax(0,1fr) 26px!important;
   gap:10px!important;
 }
 body[data-ewa-theme="brand"] .ewa-quiz-controls{
   grid-template-columns:1fr 1fr!important;
   gap:10px!important;
 }
 body[data-ewa-theme="brand"] .ewa-quiz-controls [data-quiz-prev],
 body[data-ewa-theme="brand"] .ewa-quiz-controls [data-quiz-next],
 body[data-ewa-theme="brand"] .ewa-quiz-controls [data-quiz-finish]{
   justify-self:stretch!important;
   width:100%!important;
 }
 body[data-ewa-theme="brand"] .ewa-quiz-controls [data-quiz-finish]{
   grid-column:1/-1!important;
   grid-row:2!important;
 }
 body[data-ewa-theme="brand"] .ewa-performance-hero{display:grid!important;grid-template-columns:1fr!important}
 body[data-ewa-theme="brand"] .ewa-performance-percent{min-width:0!important;width:100%!important}
 body[data-ewa-theme="brand"] .ewa-performance-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body[data-ewa-theme="brand"] .ewa-performance-stats>div:first-child{grid-column:1/-1}
 body[data-ewa-theme="brand"] .ewa-performance-footer{display:grid!important}
 body[data-ewa-theme="brand"] .ewa-mcq-performance-boxes{grid-template-columns:1fr!important}
}


/* EWA 2.9.18 — unified review cards on phones */
@media(max-width:620px){
 body[data-ewa-theme="brand"] :where(.ewa-full-quiz-review,.ewa-quiz-review,.ewa-mistake-diary) .ewa-unified-review-question,
 body[data-ewa-theme="brand"] .ewa-full-quiz-review .ewa-attempt-review-question{
   padding:15px!important;
   border-radius:16px!important;
 }
 body[data-ewa-theme="brand"] :where(.ewa-full-quiz-review,.ewa-quiz-review,.ewa-mistake-diary) .ewa-unified-review-question :where(
   .ewa-diary-qhead span,.ewa-diary-qhead small,h4,.ewa-diary-answer,.ewa-diary-answer b,.ewa-explanation summary,.ewa-explanation p
 ),
 body[data-ewa-theme="brand"] .ewa-full-quiz-review .ewa-attempt-review-question :where(
   .ewa-diary-qhead span,.ewa-diary-qhead small,h4,.ewa-diary-answer,.ewa-diary-answer b,.ewa-explanation summary,.ewa-explanation p
 ){
   font-size:17px!important;
   line-height:1.45!important;
 }
 body[data-ewa-theme="brand"] :where(.ewa-full-quiz-review,.ewa-quiz-review,.ewa-mistake-diary) :where(.ewa-review-student-answer,.ewa-review-correct-answer){
   padding:14px!important;
 }
 body[data-ewa-theme="brand"] :where(.ewa-full-quiz-review,.ewa-quiz-review,.ewa-mistake-diary) .ewa-review-explanation summary{
   padding:14px!important;
 }
 body[data-ewa-theme="brand"] :where(.ewa-full-quiz-review,.ewa-quiz-review,.ewa-mistake-diary) .ewa-review-explanation p{
   padding:0 14px 14px!important;
 }
}


/* EWA 2.9.20 — preserve dark lesson palette on mobile */
@media(max-width:700px){
 body[data-ewa-theme="brand"] .ewa-player-main .ewa-player-lesson{
   border-radius:18px!important;
 }
}


/* EWA 2.9.21 — homepage class squares stay compact on mobile */
@media(max-width:700px){
 body[data-ewa-theme="brand"] .ewa-home-classes .ewa-class-grid{
   grid-template-columns:repeat(4,minmax(0,1fr))!important;
   gap:8px!important;
   justify-content:stretch!important;
 }
 body[data-ewa-theme="brand"] .ewa-home-classes .ewa-class-tile{
   width:100%!important;
   aspect-ratio:1/1!important;
   padding:8px!important;
   border-radius:12px!important;
 }
 body[data-ewa-theme="brand"] .ewa-home-classes .ewa-class-tile span{
   font-size:11px!important;
   line-height:1.1!important;
   overflow-wrap:anywhere!important;
 }
}


/* EWA 2.9.22 — centered class tiles on smaller screens */
@media(max-width:700px){
 body[data-ewa-theme="brand"] .ewa-home-classes .ewa-class-grid{
   justify-content:center!important;
   justify-items:stretch!important;
   margin-left:auto!important;
   margin-right:auto!important;
 }
}


/* EWA 2.9.24 — compact News/Post cards on phones */
@media(max-width:700px){
 body[data-ewa-theme="brand"] :where(.ewa-news-card,.ewa-post-card){
   flex-basis:min(82vw,320px)!important;
   width:min(82vw,320px)!important;
   max-width:min(82vw,320px)!important;
   border-radius:16px!important;
 }
 body[data-ewa-theme="brand"] :where(.ewa-news-image,.ewa-post-image){
   height:170px!important;
   min-height:170px!important;
   max-height:170px!important;
   flex-basis:170px!important;
 }
 body[data-ewa-theme="brand"] :where(.ewa-news-body,.ewa-post-body){
   padding:16px!important;
 }
 body[data-ewa-theme="brand"] :where(.ewa-news-body,.ewa-post-body) h3{
   font-size:18px!important;
 }
}

/* EWA v3.3.0 — targeted responsive batch (2026-09-24)
   Scope: homepage course/book grids, testimonial mobile stacking,
   news/posts mobile 2-up, compact video-session mobile, footer mobile 2-up,
   and compact mobile slider dots/section spacing. */

/* 1. Homepage Courses: 4-up desktop, 2-up mobile. */
body.home[data-ewa-theme="brand"] #courses .ewa-course-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:18px!important;
}

/* 2. Homepage Book Store: 4-up desktop, 2-up mobile. */
body.home[data-ewa-theme="brand"] .ewa-home-books .ewa-home-book-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:18px!important;
}

@media(max-width:650px){
  body.home[data-ewa-theme="brand"] #courses .ewa-course-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }
  body.home[data-ewa-theme="brand"] #courses .ewa-home-course-card{min-width:0!important}
  body.home[data-ewa-theme="brand"] #courses .ewa-home-course-card .ewa-course-media{aspect-ratio:1/1!important;min-height:0!important;height:auto!important;overflow:hidden!important}
  body.home[data-ewa-theme="brand"] #courses .ewa-home-course-card .ewa-course-media img{width:100%!important;height:100%!important;object-fit:cover!important}
  body.home[data-ewa-theme="brand"] #courses .ewa-home-course-card .ewa-course-body{display:block!important;padding:10px!important}
  body.home[data-ewa-theme="brand"] #courses .ewa-home-course-card .ewa-course-body h3{font-size:14px!important;line-height:1.2!important;margin:0!important;overflow-wrap:anywhere}
  body.home[data-ewa-theme="brand"] #courses .ewa-home-course-card .ewa-course-link{font-size:10px!important;margin-top:9px!important;min-height:32px!important}

  body.home[data-ewa-theme="brand"] .ewa-home-books .ewa-home-book-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }

  /* 3. What Students Say: desktop remains 1x3; mobile becomes 3x1. */
  body.home[data-ewa-theme="brand"] .ewa-testimonials-three .ewa-testimonial-columns{
    grid-template-columns:1fr!important;
    gap:22px!important;
  }
  body.home[data-ewa-theme="brand"] .ewa-testimonials-three .ewa-testimonial-stack-column{width:100%!important;min-width:0!important}
  body.home[data-ewa-theme="brand"] .ewa-testimonials-three .ewa-testimonial-stage-column{
    width:100%!important;
    height:min(112vw,520px)!important;
    min-height:340px!important;
    max-height:520px!important;
    margin-top:14px!important;
  }
  body.home[data-ewa-theme="brand"] .ewa-testimonials-three .ewa-testimonial-stage-column .ewa-testimonial-card{
    width:min(78vw,380px)!important;
    max-width:380px!important;
    max-height:470px!important;
    padding:7px!important;
    border-radius:16px!important;
  }
  body.home[data-ewa-theme="brand"] .ewa-testimonials-three .ewa-testimonial-stack-column .ewa-stack-controls{margin-top:10px!important;gap:10px!important}
  body.home[data-ewa-theme="brand"] .ewa-testimonials-three .ewa-testimonial-stack-column .ewa-stack-controls button{
    width:auto!important;height:auto!important;min-height:36px!important;padding:7px 11px!important;border-radius:10px!important;font-size:11px!important
  }
  body.home[data-ewa-theme="brand"] .ewa-testimonials-three .ewa-testimonial-stack-column .ewa-stack-controls [data-stack-prev]::before,
  body.home[data-ewa-theme="brand"] .ewa-testimonials-three .ewa-testimonial-stack-column .ewa-stack-controls [data-stack-next]::before{content:none!important}
  body.home[data-ewa-theme="brand"] .ewa-testimonials-three .ewa-testimonial-stack-column .ewa-stack-controls span{font-size:10px!important}

  /* 4. News Corner + Posts: two cards visible per mobile row. */
  body.home[data-ewa-theme="brand"] :is(.ewa-news-section,.ewa-posts-section) .ewa-slider-track{gap:10px!important}
  body.home[data-ewa-theme="brand"] :is(.ewa-news-section,.ewa-posts-section) :is(.ewa-news-card,.ewa-post-card){
    flex:0 0 calc((100% - 10px)/2)!important;
    min-width:0!important;
    display:block!important;
    border-radius:14px!important;
  }
  body.home[data-ewa-theme="brand"] :is(.ewa-news-section,.ewa-posts-section) :is(.ewa-news-card-link,.ewa-post-card){min-width:0!important}
  body.home[data-ewa-theme="brand"] :is(.ewa-news-section,.ewa-posts-section) :is(.ewa-news-image,.ewa-post-image){
    width:100%!important;min-height:0!important;height:auto!important;aspect-ratio:1/1!important;max-height:none!important;display:block!important
  }
  body.home[data-ewa-theme="brand"] :is(.ewa-news-section,.ewa-posts-section) :is(.ewa-news-image,.ewa-post-image) img{width:100%!important;height:100%!important;object-fit:cover!important}
  body.home[data-ewa-theme="brand"] :is(.ewa-news-section,.ewa-posts-section) :is(.ewa-news-body,.ewa-post-body){padding:10px!important}
  body.home[data-ewa-theme="brand"] :is(.ewa-news-section,.ewa-posts-section) :is(.ewa-news-body,.ewa-post-body) h3{font-size:14px!important;line-height:1.25!important;margin-bottom:8px!important;overflow-wrap:anywhere}
  body.home[data-ewa-theme="brand"] .ewa-post-body p{font-size:10px!important;line-height:1.35!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  body.home[data-ewa-theme="brand"] :is(.ewa-news-read,.ewa-course-link,.ewa-post-date){font-size:9px!important}
  body.home[data-ewa-theme="brand"] :is(.ewa-news-section,.ewa-posts-section) .ewa-slider-btn{width:30px!important;height:30px!important;min-height:30px!important}

  /* 5. Compact One-on-One Video Session on mobile only. */
  body.home[data-ewa-theme="brand"] .ewa-video-session-strip{padding:18px 0 24px!important}
  body.home[data-ewa-theme="brand"] .ewa-video-session-box{border-radius:18px!important;grid-template-columns:1fr!important;height:auto!important;aspect-ratio:auto!important}
  body.home[data-ewa-theme="brand"] .ewa-video-session-copy{padding:18px 16px 14px!important}
  body.home[data-ewa-theme="brand"] .ewa-video-session-badge{font-size:8px!important;padding:6px 8px!important;gap:5px!important}
  body.home[data-ewa-theme="brand"] .ewa-video-session-box h2{font-size:clamp(26px,8.4vw,36px)!important;line-height:1.02!important;margin:12px 0 10px!important;letter-spacing:-.03em!important}
  body.home[data-ewa-theme="brand"] .ewa-video-session-box p{font-size:11px!important;line-height:1.45!important;margin:0!important}
  body.home[data-ewa-theme="brand"] .ewa-video-benefits{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px 0!important;margin-top:16px!important}
  body.home[data-ewa-theme="brand"] .ewa-video-benefits>div{min-height:42px!important;padding:0 8px!important;gap:7px!important}
  body.home[data-ewa-theme="brand"] .ewa-video-benefits>div:nth-child(odd){padding-left:0!important}
  body.home[data-ewa-theme="brand"] .ewa-video-benefits b{width:30px!important;height:30px!important;min-width:30px!important;font-size:11px!important}
  body.home[data-ewa-theme="brand"] .ewa-video-benefits span{font-size:10px!important;line-height:1.1!important}
  body.home[data-ewa-theme="brand"] .ewa-video-session-side{height:auto!important;min-height:0!important;padding:10px 16px 16px!important;background:#07192d!important}
  body.home[data-ewa-theme="brand"] .ewa-video-session-photo{display:none!important}
  body.home[data-ewa-theme="brand"] .ewa-video-session-side:before{display:none!important}
  body.home[data-ewa-theme="brand"] .ewa-video-session-action .ewa-btn{min-height:44px!important;border-radius:12px!important;font-size:13px!important;gap:8px!important}
  body.home[data-ewa-theme="brand"] .ewa-video-session-action small{font-size:7px!important;line-height:1.35!important;margin-top:8px!important}

  /* 6. Footer: brand full-width, Explore + Contact side-by-side. */
  body[data-ewa-theme="brand"] .ewa-footer{padding:34px 0 18px!important}
  body[data-ewa-theme="brand"] .ewa-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:22px 18px!important}
  body[data-ewa-theme="brand"] .ewa-footer-grid>div:first-child{grid-column:1/-1!important}
  body[data-ewa-theme="brand"] .ewa-footer-grid>div:nth-child(2),
  body[data-ewa-theme="brand"] .ewa-footer-grid>div:nth-child(3){min-width:0!important}
  body[data-ewa-theme="brand"] .ewa-footer-grid h3{font-size:14px!important;margin-bottom:12px!important}
  body[data-ewa-theme="brand"] .ewa-footer-grid a,body[data-ewa-theme="brand"] .ewa-footer-grid span,body[data-ewa-theme="brand"] .ewa-footer-grid p{font-size:12px!important;overflow-wrap:anywhere}
  body[data-ewa-theme="brand"] .ewa-footer-bottom{margin-top:22px!important;padding-top:14px!important;gap:5px!important;font-size:11px!important}

  /* 7. Mobile slider pagination is a dot, never a tall pill; keep adjacent sections tight. */
  body.home[data-ewa-theme="brand"] .ewa-slider-dots{margin-top:10px!important;min-height:8px!important;line-height:0!important}
  body.home[data-ewa-theme="brand"] .ewa-slider-dots button{
    width:7px!important;height:7px!important;min-width:7px!important;min-height:7px!important;max-width:7px!important;max-height:7px!important;
    padding:0!important;margin:0!important;border-radius:50%!important;line-height:0!important
  }
  body.home[data-ewa-theme="brand"] .ewa-news-section{padding-bottom:0!important}
  body.home[data-ewa-theme="brand"] .ewa-news-section + .ewa-posts-section{padding-top:16px!important}
  body.home[data-ewa-theme="brand"] .ewa-posts-section{padding-bottom:0!important}
  body.home[data-ewa-theme="brand"] .ewa-posts-section + .ewa-arena-strip{padding-top:16px!important}
}

/* EWA v3.3.0 — isolated mobile lesson content-card readability fix */
@media(max-width:620px){
 body[data-ewa-theme="brand"] .ewa-player-blocks{gap:12px!important}
 body[data-ewa-theme="brand"] .ewa-player-block{min-width:0!important;width:100%!important}
 body[data-ewa-theme="brand"] .ewa-player-block .ewa-lesson-block-button{
   width:100%!important;
   min-width:0!important;
   box-sizing:border-box!important;
   display:grid!important;
   grid-template-columns:minmax(0,1fr) auto!important;
   grid-template-areas:"type type" "title open"!important;
   align-items:end!important;
   gap:8px 12px!important;
   min-height:0!important;
   padding:14px 13px!important;
 }
 body[data-ewa-theme="brand"] .ewa-player-block .ewa-lesson-block-button>.ewa-block-type{
   grid-area:type!important;
   width:auto!important;
   min-width:0!important;
   font-size:10px!important;
   line-height:1.3!important;
   white-space:normal!important;
   overflow-wrap:normal!important;
   word-break:normal!important;
 }
 body[data-ewa-theme="brand"] .ewa-player-block .ewa-lesson-block-button>strong{
   grid-area:title!important;
   min-width:0!important;
   width:100%!important;
   font-size:14px!important;
   line-height:1.3!important;
   white-space:normal!important;
   overflow-wrap:break-word!important;
   word-break:normal!important;
   hyphens:none!important;
 }
 body[data-ewa-theme="brand"] .ewa-player-block .ewa-lesson-block-button>span:last-child{
   grid-area:open!important;
   align-self:end!important;
   justify-self:end!important;
   margin:0!important;
   font-size:11px!important;
   line-height:1.3!important;
   white-space:nowrap!important;
 }
}
