@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');
:root{--ink:#202744;--muted:#77819a;--blue:#5267d8;--purple:#8757d8;--line:#e9ecf4;--bg:#f6f7fc}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,system-ui,sans-serif}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:248px;background:#fff;border-right:1px solid var(--line);padding:25px 17px;display:flex;flex-direction:column;z-index:5}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--ink);font-weight:900;letter-spacing:.5px;font-size:14px;padding:4px 8px}.brand small{display:block;font-size:8px;letter-spacing:1.5px;color:#929bb0;margin-top:4px}.mark{width:39px;height:39px;border-radius:13px;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,#5267d8,#965bd2);font-size:23px}.side-label{font-size:9px;font-weight:800;letter-spacing:1.5px;color:#a0a7b8;margin:42px 10px 13px}.side-link{display:flex;align-items:center;gap:13px;padding:12px 13px;margin:3px 0;border-radius:10px;color:#69738b;text-decoration:none;font-size:12px;font-weight:600}.side-link span{font-size:17px;width:19px;text-align:center}.side-link.active{background:#f0efff;color:#6259c8}.side-bottom{margin-top:auto}.side-help{background:linear-gradient(145deg,#f1efff,#f4f6ff);padding:16px;border-radius:13px}.side-help strong{font-size:12px}.side-help p{font-size:10px;line-height:1.6;color:var(--muted)}.side-help a{font-size:11px;font-weight:800;color:#6259c8;text-decoration:none}.side-copy{display:block;font-size:9px;color:#a0a7b8;margin:22px 8px 0}.main-area{margin-left:248px;min-height:100vh}.topbar{height:70px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 4.5%}.breadcrumb{font-size:11px;color:#a0a7b8}.topbar strong{font-size:12px}.top-actions{display:flex;align-items:center;gap:9px}.visitor-chip{font-size:10px;color:#7a8298;background:#f4f5fa;padding:9px 11px;border-radius:30px;margin-right:8px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:10px 15px;border-radius:9px;text-decoration:none;font-size:11px;font-weight:800;white-space:nowrap}.btn-primary{background:linear-gradient(100deg,#5267d8,#8958d8);color:#fff;box-shadow:0 7px 18px #665bd32b}.btn-outline{border:1px solid #e0e4f0;color:#505db9;background:#fff}.btn-light{background:#fff;color:#5b60b8;border:1px solid #e6e5f5}.btn-large{padding:13px 17px;font-size:11px}.content{max-width:1400px;margin:auto;padding:30px 4.5% 25px}.welcome-strip{background:radial-gradient(circle at 80% 15%,#9b8be7 0,transparent 30%),linear-gradient(110deg,#354b9d,#6652bb 68%,#8060c7);border-radius:18px;color:#fff;padding:38px 4.5%;display:grid;grid-template-columns:1.2fr .8fr;align-items:center;min-height:270px;overflow:hidden}.eyebrow{font-size:9px;letter-spacing:1.8px;font-weight:800;color:#8c83dc}.welcome-strip .eyebrow{color:#d8d3ff}.welcome-strip h1{font-size:31px;letter-spacing:-1px;margin:13px 0 9px}.welcome-strip p{font-size:12px;line-height:1.8;color:#e5e4ff;max-width:600px}.welcome-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:19px}.welcome-visual{height:200px;position:relative;display:grid;place-items:center}.visual-orbit{position:absolute;width:225px;height:155px;border:1px dashed #d2caff;border-radius:50%;transform:rotate(-28deg)}.visual-globe{width:130px;height:130px;border-radius:48%;display:grid;place-items:center;background:linear-gradient(145deg,#a5b9ff,#d6a8f5);font-size:68px;box-shadow:0 20px 50px #22235d55;transform:rotate(-8deg)}.visual-tag{position:absolute;background:#fff;color:#414b78;border:1px solid #ecebff;border-radius:10px;padding:9px 12px;font-size:10px;font-weight:800;box-shadow:0 8px 25px #1d235833}.tag-one{left:0;top:20px}.tag-two{right:0;top:50px}.tag-three{left:18px;bottom:12px}.quick-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:18px 0 32px}.quick-stats article{background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px;display:flex;align-items:center;gap:12px}.stat-icon{width:38px;height:38px;border-radius:11px;background:#f0efff;display:grid;place-items:center;font-size:18px}.quick-stats strong,.quick-stats small{display:block}.quick-stats strong{font-size:11px}.quick-stats small{font-size:9px;color:var(--muted);margin-top:5px}.section-block{margin:30px 0 38px}.section-title{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:17px}.section-title h2,.info-panel h2{font-size:21px;letter-spacing:-.6px;margin:7px 0}.section-title p,.info-panel p{font-size:11px;line-height:1.8;color:var(--muted);margin:0;max-width:650px}.access-note{font-size:9px;color:#a27a38;background:#fff8e9;border-radius:20px;padding:8px 11px;white-space:nowrap}.feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.feature{background:#fff;border:1px solid var(--line);border-radius:14px;padding:17px;min-height:205px;display:flex;flex-direction:column;box-shadow:0 5px 18px #26335b06}.feature-head{display:flex;align-items:center;justify-content:space-between}.feature-icon{width:39px;height:39px;border-radius:11px;display:grid;place-items:center;font-size:19px}.purple{background:#f0ebff}.pink{background:#ffedf4}.orange{background:#fff1e5}.green{background:#e8f8ee}.lock-pill{font-size:8px;color:#a27a38;background:#fff8e9;padding:6px 8px;border-radius:20px}.feature h3{font-size:12px;margin:15px 0 7px}.feature p{font-size:10px;line-height:1.7;color:var(--muted);flex:1}.feature-link{font-size:10px;font-weight:800;color:#5d5cc7;text-decoration:none;margin-top:9px}.about-guide{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:38px 0}.info-panel{background:#fff;border:1px solid var(--line);border-radius:14px;padding:23px}.mini-steps{display:grid;gap:12px;margin-top:14px}.mini-steps>div{display:flex;align-items:center;gap:13px}.mini-steps b{font-size:17px;color:#7065cd}.mini-steps strong,.mini-steps small{display:block}.mini-steps strong{font-size:10px}.mini-steps small{font-size:9px;color:var(--muted);margin-top:4px}footer{display:flex;justify-content:space-between;gap:15px;border-top:1px solid var(--line);padding:20px 0;color:#9aa1b2;font-size:9px}footer strong{color:#5e62b9;letter-spacing:1px}
@media(max-width:1100px){.feature-grid{grid-template-columns:repeat(2,1fr)}.sidebar{width:210px}.main-area{margin-left:210px}.welcome-strip{grid-template-columns:1fr .7fr}}@media(max-width:720px){.sidebar{position:static;width:auto;height:auto;padding:12px 16px;border-right:0;border-bottom:1px solid var(--line)}.side-label,.side-link,.side-bottom{display:none}.main-area{margin-left:0}.topbar{padding:0 16px}.visitor-chip{display:none}.content{padding:18px 15px}.welcome-strip{grid-template-columns:1fr;padding:25px 22px}.welcome-strip h1{font-size:25px}.welcome-visual{height:170px}.quick-stats{grid-template-columns:1fr;gap:8px}.section-title{align-items:start;flex-direction:column}.feature-grid{grid-template-columns:1fr 1fr}.about-guide{grid-template-columns:1fr}.btn{padding:9px 11px;font-size:10px}}@media(max-width:420px){.feature-grid{grid-template-columns:1fr}.topbar{height:62px}.welcome-actions{flex-direction:column;align-items:stretch}.welcome-actions .btn{width:100%}footer{flex-wrap:wrap}}

.side-logout{display:block;padding:15px 8px 0;font-size:11px;font-weight:800;color:#6259c8;text-decoration:none}

/* Hamburger navigation: the same drawer works for visitors and signed-in students */
.topbar-left{display:flex;align-items:center;gap:14px}
.hamburger{width:36px;height:36px;border:1px solid #e5e8f2;border-radius:9px;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;cursor:pointer}
.hamburger span{display:block;width:15px;height:2px;border-radius:2px;background:#5963bd}
.sidebar{transform:translateX(-105%);transition:transform .24s ease;box-shadow:12px 0 35px #20274412}
.sidebar.open{transform:translateX(0)}
.main-area{margin-left:0}
.sidebar-backdrop{position:fixed;inset:0;background:#17204466;opacity:0;visibility:hidden;transition:opacity .2s ease;z-index:4}
.sidebar-backdrop.visible{opacity:1;visibility:visible}
@media(max-width:720px){
 .sidebar{position:fixed;inset:0 auto 0 0;width:min(280px,84vw);height:100vh;overflow-y:auto;padding:22px 17px}
 .sidebar .side-label,.sidebar .side-link,.sidebar .side-bottom{display:flex}
 .sidebar .side-label{display:block}
 .sidebar .side-bottom{display:block}
 .topbar{padding:0 15px}
}

.protected-content{min-height:calc(100vh - 70px);display:flex;flex-direction:column}
.protected-heading{padding:24px 0 18px}
.protected-heading h1{font-size:27px;letter-spacing:-.7px;margin:9px 0}
.protected-heading p{font-size:12px;color:var(--muted);line-height:1.7;margin:0}
.protected-panel{display:flex;align-items:flex-start;gap:18px;background:#fff;border:1px solid var(--line);border-radius:15px;padding:24px;max-width:720px;box-shadow:0 5px 18px #26335b06}
.protected-panel-icon{width:48px;height:48px;border-radius:13px;background:#f0efff;display:grid;place-items:center;font-size:24px;flex:none}
.protected-panel h2{font-size:16px;margin:7px 0}
.protected-panel p{font-size:11px;line-height:1.8;color:var(--muted);max-width:520px}
.protected-panel .feature-link{display:inline-block;margin-top:8px}
.protected-content footer{margin-top:auto;padding-top:24px}
@media(max-width:720px){.protected-heading h1{font-size:23px}.protected-panel{padding:18px;gap:13px}}

/* Desktop and mobile both use a hidden off-canvas hamburger drawer */
.topbar-left{display:flex;align-items:center;gap:14px}
.hamburger{width:38px;height:38px;border:1px solid #e5e8f2;border-radius:10px;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;cursor:pointer;flex:none}
.hamburger span{display:block;width:16px;height:2px;border-radius:2px;background:#5963bd}
.sidebar{position:fixed!important;inset:0 auto 0 0!important;width:248px!important;height:100vh!important;overflow-y:auto;transform:translateX(-110%)!important;transition:transform .24s ease!important;box-shadow:12px 0 35px #20274412;z-index:10!important}
.sidebar.open{transform:translateX(0)!important}
.main-area{margin-left:0!important;min-height:100vh}
.sidebar-backdrop{position:fixed;inset:0;background:#17204466;opacity:0;visibility:hidden;transition:opacity .2s ease;z-index:9}
.sidebar-backdrop.visible{opacity:1;visibility:visible}
@media(max-width:720px){.sidebar{width:min(280px,84vw)!important;padding:22px 17px!important}.sidebar .side-label{display:block}.sidebar .side-link{display:flex}.sidebar .side-bottom{display:block}.topbar{padding:0 15px}}

/* Visible hamburger control and off-canvas sidebar */
.topbar-left{display:flex;align-items:center;gap:14px}
.hamburger{width:38px;height:38px;display:inline-flex!important;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:0;border:1px solid #e5e8f2;border-radius:10px;background:#fff;cursor:pointer;flex:none;visibility:visible!important;opacity:1!important}
.hamburger span{display:block;width:16px;height:2px;border-radius:2px;background:#5963bd}
.sidebar{position:fixed!important;inset:0 auto 0 0!important;width:248px!important;height:100vh!important;overflow-y:auto;transform:translateX(-110%)!important;transition:transform .24s ease!important;box-shadow:12px 0 35px #20274412;z-index:20!important}
.sidebar.open{transform:translateX(0)!important}
.main-area{margin-left:0!important;min-height:100vh}
.sidebar-backdrop{position:fixed;inset:0;background:#17204466;opacity:0;visibility:hidden;transition:opacity .2s ease;z-index:19}
.sidebar-backdrop.visible{opacity:1;visibility:visible}
@media(max-width:720px){.sidebar{width:min(280px,84vw)!important;padding:22px 17px!important}.sidebar .side-label{display:block}.sidebar .side-link{display:flex}.sidebar .side-bottom{display:block}.topbar{padding:0 15px}}

/* FINAL shared drawer override — applies to homepage and protected learning pages */
#appSidebar{
 position:fixed!important;top:0!important;left:0!important;bottom:0!important;
 width:248px!important;height:100vh!important;max-height:100vh!important;
 overflow-y:auto!important;z-index:1001!important;
 transform:translate3d(-110%,0,0)!important;
 transition:transform .24s ease!important;
 box-shadow:12px 0 35px rgba(32,39,68,.12)!important;
}
#appSidebar.open{transform:translate3d(0,0,0)!important}
#menuToggle{
 display:inline-flex!important;visibility:visible!important;opacity:1!important;
 position:relative!important;z-index:1002!important;
 width:38px!important;height:38px!important;flex:0 0 38px!important;
 align-items:center!important;justify-content:center!important;flex-direction:column!important;
 gap:4px!important;padding:0!important;background:#fff!important;
 border:1px solid #e5e8f2!important;border-radius:10px!important;cursor:pointer!important;
}
#menuToggle span{display:block!important;width:16px!important;height:2px!important;background:#5963bd!important;border-radius:2px!important}
.sidebar-backdrop{z-index:1000!important}
.main-area{margin-left:0!important;width:100%!important}
.topbar-left{display:flex!important;align-items:center!important;gap:14px!important}
@media(max-width:720px){
 #appSidebar{width:min(280px,84vw)!important;padding:22px 17px!important}
 #appSidebar .side-label{display:block!important}
 #appSidebar .side-link{display:flex!important}
 #appSidebar .side-bottom{display:block!important}
}

/* Drawer layering fix: keep the hamburger in the page header, never over the drawer brand */
#menuToggle{
 position:relative!important;
 z-index:2!important;
}
#appSidebar{z-index:1001!important}
.sidebar-backdrop{z-index:1000!important}



/* ENGLISHIA — Purple & White Glassmorphism (LIGHT THEME) */
:root{
 --ink:#241b3b;--muted:#817895;--blue:#8056e8;--purple:#a17af3;
 --line:rgba(126,91,196,.15);--bg:#f8f6ff;
 --glass:rgba(255,255,255,.62);--glass-solid:rgba(255,255,255,.82);
}
html,body{background:#f8f6ff!important;color:#241b3b}
body{
 background:
  radial-gradient(ellipse at 78% 0%,rgba(179,148,255,.27),transparent 35%),
  radial-gradient(ellipse at 8% 48%,rgba(224,214,255,.45),transparent 34%),
  linear-gradient(135deg,#fbfaff 0%,#f5f1ff 48%,#faf9ff 100%)!important;
}
.sidebar,.topbar,.quick-stats article,.feature,.info-panel,.feature-card,.content-card{
 background:rgba(255,255,255,.58)!important;
 border:1px solid rgba(255,255,255,.88)!important;
 box-shadow:0 12px 38px rgba(91,65,151,.075),inset 0 1px 0 rgba(255,255,255,.92)!important;
 backdrop-filter:blur(24px) saturate(165%)!important;
 -webkit-backdrop-filter:blur(24px) saturate(165%)!important;
}
.sidebar{
 background:rgba(255,255,255,.66)!important;
 border-right:1px solid rgba(130,99,191,.12)!important;
}
.brand,.topbar strong,.section-title h2,.info-panel h2{color:#2c2145!important}
.brand small,.breadcrumb,.side-copy,.side-label{color:#9a90ad!important}
.mark{background:linear-gradient(135deg,#8056e8,#b69aff)!important;box-shadow:0 8px 24px rgba(128,86,232,.26)!important}
.side-link{color:#766c89!important;transition:all .22s ease}
.side-link:hover{background:rgba(135,94,229,.09)!important;color:#7047d1!important;transform:translateX(2px)}
.side-link.active{background:linear-gradient(110deg,rgba(134,94,229,.16),rgba(190,166,255,.13))!important;color:#7047d1!important;border:1px solid rgba(145,111,225,.13)!important}
.topbar{background:rgba(255,255,255,.55)!important;border-bottom:1px solid rgba(135,106,190,.12)!important}
.visitor-chip{background:rgba(132,102,211,.09)!important;color:#7358b7!important}
.btn{border-radius:12px;transition:transform .2s ease,box-shadow .2s ease,filter .2s ease}
.btn:hover{transform:translateY(-2px);filter:brightness(1.03)}
.btn-primary{background:linear-gradient(110deg,#7950df,#a783f3)!important;color:#fff!important;box-shadow:0 9px 24px rgba(117,78,219,.23)!important}
.btn-outline,.btn-light{background:rgba(255,255,255,.58)!important;border:1px solid rgba(139,111,201,.22)!important;color:#7251c7!important;backdrop-filter:blur(12px)}
.welcome-strip{
 position:relative;isolation:isolate;overflow:hidden;
 background:
  radial-gradient(ellipse at 82% 22%,rgba(255,255,255,.65),transparent 28%),
  linear-gradient(115deg,#eee7ff 0%,#e5d9ff 48%,#f8f4ff 100%)!important;
 border:1px solid rgba(255,255,255,.95)!important;border-radius:24px!important;
 color:#33224f!important;
 box-shadow:0 22px 60px rgba(117,83,190,.14),inset 0 1px 0 rgba(255,255,255,.95)!important;
}
.welcome-strip:before{
 content:"";position:absolute;z-index:-1;inset:-38% 15% -42% 42%;transform:rotate(-34deg);
 background:repeating-linear-gradient(90deg,transparent 0 52px,rgba(137,94,225,.035) 52px 76px,rgba(137,94,225,.13) 76px 112px,transparent 112px 164px);
 filter:drop-shadow(0 0 24px rgba(145,105,230,.18));
 mask-image:linear-gradient(90deg,transparent,#000 20%,#000 80%,transparent);
}
.welcome-strip h1{color:#2d2046!important;letter-spacing:-1.5px}
.welcome-strip p{color:#675a7d!important}
.welcome-strip .eyebrow{color:#7653c8!important}
.visual-orbit{border-color:rgba(132,91,214,.28)!important}
.visual-globe{background:linear-gradient(145deg,#cbb7ff,#9870e9)!important;box-shadow:0 18px 55px rgba(119,77,204,.24),inset 0 1px 12px rgba(255,255,255,.65)!important}
.visual-tag{background:rgba(255,255,255,.68)!important;color:#4b3a69!important;border:1px solid rgba(255,255,255,.9)!important;box-shadow:0 12px 30px rgba(79,53,133,.12)!important;backdrop-filter:blur(18px)!important}
.quick-stats article,.feature{border-radius:18px!important;transition:transform .22s ease,box-shadow .22s ease}
.quick-stats article:hover,.feature:hover{transform:translateY(-3px);box-shadow:0 18px 42px rgba(93,63,170,.12)!important}
.quick-stats strong,.feature h3,.feature strong{color:#302347!important}
.quick-stats small,.feature p,.section-title p,.info-panel p{color:#817895!important}
.stat-icon,.feature-icon.purple{background:linear-gradient(145deg,#eee7ff,#faf8ff)!important;color:#7851d9!important}
.side-help{background:linear-gradient(145deg,rgba(235,227,255,.8),rgba(255,255,255,.65))!important;border:1px solid rgba(255,255,255,.92)!important;border-radius:16px}
.side-help strong{color:#3b2b57!important}.side-help p{color:#817895!important}
.side-help a,.section-title a{color:#7651cf!important}
@media(max-width:760px){.welcome-strip{border-radius:19px!important}}




/* ENGLISHIA homepage polish — richer editorial layout, still purple/white glass */
.content{padding-top:34px!important;padding-bottom:52px!important}
.welcome-strip{min-height:310px!important;padding:46px 4.5%!important;margin-bottom:22px;box-shadow:0 24px 70px rgba(113,79,184,.17),inset 0 1px 0 rgba(255,255,255,.95)!important}
.welcome-strip h1{font-size:clamp(34px,4vw,52px)!important;max-width:620px;line-height:1.08}
.welcome-strip p{font-size:13px!important;max-width:560px}
.welcome-visual{transform:scale(1.08)}
.visual-globe{width:150px!important;height:150px!important;font-size:78px!important}
.visual-tag{padding:11px 15px!important;border-radius:14px!important;font-size:11px!important}
.quick-stats{gap:16px!important;margin:22px 0 48px!important}
.quick-stats article{min-height:82px;padding:18px 20px!important;border-radius:18px!important}
.stat-icon{width:44px!important;height:44px!important;border-radius:14px!important}
.section-block{margin:44px 0 54px!important}
.section-title{margin-bottom:22px!important}
.section-title h2{font-size:26px!important;letter-spacing:-.9px!important}
.section-title p{font-size:12px!important;max-width:700px}
.feature-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important}
.feature{
 position:relative;isolation:isolate;overflow:hidden;min-height:218px!important;
 padding:21px!important;border-radius:20px!important;
 box-shadow:0 12px 34px rgba(91,65,151,.07),inset 0 1px 0 rgba(255,255,255,.95)!important;
 transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease!important;
}
.feature:before{content:"";position:absolute;z-index:-1;width:145px;height:145px;right:-48px;top:-60px;border-radius:50%;background:radial-gradient(circle,rgba(172,143,255,.22),rgba(172,143,255,0) 70%)}
.feature:hover{transform:translateY(-6px)!important;box-shadow:0 22px 48px rgba(93,63,170,.13)!important;border-color:rgba(160,128,230,.4)!important}
.feature-head{margin-bottom:3px}
.feature-icon{width:46px!important;height:46px!important;border-radius:15px!important;font-size:21px!important}
.feature h3{font-size:14px!important;margin:15px 0 9px!important;letter-spacing:-.2px}
.feature p{font-size:11px!important;line-height:1.75!important;min-height:43px}
.feature-link{font-size:11px!important;font-weight:800!important}
.lock-pill{border:1px solid rgba(235,190,105,.18);border-radius:30px!important;padding:7px 9px!important}
.experience-section{margin:66px 0 54px}
.experience-heading{text-align:center;max-width:680px;margin:0 auto 26px}
.experience-heading h2{font-size:clamp(25px,3vw,34px);letter-spacing:-1.2px;color:#302347;margin:9px 0}
.experience-heading p{font-size:12px;line-height:1.8;color:#817895}
.experience-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.experience-card{
 position:relative;overflow:hidden;min-height:260px;padding:23px;border-radius:22px;
 background:rgba(255,255,255,.62);border:1px solid rgba(255,255,255,.92);
 box-shadow:0 15px 40px rgba(91,65,151,.08),inset 0 1px 0 rgba(255,255,255,.95);
 backdrop-filter:blur(22px) saturate(155%);-webkit-backdrop-filter:blur(22px) saturate(155%);
 transition:transform .24s ease,box-shadow .24s ease
}
.experience-card:hover{transform:translateY(-5px);box-shadow:0 24px 50px rgba(91,65,151,.13)}
.experience-card:after{content:"";position:absolute;width:190px;height:190px;right:-70px;top:-80px;border-radius:50%;background:radial-gradient(circle,rgba(160,125,239,.23),transparent 70%);pointer-events:none}
.experience-art{height:88px;width:100%;display:flex;align-items:center;justify-content:center;font-size:48px;position:relative;margin-bottom:15px}
.experience-art span{position:absolute;font-size:24px;color:#9a76e9;transform:translate(42px,-24px)}
.experience-vocab .experience-art{background:linear-gradient(135deg,#f0eaff,#faf7ff);border-radius:16px}
.experience-quest .experience-art{background:linear-gradient(135deg,#e9e6ff,#f8f5ff);border-radius:16px}
.experience-master .experience-art{background:linear-gradient(135deg,#f2eaff,#fff8fc);border-radius:16px}
.experience-kicker{font-size:9px;letter-spacing:1.4px;font-weight:900;color:#8a69d3}
.experience-card h3{font-size:17px;color:#302347;margin:8px 0}
.experience-card p{font-size:11px;line-height:1.7;color:#817895;min-height:38px}
.experience-card a{display:inline-flex;gap:8px;align-items:center;color:#7049d5;text-decoration:none;font-size:11px;font-weight:800;margin-top:9px}
.journey-banner{
 position:relative;overflow:hidden;isolation:isolate;display:grid;grid-template-columns:1.1fr .9fr;align-items:center;
 min-height:280px;padding:36px 5%;margin:58px 0;border-radius:24px;
 background:radial-gradient(circle at 82% 50%,rgba(255,255,255,.75),transparent 25%),linear-gradient(115deg,#e8ddff,#f4efff 60%,#e4d7ff);
 border:1px solid rgba(255,255,255,.95);box-shadow:0 22px 60px rgba(117,83,190,.13),inset 0 1px 0 white
}
.journey-copy{position:relative;z-index:2}
.journey-copy h2{font-size:clamp(28px,3.5vw,42px);line-height:1.06;letter-spacing:-1.4px;color:#302347;margin:12px 0}
.journey-copy p{font-size:12px;color:#746789;margin:0 0 19px}
.journey-orbit{height:220px;position:relative;display:grid;place-items:center}
.orbit-core{width:112px;height:112px;border-radius:35px;display:grid;place-items:center;font-size:56px;color:white;background:linear-gradient(145deg,#9870ed,#7650d5);box-shadow:0 20px 55px rgba(119,77,204,.3),inset 0 1px 10px rgba(255,255,255,.5);transform:rotate(-10deg)}
.journey-orbit:before,.journey-orbit:after{content:"";position:absolute;width:210px;height:110px;border:1px solid rgba(132,91,214,.27);border-radius:50%;transform:rotate(-25deg)}
.journey-orbit:after{transform:rotate(48deg);width:185px;height:135px}
.orbit-chip{position:absolute;z-index:2;padding:9px 13px;border-radius:13px;background:rgba(255,255,255,.72);border:1px solid white;box-shadow:0 9px 25px rgba(81,57,135,.12);backdrop-filter:blur(15px);font-size:11px;font-weight:900;color:#6247a0}
.chip-a{top:18px;left:18%}.chip-b{right:8%;top:42%}.chip-c{bottom:15px;left:24%}
.about-guide{gap:16px!important;margin:55px 0!important}
.info-panel{border-radius:20px!important;padding:25px!important}
footer{padding:30px 0!important}
@media(max-width:1000px){.feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:760px){.feature-grid,.experience-grid{grid-template-columns:1fr!important}.experience-section{margin:48px 0}.journey-banner{grid-template-columns:1fr;padding:28px 7%}.journey-orbit{height:190px}.welcome-strip{padding:32px 7%!important}.welcome-visual{transform:scale(.9)}.quick-stats{grid-template-columns:1fr!important}.section-title{align-items:flex-start!important;flex-direction:column}}




/* ==========================================================
   ENGLISHIA GLOBAL PAGE SYSTEM — Purple/White Glass
   Applied to all protected learning pages for one consistent UI
   ========================================================== */
:root{
 --ei-ink:#302347;--ei-muted:#817895;--ei-purple:#7950df;
 --ei-lavender:#a783f3;--ei-border:rgba(255,255,255,.94);
 --ei-glass:rgba(255,255,255,.68);
}
body:has(.protected-content){
 background:
  radial-gradient(ellipse at 82% 4%,rgba(190,164,255,.26),transparent 34%),
  radial-gradient(ellipse at 8% 55%,rgba(225,215,255,.34),transparent 35%),
  linear-gradient(135deg,#fbfaff 0%,#f4efff 52%,#fbfaff 100%)!important;
 color:var(--ei-ink)!important;
}
.protected-content{max-width:1440px!important;padding:38px 4.5% 48px!important}
.protected-heading{margin:0 0 22px!important}
.protected-heading .eyebrow,.eyebrow{color:#8060d6!important;letter-spacing:2px!important}
.protected-heading h1{color:#302347!important;font-size:clamp(27px,3vw,36px)!important;letter-spacing:-1.2px!important}
.protected-heading p{color:#817895!important;font-size:13px!important}
.protected-content :is(.protected-panel,.ml-card,.ml-empty,.qc-card,.qc-question,.qc-result,
.lp-card,.lp-stat,.lp-table,.lb-card,.lb-table-wrap,.ach-card,.vocab-card,.vocab-stat,
.vocab-toolbar,.vocab-empty,.content-panel,.empty-state,.panel,.card){
 background:rgba(255,255,255,.68)!important;
 color:#302347!important;
 border:1px solid rgba(255,255,255,.96)!important;
 border-radius:20px!important;
 box-shadow:0 14px 40px rgba(91,65,151,.075),inset 0 1px 0 rgba(255,255,255,.98)!important;
 backdrop-filter:blur(22px) saturate(160%)!important;
 -webkit-backdrop-filter:blur(22px) saturate(160%)!important;
}
.protected-content :is(.ml-empty,.qc-card,.qc-question,.qc-result,.lp-card,.lb-card,.ach-card){
 padding:22px!important;
}
.protected-content :is(.ml-empty,.qc-card,.lp-card,.lb-card,.ach-card) h2,
.protected-content :is(.ml-card,.vocab-card,.ach-card) h3{color:#302347!important}
.protected-content :is(.ml-empty,.qc-card,.lp-card,.lb-card,.ach-card) p,
.protected-content :is(.ml-muted,.qc-muted,.lp-muted,.lb-muted,.lb-sub){color:#817895!important}
.protected-content :is(.ml-card,.ach-card,.vocab-card){transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease!important}
.protected-content :is(.ml-card,.ach-card,.vocab-card):hover{
 transform:translateY(-4px)!important;border-color:rgba(157,126,229,.42)!important;
 box-shadow:0 20px 48px rgba(91,65,151,.12)!important;
}
.protected-content :is(.ml-link,.feature-link,.lb-note a){color:#7650d5!important;font-weight:800!important}
.protected-content :is(.btn-primary,.qc-btn,.ml-btn){
 background:linear-gradient(110deg,#7950df,#a783f3)!important;color:white!important;
 border:1px solid rgba(255,255,255,.55)!important;border-radius:12px!important;
 box-shadow:0 9px 24px rgba(117,78,219,.20)!important;
}
.protected-content :is(.btn-outline,.btn-light){
 background:rgba(255,255,255,.65)!important;color:#7650d5!important;
 border:1px solid rgba(139,111,201,.2)!important;border-radius:12px!important;
}
.protected-content :is(input,select,textarea){
 background:rgba(255,255,255,.78)!important;color:#302347!important;
 border:1px solid rgba(139,111,201,.20)!important;border-radius:12px!important;
}
.protected-content :is(input,select,textarea):focus{
 outline:none!important;border-color:#a184e9!important;box-shadow:0 0 0 4px rgba(139,103,230,.12)!important;
}
/* Remove saturated legacy hero gradients and replace with one soft glass banner */
.protected-content :is(.lp-hero,.lb-hero,.ach-hero){
 background:
  radial-gradient(ellipse at 84% 20%,rgba(255,255,255,.72),transparent 30%),
  linear-gradient(115deg,rgba(235,227,255,.92),rgba(221,207,255,.82) 56%,rgba(247,242,255,.94))!important;
 color:#302347!important;border:1px solid rgba(255,255,255,.98)!important;
 border-radius:23px!important;padding:27px!important;
 box-shadow:0 20px 55px rgba(105,75,169,.12),inset 0 1px 0 white!important;
 backdrop-filter:blur(22px) saturate(160%)!important;
}
.protected-content :is(.lp-hero,.lb-hero,.ach-hero) :is(h1,h2,h3,strong,b,p,span,small){color:#302347!important}
.protected-content :is(.lp-hero,.lb-hero,.ach-hero) .eyebrow{color:#7954d5!important}
.protected-content :is(.lp-bar,.ach-progress){background:rgba(125,91,191,.13)!important}
.protected-content :is(.lp-bar, .ach-progress) span{background:linear-gradient(90deg,#7950df,#b69aff)!important}
.protected-content :is(.lp-stat,.vocab-stat){min-height:88px!important}
.protected-content :is(.lb-table-wrap,.lp-table){overflow-x:auto!important}
.protected-content :is(.lb-table,.lp-table) table{border-collapse:separate!important;border-spacing:0 7px!important}
.protected-content :is(.lb-table,.lp-table) th{color:#817895!important}
.protected-content :is(.lb-you){background:rgba(143,107,226,.10)!important}
.protected-content :is(.lb-name,.lb-xp){color:#6746bd!important}
.protected-content :is(.lb-note){background:rgba(239,233,255,.72)!important;color:#65547f!important;border:1px solid rgba(255,255,255,.9)!important;border-radius:14px!important}
.protected-content :is(.lb-error,.lp-error,.qc-error){border-radius:14px!important}
.protected-content :is(.ml-empty,.qc-card){min-height:170px!important}
.protected-content footer{border-top:1px solid rgba(135,106,190,.15)!important;color:#817895!important;margin-top:55px!important;padding-top:28px!important}
@media(max-width:760px){
 .protected-content{padding:28px 18px 38px!important}
 .protected-content :is(.lp-hero,.lb-hero,.ach-hero){padding:21px!important}
}




/* ENGLISHIA DESIGN SYSTEM v2 — every workspace menu uses the same visual language */
body:has(.app-shell){
 background:
  radial-gradient(ellipse at 84% 3%,rgba(190,164,255,.25),transparent 34%),
  radial-gradient(ellipse at 7% 50%,rgba(226,216,255,.32),transparent 37%),
  linear-gradient(135deg,#fbfaff 0%,#f4efff 52%,#fbfaff 100%)!important;
 color:#302347!important;
}
.app-shell .main-area{background:transparent!important}
.app-shell .topbar{
 background:rgba(255,255,255,.72)!important;
 border-bottom:1px solid rgba(135,106,190,.12)!important;
 box-shadow:0 8px 28px rgba(91,65,151,.045)!important;
 backdrop-filter:blur(24px) saturate(165%)!important;
 -webkit-backdrop-filter:blur(24px) saturate(165%)!important;
}
.app-shell .sidebar{
 background:rgba(255,255,255,.68)!important;
 border-right:1px solid rgba(255,255,255,.95)!important;
 box-shadow:12px 0 45px rgba(91,65,151,.055)!important;
 backdrop-filter:blur(26px) saturate(165%)!important;
 -webkit-backdrop-filter:blur(26px) saturate(165%)!important;
}
.app-shell .side-link{border-radius:12px!important;transition:all .2s ease!important;color:#655779!important}
.app-shell .side-link:hover{background:rgba(133,96,225,.09)!important;color:#7049d5!important}
.app-shell .side-link.active{
 background:linear-gradient(110deg,rgba(134,94,229,.16),rgba(190,166,255,.12))!important;
 border:1px solid rgba(145,111,225,.16)!important;color:#7049d5!important;
}
.app-shell .side-help{
 background:linear-gradient(145deg,rgba(238,231,255,.82),rgba(255,255,255,.68))!important;
 border:1px solid rgba(255,255,255,.96)!important;border-radius:17px!important;
 box-shadow:0 12px 30px rgba(91,65,151,.07)!important;
}
.app-shell .content{background:transparent!important}
.app-shell .protected-content{max-width:1440px!important;padding:36px clamp(20px,4.5%,64px) 48px!important}
.app-shell .protected-heading{margin:0 0 24px!important}
.app-shell .protected-heading h1{font-size:clamp(27px,3vw,36px)!important;letter-spacing:-1.25px!important;color:#302347!important}
.app-shell .protected-heading p{font-size:13px!important;color:#817895!important}
.app-shell .protected-content :is(
 .protected-panel,.ml-card,.ml-empty,.qc-card,.qc-question,.qc-result,
 .lp-card,.lp-stat,.lp-table,.lb-card,.lb-table-wrap,.ach-card,.vocab-card,
 .vocab-stat,.profile-card,.md-card,.an-card,.an-stat,.an-table-wrap,
 .mc-card,.mc-stat,.cm-card,.qr-card,.qr-stat,.um-card,.um-stat,
 .hc-summary,.hc-row,.qm-card,.td-card,.td-stat,.td-class
){
 background:rgba(255,255,255,.69)!important;
 color:#302347!important;
 border:1px solid rgba(255,255,255,.97)!important;
 border-radius:19px!important;
 box-shadow:0 14px 38px rgba(91,65,151,.075),inset 0 1px 0 rgba(255,255,255,.98)!important;
 backdrop-filter:blur(22px) saturate(160%)!important;
 -webkit-backdrop-filter:blur(22px) saturate(160%)!important;
}
.app-shell .protected-content :is(
 .ml-card,.qc-card,.lp-card,.lb-card,.ach-card,.vocab-card,.profile-card,
 .md-card,.an-card,.mc-card,.cm-card,.qr-card,.um-card,.qm-card,.td-card
){transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease!important}
.app-shell .protected-content :is(
 .ml-card,.qc-card,.lp-card,.lb-card,.ach-card,.vocab-card,.profile-card,
 .md-card,.an-card,.mc-card,.cm-card,.qr-card,.um-card,.qm-card,.td-card
):hover{
 transform:translateY(-3px)!important;
 border-color:rgba(157,126,229,.38)!important;
 box-shadow:0 20px 45px rgba(91,65,151,.12)!important;
}
.app-shell .protected-content :is(
 .lp-hero,.lb-hero,.ach-hero,.an-hero,.td-hero
){
 background:
  radial-gradient(ellipse at 83% 18%,rgba(255,255,255,.72),transparent 30%),
  linear-gradient(115deg,rgba(235,227,255,.94),rgba(221,207,255,.85) 56%,rgba(247,242,255,.95))!important;
 color:#302347!important;border:1px solid rgba(255,255,255,.98)!important;
 border-radius:23px!important;padding:27px!important;
 box-shadow:0 20px 55px rgba(105,75,169,.11),inset 0 1px 0 white!important;
 backdrop-filter:blur(22px) saturate(160%)!important;
}
.app-shell .protected-content :is(.lp-hero,.lb-hero,.ach-hero,.an-hero,.td-hero) *{color:#302347!important}
.app-shell .protected-content :is(.lp-hero,.lb-hero,.ach-hero,.an-hero,.td-hero) .eyebrow{color:#7954d5!important}
.app-shell .protected-content :is(button,.btn-primary,.qc-btn,.ml-btn,.mc-btn,.cm-btn,.qr-btn,.um-btn,.qm-btn){
 background:linear-gradient(110deg,#7950df,#a783f3)!important;color:#fff!important;
 border:1px solid rgba(255,255,255,.55)!important;border-radius:12px!important;
 box-shadow:0 9px 24px rgba(117,78,219,.19)!important;
}
.app-shell .protected-content :is(.btn-outline,.btn-light,.mc-secondary,.um-secondary,.qm-alt){
 background:rgba(255,255,255,.72)!important;color:#7650d5!important;
 border:1px solid rgba(139,111,201,.2)!important;border-radius:12px!important;box-shadow:none!important;
}
.app-shell .protected-content :is(input,select,textarea){
 background:rgba(255,255,255,.78)!important;color:#302347!important;
 border:1px solid rgba(139,111,201,.20)!important;border-radius:12px!important;
}
.app-shell .protected-content :is(input,select,textarea):focus{
 outline:none!important;border-color:#a184e9!important;box-shadow:0 0 0 4px rgba(139,103,230,.12)!important;
}
.app-shell .protected-content :is(h1,h2,h3,h4,strong,.ml-title,.lb-name){color:#302347}
.app-shell .protected-content :is(p,.muted,.ml-muted,.qc-muted,.lp-muted,.lb-muted,.an-muted,.mc-muted,.um-muted,.qr-muted,.td-muted){color:#817895}
.app-shell .protected-content :is(.lp-bar,.ach-progress,.vocab-progress,.an-bar){background:rgba(125,91,191,.13)!important}
.app-shell .protected-content :is(.lp-bar,.ach-progress,.vocab-progress,.an-bar) span{background:linear-gradient(90deg,#7950df,#b69aff)!important}
.app-shell .protected-content :is(table th){color:#817895!important}
.app-shell .protected-content :is(.lb-you){background:rgba(143,107,226,.10)!important}
.app-shell .protected-content :is(.lb-note){background:rgba(239,233,255,.72)!important;color:#65547f!important;border:1px solid rgba(255,255,255,.9)!important;border-radius:14px!important}
.app-shell .protected-content footer{border-top:1px solid rgba(135,106,190,.15)!important;color:#817895!important}
@media(max-width:760px){
 .app-shell .protected-content{padding:26px 18px 38px!important}
 .app-shell .protected-content :is(.lp-hero,.lb-hero,.ach-hero,.an-hero,.td-hero){padding:21px!important}
}




/* ENGLISHIA responsive workspace header + simple natural-flow footer */
.app-shell .topbar{
 position:sticky!important;top:0!important;z-index:30!important;
 min-height:68px!important;height:auto!important;
 display:flex!important;align-items:center!important;justify-content:space-between!important;
 gap:14px!important;padding:10px clamp(14px,3.5vw,52px)!important;
 flex-wrap:nowrap!important;
}
.app-shell .topbar-left{display:flex!important;align-items:center!important;gap:13px!important;min-width:0!important;flex:1 1 auto!important}
.app-shell .topbar-left>div{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.app-shell .topbar-left .breadcrumb{font-size:11px!important}
.app-shell .topbar-left strong{font-size:12px!important}
.app-shell .top-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;flex:0 1 auto!important;min-width:0!important}
.app-shell .top-actions .visitor-chip{white-space:nowrap!important;margin:0 3px 0 0!important}
.app-shell .top-actions .top-profile-link{min-width:0!important;max-width:min(190px,18vw)!important}
.app-shell .top-actions .top-profile-link>span:last-child{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.app-shell .top-actions .btn{min-height:36px!important;padding:9px 13px!important}
.app-shell .hamburger{flex:none!important;width:38px!important;height:38px!important;border-radius:12px!important;background:rgba(255,255,255,.72)!important;border:1px solid rgba(143,119,195,.2)!important}
.app-shell .content.protected-content{min-height:calc(100vh - 68px)!important;display:flex!important;flex-direction:column!important}
.app-shell .protected-content>footer{
 display:flex!important;align-items:center!important;justify-content:space-between!important;
 flex-wrap:wrap!important;gap:12px 22px!important;
 margin-top:54px!important;padding:22px 0 10px!important;
 border-top:1px solid rgba(135,106,190,.16)!important;
 color:#9187a2!important;font-size:10px!important;
}
.app-shell .protected-content>footer strong{color:#7650d5!important;letter-spacing:1.2px!important;font-size:10px!important}
.app-shell .protected-content>footer span{color:#9187a2!important}
@media(max-width:1050px){
 .app-shell .topbar{gap:10px!important;padding-inline:18px!important}
 .app-shell .top-actions{gap:6px!important}
 .app-shell .top-actions .top-profile-link{max-width:145px!important}
 .app-shell .top-actions .visitor-chip{display:none!important}
}
@media(max-width:760px){
 .app-shell .topbar{min-height:62px!important;padding:9px 14px!important;gap:8px!important}
 .app-shell .topbar-left{gap:9px!important}
 .app-shell .topbar-left .breadcrumb{display:none!important}
 .app-shell .topbar-left strong{font-size:11px!important}
 .app-shell .top-actions{gap:6px!important}
 .app-shell .top-actions .top-profile-link{max-width:38px!important;gap:0!important}
 .app-shell .top-actions .top-profile-link>span:last-child{display:none!important}
 .app-shell .top-actions .top-profile-link img,.app-shell .top-actions .top-profile-link>span:first-child{width:32px!important;height:32px!important}
 .app-shell .top-actions .btn{min-height:34px!important;padding:8px 10px!important;font-size:10px!important}
 .app-shell .content.protected-content{min-height:calc(100vh - 62px)!important}
 .app-shell .protected-content>footer{margin-top:38px!important;padding-top:18px!important;justify-content:flex-start!important}
 .app-shell .protected-content>footer span:nth-child(2){order:3;flex-basis:100%}
}
@media(max-width:430px){
 .app-shell .topbar{padding-inline:10px!important}
 .app-shell .topbar-left strong{max-width:105px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
 .app-shell .top-actions .btn-outline{display:none!important}
 .app-shell .top-actions .btn-primary{padding:8px 9px!important}
}


/* ENGLISHIA brand identity */
.brand-logo{width:43px;height:43px;object-fit:contain;border-radius:11px;flex:0 0 auto;background:#fff}.brand{gap:10px}.mark{display:none!important}


/* HARD FIX: brand icon sizing + drawer must start closed (cache-busted in index.php) */
#appSidebar .brand{display:flex!important;align-items:center!important;gap:10px!important;min-height:52px!important;overflow:hidden!important}
#appSidebar .brand-logo{display:block!important;width:46px!important;height:46px!important;min-width:46px!important;max-width:46px!important;min-height:46px!important;max-height:46px!important;object-fit:contain!important;flex:0 0 46px!important;border-radius:12px!important;background:#fff!important}
#appSidebar:not(.open){transform:translate3d(-110%,0,0)!important;visibility:hidden!important;pointer-events:none!important}
#appSidebar.open{transform:translate3d(0,0,0)!important;visibility:visible!important;pointer-events:auto!important}
#sidebarBackdrop:not(.visible){opacity:0!important;visibility:hidden!important;pointer-events:none!important}
#sidebarBackdrop.visible{opacity:1!important;visibility:visible!important;pointer-events:auto!important}
@media(min-width:721px){#appSidebar{width:248px!important}}
