.aim-front{max-width:900px;margin:30px auto;font-family:system-ui,-apple-system,Segoe UI,sans-serif;color:#172033}.aim-front-head{padding:26px;border-radius:20px;background:linear-gradient(135deg,#0b5cab,#49a5df);color:#fff}.aim-front-head span{font-size:12px;letter-spacing:2px;font-weight:800}.aim-front-head h2{margin:8px 0;color:#fff}.aim-front-head p{margin:0;opacity:.9}.aim-context{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.aim-context label{font-weight:700}.aim-context select{display:block;width:100%;padding:11px;border:1px solid #dbe2ea;border-radius:10px;margin-top:6px}.aim-chat-box{height:480px;overflow:auto;background:#f5f8fb;border:1px solid #e2e8f0;border-radius:16px;padding:16px}.aim-msg{max-width:82%;padding:12px 15px;border-radius:14px;margin:8px 0;white-space:pre-wrap;line-height:1.55}.aim-msg.bot{background:#fff;border:1px solid #e2e8f0}.aim-msg.user{margin-left:auto;background:#0b5cab;color:#fff}.aim-chat-form{display:flex;gap:10px;margin-top:12px}.aim-chat-form textarea{flex:1;min-height:58px;border:1px solid #dbe2ea;border-radius:12px;padding:12px;resize:vertical}.aim-send{border:0;border-radius:12px;padding:0 22px;background:#0b5cab;color:#fff;font-weight:700;cursor:pointer}.aim-send:disabled{opacity:.6}@media(max-width:650px){.aim-context{grid-template-columns:1fr}.aim-chat-form{display:block}.aim-send{height:44px;width:100%;margin-top:8px}.aim-msg{max-width:94%}}
/* Responsive polish for all devices */
.aim-front,.aim-front *{box-sizing:border-box}.aim-front{width:100%;padding:0 12px}.aim-front-head,.aim-context,.aim-chat-box,.aim-chat-form{width:100%;min-width:0}.aim-context{grid-template-columns:repeat(2,minmax(0,1fr))}.aim-context label{min-width:0}.aim-context select{min-height:46px;font-size:16px}.aim-chat-box{overflow-x:hidden;-webkit-overflow-scrolling:touch}.aim-msg{overflow-wrap:anywhere;word-break:break-word}.aim-chat-form textarea{font-size:16px;box-sizing:border-box}.aim-send{min-height:48px}
@media(max-width:650px){.aim-front{margin:14px auto;padding:0 8px}.aim-front-head{padding:20px;border-radius:18px}.aim-front-head h2{font-size:23px;line-height:1.25}.aim-context{grid-template-columns:1fr;gap:10px}.aim-context select{width:100%;min-height:48px}.aim-chat-box{height:min(58vh,480px);padding:10px;border-radius:14px}.aim-msg{max-width:96%;font-size:14px;padding:10px 12px}.aim-chat-form textarea{width:100%;min-height:80px}.aim-send{width:100%;height:48px;margin-top:8px}.aim-front .button{max-width:100%;white-space:normal;line-height:1.35}}
@media(max-width:380px){.aim-front{padding:0 6px}.aim-front-head{padding:17px}.aim-front-head h2{font-size:21px}.aim-chat-box{height:50vh}.aim-msg{font-size:13px}}
/* AI Muallim Academy 2.0 */
.aim-platform{max-width:1180px;margin:24px auto;padding:0 18px;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.aim-platform-hero,.aim-course-hero{padding:42px;border-radius:28px;background:linear-gradient(135deg,#0b4f8a,#1c7ed6);color:#fff;box-shadow:0 18px 50px rgba(15,65,120,.18);margin-bottom:26px}.aim-platform-hero h1,.aim-course-hero h1{font-size:clamp(30px,5vw,52px);margin:12px 0}.aim-platform-hero p,.aim-course-hero p{max-width:760px;font-size:18px;line-height:1.7}.aim-platform-cta{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:12px;padding:12px 18px;background:#ffd43b;color:#17212b;text-decoration:none;font-weight:700;cursor:pointer}.aim-platform-cta.secondary{background:#eef6ff;color:#12548f}.aim-course-grid,.aim-learning-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.aim-course-card,.aim-learning-card,.aim-auth-card,.aim-card{background:#fff;border:1px solid #e5edf5;border-radius:22px;padding:24px;box-shadow:0 10px 30px rgba(20,50,80,.07)}.aim-course-card h2,.aim-learning-card h2{margin:10px 0}.aim-course-level,.aim-live-badge{font-size:12px;font-weight:800;letter-spacing:.08em}.aim-course-meta{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:20px 0}.aim-auth-card{max-width:560px;margin:40px auto}.aim-auth-card label{display:block;font-weight:700;margin:14px 0}.aim-auth-card input,.aim-auth-card select,.aim-auth-card textarea,.aim-platform select,.aim-platform textarea{width:100%;box-sizing:border-box;padding:12px;border:1px solid #ccd8e5;border-radius:10px;margin-top:6px;background:#fff}.aim-alert{background:#fff0f0;border:1px solid #ffc9c9;color:#9b1c1c;border-radius:10px;padding:12px;margin:12px 0}.aim-small{font-size:13px;color:#667085}.aim-dashboard-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:24px}.aim-progress{height:9px;background:#e8eef5;border-radius:999px;overflow:hidden;margin:18px 0 6px}.aim-progress i{display:block;height:100%;background:#1c7ed6}.aim-lesson-layout{display:grid;grid-template-columns:270px minmax(0,1fr);gap:22px}.aim-lesson-list{position:sticky;top:20px;height:max-content;background:#fff;border:1px solid #e5edf5;border-radius:18px;padding:16px}.aim-lesson-list a{display:block;padding:11px;border-radius:9px;text-decoration:none;color:#24435f}.aim-lesson-list a:hover{background:#eef6ff}.aim-lesson{background:#fff;border:1px solid #e5edf5;border-radius:20px;padding:28px;margin-bottom:20px}.aim-lesson-content{line-height:1.8;font-size:16px}.aim-ai-choice{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.aim-course-chat{display:none;margin-top:18px;border-top:1px solid #e5edf5;padding-top:18px}.aim-course-chat.open{display:block}.aim-course-chat-log{max-height:360px;overflow:auto;padding:8px}.aim-course-chat-msg{padding:12px;border-radius:12px;margin:8px 0;background:#f5f8fb}.aim-course-chat-msg.ai{background:#eef6ff}.aim-course-chat-form{display:flex;gap:10px}.aim-course-chat-form textarea{min-height:60px}.aim-enrolled{display:inline-block;background:#dff7e7;color:#116b37;padding:10px 14px;border-radius:10px;font-weight:700}.aim-video{background:#f4f7fa;padding:14px;border-radius:12px;margin:15px 0}@media(max-width:900px){.aim-course-grid,.aim-learning-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.aim-lesson-layout{grid-template-columns:1fr}.aim-lesson-list{position:static}.aim-platform-hero,.aim-course-hero{padding:28px}}@media(max-width:640px){.aim-course-grid,.aim-learning-grid{grid-template-columns:1fr}.aim-platform{padding:0 12px}.aim-platform-hero,.aim-course-hero{padding:24px;border-radius:20px}.aim-platform-hero h1,.aim-course-hero h1{font-size:32px}.aim-dashboard-head{display:block}.aim-dashboard-head .aim-platform-cta{margin-top:12px}.aim-course-chat-form{display:block}.aim-course-chat-form .aim-platform-cta{margin-top:8px;width:100%}.aim-ai-choice .aim-platform-cta{width:100%}}
/* AI Muallim Academy 2.1 - modern public platform */
.aim-academy-shell{max-width:1240px;margin:0 auto;padding:clamp(14px,3vw,28px);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#142033;box-sizing:border-box}.aim-academy-shell *{box-sizing:border-box}.aim-kicker{display:inline-flex;align-items:center;gap:8px;font-size:11px;font-weight:900;letter-spacing:.16em;text-transform:uppercase;color:#2477c9}.aim-home-hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);gap:28px;align-items:center;padding:clamp(28px,5vw,64px);border-radius:34px;background:radial-gradient(circle at 85% 15%,rgba(111,211,255,.35),transparent 28%),linear-gradient(135deg,#062f63,#0b67b6 62%,#28a7df);color:#fff;overflow:hidden;box-shadow:0 24px 70px rgba(7,58,111,.22)}.aim-home-copy h1{font-size:clamp(38px,6vw,68px);line-height:1.02;margin:14px 0 20px;letter-spacing:-.045em;color:#fff}.aim-home-copy h1 em{font-style:normal;color:#ffe16a}.aim-home-copy p{font-size:clamp(16px,2vw,19px);line-height:1.7;max-width:720px;color:rgba(255,255,255,.9)}.aim-home-actions{display:flex;flex-wrap:wrap;gap:12px;margin:26px 0}.aim-platform-cta{min-height:46px}.aim-platform-cta.ghost{background:rgba(255,255,255,.14);color:#fff;border:1px solid rgba(255,255,255,.35);backdrop-filter:blur(8px)}.aim-platform-cta.ghost-dark{background:#edf5ff;color:#164b79}.aim-trust-row{display:flex;gap:14px;flex-wrap:wrap;font-size:12px;color:rgba(255,255,255,.82)}.aim-hero-orb{min-height:340px;display:grid;place-items:center;position:relative}.aim-hero-orb:before,.aim-hero-orb:after{content:"";position:absolute;border:1px solid rgba(255,255,255,.18);border-radius:50%;inset:12%;animation:aimPulse 4s ease-in-out infinite}.aim-hero-orb:after{inset:23%;animation-delay:1s}.aim-orb-inner{position:relative;z-index:2;width:min(250px,70vw);height:min(250px,70vw);border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.28);box-shadow:0 20px 70px rgba(0,0,0,.18);backdrop-filter:blur(12px);text-align:center}.aim-orb-inner span{font-size:64px}.aim-orb-inner strong{font-size:24px}.aim-orb-inner small{opacity:.78;margin-top:6px}.aim-feature-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:18px 0 52px}.aim-feature-strip>div{padding:20px;border:1px solid #e4edf6;background:#fff;border-radius:18px;box-shadow:0 8px 28px rgba(20,50,80,.05)}.aim-feature-strip b,.aim-feature-strip span{display:block}.aim-feature-strip b{font-size:15px}.aim-feature-strip span{font-size:13px;color:#718096;margin-top:6px}.aim-home-section{padding:10px 0 42px}.aim-section-head{display:flex;justify-content:space-between;gap:18px;align-items:end;margin:20px 0}.aim-section-head h2{font-size:clamp(26px,4vw,38px);margin:6px 0;letter-spacing:-.03em}.aim-section-head>a{color:#1671bd;text-decoration:none;font-weight:800}.aim-modern-course-card{overflow:hidden;border:1px solid #e2eaf3;border-radius:24px;background:#fff;box-shadow:0 12px 38px rgba(24,53,84,.07);transition:transform .2s ease,box-shadow .2s ease}.aim-modern-course-card:hover{transform:translateY(-4px);box-shadow:0 20px 46px rgba(24,53,84,.12)}.aim-course-cover{height:150px;padding:18px;display:flex;justify-content:space-between;align-items:flex-start;background:linear-gradient(135deg,#0b5cab,#2aa9df);color:#fff}.aim-course-cover span{font-size:11px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.aim-course-cover i{font-style:normal;width:42px;height:42px;border-radius:12px;background:rgba(255,255,255,.18);display:grid;place-items:center;font-weight:900}.aim-course-card-body{padding:22px}.aim-course-card-body h2,.aim-course-card-body h3{margin:0 0 10px;font-size:21px}.aim-course-card-body p{color:#66768a;line-height:1.6;min-height:52px}.aim-course-meta{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:18px 0}.aim-course-meta strong{font-size:18px;color:#0c5b9f}.aim-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;padding:36px 0 20px}.aim-steps>div{padding:28px;border-radius:22px;background:#f6faff;border:1px solid #e2edf8}.aim-steps span{font-size:12px;font-weight:900;color:#2b8bc9}.aim-steps h3{margin:10px 0 6px}.aim-steps p{margin:0;color:#6c7b8e;line-height:1.6}.aim-catalog-hero{padding:38px;border-radius:28px;background:linear-gradient(135deg,#eef7ff,#f7fbff);border:1px solid #dcecf9}.aim-catalog-hero h1{font-size:clamp(32px,5vw,52px);letter-spacing:-.04em;margin:12px 0}.aim-catalog-hero p{max-width:760px;color:#62758a;font-size:17px;line-height:1.7}.aim-catalog-pills{display:flex;flex-wrap:wrap;gap:8px}.aim-catalog-pills span{background:#fff;border:1px solid #dce7f1;padding:9px 12px;border-radius:999px;font-size:12px;font-weight:800;color:#41627e}.aim-catalog-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:24px 0}.aim-auth-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,520px);gap:24px;align-items:stretch;min-height:620px}.aim-auth-promo{padding:clamp(28px,5vw,56px);border-radius:30px;background:linear-gradient(145deg,#082f5e,#0b66b2);color:#fff;box-shadow:0 22px 60px rgba(7,53,102,.16)}.aim-auth-promo h1{font-size:clamp(36px,5vw,58px);line-height:1.04;letter-spacing:-.045em;margin:14px 0 18px;color:#fff}.aim-auth-promo p{font-size:17px;line-height:1.75;color:rgba(255,255,255,.86);max-width:620px}.aim-auth-promo ul{list-style:none;padding:0;margin:30px 0}.aim-auth-promo li{padding:10px 0;color:rgba(255,255,255,.9)}.aim-mini-stat{display:flex;align-items:center;gap:12px;padding:13px 0;border-top:1px solid rgba(255,255,255,.14);font-weight:700}.aim-mini-stat b{font-size:22px}.aim-modern-auth{align-self:center;padding:clamp(24px,4vw,38px);border-radius:26px}.aim-modern-auth h2{font-size:32px;margin:10px 0}.aim-muted{color:#718096;line-height:1.6}.aim-auth-form small,.aim-auth-form label span{font-weight:400;color:#7a8797;font-size:12px}.aim-auth-form label{margin:16px 0}.aim-auth-form input,.aim-auth-form select{min-height:48px;font-size:16px}.aim-check{display:flex!important;align-items:flex-start;gap:10px;font-weight:500!important}.aim-check input{width:18px!important;min-height:18px!important;margin-top:2px}.aim-wide{width:100%}.aim-success-card{max-width:620px;margin:70px auto;padding:50px;text-align:center;border:1px solid #dce9f5;border-radius:28px;background:#fff;box-shadow:0 20px 55px rgba(20,50,80,.08)}.aim-success-card>span{font-size:46px}.aim-student-head{display:flex;justify-content:space-between;gap:24px;align-items:end;padding:34px;border-radius:28px;background:linear-gradient(135deg,#eef7ff,#fff);border:1px solid #dcebf7}.aim-student-head h1{font-size:clamp(32px,5vw,50px);margin:8px 0}.aim-student-head p{margin:0;color:#6d7d8e}.aim-head-actions{display:flex;gap:10px;flex-wrap:wrap}.aim-dashboard-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:18px 0 38px}.aim-dashboard-stats>div{padding:20px;border-radius:20px;border:1px solid #e3ecf5;background:#fff;box-shadow:0 8px 25px rgba(20,50,80,.05)}.aim-dashboard-stats span,.aim-dashboard-stats b,.aim-dashboard-stats small{display:block}.aim-dashboard-stats span{font-size:22px}.aim-dashboard-stats b{font-size:24px;margin-top:6px}.aim-dashboard-stats small{color:#748397;margin-top:4px}.aim-modern-learning-card{padding:24px;border:1px solid #e1eaf3;border-radius:22px;background:#fff;box-shadow:0 10px 30px rgba(20,50,80,.06)}.aim-learning-top,.aim-learning-foot{display:flex;justify-content:space-between;gap:10px;align-items:center}.aim-learning-top span{font-size:11px;font-weight:900;color:#54718d;text-transform:uppercase;letter-spacing:.08em}.aim-modern-learning-card h2{margin:14px 0 8px}.aim-modern-learning-card p{color:#6b7a8d;line-height:1.6}.aim-learning-foot{margin-top:16px}.aim-empty-state{grid-column:1/-1;padding:55px 20px;text-align:center;border:1px dashed #cddceb;border-radius:24px;background:#fbfdff}.aim-empty-state span{font-size:46px}.aim-empty-state p{color:#6c7a8c}.aim-lesson-layout{align-items:start}.aim-lesson{scroll-margin-top:30px}.aim-lesson-ai-explain{margin-top:16px;padding:18px;border-radius:16px;background:#f6fbff;border:1px solid #dceefa;display:none}.aim-lesson-ai-explain.open{display:block}.aim-lesson-ai-explain .label{font-size:11px;font-weight:900;letter-spacing:.1em;text-transform:uppercase;color:#1976ba}.aim-lesson-ai-explain .body{white-space:pre-wrap;line-height:1.7;margin-top:8px}.aim-btn-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
@keyframes aimPulse{0%,100%{transform:scale(.96);opacity:.6}50%{transform:scale(1.04);opacity:1}}
@media(max-width:900px){.aim-home-hero{grid-template-columns:1fr}.aim-hero-orb{min-height:250px}.aim-feature-strip{grid-template-columns:repeat(2,1fr)}.aim-steps{grid-template-columns:1fr}.aim-auth-layout{grid-template-columns:1fr}.aim-auth-promo{min-height:auto}.aim-dashboard-stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.aim-academy-shell{padding:10px}.aim-home-hero,.aim-catalog-hero,.aim-auth-promo,.aim-modern-auth,.aim-student-head{border-radius:20px}.aim-home-hero{padding:24px}.aim-home-copy h1{font-size:38px}.aim-home-actions{display:grid}.aim-home-actions .aim-platform-cta{width:100%}.aim-trust-row{display:grid;gap:7px}.aim-feature-strip{grid-template-columns:1fr}.aim-feature-strip>div{padding:16px}.aim-section-head,.aim-student-head,.aim-catalog-toolbar{display:block}.aim-section-head>a{display:inline-block;margin-top:5px}.aim-catalog-hero{padding:24px}.aim-course-grid,.aim-learning-grid{grid-template-columns:1fr}.aim-modern-course-card{border-radius:20px}.aim-course-cover{height:130px}.aim-course-meta{align-items:flex-start}.aim-auth-layout{min-height:0}.aim-auth-promo{padding:26px}.aim-auth-promo h1{font-size:38px}.aim-modern-auth{padding:22px}.aim-head-actions{margin-top:18px}.aim-head-actions .aim-platform-cta{width:100%}.aim-dashboard-stats{grid-template-columns:1fr 1fr}.aim-dashboard-stats>div{padding:15px}.aim-platform-cta{width:auto}.aim-lesson-layout{grid-template-columns:1fr}.aim-lesson{padding:20px}.aim-btn-row .aim-platform-cta{width:100%}}
@media(max-width:380px){.aim-dashboard-stats{grid-template-columns:1fr}.aim-home-copy h1,.aim-auth-promo h1{font-size:33px}}

/* =========================================================
   AI MUALLIM 2.8 — Premium Login & Course Catalogue
   ========================================================= */
.aim-catalog-premium{max-width:1320px}
.aim-catalog-hero-premium{position:relative;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:30px;overflow:hidden;padding:clamp(30px,5vw,58px);background:linear-gradient(135deg,#062d5d 0%,#0b61ae 62%,#27a9df 100%);color:#fff;border:0;box-shadow:0 28px 75px rgba(7,54,103,.2)}
.aim-catalog-hero-premium:after{content:"";position:absolute;width:420px;height:420px;border-radius:50%;right:-150px;top:-170px;background:rgba(255,255,255,.08);box-shadow:0 0 0 70px rgba(255,255,255,.035),0 0 0 140px rgba(255,255,255,.025)}
.aim-catalog-hero-copy,.aim-catalog-hero-panel{position:relative;z-index:2}
.aim-catalog-hero-premium .aim-kicker{color:#9edfff}.aim-catalog-hero-premium h1{font-size:clamp(42px,6vw,68px);margin:12px 0 16px;letter-spacing:-.05em;color:#fff}.aim-catalog-hero-premium p{max-width:720px;font-size:17px;line-height:1.75;color:rgba(255,255,255,.84);margin:0}.aim-catalog-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:26px}.aim-catalog-hero-panel{align-self:center;justify-self:end;width:min(320px,100%);padding:26px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);backdrop-filter:blur(14px);border-radius:26px;box-shadow:0 20px 60px rgba(0,0,0,.12)}.aim-catalog-orb{width:82px;height:82px;border-radius:24px;display:grid;place-items:center;font-weight:1000;font-size:27px;background:linear-gradient(135deg,#fff,rgba(255,255,255,.55));color:#075da8;box-shadow:0 15px 35px rgba(0,0,0,.13);margin-bottom:20px}.aim-catalog-hero-panel strong,.aim-catalog-hero-panel span{display:block}.aim-catalog-hero-panel strong{font-size:19px}.aim-catalog-hero-panel span{margin-top:7px;color:rgba(255,255,255,.72);font-size:13px;line-height:1.5}
.aim-catalog-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin:16px 0 38px}.aim-catalog-stats>div{padding:20px 21px;border:1px solid #e1eaf3;background:#fff;border-radius:18px;box-shadow:0 8px 28px rgba(20,50,80,.05)}.aim-catalog-stats span,.aim-catalog-stats b,.aim-catalog-stats small{display:block}.aim-catalog-stats span{font-size:10px;letter-spacing:.12em;font-weight:900;color:#7a8b9c}.aim-catalog-stats b{font-size:25px;color:#123f68;margin:6px 0 2px}.aim-catalog-stats small{color:#718096;font-size:12px}
.aim-catalog-toolbar-premium{align-items:end;margin:0 0 18px}.aim-catalog-toolbar-premium h2{margin:5px 0 3px;font-size:30px;letter-spacing:-.03em}.aim-catalog-toolbar-premium p{margin:0;color:#748397}.aim-catalog-controls{display:flex;gap:10px;align-items:center}.aim-search-box{display:flex!important;flex-direction:row!important;align-items:center!important;gap:8px!important;margin:0!important;min-width:240px;background:#fff;border:1px solid #dce6ef;border-radius:12px;padding:0 12px!important;color:#718398!important}.aim-search-box input{border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;padding:11px 0!important;min-height:44px!important;width:100%}.aim-catalog-controls select{min-height:46px!important;background:#fff}.aim-premium-course-grid{grid-template-columns:repeat(3,1fr);gap:18px}.aim-premium-course-card{border-radius:22px;box-shadow:0 12px 34px rgba(21,54,88,.07);transition:transform .22s ease,box-shadow .22s ease}.aim-premium-course-card:hover{transform:translateY(-5px);box-shadow:0 24px 55px rgba(21,54,88,.13)}.aim-premium-cover{height:165px!important;position:relative;overflow:hidden;padding:20px!important;background:linear-gradient(135deg,#064c91,#1384c9 65%,#42b9e9)!important}.aim-premium-cover:before{content:"";position:absolute;width:180px;height:180px;border-radius:50%;right:-60px;bottom:-100px;background:rgba(255,255,255,.12)}.aim-premium-cover:after{content:"";position:absolute;width:110px;height:110px;border-radius:50%;left:-45px;top:-55px;border:1px solid rgba(255,255,255,.15)}.aim-premium-cover i{position:relative;z-index:2}.aim-cover-shine{position:absolute;inset:0;background:linear-gradient(115deg,transparent 20%,rgba(255,255,255,.12) 45%,transparent 65%);transform:translateX(-100%);transition:transform .5s ease}.aim-premium-course-card:hover .aim-cover-shine{transform:translateX(100%)}.aim-card-label{font-size:10px;letter-spacing:.13em;font-weight:900;color:#3188c4;margin-bottom:8px}.aim-premium-course-card h2{font-size:22px!important;line-height:1.18;margin-bottom:9px!important;color:#14283c}.aim-premium-course-card p{min-height:72px!important;margin-bottom:4px}.aim-course-detail-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 0 16px;border-top:1px solid #edf1f5;margin-top:8px}.aim-course-detail-row span{font-size:12px;color:#6e8092}.aim-course-detail-row strong{font-size:17px;color:#075da8}.aim-premium-course-card .aim-platform-cta{display:flex;justify-content:center;align-items:center;gap:8px;text-decoration:none}.aim-premium-course-card .aim-platform-cta b{margin-left:auto}.aim-catalog-no-results{padding:55px 20px;text-align:center;background:#fff;border:1px dashed #cbdbea;border-radius:22px}.aim-catalog-no-results span{font-size:35px;color:#5480a5}.aim-catalog-no-results h3{margin:8px 0}.aim-catalog-no-results p{color:#748397}

.aim-auth-premium-shell{max-width:1280px;min-height:calc(100vh - 40px);display:flex;align-items:center}.aim-auth-premium{grid-template-columns:minmax(0,1.08fr) minmax(380px,500px);gap:18px;min-height:680px}.aim-login-promo{position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:center;min-height:650px;padding:clamp(32px,5vw,65px);border-radius:30px;background:radial-gradient(circle at 85% 15%,rgba(71,193,246,.25),transparent 28%),linear-gradient(145deg,#062b58,#075da7 68%,#24a5dc);box-shadow:0 28px 75px rgba(7,53,102,.2)}.aim-login-promo:after{content:"";position:absolute;width:360px;height:360px;border-radius:50%;right:-150px;bottom:-160px;border:1px solid rgba(255,255,255,.14);box-shadow:0 0 0 60px rgba(255,255,255,.035),0 0 0 120px rgba(255,255,255,.025)}.aim-brand-mark{display:flex;align-items:center;gap:12px;position:relative;z-index:3;margin-bottom:55px}.aim-brand-mark>span{width:46px;height:46px;display:grid;place-items:center;border-radius:14px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.2);font-weight:1000}.aim-brand-mark strong,.aim-brand-mark small{display:block}.aim-brand-mark strong{font-size:17px}.aim-brand-mark small{font-size:11px;color:rgba(255,255,255,.65);margin-top:2px}.aim-login-promo .aim-kicker{color:#9ee5ff}.aim-login-promo h1{max-width:650px;font-size:clamp(40px,5.5vw,67px);line-height:1.02;margin:14px 0 20px;letter-spacing:-.055em;color:#fff;position:relative;z-index:3}.aim-login-promo p{max-width:650px;font-size:17px;line-height:1.75;color:rgba(255,255,255,.84);position:relative;z-index:3}.aim-login-benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;max-width:680px;margin-top:32px;position:relative;z-index:3}.aim-login-benefits>div{padding:15px;border-top:1px solid rgba(255,255,255,.18)}.aim-login-benefits b,.aim-login-benefits span{display:block}.aim-login-benefits b{font-size:11px;color:#a9e6ff}.aim-login-benefits span{font-size:12px;color:rgba(255,255,255,.8);margin-top:7px}.aim-login-card{border:1px solid #dfe8f1!important;box-shadow:0 24px 65px rgba(20,50,80,.1)!important;background:rgba(255,255,255,.98)!important;padding:clamp(25px,4vw,42px)!important}.aim-login-card-top{display:flex;justify-content:space-between;align-items:center}.aim-secure{font-size:11px;font-weight:800;color:#208353}.aim-login-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:5px;background:#f2f6fa;border-radius:13px;margin:28px 0 25px}.aim-login-tabs a{padding:11px;text-align:center;border-radius:9px;text-decoration:none;color:#63768a;font-size:13px;font-weight:800}.aim-login-tabs a.active{background:#fff;color:#075da8;box-shadow:0 4px 12px rgba(20,50,80,.08)}.aim-login-card h2{font-size:31px!important;letter-spacing:-.035em;color:#12283e}.aim-login-card .login-username,.aim-login-card .login-password{margin:0 0 15px}.aim-login-card .login-username label,.aim-login-card .login-password label{display:block;font-size:12px;font-weight:800;color:#4e6276;margin-bottom:7px}.aim-login-card .login-username input,.aim-login-card .login-password input{width:100%;min-height:50px;border:1px solid #d5e1ec;border-radius:11px;padding:11px 13px;font-size:15px;box-shadow:none;outline:0}.aim-login-card .login-username input:focus,.aim-login-card .login-password input:focus{border-color:#208bd0;box-shadow:0 0 0 4px rgba(32,139,208,.1)}.aim-login-card .login-remember{display:flex;align-items:center;gap:8px;margin:5px 0 18px}.aim-login-card .login-remember input{width:16px;height:16px}.aim-login-card .login-remember label{font-size:12px;color:#708094}.aim-login-card .login-submit input{width:100%;min-height:50px;border:0;border-radius:11px;background:linear-gradient(135deg,#0757a6,#168ed0);color:#fff;font-size:14px;font-weight:900;cursor:pointer;box-shadow:0 12px 25px rgba(7,87,166,.2)}.aim-login-card .login-submit input:hover{transform:translateY(-1px)}.aim-login-divider{display:flex;align-items:center;gap:10px;margin:23px 0 12px;color:#9aa7b5;font-size:11px}.aim-login-divider:before,.aim-login-divider:after{content:"";height:1px;background:#e7edf3;flex:1}.aim-login-divider span{white-space:nowrap}.aim-admin-note{margin-top:22px;padding:12px 13px;border-radius:11px;background:#f6f9fc;border:1px solid #e2eaf2;color:#728196;font-size:11px;line-height:1.6}.aim-login-card .aim-small{font-size:12px;color:#78879a;text-align:center;margin-top:15px}.aim-login-card .aim-small a{color:#0868b1;font-weight:800;text-decoration:none}
@media(max-width:950px){.aim-catalog-hero-premium,.aim-auth-premium{grid-template-columns:1fr}.aim-catalog-hero-panel{justify-self:start}.aim-premium-course-grid{grid-template-columns:repeat(2,1fr)}.aim-login-promo{min-height:430px}.aim-auth-premium{min-height:0}.aim-auth-premium-shell{align-items:start}}
@media(max-width:640px){.aim-catalog-stats{grid-template-columns:1fr 1fr}.aim-catalog-controls{display:grid;grid-template-columns:1fr;width:100%;margin-top:16px}.aim-catalog-toolbar-premium{display:block}.aim-search-box{width:100%}.aim-premium-course-grid{grid-template-columns:1fr}.aim-catalog-hero-premium{padding:27px}.aim-catalog-hero-premium h1{font-size:43px}.aim-login-promo{padding:28px;min-height:470px}.aim-login-promo h1{font-size:40px}.aim-brand-mark{margin-bottom:38px}.aim-login-benefits{grid-template-columns:1fr}.aim-login-benefits>div{padding:10px 0}.aim-auth-premium{gap:12px}.aim-login-card{padding:24px!important}.aim-auth-premium-shell{padding:10px}.aim-catalog-actions .aim-platform-cta{width:100%}}

/* =========================================================
   AI MUALLIM ACADEMY — PUBLIC EXPERIENCE v2.9
   Premium public shell for Home / Catalog / Register / Login
   ========================================================= */
.aim-public-page{--aim-navy:#082b55;--aim-blue:#0969b7;--aim-sky:#2aa8e5;--aim-ink:#12253b;--aim-muted:#718398;--aim-line:#e1eaf2;min-height:100vh;background:radial-gradient(circle at 10% 0%,rgba(47,169,229,.10),transparent 26%),linear-gradient(180deg,#f7fbff 0%,#f2f7fc 55%,#f8fbfe 100%);color:var(--aim-ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;padding-bottom:34px}
.aim-public-nav{position:sticky;top:0;z-index:50;max-width:1320px;margin:0 auto;padding:13px 24px;display:flex;align-items:center;gap:22px;background:rgba(255,255,255,.86);border:1px solid rgba(214,227,239,.9);border-top:0;border-radius:0 0 20px 20px;box-shadow:0 12px 34px rgba(18,54,88,.08);backdrop-filter:blur(18px)}
.aim-public-brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--aim-ink);min-width:245px}.aim-public-logo{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(145deg,#0756a3,#21a5df);color:#fff;font-size:13px;font-weight:1000;letter-spacing:-.04em;box-shadow:0 9px 22px rgba(8,105,183,.22)}.aim-public-brand b,.aim-public-brand small{display:block}.aim-public-brand b{font-size:15px;letter-spacing:-.02em}.aim-public-brand small{font-size:10px;color:#8291a2;margin-top:2px}.aim-public-nav nav{display:flex;align-items:center;justify-content:center;gap:4px;flex:1}.aim-public-nav nav a{padding:10px 13px;border-radius:10px;color:#61748a;text-decoration:none;font-size:12px;font-weight:800;transition:.2s ease}.aim-public-nav nav a:hover,.aim-public-nav nav a.active{background:#edf6fd;color:#0764aa}.aim-public-actions{display:flex;align-items:center;gap:8px}.aim-nav-login,.aim-nav-register{padding:10px 15px;border-radius:10px;text-decoration:none;font-size:12px;font-weight:900;white-space:nowrap}.aim-nav-login{color:#236080;background:#f2f6fa;border:1px solid #e0e8ef}.aim-nav-register{color:#fff;background:linear-gradient(135deg,#0757a5,#1597d6);box-shadow:0 9px 20px rgba(7,87,165,.18)}
.aim-public-page>.aim-academy-shell{max-width:1240px;margin:0 auto;padding:28px 22px 0}.aim-public-footer{max-width:1240px;margin:26px auto 0;padding:20px 22px;display:flex;justify-content:space-between;gap:15px;align-items:center;color:#7b8b9d;font-size:11px}.aim-public-footer b{color:#34516d;font-size:12px}.aim-public-footer span{opacity:.85}

/* Home */
.aim-home-hero{position:relative;overflow:hidden;min-height:580px;padding:70px 64px!important;border-radius:32px!important;background:radial-gradient(circle at 88% 18%,rgba(77,198,244,.30),transparent 22%),radial-gradient(circle at 72% 100%,rgba(35,158,220,.18),transparent 28%),linear-gradient(135deg,#062b59 0%,#075da7 58%,#168fcf 100%)!important;box-shadow:0 28px 70px rgba(7,52,98,.20)!important;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(320px,.72fr);align-items:center;gap:40px}.aim-home-hero:before{content:"";position:absolute;width:500px;height:500px;border:1px solid rgba(255,255,255,.12);border-radius:50%;right:-170px;top:-190px;box-shadow:0 0 0 55px rgba(255,255,255,.025),0 0 0 110px rgba(255,255,255,.018)}.aim-home-copy{position:relative;z-index:2}.aim-home-copy .aim-kicker{color:#a8e7ff}.aim-home-copy h1{font-size:clamp(44px,5.7vw,72px)!important;line-height:.98!important;letter-spacing:-.065em!important;color:#fff!important;max-width:720px;margin:15px 0 23px!important}.aim-home-copy h1 em{font-style:normal;color:#8fe0ff}.aim-home-copy>p{max-width:690px!important;color:rgba(255,255,255,.82)!important;font-size:17px!important;line-height:1.8!important}.aim-home-actions{margin-top:30px!important}.aim-home-actions .aim-platform-cta{min-width:175px}.aim-home-actions .ghost{border:1px solid rgba(255,255,255,.28)!important;background:rgba(255,255,255,.08)!important;color:#fff!important}.aim-trust-row{position:relative;z-index:2;margin-top:30px!important;display:flex;flex-wrap:wrap;gap:9px!important}.aim-trust-row span{padding:8px 11px!important;border:1px solid rgba(255,255,255,.13);background:rgba(255,255,255,.06);border-radius:999px;font-size:10px!important;color:rgba(255,255,255,.75)!important}.aim-hero-orb{position:relative;z-index:2;min-height:380px!important;display:grid;place-items:center;background:radial-gradient(circle,rgba(255,255,255,.13),transparent 55%);border:1px solid rgba(255,255,255,.12);border-radius:30px}.aim-orb-inner{width:240px;height:240px;border-radius:50%;display:grid;place-items:center;align-content:center;text-align:center;background:radial-gradient(circle at 35% 25%,#fff,#dff5ff 42%,#9ddff6 100%);box-shadow:0 30px 70px rgba(0,0,0,.18),inset 0 0 0 12px rgba(255,255,255,.4)}.aim-orb-inner span{font-size:48px}.aim-orb-inner strong{font-size:21px;color:#075da8;margin-top:6px}.aim-orb-inner small{color:#6a7f93;font-size:11px;margin-top:4px}.aim-feature-strip{max-width:none!important;margin-top:15px!important;gap:10px!important}.aim-feature-strip>div{background:rgba(255,255,255,.88)!important;border:1px solid #e0eaf2!important;border-radius:17px!important;box-shadow:0 9px 28px rgba(20,50,80,.05)}.aim-home-section{margin-top:54px!important}.aim-section-head h2{font-size:31px!important;letter-spacing:-.04em}.aim-modern-course-card{border:1px solid #e1eaf2!important;background:#fff!important;box-shadow:0 12px 35px rgba(20,50,80,.07)!important}.aim-modern-course-card:hover{transform:translateY(-5px);box-shadow:0 24px 55px rgba(20,50,80,.12)!important}.aim-steps>div{background:#fff!important;box-shadow:0 10px 28px rgba(20,50,80,.045)}

/* Catalog */
.aim-catalog-premium{padding-top:28px!important}.aim-catalog-hero-premium{min-height:410px!important;padding:55px!important;border-radius:30px!important;background:radial-gradient(circle at 84% 22%,rgba(77,198,244,.30),transparent 24%),linear-gradient(135deg,#062b59,#075da7 62%,#1b9bd7)!important;box-shadow:0 26px 65px rgba(7,52,98,.18)!important;position:relative;overflow:hidden}.aim-catalog-hero-premium:before{content:"";position:absolute;width:460px;height:460px;border-radius:50%;right:-210px;top:-180px;border:1px solid rgba(255,255,255,.13);box-shadow:0 0 0 50px rgba(255,255,255,.025),0 0 0 100px rgba(255,255,255,.018)}.aim-catalog-hero-copy{position:relative;z-index:2}.aim-catalog-hero-premium h1{font-size:clamp(45px,6vw,70px)!important;letter-spacing:-.06em!important}.aim-catalog-hero-premium p{font-size:16px!important;max-width:650px!important}.aim-catalog-hero-panel{position:relative!important;z-index:2}.aim-catalog-stats{margin-top:15px!important}.aim-catalog-stats>div{transition:.2s ease}.aim-catalog-stats>div:hover{transform:translateY(-3px);box-shadow:0 16px 36px rgba(20,50,80,.08)}.aim-catalog-toolbar-premium{padding:8px 2px}.aim-premium-course-grid{gap:20px!important}.aim-premium-course-card{overflow:hidden}.aim-premium-cover{height:180px!important}.aim-premium-course-card .aim-course-card-body{padding:22px!important}.aim-premium-course-card h2{font-size:22px!important}.aim-premium-course-card .aim-platform-cta{min-height:46px}

/* Auth pages */
.aim-auth-public{padding-top:30px!important}.aim-auth-public .aim-auth-layout{min-height:680px!important}.aim-auth-public .aim-auth-promo{background:radial-gradient(circle at 88% 12%,rgba(69,194,241,.24),transparent 24%),linear-gradient(145deg,#062b58,#075da7 68%,#1d9bd6)!important;box-shadow:0 28px 70px rgba(7,53,102,.18)!important}.aim-auth-public .aim-auth-card{background:#fff!important;border:1px solid #e0e9f1!important;box-shadow:0 24px 60px rgba(20,50,80,.10)!important}.aim-auth-form label{color:#40566c!important;font-size:12px!important;font-weight:800!important}.aim-auth-form input,.aim-auth-form select{border:1px solid #d5e1eb!important;border-radius:11px!important;background:#fbfdff!important;box-shadow:none!important;transition:.18s ease}.aim-auth-form input:focus,.aim-auth-form select:focus{border-color:#258fd1!important;box-shadow:0 0 0 4px rgba(37,143,209,.10)!important;background:#fff!important}.aim-auth-form .aim-platform-cta{border:0!important;box-shadow:0 13px 28px rgba(7,87,166,.20)!important}.aim-auth-premium-shell{padding-top:30px!important}.aim-login-promo{min-height:660px!important}.aim-login-card{min-height:610px;display:flex;flex-direction:column;justify-content:center}.aim-login-card .login-form{margin-top:8px}.aim-login-tabs a{transition:.18s ease}.aim-login-tabs a:hover{color:#075da8}.aim-login-card .login-submit input{transition:.18s ease}.aim-login-card .login-submit input:hover{transform:translateY(-2px);box-shadow:0 16px 30px rgba(7,87,166,.24)}

@media(max-width:1000px){.aim-public-nav{margin:0 10px}.aim-public-brand{min-width:200px}.aim-public-nav nav a{padding:9px}.aim-home-hero{grid-template-columns:1fr}.aim-hero-orb{min-height:300px}.aim-catalog-hero-premium{grid-template-columns:1fr}.aim-catalog-hero-panel{justify-self:start!important}.aim-auth-public .aim-auth-layout{grid-template-columns:1fr}.aim-login-card{min-height:0}}
@media(max-width:700px){.aim-public-nav{position:relative;margin:0;border-radius:0 0 16px 16px;padding:12px 14px;flex-wrap:wrap}.aim-public-brand{min-width:0;flex:1}.aim-public-nav nav{order:3;width:100%;justify-content:flex-start;overflow:auto}.aim-public-nav nav a{white-space:nowrap}.aim-public-actions{margin-left:auto}.aim-nav-login,.aim-nav-register{padding:9px 11px}.aim-public-page>.aim-academy-shell{padding:16px 12px 0}.aim-public-footer{padding:18px 12px;display:block;text-align:center}.aim-public-footer span{display:block;margin-top:5px}.aim-home-hero{padding:32px 25px!important;min-height:auto!important}.aim-home-copy h1{font-size:43px!important}.aim-hero-orb{min-height:245px}.aim-orb-inner{width:190px;height:190px}.aim-feature-strip{grid-template-columns:1fr 1fr!important}.aim-catalog-hero-premium{padding:32px 25px!important;min-height:auto!important}.aim-catalog-hero-premium h1{font-size:44px!important}.aim-catalog-stats{grid-template-columns:1fr 1fr}.aim-catalog-controls{grid-template-columns:1fr!important}.aim-auth-public .aim-auth-layout{min-height:0!important}.aim-auth-public .aim-auth-promo,.aim-login-promo{min-height:auto!important;padding:30px!important}.aim-auth-public .aim-auth-promo h1,.aim-login-promo h1{font-size:41px!important}.aim-login-card{padding:25px!important}.aim-login-benefits{grid-template-columns:1fr!important}.aim-login-benefits>div{padding:10px 0!important}.aim-public-page .aim-platform-cta{min-height:46px}}
@media(max-width:430px){.aim-public-brand b{font-size:13px}.aim-public-brand small{font-size:9px}.aim-public-logo{width:38px;height:38px}.aim-nav-login{display:none}.aim-home-copy h1,.aim-catalog-hero-premium h1{font-size:38px!important}.aim-feature-strip{grid-template-columns:1fr!important}.aim-catalog-stats{grid-template-columns:1fr 1fr}.aim-catalog-stats>div{padding:15px}.aim-catalog-stats b{font-size:21px}}
/* Role dashboards */
.aim-role-dashboard{min-height:100vh;background:linear-gradient(180deg,#f6f9ff 0%,#eef4ff 100%)}
.aim-role-hero{display:flex;align-items:center;justify-content:space-between;gap:28px;margin:34px 0 28px;padding:38px;border-radius:28px;background:linear-gradient(135deg,#0b5cff 0%,#1748b5 55%,#122d78 100%);color:#fff;box-shadow:0 24px 60px rgba(17,62,160,.20)}
.aim-role-hero h1{margin:7px 0 8px;font-size:clamp(32px,4vw,50px);letter-spacing:-.03em}.aim-role-hero p{margin:0;max-width:700px;color:rgba(255,255,255,.82);font-size:16px}.aim-role-hero .aim-kicker{color:#dbe8ff}
.aim-role-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding-bottom:50px}.aim-role-card{display:flex;align-items:center;gap:16px;padding:24px;border:1px solid #e0e8f5;border-radius:22px;background:#fff;box-shadow:0 10px 30px rgba(20,50,100,.07);text-decoration:none;color:#10213f;transition:.2s ease}.aim-role-card:hover{transform:translateY(-4px);box-shadow:0 18px 42px rgba(20,50,100,.12);border-color:#b8cdf6}.aim-role-icon{width:54px;height:54px;display:grid;place-items:center;border-radius:16px;background:#edf4ff;font-size:25px;flex:0 0 54px}.aim-role-card h3{margin:0 0 5px;font-size:18px}.aim-role-card p{margin:0;color:#71809a;font-size:13px;line-height:1.5}.aim-role-card>b{margin-left:auto;font-size:20px;color:#2463d8}.aim-user-pill{display:inline-flex;align-items:center;padding:9px 13px;border-radius:999px;background:#edf4ff;color:#31527f;font-weight:700;font-size:13px}
@media(max-width:900px){.aim-role-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.aim-role-hero{align-items:flex-start;flex-direction:column}}
@media(max-width:600px){.aim-role-grid{grid-template-columns:1fr}.aim-role-hero{padding:26px;border-radius:22px}.aim-user-pill{display:none}}
/* Teacher Dashboard Premium 2.9.3 */
.aim-teacher-dashboard{background:linear-gradient(180deg,#f7faff 0%,#eef4fb 100%)!important;min-height:100vh}
.aim-teacher-nav{max-width:1280px!important;background:rgba(255,255,255,.92)!important;border:1px solid #e3ebf5!important;box-shadow:0 8px 28px rgba(31,61,99,.07)!important;backdrop-filter:blur(14px)}
.aim-teacher-topnav{display:flex;align-items:center;gap:5px;margin-left:auto;margin-right:20px}.aim-teacher-topnav a{padding:9px 13px;border-radius:10px;color:#63748a;text-decoration:none;font-size:13px;font-weight:700}.aim-teacher-topnav a:hover,.aim-teacher-topnav a.is-active{background:#edf5ff;color:#075da8}
.aim-teacher-main{max-width:1280px!important;padding-bottom:55px!important}
.aim-teacher-hero{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:30px;align-items:center;margin:34px 0 20px;padding:45px 48px;border-radius:32px;background:radial-gradient(circle at 82% 20%,rgba(89,204,246,.28),transparent 24%),linear-gradient(135deg,#062b59,#075da7 62%,#1598d3);color:#fff;box-shadow:0 28px 65px rgba(7,52,98,.20)}
.aim-teacher-hero:after{content:"";position:absolute;width:430px;height:430px;border-radius:50%;right:-180px;bottom:-260px;border:1px solid rgba(255,255,255,.13);box-shadow:0 0 0 55px rgba(255,255,255,.025),0 0 0 110px rgba(255,255,255,.018)}
.aim-teacher-hero-copy{position:relative;z-index:2}.aim-teacher-hero .aim-kicker{color:#a8e7ff}.aim-teacher-hero h1{font-size:clamp(38px,5vw,61px);line-height:1.03;letter-spacing:-.055em;margin:13px 0 18px;color:#fff}.aim-teacher-hero h1 em{font-style:normal;color:#91e0ff}.aim-teacher-hero p{max-width:650px;color:rgba(255,255,255,.82);font-size:17px;line-height:1.7;margin:0}.aim-teacher-hero-actions{display:flex;gap:11px;flex-wrap:wrap;margin-top:27px}.aim-teacher-hero .aim-platform-cta{min-height:46px}.aim-teacher-ghost{display:inline-flex;align-items:center;padding:0 18px;border-radius:12px;color:#fff;text-decoration:none;border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.08);font-weight:700}
.aim-teacher-visual{position:relative;z-index:2;display:grid;place-items:center;min-height:270px}.aim-teacher-orbit{position:relative;width:220px;height:220px;border:1px solid rgba(255,255,255,.20);border-radius:50%;display:grid;place-items:center;box-shadow:0 0 0 28px rgba(255,255,255,.035),0 0 0 56px rgba(255,255,255,.025)}.aim-teacher-avatar{width:150px;height:150px;border-radius:50%;display:grid;place-items:center;font-size:68px;background:radial-gradient(circle at 35% 25%,#fff,#dff5ff 55%,#9ddff6);box-shadow:0 25px 55px rgba(0,0,0,.2),inset 0 0 0 8px rgba(255,255,255,.5)}.aim-orbit-dot{position:absolute;display:grid;place-items:center;width:39px;height:39px;border-radius:50%;background:#fff;color:#075da8;font-size:12px;font-weight:900;box-shadow:0 10px 22px rgba(0,0,0,.16)}.dot1{top:4px;right:35px}.dot2{bottom:24px;right:-7px}.dot3{left:-9px;bottom:54px}.aim-live-status{margin-top:18px;padding:8px 13px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.08);border-radius:999px;font-size:11px;color:rgba(255,255,255,.88)}.aim-live-status i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#61e294;margin-right:7px;box-shadow:0 0 0 4px rgba(97,226,148,.12)}
.aim-teacher-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:0 0 45px}.aim-teacher-stats>div{display:flex;align-items:center;gap:13px;background:#fff;border:1px solid #e1eaf3;border-radius:18px;padding:17px 18px;box-shadow:0 10px 27px rgba(20,50,80,.055)}.stat-icon{width:44px;height:44px;border-radius:13px;background:#edf6ff;display:grid;place-items:center;font-size:20px}.aim-teacher-stats b{display:block;color:#102d50;font-size:22px;line-height:1.1}.aim-teacher-stats small{color:#74859a;font-size:11px;font-weight:700}
.aim-teacher-section-title{margin-bottom:17px}.aim-teacher-section-title h2{font-size:31px;letter-spacing:-.04em;color:#10233e;margin:5px 0 3px}.aim-teacher-section-title p{margin:0;color:#718197;font-size:14px}.aim-teacher-workgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.aim-teacher-workcard{position:relative;display:flex;gap:19px;padding:25px;text-decoration:none;color:#10233e;background:#fff;border:1px solid #e1eaf3;border-radius:22px;box-shadow:0 12px 32px rgba(20,50,80,.06);transition:.22s ease;overflow:hidden}.aim-teacher-workcard:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:#2189cf}.aim-teacher-workcard:hover{transform:translateY(-5px);box-shadow:0 22px 45px rgba(20,50,80,.11);border-color:#c9dced}.work-icon{width:60px;height:60px;flex:0 0 60px;display:grid;place-items:center;border-radius:17px;background:#edf6ff;font-size:28px}.work-label{font-size:9px;letter-spacing:.12em;font-weight:900;color:#7290aa}.aim-teacher-workcard h3{margin:4px 0 5px;font-size:20px}.aim-teacher-workcard p{margin:0;color:#718197;line-height:1.55;font-size:13px;max-width:470px}.aim-teacher-workcard strong{display:inline-block;margin-top:14px;color:#0867ac;font-size:12px}.aim-teacher-workcard strong b{font-size:16px;margin-left:4px}.aim-teacher-card-live:before{background:#0b5cff}.aim-teacher-card-live .work-icon{background:#eaf1ff}.aim-teacher-card-purple:before{background:#7656d6}.aim-teacher-card-purple .work-icon{background:#f0ecff}.aim-teacher-card-gold:before{background:#e2a824}.aim-teacher-card-gold .work-icon{background:#fff6df}
.aim-teacher-bottom{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:14px;margin-top:20px}.aim-teacher-tip,.aim-teacher-secure{background:#fff;border:1px solid #e1eaf3;border-radius:18px;padding:17px 19px;display:flex;align-items:center;gap:13px}.aim-teacher-tip>span{font-size:24px}.aim-teacher-tip b,.aim-teacher-secure b{display:block;font-size:13px;color:#213954}.aim-teacher-tip p{margin:3px 0 0;color:#77879a;font-size:11px}.aim-teacher-tip a{margin-left:auto;color:#0867ac;text-decoration:none;font-size:12px;font-weight:800;white-space:nowrap}.aim-teacher-secure span{font-size:20px}.aim-teacher-secure small{display:block;color:#77879a;font-size:10px;margin-top:3px}
@media(max-width:900px){.aim-teacher-topnav{display:none}.aim-teacher-hero{grid-template-columns:1fr;padding:34px}.aim-teacher-visual{min-height:220px}.aim-teacher-stats{grid-template-columns:repeat(2,1fr)}.aim-teacher-bottom{grid-template-columns:1fr}}
@media(max-width:620px){.aim-teacher-main{padding:0 12px 35px!important}.aim-teacher-hero{margin-top:18px;padding:28px 23px;border-radius:24px}.aim-teacher-hero h1{font-size:40px}.aim-teacher-hero p{font-size:14px}.aim-teacher-visual{min-height:205px}.aim-teacher-orbit{width:175px;height:175px}.aim-teacher-avatar{width:118px;height:118px;font-size:53px}.aim-teacher-stats{gap:9px}.aim-teacher-stats>div{padding:13px}.stat-icon{width:38px;height:38px}.aim-teacher-stats b{font-size:18px}.aim-teacher-workgrid{grid-template-columns:1fr}.aim-teacher-workcard{padding:20px}.aim-teacher-bottom{grid-template-columns:1fr}.aim-teacher-tip{align-items:flex-start;flex-wrap:wrap}.aim-teacher-tip a{margin-left:0;width:100%}.aim-user-pill{display:none}}


/* AI Muallim Academy v2.9.5 — Universal Responsive Layer
   Desktop / Tablet / Android / small phones */
html{overflow-x:hidden}
body{overflow-x:hidden}
.aim-academy-shell,.aim-platform,.aim-front,.aim-program-page{width:100%;max-width:100%;box-sizing:border-box}
.aim-academy-shell *,.aim-platform *,.aim-front *,.aim-program-page *{box-sizing:border-box;max-width:100%}

/* prevent long URLs/text from breaking layouts */
.aim-academy-shell,.aim-platform,.aim-front,.aim-program-page,
.aim-academy-shell p,.aim-platform p,.aim-front p,
.aim-academy-shell h1,.aim-academy-shell h2,.aim-academy-shell h3,
.aim-platform h1,.aim-platform h2,.aim-platform h3,
.aim-program-page h1,.aim-program-page h2,.aim-program-page h3{overflow-wrap:anywhere}

/* flexible grids */
.aim-course-grid,.aim-learning-grid,.aim-feature-strip,.aim-steps{width:100%;min-width:0}
.aim-course-grid>* ,.aim-learning-grid>* ,.aim-feature-strip>* ,.aim-steps>*{min-width:0}

/* forms */
input,select,textarea,button{max-width:100%;font:inherit}
.aim-auth-card input,.aim-auth-card select,.aim-auth-card textarea,
.aim-platform input,.aim-platform select,.aim-platform textarea,
.aim-front input,.aim-front select,.aim-front textarea{min-width:0}
button,.aim-platform-cta,.aim-send{touch-action:manipulation}

/* tables: never crush columns on mobile */
.aim-academy-shell table,.aim-platform table,.aim-program-page table{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;border-collapse:collapse}
.aim-academy-shell th,.aim-academy-shell td,
.aim-platform th,.aim-platform td,.aim-program-page th,.aim-program-page td{white-space:nowrap}

/* large screens */
@media (min-width:1200px){
 .aim-academy-shell{padding-left:28px;padding-right:28px}
}

/* tablet */
@media (max-width:1024px){
 .aim-home-hero,.aim-auth-layout{grid-template-columns:1fr}
 .aim-home-hero{padding:36px}
 .aim-hero-orb{min-height:280px}
 .aim-feature-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
 .aim-course-grid,.aim-learning-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .aim-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
 .aim-dashboard-head{flex-wrap:wrap}
 .aim-dashboard-head>*{min-width:0}
 .aim-catalog-toolbar{flex-wrap:wrap}
 .aim-auth-layout{min-height:auto}
 .aim-auth-promo{min-height:320px}
 .aim-platform-hero,.aim-course-hero{padding:32px}
}

/* tablet portrait / large Android */
@media (max-width:768px){
 .aim-academy-shell,.aim-platform{padding-left:16px;padding-right:16px}
 .aim-platform-hero,.aim-course-hero,.aim-home-hero,.aim-auth-promo{border-radius:22px}
 .aim-home-hero{padding:28px 22px}
 .aim-home-copy h1{font-size:clamp(34px,8vw,52px)}
 .aim-feature-strip{gap:10px}
 .aim-course-grid,.aim-learning-grid{gap:14px}
 .aim-course-card,.aim-learning-card,.aim-auth-card,.aim-card{padding:18px}
 .aim-lesson-layout{grid-template-columns:1fr}
 .aim-lesson-list{position:static}
 .aim-lesson{padding:20px}
 .aim-course-cover{height:135px}
 .aim-auth-layout{grid-template-columns:1fr;gap:16px}
 .aim-auth-promo{padding:28px}
 .aim-auth-card{margin:0 auto;width:100%}
}

/* phones */
@media (max-width:600px){
 .aim-academy-shell,.aim-platform,.aim-front{padding-left:10px;padding-right:10px}
 .aim-program-page{margin-left:0!important;padding:72px 10px 30px!important}
 .aim-home-hero{display:block;padding:24px 18px;border-radius:20px}
 .aim-hero-orb{min-height:230px;margin-top:12px}
 .aim-orb-inner{width:190px;height:190px}
 .aim-orb-inner span{font-size:48px}
 .aim-orb-inner strong{font-size:20px}
 .aim-home-actions{display:grid;grid-template-columns:1fr;gap:9px}
 .aim-home-actions .aim-platform-cta{width:100%}
 .aim-trust-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}
 .aim-feature-strip{grid-template-columns:1fr 1fr;gap:8px;margin-bottom:30px}
 .aim-feature-strip>div{padding:14px}
 .aim-section-head{display:block}
 .aim-section-head>a{display:inline-block;margin-top:6px}
 .aim-course-grid,.aim-learning-grid,.aim-steps{grid-template-columns:1fr}
 .aim-course-card-body{padding:17px}
 .aim-course-card-body h2,.aim-course-card-body h3{font-size:18px}
 .aim-course-meta{align-items:flex-start;flex-wrap:wrap;margin:14px 0}
 .aim-catalog-hero{padding:22px 18px;border-radius:20px}
 .aim-catalog-toolbar{display:grid;grid-template-columns:1fr;align-items:stretch}
 .aim-catalog-toolbar>*{width:100%}
 .aim-auth-layout{display:block}
 .aim-auth-promo{padding:24px 18px;margin-bottom:12px}
 .aim-auth-card{padding:18px;margin:0}
 .aim-platform-hero,.aim-course-hero{padding:22px 18px;border-radius:20px}
 .aim-platform-hero h1,.aim-course-hero h1{font-size:30px}
 .aim-platform-hero p,.aim-course-hero p{font-size:15px}
 .aim-dashboard-head{display:block}
 .aim-dashboard-head .aim-platform-cta{width:100%;margin-top:10px}
 .aim-ai-choice{display:grid;grid-template-columns:1fr}
 .aim-ai-choice .aim-platform-cta{width:100%}
 .aim-course-chat-form{display:grid;grid-template-columns:1fr}
 .aim-course-chat-form .aim-platform-cta{width:100%}
 .aim-video{padding:8px}
 .aim-video iframe,.aim-video video{width:100%;height:auto;min-height:190px}
 .aim-context{grid-template-columns:1fr!important}
 .aim-chat-box{height:55vh;min-height:300px}
 .aim-chat-form{display:grid;grid-template-columns:1fr}
 .aim-send{width:100%;min-height:48px}
}

/* very small Android phones */
@media (max-width:390px){
 .aim-academy-shell,.aim-platform,.aim-front{padding-left:7px;padding-right:7px}
 .aim-program-page{padding-left:7px!important;padding-right:7px!important}
 .aim-home-copy h1{font-size:32px}
 .aim-feature-strip{grid-template-columns:1fr}
 .aim-trust-row{grid-template-columns:1fr}
 .aim-course-cover{height:120px}
 .aim-auth-promo h1{font-size:29px}
 .aim-auth-card{padding:14px}
 input,select,textarea{font-size:16px!important} /* prevents iOS/Android zoom */
}

/* landscape phones */
@media (orientation:landscape) and (max-height:600px) and (max-width:900px){
 .aim-home-hero{display:grid;grid-template-columns:1.15fr .85fr}
 .aim-hero-orb{min-height:220px}
 .aim-orb-inner{width:170px;height:170px}
 .aim-auth-layout{display:grid;grid-template-columns:1fr 1fr}
 .aim-auth-promo{margin-bottom:0}
}

/* respect accessibility / reduced motion */
@media (prefers-reduced-motion:reduce){
 *,*:before,*:after{scroll-behavior:auto!important;animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
}

/* v3.0.2 — Student Dashboard AI Muallim spotlight */
.aim-student-ai-hero{position:relative;display:grid;grid-template-columns:minmax(0,1.4fr) 320px;gap:24px;align-items:center;overflow:hidden;margin:0 0 28px;padding:34px 38px;border-radius:28px;background:linear-gradient(135deg,#062b59 0%,#075fa8 58%,#12a5d9 100%);box-shadow:0 22px 55px rgba(7,72,125,.18);color:#fff}
.aim-student-ai-hero:before{content:"";position:absolute;width:300px;height:300px;border-radius:50%;right:-110px;top:-150px;border:1px solid rgba(255,255,255,.15);box-shadow:0 0 0 45px rgba(255,255,255,.03),0 0 0 90px rgba(255,255,255,.025)}
.aim-student-ai-copy{position:relative;z-index:2}.aim-student-ai-copy .aim-kicker{color:#b7ecff}.aim-student-ai-copy h2{font-size:clamp(28px,4vw,42px);line-height:1.08;letter-spacing:-.045em;margin:9px 0 12px;color:#fff}.aim-student-ai-copy p{max-width:690px;color:rgba(255,255,255,.84);line-height:1.7;margin:0;font-size:14px}.aim-student-ai-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:21px}.aim-student-ai-hero .aim-platform-cta{background:#fff;color:#075da1;border-color:#fff}.aim-student-ai-hero .aim-platform-cta.secondary{background:rgba(255,255,255,.09);color:#fff;border-color:rgba(255,255,255,.28)}
.aim-student-ai-orb{position:relative;z-index:2;display:grid;place-items:center;min-height:220px}.aim-student-ai-orb>div{width:142px;height:142px;border-radius:50%;display:grid;place-items:center;font-size:58px;background:radial-gradient(circle at 35% 25%,#fff,#dff6ff 58%,#9bdcf5);box-shadow:0 24px 50px rgba(0,0,0,.22),0 0 0 16px rgba(255,255,255,.07)}.aim-student-ai-orb>span{margin-top:18px;padding:8px 13px;border-radius:999px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.17);font-size:11px;color:rgba(255,255,255,.9)}.aim-student-ai-orb i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#68e59b;margin-right:7px;box-shadow:0 0 0 4px rgba(104,229,155,.12)}
.aim-student-ai-inline{margin:0 0 34px}.aim-student-ai-inline>.aim-section-head{margin-bottom:15px}.aim-student-ai-inline .aim-front{margin:0!important;max-width:none!important}.aim-student-ai-inline .aim-front-head{display:none}.aim-student-ai-inline .aim-context{margin-top:0}.aim-student-ai-inline .aim-chat-box{min-height:190px;max-height:360px}.aim-student-ai-inline #aim-chat-form{display:grid;grid-template-columns:1fr auto;gap:10px}.aim-student-ai-inline #aim-question{min-height:60px}.aim-student-ai-inline .aim-send{min-width:110px}
@media(max-width:800px){.aim-student-ai-hero{grid-template-columns:1fr;padding:28px 24px}.aim-student-ai-orb{min-height:175px}.aim-student-ai-orb>div{width:112px;height:112px;font-size:46px}.aim-student-ai-inline #aim-chat-form{grid-template-columns:1fr}.aim-student-ai-inline .aim-send{width:100%}}
@media(max-width:520px){.aim-student-ai-hero{border-radius:22px;margin-left:0;margin-right:0}.aim-student-ai-copy h2{font-size:30px}.aim-student-ai-actions{flex-direction:column}.aim-student-ai-actions .aim-platform-cta{width:100%;justify-content:center}.aim-student-ai-inline{margin-bottom:24px}}

/* v3.0.4 — guaranteed student AI Muallim workspace */
.aim-student-ai-workspace{margin:22px 0;padding:clamp(18px,3vw,30px);border-radius:28px;background:#fff;border:1px solid #dceaf6;box-shadow:0 18px 55px rgba(20,55,90,.08)}
.aim-student-ai-workspace .aim-section-head{margin-top:0;align-items:center}.aim-ai-live-badge{font-size:11px;font-weight:900;letter-spacing:.1em;color:#16834f;background:#eafaf1;border:1px solid #c9efd9;padding:9px 12px;border-radius:999px;white-space:nowrap}.aim-student-ai-launch{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0 18px}.aim-student-ai-embed{padding:0;min-width:0}.aim-student-ai-embed .aim-front{margin:0}.aim-student-ai-embed .aim-front-head{border-radius:20px}.aim-student-ai-embed #aim-chat-box{min-height:180px;max-height:360px}.aim-student-ai-embed textarea{width:100%;min-height:100px}.aim-student-ai-embed .aim-context{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.aim-student-ai-embed .aim-context label{display:flex;flex-direction:column;gap:7px}.aim-student-ai-embed select,.aim-student-ai-embed textarea{box-sizing:border-box}@media(max-width:640px){.aim-student-ai-workspace{border-radius:20px;padding:16px}.aim-student-ai-workspace .aim-section-head{display:block}.aim-ai-live-badge{display:inline-flex;margin-top:10px}.aim-student-ai-launch{display:grid}.aim-student-ai-launch .aim-platform-cta{width:100%}.aim-student-ai-embed .aim-context{grid-template-columns:1fr}}


/* v3.0.5 — student workspace access cards */
.aim-student-feature-grid{margin:24px 0 30px}
.aim-student-feature-grid .aim-role-card{min-height:120px}
.aim-student-history .aim-modern-learning-card{min-height:150px}
@media(max-width:760px){
  .aim-student-feature-grid{grid-template-columns:1fr}
  .aim-student-ai-actions{flex-direction:column}
  .aim-student-ai-actions a{width:100%;text-align:center}
}

/* v3.0.6 Student workspace */
.aim-student-topnav{display:flex;gap:8px;align-items:center}.aim-student-topnav a{padding:10px 13px;border-radius:12px;text-decoration:none;font-weight:700}.aim-student-topnav a.active,.aim-student-topnav a:hover{background:#eef5ff}.aim-student-main{padding-bottom:60px}.aim-student-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:22px 0}.aim-student-feature{display:flex;gap:18px;align-items:flex-start;padding:24px;border-radius:22px;text-decoration:none;background:#fff;border:1px solid #e6edf7;box-shadow:0 12px 35px rgba(20,45,80,.07);color:inherit;transition:.2s}.aim-student-feature:hover{transform:translateY(-2px);box-shadow:0 18px 40px rgba(20,45,80,.12)}.aim-student-feature>span{font-size:38px;line-height:1}.aim-student-feature small{font-weight:800;letter-spacing:.08em;color:#66758b}.aim-student-feature h2{margin:5px 0}.aim-student-feature p{margin:0 0 12px;color:#66758b}.aim-student-feature b{color:#1769e0}.aim-feature-live{background:linear-gradient(135deg,#eef8ff,#f8fbff)}.aim-feature-ai{background:linear-gradient(135deg,#f5f0ff,#fff)}.aim-student-ai-launch{display:flex;flex-wrap:wrap;gap:12px}.aim-section-block{margin-top:34px}.aim-student-dashboard .aim-public-nav{position:relative}.aim-student-dashboard .aim-card{overflow:auto}@media(max-width:900px){.aim-student-topnav{display:none}.aim-student-feature-grid{grid-template-columns:1fr}.aim-student-head{flex-direction:column}.aim-head-actions{display:flex;flex-wrap:wrap}}

/* v3.1.0 — Clean AI Text rendering + result actions */
.aim-answer-body{line-height:1.72;overflow-wrap:anywhere}
.aim-answer-body p{margin:0 0 12px}.aim-answer-body h1,.aim-answer-body h2,.aim-answer-body h3,.aim-answer-body h4{margin:18px 0 9px;line-height:1.25}.aim-answer-body h1{font-size:25px}.aim-answer-body h2{font-size:21px}.aim-answer-body h3{font-size:18px}.aim-answer-body ul,.aim-answer-body ol{margin:8px 0 14px 22px}.aim-answer-body li{margin:5px 0}.aim-answer-body hr{border:0;border-top:1px solid #dbe3ec;margin:18px 0}.aim-answer-body code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;background:#eef2f6;padding:2px 5px;border-radius:5px}.aim-answer-body pre{background:#f5f7fa;border:1px solid #e1e7ef;padding:13px;border-radius:10px;overflow:auto;white-space:pre-wrap}.aim-md-table-wrap{width:100%;overflow-x:auto;margin:12px 0 16px}.aim-md-table{width:100%;border-collapse:collapse;min-width:560px}.aim-md-table th,.aim-md-table td{border:1px solid #d9e1ea;padding:9px 10px;text-align:left;vertical-align:top;white-space:normal}.aim-md-table th{font-weight:700;background:#f3f6f9}.aim-answer-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:14px;padding-top:11px;border-top:1px solid #e5eaf0}.aim-answer-btn{border:1px solid #cfd8e3;background:#fff;color:#1f3b57;border-radius:9px;padding:7px 11px;cursor:pointer;font-size:12px;font-weight:600}.aim-answer-btn:hover{background:#f3f7fa}.aim-answer-editor{display:block;width:100%;min-height:180px;box-sizing:border-box;border:1px solid #cfd8e3;border-radius:10px;padding:12px;font:inherit;line-height:1.6;resize:vertical}.aim-msg.bot.aim-editing .aim-answer-actions{opacity:1}.aim-msg.bot .aim-answer-actions{opacity:.95}
@media(max-width:600px){.aim-answer-actions{display:grid;grid-template-columns:1fr 1fr 1fr}.aim-answer-btn{width:100%;padding:9px 5px;font-size:11px}.aim-md-table{min-width:520px}}

/* v3.1.15 — shared responsive AI Text / AI LIVE dashboard panels */
.aima-dashboard-ai-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:22px 0 28px;width:100%}
.aima-dashboard-ai-panel{position:relative;display:flex;gap:18px;align-items:flex-start;min-width:0;padding:26px;border-radius:24px;text-decoration:none;color:#123b59;background:#fff;border:1px solid #dce8f2;box-shadow:0 14px 38px rgba(15,53,82,.07);overflow:hidden;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.aima-dashboard-ai-panel:after{content:'→';position:absolute;right:22px;bottom:18px;font-size:22px;color:#a5b9c9}.aima-dashboard-ai-panel:hover{transform:translateY(-3px);box-shadow:0 20px 48px rgba(15,53,82,.12);border-color:#bcd9ec}
.aima-dashboard-ai-icon{flex:0 0 62px;width:62px;height:62px;border-radius:18px;display:grid;place-items:center;font-size:32px;background:#eef7ff}.aima-dashboard-ai-panel h2{margin:5px 0 8px;font-size:22px;line-height:1.2}.aima-dashboard-ai-panel p{margin:0 30px 15px 0;color:#617489;line-height:1.65;font-size:13px}.aima-dashboard-ai-panel strong{font-size:13px;color:#0877c7}.aima-dashboard-ai-kicker{font-size:10px;font-weight:900;letter-spacing:.12em;color:#6a8093}.aima-dashboard-ai-live{background:linear-gradient(135deg,#eef8ff,#fafdff);border-color:#bfe0f4}.aima-dashboard-ai-live .aima-dashboard-ai-icon{background:#dff3ff}
@media(max-width:800px){.aima-dashboard-ai-panels{grid-template-columns:1fr;gap:14px}.aima-dashboard-ai-panel{padding:21px;border-radius:20px}.aima-dashboard-ai-icon{width:54px;height:54px;flex-basis:54px;font-size:27px}.aima-dashboard-ai-panel h2{font-size:20px}}
@media(max-width:480px){.aima-dashboard-ai-panel{gap:13px;padding:18px}.aima-dashboard-ai-panel p{font-size:12px;margin-right:12px}.aima-dashboard-ai-panel:after{right:16px;bottom:13px}}
/* v3.1.29: primary teacher gateway cards */
.aim-teacher-primary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:0 0 30px}.aim-teacher-primary-card{display:flex;gap:18px;align-items:flex-start;padding:26px;border-radius:24px;text-decoration:none;color:#10233e;background:#fff;border:1px solid #dfe9f3;box-shadow:0 14px 38px rgba(20,50,80,.07);transition:transform .2s,box-shadow .2s}.aim-teacher-primary-card:hover{transform:translateY(-3px);box-shadow:0 20px 45px rgba(20,50,80,.11)}.aim-teacher-primary-card>span{width:62px;height:62px;flex:0 0 62px;display:grid;place-items:center;border-radius:18px;font-size:30px;background:#eef7ff}.aim-teacher-primary-card small{font-size:9px;letter-spacing:.12em;font-weight:900;color:#6e879f}.aim-teacher-primary-card h2{margin:5px 0 7px;font-size:24px}.aim-teacher-primary-card p{margin:0;color:#687b90;line-height:1.55;font-size:13px}.aim-teacher-primary-card strong{display:inline-block;margin-top:15px;font-size:12px;color:#0867ac}.aim-primary-sim{border-top:4px solid #1672b9}.aim-primary-academy{border-top:4px solid #5d62d9}.aim-primary-sim>span{background:#edf7ff}.aim-primary-academy>span{background:#f0efff}
@media(max-width:720px){.aim-teacher-primary-grid{grid-template-columns:1fr}.aim-teacher-primary-card{padding:20px;border-radius:20px}.aim-teacher-primary-card h2{font-size:20px}.aim-teacher-primary-card>span{width:54px;height:54px;flex-basis:54px;font-size:26px}}

/* v3.1.31 - Student one-door study hub */
.aim-dashboard-student-card{grid-column:1/-1;padding:24px;border:1px solid #dce8f4;border-radius:22px;background:linear-gradient(135deg,#f7fbff,#fff);box-shadow:0 12px 35px rgba(20,50,80,.07)}
.aim-dashboard-student-head{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:16px}.aim-dashboard-student-head b{font-size:20px}.aim-dashboard-student-head span{color:#66788b;font-size:13px}.aim-dashboard-student-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.aim-dashboard-student-links a{display:flex;flex-direction:column;gap:6px;padding:16px;border:1px solid #e0eaf3;border-radius:16px;background:#fff;text-decoration:none;color:inherit}.aim-dashboard-student-links strong{font-size:14px}.aim-dashboard-student-links small{color:#718196;line-height:1.45}
.aim-student-study-hub{margin-top:34px}.aim-student-course-hub-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.aim-student-course-hub-card{padding:22px;border:1px solid #e1eaf3;border-radius:22px;background:#fff;box-shadow:0 10px 30px rgba(20,50,80,.06)}.aim-student-course-hub-top{display:flex;justify-content:space-between;align-items:center;gap:10px;color:#52708e;font-size:11px;letter-spacing:.08em;font-weight:900}.aim-student-course-hub-top b{font-size:13px;color:#1769e0}.aim-student-course-hub-card h3{font-size:22px;margin:10px 0 18px}.aim-student-hub-block{margin-top:14px;padding:14px;border-radius:15px;background:#f7fbff;border:1px solid #e5eef6}.aim-student-hub-block strong{display:block;margin-bottom:8px}.aim-student-hub-block ul{margin:0;padding-left:20px}.aim-student-hub-block li{margin:7px 0}.aim-student-hub-block a{color:#1769e0;text-decoration:none}.aim-student-hub-block p{margin:0;color:#718196}.aim-student-hub-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:16px}.aim-student-hub-actions .aim-platform-cta{flex:1;min-width:130px;text-align:center}
@media(max-width:900px){.aim-dashboard-student-head{display:block}.aim-dashboard-student-head span{display:block;margin-top:6px}.aim-dashboard-student-links{grid-template-columns:repeat(2,minmax(0,1fr))}.aim-student-course-hub-grid{grid-template-columns:1fr}}
@media(max-width:520px){.aim-dashboard-student-card{padding:17px;border-radius:18px}.aim-dashboard-student-links{grid-template-columns:1fr}.aim-dashboard-student-links a{padding:14px}.aim-student-course-hub-card{padding:17px;border-radius:18px}.aim-student-hub-actions{display:grid}.aim-student-hub-actions .aim-platform-cta{width:100%}}

/* v3.1.33 — Teacher Dashboard clean responsive redesign */
.aim-teacher-dashboard{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;background:#f4f7fb!important;color:#15263d!important;overflow-x:hidden!important}
.aim-teacher-dashboard *{box-sizing:border-box}
.aim-teacher-dashboard .aim-teacher-nav{position:sticky!important;top:12px;z-index:50;max-width:1240px!important;margin:12px auto 0!important;padding:10px 14px!important;border-radius:18px!important;background:rgba(255,255,255,.96)!important;box-shadow:0 8px 30px rgba(22,55,90,.10)!important}
.aim-teacher-dashboard .aim-public-brand{min-width:0!important;display:flex!important;align-items:center!important;gap:10px!important;text-decoration:none!important}
.aim-teacher-dashboard .aim-public-brand>span:last-child{min-width:0}
.aim-teacher-dashboard .aim-public-brand b,.aim-teacher-dashboard .aim-public-brand small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.aim-teacher-dashboard .aim-public-brand b{font-size:15px!important;color:#17324f!important}.aim-teacher-dashboard .aim-public-brand small{font-size:10px!important;color:#7b8da3!important}
.aim-teacher-dashboard .aim-teacher-topnav{display:flex!important;gap:5px!important;margin:0 auto!important;align-items:center!important}
.aim-teacher-dashboard .aim-teacher-topnav a{font-size:12px!important;padding:9px 12px!important;border-radius:10px!important;white-space:nowrap!important}
.aim-teacher-dashboard .aim-public-actions{display:flex!important;align-items:center!important;gap:7px!important;flex-shrink:0!important}
.aim-teacher-dashboard .aim-user-pill{max-width:150px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.aim-teacher-dashboard .aim-teacher-main{width:min(1240px,calc(100% - 32px))!important;margin:0 auto!important;padding:0 0 50px!important}
.aim-teacher-dashboard .aim-teacher-hero{margin:24px 0 18px!important;border-radius:28px!important;padding:38px 42px!important;min-height:320px!important;box-shadow:0 22px 55px rgba(8,52,95,.16)!important}
.aim-teacher-dashboard .aim-teacher-hero h1{font-size:clamp(32px,4.4vw,54px)!important}
.aim-teacher-dashboard .aim-teacher-hero p{font-size:15px!important;max-width:590px!important}
.aim-teacher-dashboard .aim-teacher-stats{margin-bottom:24px!important;grid-template-columns:repeat(4,minmax(0,1fr))!important}
.aim-teacher-dashboard .aim-teacher-stats>div{min-width:0!important}
.aim-teacher-dashboard .aim-teacher-primary-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;margin:0 0 28px!important}
.aim-teacher-dashboard .aim-teacher-primary-card{min-width:0!important;min-height:190px!important;align-items:center!important}
.aim-teacher-dashboard .aim-teacher-section-title{margin:8px 0 14px!important}
.aim-teacher-dashboard .aim-teacher-section-title h2{font-size:26px!important}
.aim-teacher-dashboard .aim-teacher-workgrid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
.aim-teacher-dashboard .aim-teacher-workcard{min-width:0!important;height:100%!important}
.aim-teacher-dashboard .aim-teacher-workcard p{overflow-wrap:anywhere!important}
.aim-teacher-dashboard .aim-teacher-bottom{margin-top:16px!important}
@media(max-width:980px){
 .aim-teacher-dashboard .aim-teacher-nav{position:relative!important;top:auto!important}
 .aim-teacher-dashboard .aim-teacher-topnav{display:none!important}
 .aim-teacher-dashboard .aim-teacher-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .aim-teacher-dashboard .aim-teacher-workgrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:680px){
 .aim-teacher-dashboard .aim-teacher-nav{margin:8px!important;padding:9px!important;border-radius:15px!important}
 .aim-teacher-dashboard .aim-public-brand b{font-size:13px!important}
 .aim-teacher-dashboard .aim-public-brand small{font-size:9px!important}
 .aim-teacher-dashboard .aim-user-pill{display:none!important}
 .aim-teacher-dashboard .aim-nav-register{padding:8px 10px!important;font-size:11px!important}
 .aim-teacher-dashboard .aim-teacher-main{width:calc(100% - 20px)!important}
 .aim-teacher-dashboard .aim-teacher-hero{grid-template-columns:1fr!important;margin:14px 0!important;padding:26px 21px!important;border-radius:22px!important;min-height:auto!important}
 .aim-teacher-dashboard .aim-teacher-hero h1{font-size:34px!important;letter-spacing:-.04em!important}
 .aim-teacher-dashboard .aim-teacher-hero p{font-size:13px!important;line-height:1.6!important}
 .aim-teacher-dashboard .aim-teacher-visual{min-height:185px!important}
 .aim-teacher-dashboard .aim-teacher-stats{gap:8px!important;margin-bottom:18px!important}
 .aim-teacher-dashboard .aim-teacher-stats>div{padding:11px!important;border-radius:14px!important;gap:9px!important}
 .aim-teacher-dashboard .stat-icon{width:35px!important;height:35px!important;font-size:17px!important}
 .aim-teacher-dashboard .aim-teacher-stats b{font-size:17px!important}
 .aim-teacher-dashboard .aim-teacher-stats small{font-size:9px!important}
 .aim-teacher-dashboard .aim-teacher-primary-grid{grid-template-columns:1fr!important;gap:11px!important}
 .aim-teacher-dashboard .aim-teacher-primary-card{padding:18px!important;min-height:0!important;border-radius:18px!important;gap:13px!important}
 .aim-teacher-dashboard .aim-teacher-primary-card h2{font-size:19px!important}
 .aim-teacher-dashboard .aim-teacher-primary-card p{font-size:12px!important}
 .aim-teacher-dashboard .aim-teacher-workgrid{grid-template-columns:1fr!important;gap:10px!important}
 .aim-teacher-dashboard .aim-teacher-workcard{padding:17px!important;border-radius:17px!important}
 .aim-teacher-dashboard .aim-teacher-workcard h3{font-size:17px!important}
 .aim-teacher-dashboard .aim-teacher-bottom{grid-template-columns:1fr!important}
}
@media(max-width:390px){
 .aim-teacher-dashboard .aim-public-brand .aim-public-logo{width:34px!important;height:34px!important}
 .aim-teacher-dashboard .aim-public-brand b{max-width:145px!important}
 .aim-teacher-dashboard .aim-teacher-hero h1{font-size:30px!important}
 .aim-teacher-dashboard .aim-teacher-stats{grid-template-columns:1fr 1fr!important}
 .aim-teacher-dashboard .aim-teacher-hero-actions a{width:100%!important;justify-content:center!important}
}

/* v3.1.34 — Premium Teacher Dashboard Card Display */
.aim-teacher-dashboard .aim-teacher-workgrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:8px}
.aim-teacher-dashboard .aim-teacher-workcard{min-height:235px;padding:24px;display:flex;flex-direction:column;justify-content:space-between;gap:18px;border-radius:24px;border:1px solid #dce7f2;background:linear-gradient(180deg,#fff 0%,#f8fbff 100%);box-shadow:0 10px 28px rgba(18,52,86,.07);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.aim-teacher-dashboard .aim-teacher-workcard:before{width:100%;height:4px;right:0;bottom:auto;left:0;top:0}
.aim-teacher-dashboard .aim-teacher-workcard:hover{transform:translateY(-6px);box-shadow:0 22px 46px rgba(18,52,86,.13);border-color:#c4d9ea}
.aim-teacher-dashboard .aim-teacher-workcard>div{min-width:0}
.aim-teacher-dashboard .work-icon{width:62px;height:62px;flex:0 0 62px;border-radius:18px;font-size:30px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.7)}
.aim-teacher-dashboard .work-label{display:block;margin-top:18px;font-size:10px;letter-spacing:.11em;color:#6c849b}
.aim-teacher-dashboard .aim-teacher-workcard h3{font-size:19px;line-height:1.2;margin:6px 0 8px;color:#102b47}
.aim-teacher-dashboard .aim-teacher-workcard p{font-size:12px;line-height:1.6;color:#718397;margin:0}
.aim-teacher-dashboard .aim-teacher-workcard strong{margin-top:17px;display:inline-flex;align-items:center;gap:5px;padding:9px 12px;border-radius:10px;background:#eef6ff;color:#0867ac;font-size:11px}
.aim-teacher-dashboard .aim-teacher-primary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.aim-teacher-dashboard .aim-teacher-primary-card{position:relative;overflow:hidden;border-radius:26px;padding:28px;box-shadow:0 16px 38px rgba(20,55,90,.09);border:1px solid #dbe7f2;transition:transform .22s ease,box-shadow .22s ease}
.aim-teacher-dashboard .aim-teacher-primary-card:hover{transform:translateY(-5px);box-shadow:0 24px 52px rgba(20,55,90,.14)}
.aim-teacher-dashboard .aim-teacher-primary-card h2{font-size:25px;line-height:1.15;margin:7px 0 8px}
.aim-teacher-dashboard .aim-teacher-primary-card p{font-size:13px;line-height:1.65;margin:0;max-width:600px}
.aim-teacher-dashboard .aim-teacher-section-title{display:flex;align-items:end;justify-content:space-between;margin:34px 0 16px}
.aim-teacher-dashboard .aim-teacher-section-title h2{font-size:28px;margin:5px 0 3px}
@media(max-width:1100px){.aim-teacher-dashboard .aim-teacher-workgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.aim-teacher-dashboard .aim-teacher-primary-grid{grid-template-columns:1fr}.aim-teacher-dashboard .aim-teacher-workgrid{grid-template-columns:1fr;gap:13px}.aim-teacher-dashboard .aim-teacher-workcard{min-height:190px;padding:20px;border-radius:20px}.aim-teacher-dashboard .work-icon{width:54px;height:54px;flex-basis:54px;font-size:27px}.aim-teacher-dashboard .work-label{margin-top:12px}.aim-teacher-dashboard .aim-teacher-workcard h3{font-size:18px}.aim-teacher-dashboard .aim-teacher-primary-card{padding:22px;border-radius:21px}.aim-teacher-dashboard .aim-teacher-primary-card h2{font-size:21px}.aim-teacher-dashboard .aim-teacher-section-title h2{font-size:24px}}
@media(max-width:430px){.aim-teacher-dashboard .aim-teacher-main{width:100%!important;padding-left:10px!important;padding-right:10px!important}.aim-teacher-dashboard .aim-teacher-hero{padding:24px 18px;border-radius:20px}.aim-teacher-dashboard .aim-teacher-hero h1{font-size:32px}.aim-teacher-dashboard .aim-teacher-stats{grid-template-columns:1fr 1fr!important}.aim-teacher-dashboard .aim-teacher-stats>div{min-width:0;padding:11px 9px}.aim-teacher-dashboard .aim-teacher-workcard{min-height:175px;padding:18px}.aim-teacher-dashboard .aim-teacher-workcard p{font-size:11px}.aim-teacher-dashboard .aim-teacher-workcard strong{width:100%;justify-content:center}.aim-teacher-dashboard .aim-teacher-section-title{margin-top:25px}}

/* v3.1.35 — Guru dashboard clean responsive layout */
.aim-teacher-dashboard{background:#f4f8fc!important;min-height:100vh}
.aim-teacher-dashboard .aim-teacher-nav{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-bottom:1px solid #e5edf5;box-shadow:0 5px 18px rgba(18,55,84,.05)}
.aim-teacher-dashboard .aim-teacher-main{max-width:1280px!important;margin:0 auto!important;padding:28px 22px 60px!important}
.aim-teacher-dashboard .aim-teacher-hero{display:grid!important;grid-template-columns:minmax(0,1.35fr) minmax(250px,.65fr)!important;gap:24px!important;border-radius:28px!important;padding:34px!important;background:linear-gradient(135deg,#073e72,#0a73b7 65%,#23a8d6)!important;box-shadow:0 18px 50px rgba(7,75,125,.18)!important}
.aim-teacher-dashboard .aim-teacher-primary-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important;margin-top:20px!important}
.aim-teacher-dashboard .aim-teacher-workgrid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important}
.aim-teacher-dashboard .aim-teacher-primary-card,.aim-teacher-dashboard .aim-teacher-workcard{min-width:0!important;overflow:hidden!important;box-sizing:border-box!important}
.aim-teacher-dashboard .aim-teacher-primary-card{min-height:190px!important;border-radius:22px!important;padding:24px!important;box-shadow:0 12px 32px rgba(22,62,94,.08)!important}
.aim-teacher-dashboard .aim-teacher-workcard{min-height:180px!important;border-radius:20px!important;padding:20px!important;background:#fff!important;border:1px solid #e2ebf3!important;box-shadow:0 10px 28px rgba(22,62,94,.06)!important}
.aim-teacher-dashboard .aim-teacher-stats{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;margin:18px 0!important}
.aim-teacher-dashboard .aim-teacher-stats>div{min-width:0!important;background:#fff;border:1px solid #e3ebf3;border-radius:18px;padding:16px;box-shadow:0 8px 24px rgba(22,62,94,.05)}
.aim-teacher-dashboard .aim-teacher-section-title{margin:28px 0 14px!important}
.aim-teacher-dashboard .aim-teacher-hero-actions{display:flex;gap:10px;flex-wrap:wrap}
@media(max-width:900px){.aim-teacher-dashboard .aim-teacher-hero{grid-template-columns:1fr!important}.aim-teacher-dashboard .aim-teacher-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}.aim-teacher-dashboard .aim-teacher-workgrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:620px){.aim-teacher-dashboard .aim-teacher-main{padding:14px 10px 38px!important}.aim-teacher-dashboard .aim-teacher-hero{padding:22px 18px!important;border-radius:20px!important}.aim-teacher-dashboard .aim-teacher-primary-grid,.aim-teacher-dashboard .aim-teacher-workgrid,.aim-teacher-dashboard .aim-teacher-stats{grid-template-columns:1fr!important}.aim-teacher-dashboard .aim-teacher-primary-card{min-height:0!important;padding:18px!important}.aim-teacher-dashboard .aim-teacher-workcard{min-height:0!important;padding:17px!important}.aim-teacher-dashboard .aim-teacher-nav{position:relative!important}.aim-teacher-dashboard .aim-teacher-topnav{display:none!important}.aim-teacher-dashboard .aim-public-actions{gap:7px!important}.aim-teacher-dashboard .aim-user-pill{max-width:48vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}

/* v3.1.35 — AI Text subject/topic controls */
#aim-topic{min-width:0;width:100%}
@media(max-width:650px){.aim-context{grid-template-columns:1fr!important}.aim-context label{min-width:0!important}}

/* v3.1.35 — Professional, responsive Guru dashboard */
.aim-teacher-dashboard{background:#f4f8fc!important;min-height:100vh}
.aim-teacher-dashboard .aim-teacher-main{max-width:1280px!important;margin:0 auto!important;padding:28px 22px 60px!important}
.aim-teacher-dashboard .aim-teacher-hero{display:grid!important;grid-template-columns:minmax(0,1.35fr) minmax(240px,.65fr)!important;gap:24px!important;border-radius:28px!important;padding:34px!important;box-shadow:0 18px 50px rgba(7,75,125,.16)!important}
.aim-teacher-dashboard .aim-teacher-primary-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important;margin-top:20px!important}
.aim-teacher-dashboard .aim-teacher-workgrid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important}
.aim-teacher-dashboard .aim-teacher-primary-card,.aim-teacher-dashboard .aim-teacher-workcard{min-width:0!important;overflow:hidden!important;box-sizing:border-box!important}
.aim-teacher-dashboard .aim-teacher-primary-card{min-height:190px!important;border-radius:22px!important;padding:24px!important;box-shadow:0 12px 32px rgba(22,62,94,.08)!important}
.aim-teacher-dashboard .aim-teacher-workcard{min-height:180px!important;border-radius:20px!important;padding:20px!important;background:#fff!important;border:1px solid #e2ebf3!important;box-shadow:0 10px 28px rgba(22,62,94,.06)!important}
.aim-teacher-dashboard .aim-teacher-stats{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;margin:18px 0!important}
.aim-teacher-dashboard .aim-teacher-stats>div{min-width:0!important;background:#fff;border:1px solid #e3ebf3;border-radius:18px;padding:16px;box-shadow:0 8px 24px rgba(22,62,94,.05)}
.aim-teacher-dashboard .aim-teacher-section-title{margin:28px 0 14px!important}
@media(max-width:900px){.aim-teacher-dashboard .aim-teacher-hero{grid-template-columns:1fr!important}.aim-teacher-dashboard .aim-teacher-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}.aim-teacher-dashboard .aim-teacher-workgrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:620px){.aim-teacher-dashboard .aim-teacher-main{padding:14px 10px 38px!important}.aim-teacher-dashboard .aim-teacher-hero{padding:22px 18px!important;border-radius:20px!important}.aim-teacher-dashboard .aim-teacher-primary-grid,.aim-teacher-dashboard .aim-teacher-workgrid,.aim-teacher-dashboard .aim-teacher-stats{grid-template-columns:1fr!important}.aim-teacher-dashboard .aim-teacher-primary-card,.aim-teacher-dashboard .aim-teacher-workcard{min-height:0!important;padding:18px!important}.aim-teacher-dashboard .aim-teacher-topnav{display:none!important}.aim-teacher-dashboard .aim-public-actions{gap:7px!important}.aim-teacher-dashboard .aim-user-pill{max-width:48vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
#aim-topic{min-width:0;width:100%}
@media(max-width:650px){.aim-context{grid-template-columns:1fr!important}.aim-context label{min-width:0!important}}

/* Teacher dashboard custom header: SIM Kurikulum + AI Muallim dropdowns only. */
.aima-teacher-front-header{gap:18px!important;max-width:1280px!important;}
.aima-front-teacher-menu{display:flex;align-items:center;gap:6px;flex:1;}
.aima-front-dropdown{position:relative;}
.aima-front-dropdown>button{border:0;background:transparent;color:#35546e;font-weight:800;font-size:12px;padding:10px 13px;border-radius:11px;cursor:pointer;}
.aima-front-dropdown>button:hover,.aima-front-dropdown:focus-within>button{background:#eaf5ff;color:#075da9;}
.aima-front-dropdown-menu{display:none;position:absolute;left:0;top:calc(100% + 7px);min-width:250px;max-height:70vh;overflow:auto;padding:7px;background:#fff;border:1px solid #dfe9f2;border-radius:15px;box-shadow:0 18px 45px rgba(20,55,85,.16);z-index:1000;}
.aima-front-dropdown:hover .aima-front-dropdown-menu,.aima-front-dropdown:focus-within .aima-front-dropdown-menu{display:block;}
.aima-front-dropdown-menu a{display:block;padding:10px 12px;color:#36556e;text-decoration:none;font-weight:700;font-size:12px;border-radius:9px;}
.aima-front-dropdown-menu a:hover{background:#eef7fd;color:#075da9;}
@media(max-width:760px){.aima-front-teacher-header{padding:9px 10px!important;gap:8px!important;}.aima-front-teacher-menu{gap:2px;}.aima-front-dropdown>button{font-size:11px;padding:9px 8px;}.aima-teacher-front-header .aim-user-pill{display:none!important;}.aima-front-dropdown-menu{min-width:220px;}.aima-teacher-front-header .aim-public-brand small{display:none;}.aima-teacher-front-header .aim-public-brand{min-width:0;}}
@media(max-width:520px){.aima-front-dropdown>button{font-size:0;}.aima-front-dropdown>button span{font-size:18px;}.aima-front-dropdown:first-child>button:before{content:'📘';font-size:18px;}.aima-front-dropdown:last-child>button:before{content:'🤖';font-size:18px;}}

/* v3.1.42 — Guru header: hamburger menu on every device + accessible dropdowns */
body.aima-teacher-workspace-page{margin:0!important;background:#f4f8fc!important;overflow-x:hidden!important}
body.aima-teacher-workspace-page #wpadminbar,
body.aima-teacher-workspace-page #secondary,
body.aima-teacher-workspace-page #sidebar,
body.aima-teacher-workspace-page .sidebar,
body.aima-teacher-workspace-page .widget-area,
body.aima-teacher-workspace-page .site-sidebar,
body.aima-teacher-workspace-page .elementor-location-header,
body.aima-teacher-workspace-page .elementor-location-footer{display:none!important}
body.aima-teacher-workspace-page .site-content,
body.aima-teacher-workspace-page .content-area,
body.aima-teacher-workspace-page .site-main,
body.aima-teacher-workspace-page .entry-content{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;float:none!important}
.aima-teacher-front-header{position:sticky!important;top:0!important;z-index:99999!important;width:100%!important;max-width:none!important;box-sizing:border-box!important;padding:10px clamp(12px,3vw,30px)!important;display:flex!important;align-items:center!important;gap:12px!important;background:rgba(255,255,255,.97)!important;border-bottom:1px solid #dfeaf3!important;box-shadow:0 5px 24px rgba(20,55,85,.08)!important}
.aima-teacher-front-header .aim-public-brand{min-width:0!important;flex:1 1 auto!important}
.aima-teacher-front-header .aim-public-brand span:last-child{min-width:0!important}
.aima-teacher-front-header .aim-public-brand b,.aima-teacher-front-header .aim-public-brand small{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;display:block!important}
.aima-teacher-menu-wrap{position:relative!important;flex:0 0 auto!important;order:2!important}
.aima-hamburger{width:44px!important;height:44px!important;border:1px solid #d6e5f1!important;background:#eef7fd!important;border-radius:12px!important;padding:9px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;gap:5px!important;cursor:pointer!important;box-sizing:border-box!important}
.aima-hamburger i{display:block!important;width:100%!important;height:2px!important;border-radius:5px!important;background:#075da9!important;transition:transform .18s,opacity .18s!important}
.aima-hamburger.is-open i:nth-child(1){transform:translateY(7px) rotate(45deg)}
.aima-hamburger.is-open i:nth-child(2){opacity:0}
.aima-hamburger.is-open i:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.aima-teacher-menu-panel{position:absolute!important;right:0!important;top:calc(100% + 9px)!important;width:min(330px,calc(100vw - 20px))!important;max-height:calc(100vh - 80px)!important;overflow:auto!important;padding:9px!important;background:#fff!important;border:1px solid #dbe7f0!important;border-radius:17px!important;box-shadow:0 18px 50px rgba(20,55,85,.20)!important;display:none!important;box-sizing:border-box!important}
.aima-teacher-menu-panel.is-open{display:block!important}
.aima-menu-group{margin:0 0 5px!important}
.aima-menu-group-toggle{width:100%!important;display:flex!important;align-items:center!important;gap:9px!important;padding:13px!important;border:0!important;background:transparent!important;border-radius:11px!important;color:#294b67!important;font-size:14px!important;font-weight:800!important;text-align:left!important;cursor:pointer!important}
.aima-menu-group-toggle b{margin-left:auto!important;font-size:16px!important;transition:transform .18s!important}
.aima-menu-group.open .aima-menu-group-toggle{background:#eef7fd!important;color:#075da9!important}
.aima-menu-group.open .aima-menu-group-toggle b{transform:rotate(180deg)!important}
.aima-menu-submenu{display:none!important;padding:3px 0 5px 9px!important}
.aima-menu-group.open .aima-menu-submenu{display:block!important}
.aima-menu-submenu a,.aima-menu-logout{display:block!important;padding:11px 12px!important;border-radius:9px!important;color:#36556e!important;text-decoration:none!important;font-size:13px!important;font-weight:700!important;line-height:1.35!important}
.aima-menu-submenu a:hover,.aima-menu-submenu a:focus-visible,.aima-menu-logout:hover,.aima-menu-logout:focus-visible{background:#f0f8fe!important;color:#075da9!important}
.aima-menu-logout{margin-top:6px!important;border-top:1px solid #edf2f6!important;border-radius:9px!important;color:#b42318!important}
.aima-teacher-front-header .aim-public-actions{order:3!important;flex:0 0 auto!important;display:flex!important;align-items:center!important;gap:7px!important}
.aima-teacher-front-header .aim-user-pill{max-width:190px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
@media(max-width:700px){.aima-teacher-front-header{gap:8px!important}.aima-teacher-front-header .aim-public-brand small{display:none!important}.aima-teacher-front-header .aim-public-brand b{font-size:13px!important}.aima-teacher-front-header .aim-user-pill{display:none!important}.aima-teacher-front-header .aim-logout-pill{font-size:11px!important;padding:8px 10px!important}.aima-teacher-menu-panel{right:-4px!important;width:min(310px,calc(100vw - 18px))!important}}
@media(max-width:430px){.aima-teacher-front-header{padding:8px 9px!important}.aima-teacher-front-header .aim-public-logo{width:38px!important;height:38px!important}.aima-teacher-front-header .aim-public-brand b{font-size:12px!important}.aima-hamburger{width:41px!important;height:41px!important}.aima-teacher-front-header .aim-logout-pill{font-size:0!important;width:41px!important;height:41px!important;padding:0!important;display:grid!important;place-items:center!important}.aima-teacher-front-header .aim-logout-pill:after{content:'↪';font-size:20px!important}.aima-teacher-menu-panel{right:-5px!important}}


/* v3.1.49 — ONLY raise teacher dashboard content; keep v3.1.47 header/menu unchanged */
.aim-teacher-dashboard .aim-teacher-main{padding-top:8px!important;padding-bottom:50px!important}
.aim-teacher-dashboard .aim-teacher-hero{margin-top:8px!important}
@media(max-width:620px){.aim-teacher-dashboard .aim-teacher-main{padding-top:6px!important;padding-bottom:38px!important}.aim-teacher-dashboard .aim-teacher-hero{margin-top:6px!important}}

/* v3.1.50 — Student Dashboard: clean WP-free shell + premium menu cards. */
.aima-student-workspace-page #wpadminbar,
.aima-student-workspace-page #adminmenumain,
.aima-student-workspace-page #adminmenuback,
.aima-student-workspace-page #adminmenuwrap,
.aima-student-workspace-page #wpfooter,
.aima-student-workspace-page .wp-site-blocks > header,
.aima-student-workspace-page .site-header,
.aima-student-workspace-page header.site-header,
.aima-student-workspace-page .elementor-location-header,
.aima-student-workspace-page .elementor-location-footer,
.aima-student-workspace-page footer.site-footer,
.aima-student-workspace-page #colophon,
.aima-student-workspace-page .site-footer,
.aima-student-workspace-page .entry-header,
.aima-student-workspace-page .entry-footer,
.aima-student-workspace-page .wp-block-template-part{display:none!important}
.aima-student-workspace-page{margin:0!important;padding:0!important;background:#eef4fa!important;overflow-x:hidden}
.aima-student-workspace-page #page,
.aima-student-workspace-page .site,
.aima-student-workspace-page .site-content,
.aima-student-workspace-page .content-area,
.aima-student-workspace-page main.site-main{margin:0!important;padding:0!important;width:100%!important;max-width:none!important}
.aima-student-workspace-page .aima-student-dashboard{min-height:100vh}
.aima-student-workspace-page .aim-public-nav{max-width:1240px!important;margin:14px auto 0!important;border-radius:20px!important;position:sticky!important;top:12px!important;z-index:100!important}
.aima-student-workspace-page .aim-student-topnav{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px!important;align-items:stretch!important;flex:1!important;max-width:590px!important}
.aima-student-workspace-page .aim-student-topnav a{display:flex!important;align-items:center!important;justify-content:center!important;min-height:42px!important;padding:10px 12px!important;border:1px solid #e1eaf3!important;background:#f8fbff!important;border-radius:13px!important;color:#173b5d!important;font-size:12px!important;font-weight:800!important;box-shadow:0 4px 12px rgba(20,55,90,.04)!important}
.aima-student-workspace-page .aim-student-topnav a.active{background:linear-gradient(135deg,#e8f5ff,#f7fbff)!important;border-color:#b9d9ef!important;color:#0869ad!important}
.aima-student-workspace-page .aim-student-topnav a:hover{transform:translateY(-1px);background:#fff!important;border-color:#bdd8eb!important}
.aima-student-workspace-page .aim-student-home-btn{display:inline-flex;align-items:center;justify-content:center;padding:9px 12px;border-radius:11px;text-decoration:none;font-weight:800;font-size:12px;background:#eef7ff;color:#075f9f!important;border:1px solid #c9e2f3;white-space:nowrap}
.aima-student-workspace-page .aim-logout-pill{background:#fff4f3!important;color:#b42318!important;border:1px solid #f0c8c3!important}
.aima-student-workspace-page .aim-student-main{max-width:1240px!important;margin:0 auto!important;padding:18px 22px 55px!important}
.aima-student-workspace-page .aim-student-head{padding:18px 0 4px!important}
.aima-student-workspace-page .aima-dashboard-ai-panel,
.aima-student-workspace-page .aim-student-feature,
.aima-student-workspace-page .aim-modern-learning-card,
.aima-student-workspace-page .aim-student-course-hub-card{box-shadow:0 10px 28px rgba(20,55,90,.065)!important}
@media(max-width:980px){
  .aima-student-workspace-page .aim-public-nav{margin:8px 10px 0!important}
  .aima-student-workspace-page .aim-student-topnav{order:3;max-width:none;width:100%;grid-template-columns:repeat(4,minmax(120px,1fr));overflow-x:auto}
  .aima-student-workspace-page .aim-public-nav{flex-wrap:wrap!important}
  .aima-student-workspace-page .aim-student-main{padding:15px 14px 45px!important}
}
@media(max-width:600px){
  .aima-student-workspace-page .aim-public-nav{top:0!important;margin:0!important;border-radius:0 0 18px 18px!important;padding:10px!important}
  .aima-student-workspace-page .aim-public-brand{flex:1 1 100%!important}
  .aima-student-workspace-page .aim-public-actions{width:100%!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important;margin-top:8px!important}
  .aima-student-workspace-page .aim-user-pill{display:none!important}
  .aima-student-workspace-page .aim-student-home-btn,.aima-student-workspace-page .aim-logout-pill{width:100%!important;min-height:40px!important}
  .aima-student-workspace-page .aim-student-topnav{display:grid!important;grid-template-columns:repeat(4,minmax(112px,1fr))!important;overflow-x:auto!important;width:100%!important;scrollbar-width:none!important}
  .aima-student-workspace-page .aim-student-topnav::-webkit-scrollbar{display:none}
  .aima-student-workspace-page .aim-student-topnav a{min-height:44px!important;font-size:11px!important;padding:8px!important}
  .aima-student-workspace-page .aim-student-main{padding:14px 10px 38px!important}
  .aima-student-workspace-page .aim-student-head h1{font-size:29px!important}
  .aima-student-workspace-page .aim-head-actions{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;width:100%!important}
}
/* SIM Kurikulum cards on Teacher Dashboard */
.aim-teacher-sim-cards{margin-top:26px}.aim-teacher-sim-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.aim-teacher-sim-card{min-height:190px;text-decoration:none}.aim-teacher-sim-card .work-icon{font-size:34px}.aim-teacher-card-blue{border-color:rgba(37,99,235,.22)!important;background:linear-gradient(145deg,#fff,#eff6ff)!important}.aim-teacher-card-blue:hover{border-color:rgba(37,99,235,.45)!important;transform:translateY(-3px)}
@media(max-width:900px){.aim-teacher-sim-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.aim-teacher-sim-grid{grid-template-columns:1fr}.aim-teacher-sim-card{min-height:150px}}

/* v3.1.61 — One Door Login */
.aim-one-door-login .aim-one-door-badge{display:inline-flex;align-items:center;gap:7px;padding:8px 12px;border-radius:999px;background:#eaf5ff;color:#0b66ad;font-size:11px;font-weight:900;letter-spacing:.06em;margin:10px 0 12px}.aim-one-door-login .aim-login-benefits{display:grid;gap:12px}.aim-one-door-login .aim-login-benefits>div{display:flex;align-items:center;gap:12px}.aim-one-door-login .aim-login-benefits b{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:rgba(255,255,255,.15);font-size:11px}.aim-one-door-login .aim-login-benefits span{font-size:13px;line-height:1.45}.aim-one-door-login .aim-login-card{max-width:520px}.aim-one-door-login .login-username,.aim-one-door-login .login-password{margin-bottom:15px}.aim-one-door-login .login-remember{margin:10px 0 18px}.aim-one-door-login .login-submit input[type=submit]{width:100%;min-height:48px;border-radius:12px;border:0;cursor:pointer;font-weight:800}.aim-one-door-login .aim-login-card form{margin-bottom:0}@media(max-width:760px){.aim-one-door-login .aim-auth-layout{grid-template-columns:1fr}.aim-one-door-login .aim-login-promo{padding:28px 20px}.aim-one-door-login .aim-login-card{max-width:none}.aim-one-door-login .aim-auth-card{padding:22px 18px;border-radius:20px}.aim-one-door-login .aim-login-benefits{gap:9px}.aim-one-door-login .aim-login-benefits span{font-size:12px}}

.aim-answer-btn:disabled{opacity:.55;cursor:not-allowed}@media(max-width:600px){.aim-answer-actions .aim-answer-btn{min-height:40px;flex:1 1 auto}.aim-answer-actions{gap:8px}}
/* AI Muallim Text teacher audio controls */
.aim-answer-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.aim-teacher-voice{min-height:38px;padding:8px 10px;border:1px solid #d0d5dd;border-radius:10px;background:#fff;font-weight:600;max-width:220px}
.aim-teacher-audio-download:disabled{opacity:.55;cursor:not-allowed}
@media (max-width:700px){.aim-answer-actions{display:grid;grid-template-columns:1fr 1fr}.aim-answer-actions .aim-teacher-voice{grid-column:1/-1;max-width:none;width:100%}.aim-answer-actions .aim-answer-btn{width:100%;min-height:42px}.aim-answer-body{overflow-wrap:anywhere}}
/* v3.1.50 - AI Text result explanation panel */
.aim-result-explanation{margin-top:14px;padding:14px 16px;border:1px solid #b8d7f5;border-left:4px solid #1976d2;border-radius:12px;background:#eef7ff;color:#17324d}
.aim-explanation-title{font-weight:800;margin-bottom:8px;color:#145da0}
.aim-explanation-body{line-height:1.7;overflow-wrap:anywhere}
.aim-explanation-body p{margin:0 0 10px}.aim-explanation-body h1,.aim-explanation-body h2,.aim-explanation-body h3{margin:14px 0 7px}
@media(max-width:600px){.aim-result-explanation{padding:12px}.aim-explanation-body{font-size:14px}}

.aim-lesson-audio{margin:18px 0;padding:16px;border:1px solid #d9e8f5;border-radius:14px;background:#f5faff;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.aim-lesson-audio strong{color:#075da9}.aim-lesson-audio audio{width:min(100%,520px)}.aim-lesson-audio a{font-weight:700;text-decoration:none}.aim-answer-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.aim-answer-actions .aim-save-course-btn{background:#e8f6ee}.aim-answer-actions .aim-save-course-btn:disabled{opacity:.65;cursor:wait}@media(max-width:600px){.aim-answer-actions{display:grid;grid-template-columns:1fr 1fr}.aim-answer-actions select,.aim-answer-actions button{width:100%;min-height:42px}.aim-lesson-audio{align-items:stretch}.aim-lesson-audio audio{width:100%}.aim-lesson-audio a{width:100%;text-align:center}}

/* v3.1.93 result actions */
.aim-result-actions{display:flex!important;gap:6px;flex-wrap:wrap;align-items:center}.aim-result-actions a,.aim-result-actions button{white-space:nowrap!important;text-decoration:none!important}.aim-results-table td{vertical-align:middle}.aim-teacher-front-results-table td{vertical-align:middle}.aim-front-share-result{border:1px solid #cbd8e3;background:#fff;border-radius:4px;padding:5px 9px;cursor:pointer}@media(max-width:700px){.aim-result-actions{min-width:250px}.aim-result-actions a,.aim-result-actions button{min-height:36px}}

/* v3.1.98 — Student Dashboard professional visual refresh */
.aima-student-workspace-page,.aim-student-dashboard{background:linear-gradient(180deg,#eaf5ff 0%,#f5f9fd 42%,#ffffff 100%)!important}
.aima-student-workspace-page .aim-student-dashboard{position:relative;isolation:isolate}
.aima-student-workspace-page .aim-student-dashboard:before{content:"";position:absolute;inset:0 0 auto 0;height:360px;background:radial-gradient(circle at 12% 15%,rgba(76,181,255,.28),transparent 34%),radial-gradient(circle at 88% 8%,rgba(36,113,207,.20),transparent 32%),linear-gradient(135deg,#073d78,#0b75bd 58%,#27a8df);z-index:-1;pointer-events:none}
.aima-student-workspace-page .aim-public-nav{background:rgba(255,255,255,.94)!important;border:1px solid rgba(205,225,242,.9)!important;box-shadow:0 12px 34px rgba(9,58,101,.12)!important;backdrop-filter:blur(14px)}
.aima-student-workspace-page .aim-public-brand{color:#123f68!important}
.aima-student-workspace-page .aim-public-logo{background:linear-gradient(135deg,#075fa8,#1da5df)!important;color:#fff!important;box-shadow:0 8px 20px rgba(7,95,168,.24)}
.aima-student-workspace-page .aim-student-main{padding-top:24px!important}
.aima-student-workspace-page .aim-student-head{margin-top:12px;padding:32px!important;border-radius:28px;background:linear-gradient(135deg,rgba(255,255,255,.98),rgba(245,251,255,.96));border:1px solid #cfe5f6;box-shadow:0 18px 48px rgba(9,63,105,.12);position:relative;overflow:hidden}
.aima-student-workspace-page .aim-student-head:after{content:"✦";position:absolute;right:30px;top:18px;font-size:82px;line-height:1;color:#d8efff;transform:rotate(12deg);pointer-events:none}
.aima-student-workspace-page .aim-student-head h1{color:#0a4778!important;font-size:clamp(30px,4.4vw,48px)!important;letter-spacing:-.035em!important;margin:8px 0 10px!important}
.aima-student-workspace-page .aim-student-head p{color:#5d7287!important;max-width:760px}
.aima-student-workspace-page .aim-head-actions{position:relative;z-index:2}
.aima-student-workspace-page .aima-dashboard-ai-panels{gap:18px;margin-top:22px}
.aima-student-workspace-page .aima-dashboard-ai-panel{min-height:190px;border:1px solid #cfe3f2;background:rgba(255,255,255,.97);box-shadow:0 14px 36px rgba(9,62,104,.09);border-radius:24px}
.aima-student-workspace-page .aima-dashboard-ai-text{background:linear-gradient(135deg,#ffffff,#eef8ff)!important}
.aima-student-workspace-page .aima-dashboard-ai-live{background:linear-gradient(135deg,#f8fcff,#eaf7ff)!important}
.aima-student-workspace-page .aima-dashboard-ai-panel:hover{border-color:#8fc7ea;box-shadow:0 20px 44px rgba(9,62,104,.14)}
.aima-student-workspace-page .aim-student-feature{border:1px solid #d3e4f1!important;background:rgba(255,255,255,.97)!important;box-shadow:0 12px 30px rgba(14,65,105,.07)!important;border-radius:22px!important}
.aima-student-workspace-page .aim-student-feature:hover{transform:translateY(-3px);box-shadow:0 18px 38px rgba(14,65,105,.12)!important;border-color:#abd4ee!important}
.aima-student-workspace-page .aim-student-feature>span{background:#eaf6ff!important}
.aima-student-workspace-page .aim-student-course-hub-card,.aima-student-workspace-page .aim-student-material-course-card{box-shadow:0 12px 32px rgba(12,61,101,.075)!important;border-color:#d4e5f1!important}
.aima-student-workspace-page .aim-section-head h2{color:#123f68!important}
.aima-student-workspace-page .aim-kicker{color:#0875bd!important}
@media(max-width:650px){
 .aima-student-workspace-page:before{height:300px}
 .aima-student-workspace-page .aim-student-head{padding:22px 18px!important;border-radius:21px;margin-top:8px}
 .aima-student-workspace-page .aim-student-head:after{font-size:58px;right:12px;top:10px}
 .aima-student-workspace-page .aim-student-head h1{font-size:30px!important;padding-right:40px}
 .aima-student-workspace-page .aima-dashboard-ai-panel{min-height:0}
}

/* v3.1.99 — AI Muallim chat file attachment composer */
.aim-chat-composer{display:flex;align-items:flex-end;gap:8px;width:100%}
.aim-chat-composer #aim-question{flex:1;min-width:0}
.aim-file-btn{width:44px;height:44px;flex:0 0 44px;border:1px solid #d5e3f0;border-radius:12px;background:#eef6ff;color:#075da9;font-size:20px;cursor:pointer;display:grid;place-items:center}
.aim-file-btn:hover{background:#e2f0ff}
.aim-file-preview{margin-top:8px;padding:8px 10px;border:1px solid #d9e7f3;border-radius:10px;background:#f6fbff;color:#385570;font-size:12px;display:flex;align-items:center;justify-content:space-between;gap:10px}
.aim-file-remove{border:0;background:transparent;color:#b42318;font-size:18px;cursor:pointer;line-height:1}
@media(max-width:560px){.aim-chat-composer{gap:6px}.aim-file-btn{width:42px;height:42px;flex-basis:42px}.aim-chat-composer .aim-send{min-width:70px}.aim-file-preview{font-size:11px}}

/* AI Muallim Academy LMS 3.2 */
.aim-lms-progress-card{margin:20px 0;background:#fff;border:1px solid #dce9f5;border-radius:18px;padding:18px 20px;box-shadow:0 10px 28px rgba(18,63,104,.06)}
.aim-lms-progress-card>div:first-child{display:flex;justify-content:space-between;align-items:center;gap:10px}.aim-lms-progress-card span{font-size:10px;font-weight:900;letter-spacing:.08em;color:#71869a}.aim-lms-progress-card strong{font-size:22px;color:#075da9}.aim-lms-progress-track{height:10px;background:#e8f0f7;border-radius:99px;overflow:hidden;margin:10px 0 7px}.aim-lms-progress-bar{display:block;height:100%;border-radius:99px;background:currentColor;color:#1686d8;transition:width .35s ease}.aim-lms-progress-card small{color:#71869a}
.aim-lms-layout{display:grid;grid-template-columns:270px minmax(0,1fr);gap:22px;align-items:start}.aim-lms-sidebar{position:sticky;top:20px;background:#fff;border:1px solid #dce9f5;border-radius:18px;padding:14px;box-shadow:0 10px 28px rgba(18,63,104,.06)}.aim-lms-sidebar-title{font-weight:900;color:#123f68;padding:8px 8px 12px}.aim-lms-module-nav{border-top:1px solid #edf2f6;padding:12px 0}.aim-lms-module-nav>b{display:block;color:#234e70;font-size:12px;margin:0 8px 7px}.aim-lms-module-nav a{display:flex;gap:7px;align-items:flex-start;text-decoration:none;color:#61788c;padding:8px;border-radius:10px;font-size:12px;line-height:1.35}.aim-lms-module-nav a:hover{background:#eef7ff;color:#075da9}.aim-lms-module-nav a.is-done{color:#16835a;font-weight:700}.aim-lms-content{min-width:0}.aim-lms-welcome{background:linear-gradient(135deg,#f2f9ff,#fff);border:1px solid #dce9f5;border-radius:18px;padding:20px;margin-bottom:20px}.aim-lms-welcome span,.aim-lms-module-head>span{font-size:10px;font-weight:900;letter-spacing:.09em;color:#1686d8}.aim-lms-welcome h2{margin:5px 0;color:#123f68}.aim-lms-welcome p{margin:0;color:#71869a}.aim-lms-module{margin-bottom:22px}.aim-lms-module-head{padding:5px 2px 12px}.aim-lms-module-head h2{margin:4px 0;color:#123f68}.aim-lms-module-head p{margin:0;color:#71869a}.aim-lms-lesson{scroll-margin-top:20px}.aim-lms-lesson.is-complete{border-color:#bfe8d5}.aim-lms-lesson-top{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}.aim-lms-lesson-top>div{min-width:0}.aim-lms-lesson-top>div>span{font-size:9px;font-weight:900;color:#1686d8;letter-spacing:.08em}.aim-lms-lesson-top h3{margin:4px 0;color:#123f68}.aim-lms-lesson-top p{margin:0;color:#71869a}.aim-mark-complete{white-space:nowrap;flex:0 0 auto}.aim-mark-complete:disabled{opacity:.7;cursor:wait}
@media(max-width:850px){.aim-lms-layout{grid-template-columns:1fr}.aim-lms-sidebar{position:relative;top:auto}.aim-lms-module-nav{display:block}.aim-lms-lesson-top{display:block}.aim-mark-complete{margin-top:12px;width:100%}}

/* v3.4.21 — Student dashboard final responsive shell. Android uses hamburger; desktop remains clean. */
.aima-student-workspace-page .aim-public-nav{position:relative;display:flex;align-items:center;gap:12px;min-height:62px;box-sizing:border-box}
.aima-student-workspace-page .aim-public-brand{min-width:0;display:flex;align-items:center;gap:10px}
.aima-student-workspace-page .aim-public-brand b,.aima-student-workspace-page .aim-public-brand small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.aima-student-workspace-page .aim-public-brand small{opacity:.72}
.aima-student-workspace-page .aim-student-mobile-menu{display:none}
.aima-student-workspace-page .aim-student-menu-toggle{display:none}
.aima-student-workspace-page .aim-student-main{width:100%;box-sizing:border-box}
.aima-student-workspace-page .aim-student-head,.aima-student-workspace-page .aima-dashboard-ai-panels,.aima-student-workspace-page .aim-student-feature-grid,.aima-student-workspace-page .aim-dashboard-stats,.aima-student-workspace-page .aim-section-block{width:100%;box-sizing:border-box}
@media(max-width:767px){
 .aima-student-workspace-page .aim-student-main{padding:14px 10px 36px!important}
 .aima-student-workspace-page .aim-student-head{padding:20px 16px!important;border-radius:20px!important;margin-top:8px!important}
 .aima-student-workspace-page .aim-student-head h1{font-size:clamp(26px,8vw,34px)!important;line-height:1.15!important}
 .aima-student-workspace-page .aima-dashboard-ai-panels{grid-template-columns:1fr!important}
 .aima-student-workspace-page .aim-student-feature-grid{grid-template-columns:1fr!important}
 .aima-student-workspace-page .aim-dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .aima-student-workspace-page .aim-learning-grid,.aima-student-workspace-page .aim-student-course-hub-grid{grid-template-columns:1fr!important}
}
/* Android: ONLY hamburger navigation is visible. Existing legacy !important grid rules are neutralized here. */
.aima-android-device .aim-student-topnav.aim-student-single-nav{display:none!important;width:0!important;max-width:0!important;overflow:hidden!important}
.aima-android-device .aim-public-actions{display:none!important}
.aima-android-device .aim-public-nav{flex-wrap:nowrap!important;padding:9px 10px!important;margin:0!important;border-radius:0 0 18px 18px!important}
.aima-android-device .aim-public-brand{flex:1 1 auto!important;min-width:0!important}
.aima-android-device .aim-student-menu-toggle{display:inline-flex!important;flex:0 0 44px!important;width:44px!important;height:44px!important;min-width:44px!important;align-items:center!important;justify-content:center!important;margin-left:auto!important;border:0!important;border-radius:12px!important;background:#075da9!important;color:#fff!important;font-size:22px!important;font-weight:900!important;line-height:1!important;box-shadow:0 7px 18px rgba(7,93,169,.24)!important;cursor:pointer!important}
.aima-android-device .aim-student-mobile-menu{display:none!important;position:absolute!important;right:10px!important;top:58px!important;width:min(92vw,370px)!important;max-height:calc(100vh - 76px)!important;overflow:auto!important;background:#fff!important;border:1px solid #d8e7f2!important;border-radius:18px!important;box-shadow:0 18px 48px rgba(9,52,88,.22)!important;z-index:999999!important;padding:6px!important}
.aima-android-device .aim-student-mobile-menu.is-open{display:block!important}
.aima-android-device .aim-student-mobile-menu a{display:flex!important;align-items:center!important;gap:9px!important;min-height:46px!important;box-sizing:border-box!important;padding:11px 13px!important;border-bottom:1px solid #edf2f6!important;border-radius:11px!important;color:#173f60!important;background:#fff!important;text-decoration:none!important;font-size:13px!important;font-weight:800!important}
.aima-android-device .aim-student-mobile-menu a:hover,.aima-android-device .aim-student-mobile-menu a:active{background:#eef7ff!important;color:#075da9!important}
.aima-android-device .aim-student-mobile-menu a:last-child{border-bottom:0!important;color:#b42318!important}
/* Never show WordPress chrome on the student workspace. */
body.aima-student-workspace-page #wpadminbar,body.aima-student-workspace-page #adminmenumain,body.aima-student-workspace-page #adminmenuback,body.aima-student-workspace-page #adminmenuwrap,body.aima-student-workspace-page #wpfooter{display:none!important}
body.aima-student-workspace-page{margin:0!important;padding:0!important;overflow-x:hidden!important}
@media(max-width:430px){.aima-android-device .aim-public-brand b{font-size:13px!important}.aima-android-device .aim-public-brand small{font-size:10px!important}.aima-android-device .aim-student-mobile-menu{right:8px!important;width:min(94vw,350px)!important}}

/* AI Muallim Academy v3.4.22 — Student header: exactly 4 grouped dropdown menus */
.aima-student-workspace-page .aima-student-group-nav{
  display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;
  flex:1 1 auto!important;min-width:0!important;margin:0 8px!important;
}
.aima-student-workspace-page .aima-menu-group{position:relative!important;min-width:0!important;}
.aima-student-workspace-page .aima-menu-group summary{
  list-style:none!important;cursor:pointer!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;
  min-height:42px!important;padding:9px 13px!important;border:1px solid #dbe8f3!important;border-radius:13px!important;
  background:#f8fbff!important;color:#173f5d!important;font-size:12px!important;font-weight:900!important;white-space:nowrap!important;
  box-shadow:0 4px 12px rgba(20,55,90,.04)!important;transition:.18s ease!important;
}
.aima-student-workspace-page .aima-menu-group summary::-webkit-details-marker{display:none!important}
.aima-student-workspace-page .aima-menu-group summary span{font-size:14px!important;color:#4e7695!important;line-height:1!important;transition:transform .18s ease!important}
.aima-student-workspace-page .aima-menu-group[open] summary{background:linear-gradient(135deg,#eaf6ff,#f9fcff)!important;border-color:#abd2ed!important;color:#075f9f!important}
.aima-student-workspace-page .aima-menu-group[open] summary span{transform:rotate(180deg)!important}
.aima-student-workspace-page .aima-menu-dropdown{
  position:absolute!important;left:0!important;top:calc(100% + 7px)!important;z-index:9999!important;min-width:235px!important;
  padding:7px!important;border:1px solid #d9e7f2!important;border-radius:15px!important;background:#fff!important;
  box-shadow:0 18px 40px rgba(15,55,90,.16)!important;
}
.aima-student-workspace-page .aima-menu-dropdown a{
  display:flex!important;align-items:center!important;gap:8px!important;width:100%!important;box-sizing:border-box!important;
  padding:11px 12px!important;border-radius:10px!important;text-decoration:none!important;color:#183f60!important;
  font-size:12px!important;font-weight:800!important;line-height:1.3!important;white-space:nowrap!important;
}
.aima-student-workspace-page .aima-menu-dropdown a:hover{background:#eef7ff!important;color:#075f9f!important}
.aima-student-workspace-page .aima-menu-dropdown-right{left:auto!important;right:0!important}
.aima-student-workspace-page .aima-menu-dropdown .aima-menu-logout{color:#b42318!important;background:#fff7f6!important;margin-top:3px!important}
.aima-student-workspace-page .aim-student-menu-toggle,
.aima-student-workspace-page .aim-student-mobile-menu,
.aima-student-workspace-page .aim-student-single-nav{display:none!important}
.aima-student-workspace-page .aim-public-nav{display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:8px!important}
.aima-student-workspace-page .aim-public-actions{display:flex!important;align-items:center!important;flex:0 0 auto!important}
@media(max-width:1050px){
  .aima-student-workspace-page .aima-student-group-nav{gap:5px!important;margin:0 4px!important}
  .aima-student-workspace-page .aima-menu-group summary{font-size:11px!important;padding:9px 9px!important}
}
@media(max-width:760px){
  .aima-student-workspace-page .aim-public-nav{margin:0!important;border-radius:0 0 18px 18px!important;padding:9px 10px!important;overflow:visible!important}
  .aima-student-workspace-page .aim-public-brand{flex:0 1 175px!important;min-width:130px!important}
  .aima-student-workspace-page .aim-public-brand b{font-size:12px!important}
  .aima-student-workspace-page .aim-public-brand small{font-size:9px!important}
  .aima-student-workspace-page .aima-student-group-nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;flex:1 1 auto!important;margin:0!important}
  .aima-student-workspace-page .aima-menu-group summary{min-height:38px!important;padding:7px 6px!important;font-size:10px!important;gap:4px!important}
  .aima-student-workspace-page .aima-menu-dropdown{left:0!important;right:auto!important;min-width:205px!important;max-width:calc(100vw - 28px)!important}
  .aima-student-workspace-page .aima-menu-account .aima-menu-dropdown{right:0!important;left:auto!important}
  .aima-student-workspace-page .aim-public-actions{display:none!important}
}
@media(max-width:480px){
  .aima-student-workspace-page .aim-public-brand{display:none!important}
  .aima-student-workspace-page .aima-student-group-nav{width:100%!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .aima-student-workspace-page .aima-menu-group summary{font-size:10px!important;padding:8px 5px!important}
  .aima-student-workspace-page .aima-menu-dropdown{position:fixed!important;left:10px!important;right:10px!important;top:66px!important;min-width:0!important;max-width:none!important;width:auto!important}
  .aima-student-workspace-page .aima-menu-account .aima-menu-dropdown{left:10px!important;right:10px!important}
}


/* AI Muallim Academy v3.4.23 — clean student workspace */
body.aima-student-workspace-page,
body.aima-student-workspace-page #page,
body.aima-student-workspace-page .site,
body.aima-student-workspace-page .site-content,
body.aima-student-workspace-page .content-area,
body.aima-student-workspace-page main.site-main,
.aima-student-workspace-page .aim-public-page,
.aima-student-workspace-page .aim-role-dashboard,
.aima-student-workspace-page .aim-student-dashboard{
  background:linear-gradient(180deg,#fff7b8 0%,#fffbe2 22%,#ffffff 58%,#ffffff 100%)!important;
}
/* Remove all WordPress/theme chrome from the student-facing workspace. */
body.aima-student-workspace-page #wpadminbar,
body.aima-student-workspace-page #adminmenumain,
body.aima-student-workspace-page #adminmenuback,
body.aima-student-workspace-page #adminmenuwrap,
body.aima-student-workspace-page #wpfooter,
body.aima-student-workspace-page .wp-site-blocks > header,
body.aima-student-workspace-page header.site-header,
body.aima-student-workspace-page .site-header,
body.aima-student-workspace-page .elementor-location-header,
body.aima-student-workspace-page .elementor-location-footer,
body.aima-student-workspace-page footer.site-footer,
body.aima-student-workspace-page #colophon,
body.aima-student-workspace-page .site-footer,
body.aima-student-workspace-page .entry-header,
body.aima-student-workspace-page .entry-footer,
body.aima-student-workspace-page .wp-block-template-part,
body.aima-student-workspace-page .wp-block-post-title,
body.aima-student-workspace-page .wp-block-post-content > .wp-block-post-title{
  display:none!important;
}
body.aima-student-workspace-page{margin:0!important;padding:0!important;min-height:100vh!important;overflow-x:hidden!important;}
body.aima-student-workspace-page #page,
body.aima-student-workspace-page .site-content,
body.aima-student-workspace-page .content-area,
body.aima-student-workspace-page main.site-main{margin:0!important;padding:0!important;width:100%!important;max-width:none!important;}
.aima-student-workspace-page .aim-public-nav{
  background:linear-gradient(135deg,#fffef4 0%,#fff8bf 100%)!important;
  border:1px solid #f0d95a!important;
  box-shadow:0 10px 30px rgba(183,148,0,.14)!important;
}
.aima-student-workspace-page .aima-menu-group summary{
  background:linear-gradient(135deg,#fffef3,#fff4a8)!important;
  border-color:#ead15a!important;color:#5a4a00!important;
}
.aima-student-workspace-page .aima-menu-group[open] summary,
.aima-student-workspace-page .aima-menu-dropdown a:hover{
  background:linear-gradient(135deg,#fff7b8,#ffffff)!important;
  border-color:#e7cb43!important;color:#4d4100!important;
}
.aima-student-workspace-page .aima-menu-dropdown{
  border-color:#ead875!important;
  box-shadow:0 18px 40px rgba(154,126,0,.16)!important;
}
.aima-student-workspace-page .aim-student-head{
  background:linear-gradient(135deg,rgba(255,255,255,.98),rgba(255,249,196,.96))!important;
  border-color:#efda68!important;
  box-shadow:0 18px 48px rgba(169,139,0,.12)!important;
}
.aima-student-workspace-page .aima-dashboard-ai-panel,
.aima-student-workspace-page .aim-student-feature,
.aima-student-workspace-page .aim-modern-learning-card,
.aima-student-workspace-page .aim-student-course-hub-card,
.aima-student-workspace-page .aim-card{
  border-color:#eee0a0!important;
  box-shadow:0 10px 28px rgba(137,113,0,.08)!important;
}
