/* Mahara Next LMS · Version 3.0 · light, scoped, RTL-first */
.mh-app,.mh-float-root{--mh-primary:#205b49;--mh-gold:#bd985c;--mh-ink:#172821;--mh-muted:#738179;--mh-border:#e5ebe7;--mh-bg:#fff;--mh-soft:#f6f9f7;font-family:'Tajawal',Arial,sans-serif!important;color:var(--mh-ink);box-sizing:border-box;direction:rtl;line-height:1.6;text-align:right}
.mh-app *, .mh-app *::before,.mh-app *::after,.mh-float-root *{box-sizing:border-box}
.mh-app{background:#fff;width:100%;max-width:1280px;margin:22px auto 70px;padding:0 22px;font-size:16px}
.mh-app h1,.mh-app h2,.mh-app h3,.mh-app h4,.mh-float-root h3{margin:0;color:var(--mh-ink);font-family:'Tajawal',Arial,sans-serif;font-weight:800;line-height:1.35}
.mh-app p{margin:8px 0;color:var(--mh-muted)}.mh-app a{text-decoration:none!important;color:inherit}.mh-app button,.mh-float-root button,.mh-app input,.mh-app textarea{font-family:inherit}.mh-app button{cursor:pointer}.mh-app button:disabled{opacity:.55;cursor:wait}.mh-app a:focus-visible,.mh-app button:focus-visible,.mh-float-root button:focus-visible{outline:3px solid var(--mh-gold);outline-offset:3px}
.mh-eyebrow{display:inline-flex;align-items:center;gap:6px;font-size:13px;letter-spacing:1px;color:#f4dfb8;font-weight:900}.mh-eyebrow-dark{color:#a37c40}.mh-btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:12px 21px;border-radius:13px;border:1px solid transparent;font-size:14px;font-weight:900;text-align:center;line-height:1.2;min-height:43px;transition:transform .2s ease,box-shadow .2s ease,background .2s ease;text-decoration:none;cursor:pointer}.mh-btn:hover{transform:translateY(-2px)}.mh-btn-primary{background:var(--mh-primary);color:#fff!important;box-shadow:0 9px 18px rgba(32,91,73,.14)}.mh-btn-primary:hover{background:#144132;color:#fff}.mh-btn-white{background:#fff;color:#154b3a!important}.mh-btn-outline{background:#fff;color:var(--mh-primary)!important;border-color:#d9e7dd}.mh-btn-block{width:100%}
.mh-catalog-hero,.mh-detail-hero{background:linear-gradient(117deg,#0e3f31 0%,#23664e 65%,#337458 100%);border-radius:26px;display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr);gap:30px;padding:52px 56px;position:relative;overflow:hidden;color:white;isolation:isolate}.mh-catalog-hero::before,.mh-detail-hero::before{content:'';position:absolute;inset:auto -60px -150px auto;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,rgba(227,197,137,.25),transparent 72%);z-index:-1}.mh-catalog-hero h1,.mh-detail-hero h1{font-size:clamp(32px,3.8vw,51px);color:#fff;letter-spacing:-1.1px;margin:14px 0}.mh-catalog-hero h1 em{color:#efd7a0;font-style:normal}.mh-catalog-hero p,.mh-detail-hero p{color:#ddede3;max-width:620px;font-size:18px;line-height:1.9}.mh-hero-links{display:flex;flex-wrap:wrap;align-items:center;gap:22px;margin-top:24px}.mh-hero-trust{font-size:12px;color:#e5eedd}.mh-hero-art{min-height:224px;position:relative;display:grid;place-items:center}.mh-art-orb{width:190px;height:190px;border-radius:50%;display:grid;place-items:center;font-size:88px;color:#f7e2af;background:linear-gradient(145deg,rgba(235,200,134,.35),rgba(235,200,134,.06));border:1px solid rgba(255,255,255,.25);transform:rotate(-15deg);animation:mh-float 5s ease-in-out infinite}.mh-art-card{position:absolute;left:0;bottom:0;background:white;color:var(--mh-ink);padding:16px 18px;border-radius:16px;box-shadow:0 20px 38px rgba(0,0,0,.2);min-width:168px}.mh-art-card strong,.mh-art-card span{display:block}.mh-art-card strong{font-size:18px}.mh-art-card span{font-size:12px;color:var(--mh-muted)}.mh-art-bars{display:flex;gap:5px;align-items:end;height:26px;margin-top:10px}.mh-art-bars b{background:#76a58e;width:27px;border-radius:4px;height:10px}.mh-art-bars b:nth-child(2){height:18px}.mh-art-bars b:nth-child(3){height:15px}.mh-art-bars b:nth-child(4){height:26px;background:var(--mh-gold)}
.mh-section-header{display:flex;justify-content:space-between;align-items:end;gap:24px;margin:50px 0 25px}.mh-section-header h2,.mh-panel-head h2{font-size:clamp(22px,2.7vw,31px);margin:7px 0}.mh-course-quantity{font-size:15px;background:#e5f0e9;color:var(--mh-primary);border-radius:50px;padding:2px 10px;vertical-align:middle}.mh-section-header p{margin:0}.mh-search-box{display:flex;align-items:center;gap:8px;min-width:min(310px,100%);border:1px solid var(--mh-border);padding:0 12px;border-radius:12px;background:#fff;min-height:48px}.mh-search-box span{font-size:25px;color:var(--mh-primary)}.mh-search-box input{outline:none;border:0!important;background:transparent;width:100%;box-shadow:none!important;font-size:14px;text-align:right;color:var(--mh-ink)}
.mh-course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.mh-course-card{border:1px solid var(--mh-border);border-radius:20px;background:#fff;overflow:hidden;box-shadow:0 8px 30px rgba(34,60,49,.045);transition:transform .25s,box-shadow .25s;display:flex;flex-direction:column;min-width:0}.mh-course-card:hover{transform:translateY(-5px);box-shadow:0 20px 48px rgba(34,60,49,.12)}.mh-course-cover{aspect-ratio:1.7;display:block;position:relative;overflow:hidden;background:#e9efea}.mh-course-cover img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s}.mh-course-card:hover .mh-course-cover img{transform:scale(1.05)}.mh-cover-tag{position:absolute;top:13px;right:13px;background:#fff;font-weight:800;font-size:11px;border-radius:50px;padding:6px 11px;color:#25573f;box-shadow:0 4px 20px #1728212b}.mh-course-body{padding:22px;display:flex;flex:1;flex-direction:column}.mh-course-overline{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:#a18450;font-weight:800}.mh-course-overline span:last-child{color:var(--mh-muted)}.mh-course-body h3{font-size:20px;line-height:1.5;margin:10px 0}.mh-course-body h3 a:hover{color:var(--mh-primary)}.mh-course-body p{font-size:13px;line-height:1.9;min-height:55px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.mh-meta{display:flex;flex-wrap:wrap;gap:18px;color:#6d7971;font-size:12px;font-weight:700;margin:12px 0 20px}.mh-card-bottom{margin-top:auto;padding-top:16px;border-top:1px solid var(--mh-border);display:flex;align-items:center;justify-content:space-between;gap:10px}.mh-card-bottom .mh-btn{padding:11px 15px;font-size:12px;min-height:40px}.mh-price{display:flex;align-items:start;gap:7px;flex-direction:column}.mh-price strong{font-size:23px;color:var(--mh-ink);font-weight:900}.mh-price del{font-size:12px;color:#98a39a}.mh-price .mh-green{font-size:16px;color:var(--mh-primary)}.mh-empty{border:1px dashed var(--mh-border);padding:30px;margin-top:20px;text-align:center;border-radius:14px}
.mh-breadcrumb{display:flex;gap:9px;align-items:center;color:#7b887f;font-size:13px;margin:25px 0}.mh-breadcrumb a:hover{color:var(--mh-primary)}.mh-detail-hero{padding:32px 38px;grid-template-columns:minmax(0,1fr) minmax(180px,300px);align-items:center}.mh-detail-hero h1{font-size:clamp(27px,3vw,41px)}.mh-detail-img{justify-self:end;width:100%;max-width:265px;aspect-ratio:1.3;border-radius:18px;overflow:hidden;box-shadow:0 16px 35px #0c2b2059}.mh-detail-img img{width:100%;height:100%;object-fit:cover}.mh-detail-stats{display:flex;gap:14px;flex-wrap:wrap;font-weight:800;font-size:13px;margin-top:25px;color:#f5e9ce}.mh-progress-line{max-width:460px;margin-top:20px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px}.mh-progress-track,.mh-my-progress{height:8px;border-radius:99px;background:#ffffff55;width:100%;overflow:hidden}.mh-progress-track b,.mh-my-progress b{background:#e8c78e;display:block;height:100%;border-radius:99px;transition:width .25s}.mh-detail-columns{display:grid;grid-template-columns:minmax(0,1fr) 315px;gap:24px;margin-top:30px;align-items:start}.mh-panel{background:#fff;border:1px solid var(--mh-border);padding:28px;border-radius:19px;margin-bottom:24px;box-shadow:0 5px 22px #1a443308}.mh-description{font-size:16px;line-height:2!important;color:#66766c!important;white-space:pre-wrap}.mh-panel-head{margin-bottom:22px}.mh-panel-head p{margin:0}.mh-module{border:1px solid var(--mh-border);border-radius:14px;overflow:hidden;margin-top:12px;background:#fff}.mh-module[open]{border-color:#cadbd0;background:#fdfefd}.mh-module summary{cursor:pointer;display:flex;gap:14px;align-items:center;padding:18px;list-style:none}.mh-module summary::-webkit-details-marker{display:none}.mh-module-index{border:1px solid #e0eae3;border-radius:9px;background:#f3f7f5;color:var(--mh-primary);padding:8px 10px;font-weight:900}.mh-module-title{min-width:0;flex:1}.mh-module-title strong,.mh-module-title small{display:block}.mh-module-title strong{font-size:16px;overflow-wrap:anywhere}.mh-module-title small{font-size:12px;color:var(--mh-muted);margin-top:3px}.mh-module-arrow{font-size:25px;transition:transform .2s}.mh-module[open] .mh-module-arrow{transform:rotate(180deg)}.mh-module-content{border-top:1px solid var(--mh-border);padding:9px 16px 16px}.mh-lesson{display:flex;align-items:center;gap:11px;border-bottom:1px solid #ecf0ed;padding:13px 2px;min-width:0}.mh-lesson:last-child{border-bottom:0}.mh-lesson-icon{flex:0 0 32px;width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#eaf2ec;color:#3b7960;font-size:12px}.mh-lesson-info{flex:1;min-width:0}.mh-lesson-info>strong{font-size:13px;font-weight:800;overflow-wrap:anywhere}.mh-lesson-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.mh-link-button,.mh-complete{font-size:11px!important;font-weight:800!important;color:var(--mh-primary)!important;border:1px solid #ccddd2!important;border-radius:40px!important;padding:6px 10px!important;background:#fff!important;line-height:1.4!important;min-height:28px!important}.mh-complete.is-done{background:#e6f3ea!important}.mh-locked,.mh-url-missing{font-size:11px;color:#89948a;white-space:nowrap}.mh-resource-link{display:inline-flex;background:#eaf4ee;border-radius:9px;color:var(--mh-primary)!important;font-weight:800;font-size:13px;padding:10px 12px;margin:10px 0}.mh-module-offer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 0 2px;flex-wrap:wrap;font-size:13px;color:#617267}.mh-module-offer .mh-btn{font-size:12px}.mh-attachments{padding:12px 0;display:flex;flex-direction:column;gap:7px}.mh-attachments h4{font-size:14px!important;color:var(--mh-primary)!important}.mh-attachments a{font-size:12px!important;color:var(--mh-primary)!important;background:#f3f7f5;border:1px solid #e2eee5;padding:9px 12px;border-radius:9px;align-self:flex-start;overflow-wrap:anywhere}.mh-lesson-info .mh-attachments{padding:4px 0}.mh-lesson-info .mh-attachments a{font-size:11px!important;background:#fff;padding:3px 5px;border:0}.mh-checkout-card{position:sticky;top:35px;border:1px solid var(--mh-border);border-radius:20px;overflow:hidden;background:#fff;box-shadow:0 12px 40px #1b473014}.mh-checkout-card>img{width:100%;aspect-ratio:1.7;object-fit:cover}.mh-checkout-inner{padding:22px}.mh-checkout-inner h3{margin:15px 0 7px}.mh-checkout-price{font-size:38px;font-weight:900;color:var(--mh-ink);direction:ltr;text-align:right}.mh-checkout-price del{font-size:15px;font-weight:500;color:#a4ada5;margin-left:9px}.mh-small-muted,.mh-fineprint{font-size:12px!important;color:#88948c!important}.mh-fineprint{text-align:center}.mh-owned-badge{display:inline-block;color:var(--mh-primary);background:#e9f3ed;border-radius:99px;padding:5px 10px;font-size:12px;font-weight:800}.mh-check-list{display:flex;flex-direction:column;gap:9px;font-size:13px;color:#718177;margin-top:18px;border-top:1px solid var(--mh-border);padding-top:18px}
.mh-dashboard{padding-top:8px}.mh-profile-cover{height:180px;background:linear-gradient(120deg,#0e4032,#397b60);border-radius:22px;position:relative;overflow:hidden;padding:25px}.mh-profile-cover::before,.mh-profile-cover::after{content:'';position:absolute;border:1px solid #ffffff35;border-radius:50%;width:350px;height:350px;left:8%;top:-160px}.mh-profile-cover::after{left:19%;top:-80px;width:190px;height:190px}.mh-cover-glow{font-size:135px;color:#d5ae6e55;position:absolute;left:20%;top:-40px}.mh-profile-cover-label{color:#f4e2ba;font-size:12px;letter-spacing:3px;font-weight:800}.mh-profile-intro{display:flex;gap:20px;align-items:center;margin-top:-50px;padding:0 28px 24px;position:relative;z-index:1}.mh-avatar{width:114px;height:114px;object-fit:cover;border-radius:50%;border:6px solid #fff;background:#fff;box-shadow:0 4px 18px #244b3a20}.mh-profile-name{flex:1;padding-top:44px}.mh-profile-name h1{font-size:29px}.mh-profile-name p{margin-top:2px}.mh-profile-intro>.mh-btn{margin-top:43px}.mh-stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px;margin:0 0 25px}.mh-stat{display:grid;grid-template-columns:40px 1fr;column-gap:11px;align-items:center;border:1px solid var(--mh-border);background:#fff;border-radius:15px;padding:17px}.mh-stat span{width:39px;height:39px;grid-row:span 2;display:grid;place-items:center;background:#eff6f1;color:var(--mh-primary);border-radius:12px;font-size:22px}.mh-stat strong{font-size:25px;font-weight:900}.mh-stat small{font-size:12px;color:#7a8b7f}.mh-dashboard-layout{display:grid;grid-template-columns:215px minmax(0,1fr);gap:22px}.mh-dashboard-nav{border:1px solid var(--mh-border);background:#fff;border-radius:16px;padding:12px;align-self:start;display:flex;flex-direction:column;gap:6px}.mh-dashboard-nav a,.mh-dashboard-nav button{border:0;text-align:right;padding:13px 14px;border-radius:10px;color:#5b7063;background:#fff;font-size:14px;font-weight:800;cursor:pointer;width:100%}.mh-dashboard-nav :is(a,button):hover,.mh-dashboard-nav button.is-active{background:#ecf5ef;color:var(--mh-primary)}.mh-dashboard-sections{background:#fff;border:1px solid var(--mh-border);border-radius:18px;padding:26px;min-width:0}.mh-my-courses{display:flex;flex-direction:column;gap:13px}.mh-my-card{display:flex;align-items:center;gap:18px;padding:15px;border:1px solid var(--mh-border);border-radius:14px}.mh-my-card>img{width:100px;height:85px;object-fit:cover;border-radius:10px}.mh-my-info{flex:1;min-width:0}.mh-my-info h3{font-size:16px;overflow-wrap:anywhere}.mh-my-info p,.mh-my-info span{font-size:12px}.mh-my-progress{background:#eaf0e8;max-width:300px;margin:6px 0}.mh-my-progress b{background:#469574}.mh-my-card>.mh-btn{font-size:12px}.mh-zero{border:1px dashed #c5dacb;background:#f8faf8;border-radius:16px;text-align:center;padding:45px 20px}.mh-zero>div{font-size:50px;color:var(--mh-gold)}.mh-zero h3{margin:10px}.mh-info-list{display:grid;gap:10px;margin-bottom:20px}.mh-info-list div{border-bottom:1px solid var(--mh-border);padding:12px 0;display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap}.mh-info-list span{color:var(--mh-muted)}.mh-order-list{display:flex;flex-direction:column}.mh-order-list>div{display:flex;gap:14px;justify-content:space-between;align-items:center;flex-wrap:wrap;padding:12px;border-bottom:1px solid var(--mh-border)}.mh-order-list a{color:var(--mh-primary)}
.mh-login{max-width:480px;padding:45px 30px;margin-top:40px;border:1px solid var(--mh-border);border-radius:22px;box-shadow:0 15px 50px #143c2920}.mh-login h1{font-size:29px;margin:15px 0}.mh-login form{display:flex;flex-direction:column;gap:6px;margin:24px 0}.mh-login form label{font-weight:800}.mh-login form input:not([type=checkbox]){width:100%;border:1px solid var(--mh-border);border-radius:10px;padding:13px}.mh-login form input[type=submit]{background:var(--mh-primary);color:#fff;font-weight:900;cursor:pointer}.mh-login-links{display:flex;justify-content:space-between;gap:20px}.mh-login-links a,.mh-notice a{color:var(--mh-primary)}.mh-notice{padding:30px!important}
.mh-modal[hidden],.mh-floating-panel[hidden],.mh-dashboard-sections [hidden],.mh-empty[hidden]{display:none!important}.mh-modal{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:20px}.mh-modal-shade{position:absolute;inset:0;background:#0c2019a8;backdrop-filter:blur(5px)}.mh-modal-content{position:relative;background:#fff;width:min(100%,490px);max-height:90vh;overflow:auto;border-radius:22px;padding:30px;box-shadow:0 25px 90px #0005;animation:mh-appear .3s ease}.mh-modal-content h2{font-size:26px}.mh-modal-content form{display:flex;flex-direction:column;gap:13px;margin-top:20px}.mh-modal-content form label{font-size:13px;color:#54675b;font-weight:800}.mh-modal-content form input,.mh-modal-content form textarea{display:block;margin-top:6px;width:100%;border:1px solid var(--mh-border);border-radius:10px;padding:11px;box-shadow:none;background:#fff;color:var(--mh-ink)}.mh-modal-content form small{font-size:11px;color:var(--mh-muted);display:block;margin-top:3px}.mh-close{position:absolute;top:15px;left:15px;border:0;background:#f1f5f1;border-radius:50%;font-size:27px;width:38px;height:38px;line-height:1;cursor:pointer}
.mh-float-root{position:fixed;bottom:22px;left:20px;z-index:999990;font-size:14px}.mh-floating-trigger{background:var(--mh-primary);color:white;border:none;border-radius:60px;box-shadow:0 10px 35px #15452e55;padding:12px 18px;font-weight:900;display:flex;align-items:center;gap:8px;cursor:pointer;animation:mh-up .5s}.mh-floating-trigger>span{font-size:21px;color:#f4dcae}.mh-floating-trigger b{font-size:11px;background:#fff3;border-radius:50%;height:21px;min-width:21px;display:grid;place-items:center}.mh-floating-panel{position:absolute;bottom:62px;left:0;width:min(365px,calc(100vw - 28px));background:white;border:1px solid #e0e8e1;padding:17px;border-radius:20px;box-shadow:0 20px 75px #1738283b;animation:mh-appear .22s}.mh-floating-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e8efea;padding:0 0 14px}.mh-floating-head strong,.mh-floating-head small{display:block}.mh-floating-head small{color:var(--mh-muted);font-size:12px}.mh-floating-head button{border:0;background:#eef3ee;width:30px;height:30px;border-radius:50%;font-size:25px;cursor:pointer}.mh-floating-list{max-height:260px;overflow:auto;margin:10px 0}.mh-floating-list a{display:flex;align-items:center;gap:11px;padding:11px 0;border-bottom:1px solid #f0f3f0;color:var(--mh-ink)!important}.mh-floating-list img{width:48px;height:48px;object-fit:cover;border-radius:10px}.mh-floating-list span{flex:1}.mh-floating-list strong{display:block;font-size:12px;line-height:1.6}.mh-floating-list small{color:var(--mh-muted);font-size:11px}.mh-floating-list p,.mh-floating-message{font-size:13px;color:var(--mh-muted);padding:12px 0}.mh-floating-explore{display:block;text-align:center;color:var(--mh-primary);padding:12px 0 0;font-weight:800}.mh-congrats{position:fixed;inset:0;background:#071b14a8;display:grid;place-items:center;z-index:9999999;max-width:none;margin:0;padding:18px;text-align:center}.mh-congrats>div{background:#fff;padding:38px;border-radius:26px;max-width:440px;width:100%;position:relative;box-shadow:0 30px 80px #0005;animation:mh-appear .45s}.mh-congrats>div>span{font-size:66px;display:block}.mh-congrats h2{font-size:28px;margin-top:8px}.mh-congrats>div>button{position:absolute;top:10px;left:16px;background:none;border:0;font-size:28px}.mh-congrats .mh-btn{margin-top:13px}
@keyframes mh-float{50%{transform:translateY(-9px) rotate(-5deg)}}@keyframes mh-appear{from{opacity:0;transform:translateY(15px) scale(.98)}to{opacity:1;transform:none}}@keyframes mh-up{from{transform:translateY(30px);opacity:0}to{transform:none;opacity:1}}
@media(max-width:1050px){.mh-course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mh-detail-columns{grid-template-columns:minmax(0,1fr) 270px}.mh-detail-hero{padding:30px}.mh-catalog-hero{padding:40px}}
@media(max-width:750px){.mh-app{padding:0 13px;margin:15px auto 60px}.mh-catalog-hero,.mh-detail-hero{grid-template-columns:1fr;padding:33px 24px;border-radius:18px}.mh-catalog-hero h1{font-size:33px}.mh-catalog-hero p,.mh-detail-hero p{font-size:15px}.mh-hero-art{display:none}.mh-section-header{flex-direction:column;align-items:stretch;margin:35px 0 20px}.mh-section-header .mh-search-box{width:100%}.mh-course-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.mh-course-body{padding:13px}.mh-course-body h3{font-size:16px}.mh-course-body p{font-size:12px;min-height:48px}.mh-card-bottom{align-items:stretch;flex-direction:column}.mh-card-bottom .mh-btn{width:100%}.mh-price{flex-direction:row;align-items:center}.mh-price strong{font-size:19px}.mh-meta{gap:10px}.mh-detail-img{display:none}.mh-detail-columns{grid-template-columns:1fr}.mh-checkout-card{position:static;grid-row:1}.mh-checkout-card>img{display:none}.mh-checkout-inner{padding:20px}.mh-panel{padding:18px}.mh-module summary{padding:13px}.mh-lesson{align-items:flex-start;flex-wrap:wrap}.mh-lesson-actions{width:100%;padding-right:40px;justify-content:flex-start}.mh-profile-intro{padding:0 12px 20px;gap:11px;flex-wrap:wrap}.mh-avatar{width:82px;height:82px;border-width:4px}.mh-profile-name{padding-top:45px;flex-basis:calc(100% - 110px)}.mh-profile-name h1{font-size:20px}.mh-profile-name p{font-size:12px}.mh-profile-intro>.mh-btn{margin:0 0 0 auto}.mh-profile-cover{height:145px}.mh-dashboard-layout{grid-template-columns:1fr}.mh-dashboard-nav{flex-direction:row;flex-wrap:wrap}.mh-dashboard-nav>*{width:auto!important;flex:1;white-space:nowrap;text-align:center!important;font-size:12px!important}.mh-stats-grid{gap:8px}.mh-stat{padding:11px;grid-template-columns:1fr;gap:5px;text-align:center}.mh-stat span{grid-row:auto;margin:auto}.mh-stat strong{font-size:21px}.mh-dashboard-sections{padding:18px}.mh-my-card{flex-wrap:wrap;gap:10px}.mh-my-card img{width:70px;height:70px}.mh-my-info{flex-basis:calc(100% - 90px)}.mh-my-card>.mh-btn{width:100%}.mh-float-root{left:12px;bottom:12px}.mh-floating-trigger{padding:10px 15px}}
@media(max-width:450px){.mh-course-grid{grid-template-columns:1fr}.mh-course-cover{aspect-ratio:1.8}.mh-card-bottom{flex-direction:row;align-items:center}.mh-card-bottom .mh-btn{width:auto}.mh-course-body{padding:17px}.mh-course-body h3{font-size:18px}.mh-price{flex-direction:column;align-items:flex-start}.mh-dashboard-nav>*{flex:1 1 42%}.mh-module-index{padding:6px}.mh-module-title strong{font-size:14px}}
@media(prefers-reduced-motion:reduce){.mh-app *, .mh-float-root *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.mh-carousel{padding-top:1px}.mh-carousel .mh-section-header{margin-top:18px}.mh-carousel-controls{display:flex;gap:8px}.mh-carousel-controls button{border:1px solid var(--mh-border);border-radius:50%;width:42px;height:42px;background:#fff;color:var(--mh-primary);font-size:21px;cursor:pointer;transition:background .2s}.mh-carousel-controls button:hover{background:#eaf4ed}.mh-carousel-track{display:flex;gap:21px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;padding:4px 4px 22px}.mh-carousel-track .mh-course-card{flex:0 0 clamp(255px,31%,370px);scroll-snap-align:start}.mh-carousel-track .mh-course-body{min-height:210px}.mh-carousel-track .mh-course-body p{min-height:45px}@media(max-width:750px){.mh-carousel-track .mh-course-card{flex-basis:78%}.mh-carousel .mh-section-header{flex-direction:row;align-items:center}.mh-carousel .mh-section-header p{display:none}}
/* Mahara V4 promotion edition. Scoped, accessible, responsive, RTL. */
.mh-shop,.mh-offer-detail{--mh-hot:#e9304e;--mh-hot-deep:#bd1837;--mh-forest:#114b3b;--mh-gold:#be9355;background:#fff!important;max-width:1360px!important;margin:24px auto 80px!important;padding:0 22px!important}
.mh-shop-banner{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(230px,.55fr);gap:24px;align-items:center;position:relative;isolation:isolate;overflow:hidden;padding:44px clamp(22px,4vw,65px);border-radius:32px;background:radial-gradient(circle at 10% 20%,#2d8e6d 0%,transparent 38%),linear-gradient(115deg,#071c19,#154f40 66%,#11261e);box-shadow:0 25px 55px #0b40341c;color:#fff}
.mh-shop-banner:before{content:'✧ ✧ ✧';position:absolute;left:3%;top:13%;font-size:100px;letter-spacing:40px;color:#d8bd7c26;z-index:-1;transform:rotate(-15deg)}
.mh-shop-banner .mh-banner-kicker{font-size:14px;font-weight:900;color:#ffe1a9;letter-spacing:.6px;display:inline-flex;border:1px solid #cfb78570;border-radius:40px;padding:8px 16px;background:#ffffff0d}
.mh-shop-banner h1{font-size:clamp(31px,4vw,58px);line-height:1.28;font-weight:900;color:#fff;margin:20px 0 10px}
.mh-shop-banner h1 em{font-style:normal;color:#f8dcaa}
.mh-shop-banner p{font-size:18px;color:#e3f1eb;max-width:700px;line-height:1.9}
.mh-banner-tags{display:flex;flex-wrap:wrap;gap:9px;margin-top:21px}.mh-banner-tags span{background:#ffffff12;color:#f7f8f1;border:1px solid #ffffff20;border-radius:30px;padding:6px 12px;font-size:13px;font-weight:800}
.mh-banner-shape{justify-self:center;display:flex;flex-direction:column;align-items:center;justify-content:center;width:240px;height:240px;border-radius:50%;background:radial-gradient(circle at 32% 22%,#fff2b7 0%,#ebc879 35%,#dba85b 84%);border:9px solid #fff4cb33;box-shadow:0 0 0 8px #e3c58f1b,0 28px 42px #0003;transform:rotate(-7deg);color:#183e31;text-align:center}.mh-banner-shape span{font-size:17px;font-weight:900}.mh-banner-shape strong{font-size:74px;line-height:1;font-weight:900;font-family:'Tajawal',sans-serif}.mh-banner-shape small{font-size:16px;font-weight:800}.mh-banner-shape b{margin-top:12px;padding:5px 13px;border-radius:30px;background:#e6324e;color:#fff;font-size:13px}
.mh-shop-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin:38px 0 20px}.mh-shop-head>div>span{color:#b48a53;font-size:13px;font-weight:900}.mh-shop-head h2{font-size:clamp(25px,3vw,35px);margin:5px 0;color:#133e30!important}.mh-shop-head h2 b{font-weight:900;color:#ee3552}.mh-shop-head p{color:#7a8581;font-size:14px}
.mh-search-field{border:1px solid #e4eae8;background:#fbfbfa;border-radius:15px;padding:10px 15px;display:flex;align-items:center;gap:8px;min-width:250px;font-size:24px;color:#6a8374}.mh-search-field input{border:0;background:transparent;min-width:0;width:100%;outline:none;font-size:14px;color:#153f32}
.mh-offer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.mh-offer-card{position:relative;min-width:0;overflow:hidden;border:2px solid transparent;border-radius:23px;background:linear-gradient(#fff,#fff) padding-box,linear-gradient(105deg,#d3ab77,#e9304e,#218765,#d3ab77) border-box;background-size:100% 100%,250% 100%;animation:mhCardEdge 7s linear infinite;box-shadow:0 11px 35px #0b413311;transition:transform .25s,box-shadow .25s;display:flex;flex-direction:column}
.mh-offer-card:hover{transform:translateY(-6px);box-shadow:0 22px 55px #0b413326}
.mh-offer-cover{display:block;position:relative;width:100%;height:235px;overflow:hidden;background:#e7eee8}.mh-offer-cover img{width:100%;height:100%;object-fit:cover;transition:transform .35s}.mh-offer-card:hover .mh-offer-cover img{transform:scale(1.045)}
.mh-sale-ribbon{position:absolute;right:0;top:16px;background:linear-gradient(125deg,#fe4462,#cc1d3b);padding:9px 20px 9px 25px;border-radius:35px 0 0 35px;color:white;font-size:14px;font-weight:900;box-shadow:0 9px 19px #c71b4166}
.mh-save-circle{position:absolute;left:13px;bottom:12px;background:linear-gradient(145deg,#f9e7bf,#f2c57a);color:#1b4936;border:3px solid #fff;border-radius:50%;width:76px;height:76px;display:flex;align-items:center;flex-direction:column;justify-content:center;box-shadow:0 5px 20px #0004;font-size:12px;font-weight:900;transform:rotate(-12deg);line-height:1.15}.mh-save-circle b{font-size:23px;color:#bd253e}
.mh-offer-body{display:flex;flex-direction:column;flex:1;padding:20px}.mh-mini-label{font-size:11px;color:#b48a53;font-weight:900;letter-spacing:1.5px}.mh-offer-body h3{font-size:21px;line-height:1.4;margin:10px 0 7px;min-height:58px;color:#173e31!important}.mh-offer-body h3 a:hover{color:#dd2e49}.mh-offer-body>p{color:#7b8983;font-size:14px;line-height:1.7;min-height:48px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.mh-offer-specs{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0 18px}.mh-offer-specs span{background:#f2f8f4;color:#366552;border:1px solid #e1ede4;border-radius:25px;padding:5px 10px;font-size:12px;font-weight:800}.mh-offer-specs span:last-child{background:#fff1f3;border-color:#ffdce3;color:#d62a48}
.mh-offer-foot{margin-top:auto;border-top:1px solid #e8eeea;padding-top:15px;display:flex;align-items:center;gap:14px;justify-content:space-between}.mh-offer-prices{display:flex;flex-direction:column;white-space:nowrap}.mh-offer-prices small{font-size:12px;color:#65786f}.mh-offer-prices strong{font-size:31px;color:#0d4a36;font-weight:900;line-height:1.15;direction:ltr}.mh-offer-prices del{font-size:11px;color:#b2a2a3}
.mh-offer-cta{background:linear-gradient(130deg,#e83250,#c51b3a);box-shadow:0 8px 17px #b7204140!important;border-radius:11px;color:#fff!important;font-size:14px;font-weight:900;padding:11px 15px;white-space:nowrap;display:inline-flex;align-items:center;gap:9px;transition:transform .2s}.mh-offer-cta:hover{color:white!important;transform:translateY(-2px)}
.mh-home-offers{margin:14px auto!important}.mh-offer-track{display:flex;overflow-x:auto;gap:20px;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#bea16a #e9eee9;padding:0 1px 24px}.mh-offer-track .mh-offer-card{min-width:min(355px,82vw);max-width:355px;scroll-snap-align:start}.mh-home-offers .mh-shop-head{margin:14px 0 20px}
.mh-offer-detail .mh-breadcrumb{margin:15px 0 21px;padding:0;display:flex;gap:11px;flex-wrap:wrap;color:#62796d;font-size:14px}.mh-offer-detail .mh-breadcrumb a{color:#176c50}
.mh-offer-hero{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.85fr);align-items:stretch;gap:18px;background:#114836;border:1px solid #2e775c;border-radius:28px;padding:26px;overflow:hidden;position:relative}.mh-offer-hero:before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 1% 8%,#51907195,transparent 45%);pointer-events:none}.mh-offer-hero-copy{position:relative;z-index:1;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:20px}.mh-super-offer{background:#e43250;color:#fff;border:1px solid #ffb0bd;border-radius:40px;font-size:13px;font-weight:900;padding:9px 16px;box-shadow:0 5px 18px #741d3244}
.mh-offer-hero h1{color:#fff!important;margin:20px 0 10px;font-size:clamp(30px,4vw,49px);font-weight:900}.mh-offer-hero p{color:#e6f1e9;font-size:17px;line-height:1.95;max-width:670px}.mh-hero-numbers{display:flex;flex-wrap:wrap;gap:9px;margin-top:21px}.mh-hero-numbers span{color:#fff;background:#ffffff1a;border:1px solid #ffffff28;padding:8px 13px;border-radius:30px;font-weight:800;font-size:13px}.mh-offer-hero-photo{position:relative;overflow:hidden;border:2px solid #e1cb9b8a;min-height:310px;border-radius:18px;box-shadow:0 15px 40px #0003}.mh-offer-hero-photo img{width:100%;height:100%;object-fit:cover;display:block}.mh-offer-hero-photo span{position:absolute;bottom:13px;left:13px;background:#0b392ed9;color:#fff;padding:5px 12px;border-radius:30px;font-size:12px;letter-spacing:2px;font-weight:900}
.mh-bundle-strip{margin:18px 0 26px;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:17px 21px;background:linear-gradient(110deg,#fff6ed,#fff1f3);border:1px dashed #eecb9b;border-radius:15px;color:#88532d;font-size:15px;font-weight:900}.mh-bundle-strip strong{color:#c62545;background:white;border:1px solid #ffe0e4;border-radius:30px;padding:5px 12px;font-size:14px}
.mh-detail-market{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:24px;align-items:start}.mh-detail-market main{min-width:0}.mh-offer-detail .mh-panel{border:1px solid #e4ece7;background:#fff;box-shadow:0 7px 24px #0f59310b;border-radius:23px;padding:26px;margin:0 0 23px}.mh-premium-intro h2,.mh-market-title h2{font-size:28px;margin:6px 0 13px;color:#183f33!important}.mh-premium-intro p{font-size:16px;line-height:2;color:#536c5e}.mh-intro-tags{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.mh-intro-tags span{border-radius:30px;background:#f3f8f5;border:1px solid #dce8df;color:#2b6a4d;padding:7px 13px;font-weight:800;font-size:13px}
.mh-market-title{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:24px}.mh-market-title h2 span{color:#cc2747}.mh-market-price-pill{display:inline-flex;white-space:nowrap;background:#ffe5e9;color:#cc2947;border:1px solid #f6bdc5;border-radius:30px;padding:8px 15px;font-size:14px;font-weight:900}.mh-market-title p{font-size:14px;color:#778c7e}
.mh-market-module{margin-bottom:11px!important;box-shadow:none!important;border:1px solid #dfebe3;border-radius:15px;overflow:hidden;background:#fff}.mh-market-module[open]{border-color:#9ab9a8}.mh-market-module>summary{display:flex;align-items:center;cursor:pointer;gap:12px;list-style:none;padding:17px 17px;background:#f7faf8;color:#173d2b}.mh-market-module>summary::-webkit-details-marker{display:none}.mh-module-n{width:36px;height:36px;background:#dcece2;color:#12533b;border-radius:11px;display:grid;place-items:center;font-weight:900}.mh-module-name{display:flex;flex-direction:column;flex:1;gap:3px}.mh-module-name strong{font-size:17px;font-weight:900}.mh-module-name small,.mh-market-module>summary>b{font-size:12px;color:#82978a}.mh-expand-indicator{font-size:24px;font-weight:900;transition:transform .25s}.mh-market-module[open] .mh-expand-indicator{transform:rotate(180deg)}.mh-market-module-body{padding:5px 15px 16px;background:#fff}
.mh-market-file{display:flex;align-items:center;gap:12px;padding:14px 4px;border-bottom:1px solid #eef2ef;min-width:0}.mh-market-file:last-child{border-bottom:0}.mh-market-file-icon{display:grid;place-items:center;border-radius:11px;background:#edf5f0;color:#126144;min-width:38px;height:38px;font-size:14px}.mh-market-file-info{min-width:0;flex:1}.mh-market-file-info strong{font-size:14px;color:#244b3b;font-weight:800;display:block;overflow-wrap:anywhere}.mh-market-file-info small{font-size:12px;color:#83998a}.mh-market-file-action{display:flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:flex-end}.mh-one-dollar{font-size:20px;font-weight:900;color:#1c5a45;direction:ltr}.mh-small-buy{border:1px solid #da405a;border-radius:10px;background:#fff3f5;color:#c92846;padding:9px 11px;font-size:12px;font-weight:900;cursor:pointer;transition:background .2s}.mh-small-buy:hover{background:#e73350;color:#fff}.mh-file-open{display:inline-block;border-radius:10px;background:#195a44;color:#fff!important;padding:9px 14px;font-size:12px;font-weight:800;white-space:nowrap}.mh-file-open:hover{background:#0c3929;color:#fff!important}.mh-not-ready{font-size:12px;color:#8c9691;border-radius:10px;background:#f4f5f5;padding:8px 10px}.mh-file-owned .mh-market-file-icon{background:#d2eddc;color:#147a40}.mh-lesson-check{display:flex;justify-content:flex-end;gap:8px;align-items:center;margin:0 0 9px;padding:0 8px 9px;border-bottom:1px dashed #dfe8df;font-size:12px;color:#647d70}.mh-lesson-check .mh-complete{border:1px solid #b6d6c5;background:#f6fff9;border-radius:8px;color:#176745;padding:6px 10px;font-size:12px;font-weight:800;cursor:pointer}.mh-lesson-check .mh-complete.is-done{background:#e0f4e8}.mh-folder-open{margin-top:12px}.mh-module-upsell{margin-top:13px;border:1px dashed #d9b68a;background:#fffcf6;border-radius:12px;padding:13px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;font-weight:800;font-size:13px;color:#7f684f}
.mh-offer-aside{position:sticky;top:28px}.mh-price-deal{border:2px solid transparent;border-radius:23px;background:linear-gradient(#fff,#fff) padding-box,linear-gradient(110deg,#e83b58,#e9be71,#267b58,#e83b58) border-box;background-size:100% 100%,300% 100%;animation:mhCardEdge 5s linear infinite;padding:23px;box-shadow:0 16px 45px #b6334c18;position:relative;overflow:hidden}.mh-price-deal:before{content:'✧';position:absolute;left:0;top:-36px;font-size:120px;color:#fff1e9;pointer-events:none}.mh-aside-badge{display:inline-flex;background:#e9304e;color:#fff;border-radius:35px;padding:8px 15px;font-weight:900;font-size:13px;position:relative}.mh-price-box-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px}.mh-price-box-head>div{display:flex;flex-direction:column}.mh-price-box-head small{color:#597162;font-size:13px}.mh-price-box-head strong{font-size:52px;color:#143f2f;line-height:1.3;font-weight:900;letter-spacing:-2px;direction:ltr}.mh-big-save{padding:8px 10px;border-radius:15px;transform:rotate(8deg);background:#fff0f2;color:#d62c49;font-size:25px;font-weight:900;border:1px solid #f8bcc5}.mh-compare-price{font-size:14px;color:#728277}.mh-compare-price del{color:#c35464;font-size:18px;font-weight:800;margin:0 5px}.mh-count-savings{background:#f2f9f4;color:#356b50;border-radius:10px;padding:10px;margin:16px 0;font-size:13px;font-weight:800}.mh-bundle-btn{width:100%;display:flex;align-items:center;justify-content:center;cursor:pointer;background:linear-gradient(115deg,#fa4966,#dc2345);color:#fff!important;border:0;border-radius:13px;min-height:56px;padding:15px;font-family:'Tajawal',Arial,sans-serif;font-weight:900;font-size:17px;text-decoration:none;box-shadow:0 12px 22px #d624464a;transition:transform .2s,box-shadow .2s;animation:mhButtonPulse 2.8s infinite}.mh-bundle-btn:hover{transform:translateY(-2px);color:#fff!important}.mh-bundle-btn.mh-disabled{opacity:.5;cursor:not-allowed;animation:none;box-shadow:none}.mh-safe-purchase{font-size:12px!important;color:#779381;text-align:center;padding:10px 2px;margin:0}.mh-aside-points{list-style:none!important;padding:14px 0 0!important;margin:0!important;border-top:1px solid #edf2ef}.mh-aside-points li{margin:0!important;padding:5px 0!important;font-size:13px;font-weight:700;color:#547361}.mh-price-support{font-size:12px;color:#8a897c;line-height:1.7;padding:14px 10px}
.mh-offer-detail .mh-progress-line{margin-top:20px;width:100%;max-width:450px;color:#fff;font-weight:900}.mh-offer-detail .mh-progress-line>strong{color:#fff}.mh-offer-detail .mh-progress-track{background:#ffffff3d}
.mh-route-error{text-align:center!important;padding:90px 25px!important}.mh-route-error h2{font-size:30px}
@keyframes mhCardEdge{0%{background-position:0 0,0% 0}100%{background-position:0 0,250% 0}}@keyframes mhButtonPulse{0%,100%{box-shadow:0 9px 18px #d624463b}50%{box-shadow:0 13px 28px #d6244673}}
@media(max-width:1090px){.mh-offer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mh-detail-market{grid-template-columns:minmax(0,1fr) 290px}.mh-offer-hero-photo{min-height:260px}.mh-banner-shape{width:190px;height:190px}.mh-banner-shape strong{font-size:56px}}
@media(max-width:760px){.mh-shop,.mh-offer-detail{padding:0 13px!important;margin:16px auto 58px!important}.mh-shop-banner{grid-template-columns:1fr;padding:26px 20px;gap:14px;border-radius:20px}.mh-shop-banner h1{font-size:33px}.mh-shop-banner p{font-size:15px}.mh-banner-shape{display:none}.mh-shop-head{align-items:stretch;flex-direction:column;margin:28px 0 16px}.mh-search-field{width:100%;min-width:0}.mh-offer-grid{grid-template-columns:1fr;gap:16px}.mh-offer-cover{height:215px}.mh-offer-body h3{min-height:auto}.mh-offer-body>p{min-height:auto}.mh-offer-track{display:flex}.mh-offer-hero{grid-template-columns:1fr;padding:12px;border-radius:19px}.mh-offer-hero-copy{padding:17px 11px}.mh-offer-hero h1{font-size:30px}.mh-offer-hero p{font-size:15px}.mh-offer-hero-photo{min-height:180px;max-height:300px}.mh-bundle-strip{align-items:flex-start;flex-direction:column;font-size:13px}.mh-detail-market{grid-template-columns:1fr}.mh-offer-aside{position:static;order:-1}.mh-offer-detail .mh-panel{padding:16px;border-radius:15px}.mh-market-title{flex-direction:column;align-items:flex-start}.mh-market-title h2{font-size:23px}.mh-market-file{flex-wrap:wrap;gap:9px}.mh-market-file-action{width:100%;justify-content:flex-end}.mh-module-upsell{flex-direction:column;align-items:flex-start}.mh-price-box-head strong{font-size:41px}}
@media(prefers-reduced-motion:reduce){.mh-offer-card,.mh-price-deal,.mh-bundle-btn{animation:none!important}.mh-app *{scroll-behavior:auto!important;transition:none!important}}
