@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--bg:#f5f6fa;--surface:#fff;--surface2:#f8f9fc;--text:#172039;--muted:#7c8499;--line:#e9ebf2;--nav:#101a35;--purple:#7558e8;--purple2:#eee9ff;--shadow:0 10px 30px rgba(20,29,59,.045)}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:'DM Sans',sans-serif;font-size:14px}button,a,input{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh}.sidebar{width:252px;background:var(--nav);color:#fff;position:fixed;inset:0 auto 0 0;padding:26px 17px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:11px;color:#fff;text-decoration:none;padding:0 8px 36px}.brand-mark{width:38px;height:38px;border-radius:12px;background:linear-gradient(140deg,#a78bfa,#6b55dc);display:grid;place-items:center;font:800 22px Manrope}.brand b{font:800 15px Manrope;letter-spacing:1px;display:block}.brand small{display:block;color:#8490b1;font-size:9px;letter-spacing:2px;margin-top:3px}.workspace-label,.eyebrow{font-size:10px;letter-spacing:1.5px;font-weight:700;color:#959db1}.workspace-label{padding:0 12px 13px;color:#667493}.nav-item{width:100%;display:flex;align-items:center;gap:13px;border:0;background:transparent;color:#9da8c3;text-align:left;padding:12px 13px;border-radius:9px;margin:2px 0;font-size:13px;transition:.2s}.nav-item span{width:18px;font-size:17px;text-align:center}.nav-item:hover,.nav-item.active{background:#202d50;color:#fff}.nav-item.active{box-shadow:inset 3px 0 #9b83ff}.sidebar-bottom{margin-top:auto}.level-card{background:#1a2747;border:1px solid #2b3a5f;padding:14px;border-radius:12px;margin:0 2px 15px}.level-top{display:flex;justify-content:space-between;font-size:9px;color:#8c9abb;letter-spacing:1px}.level-top b{color:#c8b9ff}.level-track{height:5px;background:#344365;border-radius:8px;margin:12px 0 8px}.level-track i{display:block;width:24%;height:100%;background:#9c83ff;border-radius:8px}.level-card small{font-size:10px;color:#8794b3}.profile-mini{display:flex;align-items:center;gap:10px;border-top:1px solid #263453;padding:18px 5px 0;margin-top:12px}.avatar{width:34px;height:34px;border-radius:50%;background:linear-gradient(140deg,#b4a1ff,#6f56dc);color:white;display:grid;place-items:center;font-weight:700}.profile-mini b,.profile-mini small{display:block}.profile-mini b{font-size:12px}.profile-mini small{font-size:10px;color:#8995b3;margin-top:3px}.online-dot{width:7px;height:7px;border-radius:50%;background:#55d6a0;margin-left:auto}.main{margin-left:252px;min-height:100vh;padding:0 38px 24px;max-width:1800px}.topbar{height:78px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);margin-bottom:32px}.breadcrumb{display:flex;gap:10px;align-items:center;color:#9aa1b2;font-size:12px}.breadcrumb i{font-style:normal;color:#c5c9d3}.breadcrumb b{color:var(--text);font-weight:600}.top-actions{display:flex;align-items:center;gap:13px}.demo-pill{font-size:9px;letter-spacing:1px;font-weight:700;color:#8c6a20;background:#fff4d9;border-radius:20px;padding:7px 10px}.demo-pill i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#e5a93d;margin-right:5px}.icon-btn{border:1px solid var(--line);background:var(--surface);color:var(--text);width:35px;height:35px;border-radius:10px;font-size:16px}.top-avatar{width:32px;height:32px}.mobile-menu{display:none}.page{display:none;animation:fade .25s ease}.page.active{display:block}@keyframes fade{from{opacity:.4;transform:translateY(4px)}to{opacity:1;transform:none}}h1,h2,h3,p{margin-top:0}h1{font:800 28px Manrope;letter-spacing:-1px;margin:8px 0 7px}h1 span{color:var(--purple)}h2{font:700 16px Manrope;margin:5px 0 0}h3{font:700 15px Manrope;margin:12px 0 8px}.muted{color:var(--muted);font-size:12px;line-height:1.65}.welcome-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:23px}.welcome-row .muted{margin:0}.primary-btn,.secondary-btn{border:0;border-radius:8px;padding:11px 15px;font-weight:700;font-size:12px}.primary-btn{background:var(--purple);color:#fff;box-shadow:0 5px 12px #7558e82b}.primary-btn:hover{background:#6245d2}.primary-btn b{margin-left:12px}.secondary-btn{background:var(--purple2);color:#684ed1}.secondary-btn:disabled{opacity:.5;cursor:not-allowed}.full{width:100%;justify-content:center}.notice{display:flex;align-items:flex-start;gap:13px;background:#f0edff;border:1px solid #e6dfff;border-radius:11px;padding:14px 16px;margin-bottom:22px;color:#473d73}.notice-icon{width:28px;height:28px;border-radius:8px;background:#dfd6ff;display:grid;place-items:center;flex-shrink:0;color:#6b51d8}.notice b{font-size:12px}.notice p{font-size:11px;color:#756b9b;margin:4px 0 0;line-height:1.5}.notice-close{margin-left:auto;border:0;background:none;color:#8d83b3;font-size:20px}.notice.warning{background:#fff7e9;border-color:#f7e7c7;color:#77531b}.warning .notice-icon{background:#ffebc4;color:#996a16}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:18px}.stats-grid.two{grid-template-columns:repeat(2,1fr);max-width:680px}.stats-grid.three{grid-template-columns:repeat(3,1fr)}.stat-card,.panel,.course-card{background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}.stat-card{padding:17px 18px}.stat-head{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:11px}.stat-icon{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;font-size:16px}.purple{background:#f0ebff;color:#7659e5}.blue{background:#e9f3ff;color:#4d91db}.orange{background:#fff1e4;color:#e59a49}.green{background:#e5f8f0;color:#37aa7d}.stat-value{font:800 25px Manrope;margin:13px 0 7px;letter-spacing:-.8px}.stat-value small{font:600 11px 'DM Sans';color:var(--muted);letter-spacing:0}.stat-foot{font-size:10px;color:#9ba2b2}.content-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:17px;margin-bottom:18px}.panel{padding:20px;margin-bottom:17px}.panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.panel-head .eyebrow{margin-bottom:5px}.text-btn{border:0;background:none;color:var(--purple);font-size:11px;font-weight:700}.journey{display:flex;align-items:center;gap:12px;padding:14px 0;border-top:1px solid var(--line)}.journey-icon{width:35px;height:35px;display:grid;place-items:center;background:var(--surface2);border-radius:10px;color:#7960dc;font-weight:700;font-size:11px}.journey-copy{flex:1}.journey-copy b{font-size:12px}.journey-copy p{margin:4px 0 0;color:var(--muted);font-size:10px}.tag{font-size:9px;font-weight:700;color:#8991a4;background:var(--surface2);padding:6px 8px;border-radius:6px;white-space:nowrap}.tag-live{color:#5b9c7d;background:#e9f8f0}.quick-link{display:flex;align-items:center;gap:11px;width:100%;background:none;border:0;border-top:1px solid var(--line);padding:13px 0;text-align:left;color:var(--text)}.quick-icon{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;font-size:16px}.q-purple{background:#f0ebff;color:#7659e5}.q-blue{background:#e9f3ff;color:#4d91db}.q-orange{background:#fff1e4;color:#e59a49}.quick-link span:nth-child(2){flex:1}.quick-link b,.quick-link small{display:block}.quick-link b{font-size:11px}.quick-link small{color:var(--muted);font-size:10px;margin-top:4px}.quick-link strong{color:#9ba2b2}.table-panel{min-height:220px}.empty-state{text-align:center;padding:30px 15px 26px}.empty-icon{width:44px;height:44px;margin:0 auto 12px;border-radius:14px;background:var(--surface2);display:grid;place-items:center;color:#9b8be0;font-size:22px}.empty-state b{font-size:12px}.empty-state p{color:var(--muted);font-size:11px;margin:6px 0 0}.page-heading{margin:5px 0 24px}.page-heading h1{margin-top:8px}.page-heading .muted{margin:0}.copy-row{display:flex;gap:8px;margin-top:14px}.copy-row input{flex:1;min-width:0;background:var(--surface2);border:1px solid var(--line);padding:11px;border-radius:8px;color:var(--muted);font-size:11px}.levels{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-top:17px}.level{padding:13px 9px;border:1px solid var(--line);border-radius:9px;text-align:center;background:var(--surface2)}.level.active{border-color:#9c86f1;background:#f3efff}.level b,.level small{display:block}.level b{font-size:11px}.level small{font-size:9px;color:var(--muted);margin-top:5px}.course-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.course-card{overflow:hidden}.course-art,.product-art{height:145px;padding:20px;display:flex;align-items:center;justify-content:center;font:800 50px Manrope;color:#fff;position:relative}.course-art span{position:absolute;bottom:14px;left:17px;font:700 9px 'DM Sans';letter-spacing:2px;color:#ffffffb8}.art-purple{background:linear-gradient(135deg,#8064e8,#4836a5)}.art-blue{background:linear-gradient(135deg,#55a0d9,#315c9d)}.art-orange{background:linear-gradient(135deg,#e9a04e,#b86b37)}.course-body{padding:16px}.course-body p{color:var(--muted);font-size:11px;line-height:1.6;min-height:34px}.course-meta{display:flex;justify-content:space-between;color:#939bad;font-size:10px;padding:10px 0 14px}.product-art{font-size:23px;letter-spacing:4px}.product-price{font:800 18px Manrope;margin:12px 0}.product-price small{font:500 10px 'DM Sans';color:var(--muted)}details{border-top:1px solid var(--line);padding:14px 0}summary{font-size:12px;font-weight:700;cursor:pointer}details p{color:var(--muted);font-size:11px;line-height:1.6;margin:10px 0 0}.inline-btn{display:inline-block;text-decoration:none;margin-top:12px}.admin-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.admin-tile{background:var(--surface);border:1px solid var(--line);border-radius:11px;padding:19px;display:flex;flex-direction:column;gap:8px}.admin-tile span{font-size:20px;color:var(--purple)}.admin-tile b{font-size:12px}.admin-tile small{font-size:10px;color:var(--muted)}footer{border-top:1px solid var(--line);margin-top:35px;padding:18px 0;color:#9ba2b2;font-size:10px;display:flex;justify-content:space-between}.toast{position:fixed;bottom:22px;left:50%;transform:translate(-50%,20px);opacity:0;background:#182342;color:#fff;padding:12px 18px;border-radius:9px;font-size:12px;z-index:99;transition:.25s;pointer-events:none}.toast.show{opacity:1;transform:translate(-50%,0)}
body.dark{--bg:#0d1427;--surface:#141f38;--surface2:#192541;--text:#edf0fa;--muted:#a0abc2;--line:#263452;--shadow:none;--purple2:#30275a}body.dark .notice{background:#282447;border-color:#3c3568;color:#e4dcff}body.dark .notice p{color:#b6add9}body.dark .tag-live{background:#1d3b36;color:#8bd6b2}body.dark .demo-pill{background:#3c3320;color:#f3cf7c}body.dark .level.active{background:#29234b}
@media(max-width:1100px){.main{padding:0 25px 22px}.stats-grid{grid-template-columns:repeat(2,1fr)}.course-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:.25s;box-shadow:20px 0 50px #0002}.sidebar.open{transform:translateX(0)}.main{margin-left:0;padding:0 16px 20px}.topbar{height:64px;margin-bottom:23px}.mobile-menu{display:block;margin-right:10px}.breadcrumb{margin-right:auto}.demo-pill{display:none}.welcome-row{align-items:flex-start;gap:15px;flex-direction:column}.welcome-row h1{font-size:24px}.welcome-row .primary-btn{width:100%}.stats-grid,.stats-grid.two,.stats-grid.three{grid-template-columns:repeat(2,1fr);gap:10px}.stat-card{padding:14px}.stat-value{font-size:22px}.content-grid{grid-template-columns:1fr}.course-grid{grid-template-columns:1fr}.course-art{height:125px}.admin-grid{grid-template-columns:repeat(2,1fr)}.levels{grid-template-columns:repeat(2,1fr)}.journey{flex-wrap:wrap}.journey-copy{min-width:55%}.journey .tag{margin-left:47px}footer{font-size:9px}footer span{display:none}}
@media(max-width:380px){.stats-grid,.stats-grid.two,.stats-grid.three{grid-template-columns:1fr}.admin-grid{grid-template-columns:1fr}.top-actions{gap:7px}}
