:root{
  --navy:#0f172a;--navy-2:#172554;--indigo:#1d4ed8;--indigo-2:#2563eb;--sky:#0ea5e9;
  --teal:#14b8a6;--green:#10b981;--amber:#f59e0b;--rose:#f43f5e;--violet:#7c3aed;
  --ink:#0f172a;--text:#334155;--muted:#64748b;--line:#e2e8f0;--soft:#f8fafc;--white:#fff;
  --radius:24px;--radius-lg:32px;--shadow:0 18px 60px rgba(15,23,42,.10);
  --shadow-sm:0 10px 30px rgba(15,23,42,.07);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:'Cairo',sans-serif;background:#f7f9fc;color:var(--ink);line-height:1.7}
button,input{font:inherit}
button{cursor:pointer}
a{text-decoration:none;color:inherit}
.hidden{display:none!important}
.container{width:min(1180px,calc(100% - 32px));margin:auto}
.section{padding:96px 0}
.section-heading{margin-bottom:36px}
.section-heading.centered{text-align:center;max-width:700px;margin:0 auto 42px}
.section-heading h2,.dashboard-section h2{margin:8px 0 10px;font-size:clamp(28px,4vw,44px);line-height:1.25;letter-spacing:-.03em}
.section-heading p{margin:0;color:var(--muted);font-size:16px}
.split-heading{display:flex;align-items:end;justify-content:space-between;gap:24px}
.section-kicker{display:inline-flex;align-items:center;gap:8px;color:var(--indigo);font-weight:800;font-size:13px}
.section-kicker.light{color:#bfdbfe}
.card-label{color:var(--muted);font-size:12px;font-weight:800}
.text-btn,.link-btn{border:0;background:none;color:var(--indigo);font-weight:800;display:inline-flex;align-items:center;gap:8px}
.text-btn:hover,.link-btn:hover{color:var(--navy)}
.btn{border:0;border-radius:16px;padding:12px 18px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:9px;transition:.2s ease}
.btn-lg{padding:15px 22px;border-radius:18px}
.btn-block{width:100%}
.btn-primary{background:linear-gradient(135deg,var(--indigo),#3730a3);color:#fff;box-shadow:0 12px 26px rgba(37,99,235,.22)}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 16px 30px rgba(37,99,235,.28)}
.btn-soft{background:#eef4ff;color:var(--indigo);border:1px solid #dbeafe}
.btn-ghost{background:transparent;color:var(--ink);border:1px solid var(--line)}
.btn-light{background:#fff;color:var(--navy);box-shadow:var(--shadow-sm)}
.icon-btn{width:42px;height:42px;border-radius:14px;border:1px solid var(--line);background:#fff;color:var(--ink);display:grid;place-items:center}
.toast{position:fixed;left:50%;top:18px;transform:translate(-50%,-140px);z-index:9999;background:var(--navy);color:#fff;padding:13px 18px;border-radius:16px;box-shadow:var(--shadow);font-weight:800;transition:.28s ease;max-width:min(92vw,520px);text-align:center}
.toast.show{transform:translate(-50%,0)}
.toast.error{background:#b91c1c}
.toast.success{background:#047857}

/* Header */
.site-header{position:sticky;top:0;z-index:80;background:rgba(255,255,255,.88);backdrop-filter:blur(18px);border-bottom:1px solid rgba(226,232,240,.85)}
.nav-wrap{height:78px;display:flex;align-items:center;gap:24px}
.brand{display:flex;align-items:center;gap:12px;min-width:max-content}
.brand-mark{width:44px;height:44px;border-radius:15px;background:linear-gradient(135deg,var(--indigo),#312e81);color:#fff;display:grid;place-items:center;font-size:19px;box-shadow:0 10px 22px rgba(37,99,235,.22)}
.brand strong{display:block;font-size:16px}
.brand small{display:block;color:var(--muted);font-size:12px;margin-top:-2px}
.desktop-nav{display:flex;align-items:center;gap:24px;margin-inline:auto}
.desktop-nav a{font-size:13px;font-weight:800;color:#475569;position:relative}
.desktop-nav a:after{content:"";position:absolute;right:0;left:0;bottom:-10px;height:2px;background:var(--indigo);transform:scaleX(0);transition:.2s}
.desktop-nav a:hover{color:var(--navy)}
.desktop-nav a:hover:after{transform:scaleX(1)}
.nav-actions,.nav-user{display:flex;align-items:center;gap:10px}
.mobile-menu-btn{display:none;border:0;background:#f1f5f9;width:42px;height:42px;border-radius:14px}
.mobile-menu{padding:16px 20px 20px;border-top:1px solid var(--line);background:#fff}
.mobile-menu a{display:block;padding:12px 0;font-weight:800;color:#475569}
.user-chip{border:1px solid var(--line);background:#fff;border-radius:18px;padding:7px 10px 7px 8px;display:flex;align-items:center;gap:9px}
.avatar{width:36px;height:36px;border-radius:12px;background:linear-gradient(135deg,#dbeafe,#bfdbfe);color:var(--indigo);display:grid;place-items:center;font-weight:900}
.user-chip-text{text-align:right}
.user-chip-text strong,.user-chip-text small{display:block}
.user-chip-text small{font-size:12px;color:var(--muted)}
.user-menu{position:absolute;top:68px;left:16px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:8px;box-shadow:var(--shadow);min-width:220px}
.user-menu button{width:100%;border:0;background:#fff;padding:11px 12px;border-radius:12px;text-align:right;font-weight:800;color:#334155}
.user-menu button:hover{background:#f8fafc}
.user-menu button.danger{color:#b91c1c}

/* Hero */
.hero{padding-top:82px;overflow:hidden;position:relative;background:
 radial-gradient(circle at 12% 10%,rgba(59,130,246,.13),transparent 24%),
 radial-gradient(circle at 88% 18%,rgba(14,165,233,.09),transparent 28%),
 linear-gradient(#fff,#f8fbff)}
.hero-grid{display:grid;grid-template-columns:1.02fr .98fr;align-items:center;gap:58px;min-height:590px}
.eyebrow{display:inline-flex;align-items:center;gap:10px;background:#eff6ff;color:var(--indigo);padding:8px 12px;border-radius:999px;font-size:12px;font-weight:900;margin-bottom:20px}
.pulse-dot{width:8px;height:8px;border-radius:50%;background:var(--green);box-shadow:0 0 0 6px rgba(16,185,129,.12)}
.hero-copy h1{font-size:clamp(46px,6vw,74px);line-height:1.08;margin:0;letter-spacing:-.045em}
.hero-copy h1 span{color:var(--indigo)}
.hero-subtitle{font-size:18px;color:#475569;max-width:650px;margin:22px 0 28px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap}
.trust-row{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:34px;border-top:1px solid var(--line);padding-top:22px}
.trust-row div{display:flex;flex-direction:column}
.trust-row strong{font-size:16px}
.trust-row span{font-size:12px;color:var(--muted)}
.hero-visual{position:relative;min-height:520px;display:grid;place-items:center}
.visual-orbit{position:absolute;border-radius:50%;border:1px solid #dbeafe}
.orbit-a{width:470px;height:470px}
.orbit-b{width:380px;height:380px;border-style:dashed}
.dashboard-preview{width:min(100%,520px);background:rgba(255,255,255,.94);border:1px solid rgba(219,234,254,.95);border-radius:30px;padding:22px;box-shadow:0 34px 90px rgba(30,64,175,.17);transform:perspective(1200px) rotateY(-6deg) rotateX(2deg);position:relative;z-index:3}
.preview-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}
.mini-profile{display:flex;align-items:center;gap:10px}
.mini-profile strong,.mini-profile small{display:block}
.mini-profile small{font-size:12px;color:var(--muted)}
.mini-search{width:34px;height:34px;border-radius:11px;background:#f8fafc;display:grid;place-items:center;color:#94a3b8}
.preview-grid{display:grid;grid-template-columns:1.45fr .75fr;gap:12px}
.preview-main-card,.preview-stat-card{border:1px solid var(--line);border-radius:20px;padding:18px;background:#fff}
.preview-main-card h3{margin:6px 0 2px;font-size:19px}
.preview-main-card p{margin:0 0 12px;font-size:12px;color:var(--muted)}
.progress{height:8px;border-radius:999px;background:#e8eef7;overflow:hidden}
.progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--teal),var(--sky))}
.preview-footer{display:flex;align-items:center;justify-content:space-between;margin-top:11px}
.preview-footer button{border:0;background:#e0e7ff;color:#3730a3;padding:6px 9px;border-radius:9px;font-size:12px;font-weight:900}
.preview-stat-card{text-align:center;background:linear-gradient(180deg,#fff,#f8fbff)}
.medal{font-size:38px;display:block;margin-bottom:4px}
.preview-stat-card small,.preview-stat-card strong,.preview-stat-card p{display:block}
.preview-stat-card strong{font-size:14px;margin-top:2px}
.preview-stat-card p{font-size:12px;color:var(--muted);margin:4px 0 0}
.preview-subjects{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px}
.preview-subjects div{border:1px solid var(--line);border-radius:16px;padding:12px 8px;text-align:center;background:#fff}
.preview-subjects span{font-size:24px;display:block}
.preview-subjects strong{font-size:12px;display:block;margin:3px 0}
.preview-subjects small{font-size:12px;color:var(--muted)}
.float-card{position:absolute;z-index:5;background:#fff;border:1px solid var(--line);border-radius:18px;padding:12px 14px;box-shadow:var(--shadow-sm);display:flex;align-items:center;gap:10px}
.float-card i{width:36px;height:36px;border-radius:12px;background:#eff6ff;color:var(--indigo);display:grid;place-items:center}
.float-card strong,.float-card small{display:block}
.float-card strong{font-size:12px}
.float-card small{font-size:12px;color:var(--muted)}
.float-card-one{right:-28px;top:72px}
.float-card-two{left:-34px;bottom:82px}

/* Public sections */
.feature-strip{background:#fff}
.feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.feature-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:25px;box-shadow:0 10px 28px rgba(15,23,42,.04);transition:.22s}
.feature-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-sm)}
.feature-icon{width:52px;height:52px;border-radius:17px;display:grid;place-items:center;margin-bottom:18px;font-size:19px}
.feature-icon.blue{background:#e0f2fe;color:#0284c7}.feature-icon.violet{background:#ede9fe;color:#7c3aed}.feature-icon.green{background:#dcfce7;color:#059669}.feature-icon.amber{background:#fef3c7;color:#d97706}
.feature-card h3{margin:0 0 8px;font-size:18px}
.feature-card p{margin:0 0 18px;color:var(--muted);font-size:13px}
.feature-card a{font-size:12px;font-weight:900;color:var(--indigo)}
.stages-section{background:#f8fafc}
.stage-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.stage-card{background:#fff;border:1px solid var(--line);border-radius:28px;padding:24px;position:relative;overflow:hidden;transition:.22s}
.stage-card:before{content:"";position:absolute;inset:auto -50px -70px auto;width:160px;height:160px;border-radius:50%;background:#eff6ff}
.stage-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-sm)}
.stage-art{width:70px;height:70px;border-radius:22px;display:grid;place-items:center;font-size:34px;margin-bottom:18px;position:relative;z-index:1}
.stage-art.sky{background:#e0f2fe}.stage-art.indigo{background:#e0e7ff}.stage-art.emerald{background:#dcfce7}.stage-art.teal{background:#ccfbf1}
.stage-tag{display:inline-block;background:#f8fafc;color:var(--muted);border-radius:999px;padding:5px 9px;font-size:12px;font-weight:900}
.stage-card h3{margin:12px 0 5px;font-size:20px}
.stage-card p{margin:0 0 20px;color:var(--muted);font-size:12px}
.stage-card button{border:0;background:none;color:var(--indigo);font-weight:900;padding:0}
.stage-card.azhar{background:linear-gradient(180deg,#fff,#f0fdfa)}
.subjects-section{background:#fff}
.subject-showcase{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.subject-showcase article{border:1px solid var(--line);border-radius:22px;padding:18px;background:#fff;display:flex;align-items:center;gap:12px}
.subject-icon{width:48px;height:48px;border-radius:16px;display:grid;place-items:center;font-size:22px;flex:0 0 auto}
.subject-icon.mint{background:#d1fae5}.subject-icon.blue{background:#dbeafe}.subject-icon.purple{background:#ede9fe}.subject-icon.orange{background:#ffedd5}.subject-icon.rose{background:#ffe4e6}
.subject-showcase h3{font-size:14px;margin:0}
.subject-showcase p{font-size:12px;color:var(--muted);margin:2px 0 0}
.teacher-section{padding-top:40px}
.teacher-panel{background:linear-gradient(135deg,#111827,#1e3a8a);color:#fff;border-radius:36px;padding:48px;display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;box-shadow:0 28px 70px rgba(15,23,42,.19)}
.teacher-panel h2{font-size:38px;line-height:1.25;margin:8px 0 12px}
.teacher-panel p{color:#cbd5e1}
.teacher-cards{display:grid;gap:12px}
.teacher-cards article{background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.14);padding:14px;border-radius:18px;display:flex;align-items:center;gap:12px;backdrop-filter:blur(8px)}
.teacher-avatar{width:48px;height:48px;border-radius:15px;background:#dbeafe;color:#1d4ed8;display:grid;place-items:center;font-weight:900}.teacher-avatar.alt{background:#dcfce7;color:#047857}.teacher-avatar.third{background:#fef3c7;color:#b45309}
.teacher-cards strong,.teacher-cards small{display:block}.teacher-cards small{color:#cbd5e1;font-size:12px}
.rating{margin-right:auto;color:#fde68a;font-size:12px;font-weight:900}
.cta-card{background:linear-gradient(135deg,var(--indigo),#312e81);color:#fff;border-radius:32px;padding:38px 42px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.cta-card h2{font-size:32px;line-height:1.35;margin:8px 0}
.cta-card p{color:#dbeafe;margin:0}
.site-footer{background:#0f172a;color:#fff;padding:58px 0 18px}
.brand-light small{color:#94a3b8}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:36px}
.footer-grid p{color:#94a3b8;font-size:13px;max-width:420px}
.footer-grid h4{margin:0 0 12px}
.footer-grid a{display:block;color:#cbd5e1;font-size:12px;margin:8px 0}
.footer-bottom{border-top:1px solid rgba(255,255,255,.08);margin-top:38px;padding-top:18px;display:flex;justify-content:space-between;color:#64748b;font-size:12px}

/* Modal */
.modal-backdrop{position:fixed;inset:0;background:rgba(2,6,23,.62);backdrop-filter:blur(8px);z-index:120;display:grid;place-items:center;padding:20px;overflow:auto}
.modal-panel{position:relative;background:#fff;border-radius:30px;box-shadow:0 40px 100px rgba(2,6,23,.28);max-width:980px;width:100%}
.modal-close{position:absolute;top:16px;left:16px;width:38px;height:38px;border:0;border-radius:13px;background:#f1f5f9;color:#334155;display:grid;place-items:center;z-index:2}
.modal-close.static{position:static}
.auth-modal{display:grid;grid-template-columns:.88fr 1.12fr;overflow:hidden}
.auth-side{padding:50px;background:linear-gradient(145deg,#0f172a,#1e3a8a);color:#fff;display:flex;flex-direction:column;justify-content:center}
.auth-badge{display:inline-flex;width:max-content;background:rgba(255,255,255,.1);padding:7px 10px;border-radius:999px;font-size:12px;font-weight:900}
.auth-side h2{font-size:36px;line-height:1.3;margin:14px 0}
.auth-side p{color:#cbd5e1}
.auth-benefits{display:grid;gap:10px;margin-top:20px}.auth-benefits span{font-size:12px}.auth-benefits i{color:#86efac;margin-left:7px}
.auth-form-wrap{padding:38px 42px}
.auth-tabs{display:grid;grid-template-columns:1fr 1fr;background:#f1f5f9;border-radius:14px;padding:4px;margin-bottom:28px}
.auth-tabs button{border:0;background:transparent;padding:10px;border-radius:11px;font-weight:900;color:var(--muted)}
.auth-tabs button.active{background:#fff;color:var(--navy);box-shadow:0 5px 14px rgba(15,23,42,.08)}
.form-heading h3{font-size:27px;margin:0 0 4px}
.form-heading p{margin:0 0 22px;color:var(--muted);font-size:12px}
.auth-form>label{display:block;margin-bottom:14px}.auth-form>label>span{display:block;font-size:12px;font-weight:900;margin-bottom:6px;color:#475569}
.input-wrap{border:1px solid var(--line);background:#f8fafc;border-radius:14px;display:flex;align-items:center;padding:0 13px}
.input-wrap i{color:#94a3b8}.input-wrap input{border:0;outline:none;background:transparent;padding:13px 10px;width:100%;color:var(--ink)}
.toggle-pass{border:0;background:none;color:#94a3b8}
.form-row{display:flex;justify-content:space-between;align-items:center;margin:4px 0 16px}
.check-row{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted)}
.form-note{font-size:12px;color:var(--muted);text-align:center}
.onboarding-modal{max-width:850px;padding:42px}
.onboarding-head{text-align:center;margin-bottom:26px}
.onboarding-head h2{font-size:32px;margin:6px 0}
.onboarding-head p{color:var(--muted);margin:0}
.choice-section{margin:22px 0}.choice-section h3{font-size:14px;margin:0 0 10px}
.choice-grid{display:grid;gap:12px}.choice-grid.two{grid-template-columns:repeat(2,1fr)}.choice-grid.three{grid-template-columns:repeat(3,1fr)}
.choice-card{position:relative;border:1px solid var(--line);border-radius:18px;padding:18px;text-align:center;background:#fff;cursor:pointer;transition:.2s}
.choice-card input{position:absolute;opacity:0}
.choice-card:has(input:checked){border-color:#60a5fa;background:#eff6ff;box-shadow:0 0 0 3px #dbeafe}
.choice-visual{font-size:30px;display:block;margin-bottom:8px}
.choice-card strong,.choice-card small{display:block}.choice-card small{color:var(--muted);font-size:12px}
.grade-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}
.grade-grid label{border:1px solid var(--line);border-radius:14px;padding:12px;text-align:center;font-weight:900;font-size:12px;cursor:pointer;background:#fff}
.grade-grid input{display:none}.grade-grid label:has(input:checked){border-color:#60a5fa;background:#eff6ff;color:var(--indigo)}

/* Explorer */
.drawer-backdrop{position:fixed;inset:0;background:rgba(2,6,23,.45);z-index:129}
.explorer-drawer{position:fixed;top:0;bottom:0;left:0;width:min(520px,100%);background:#fff;z-index:130;transform:translateX(-105%);transition:.3s ease;box-shadow:30px 0 80px rgba(2,6,23,.2);padding:24px;overflow:auto}
.explorer-drawer.open{transform:translateX(0)}
.explorer-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
.explorer-head h2{margin:5px 0 0}
.explorer-search{display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:#f8fafc;border-radius:15px;padding:0 13px;margin:22px 0 14px}
.explorer-search input{width:100%;border:0;outline:none;background:transparent;padding:12px}
.explorer-tabs,.explorer-filter-row{display:flex;gap:8px}
.explorer-tabs{background:#f1f5f9;padding:4px;border-radius:14px}
.explorer-tabs button{flex:1;border:0;background:transparent;padding:10px;border-radius:10px;font-weight:900;color:var(--muted)}
.explorer-tabs button.active{background:#fff;color:var(--ink);box-shadow:0 4px 12px rgba(15,23,42,.07)}
.explorer-filter-row{margin:16px 0}
.explorer-filter-row button{border:1px solid var(--line);background:#fff;padding:7px 10px;border-radius:999px;font-size:12px;font-weight:900;color:var(--muted)}
.explorer-filter-row button.active{background:var(--navy);color:#fff;border-color:var(--navy)}
.explorer-stage-list,.explorer-subject-list{display:grid;gap:10px}
.explorer-stage-item,.explorer-subject-item{border:1px solid var(--line);border-radius:18px;padding:15px;display:flex;align-items:center;gap:12px;background:#fff}
.explorer-stage-item .emoji,.explorer-subject-item .emoji{width:46px;height:46px;border-radius:14px;background:#f1f5f9;display:grid;place-items:center;font-size:23px}
.explorer-stage-item div,.explorer-subject-item div{flex:1}
.explorer-stage-item strong,.explorer-stage-item small,.explorer-subject-item strong,.explorer-subject-item small{display:block}
.explorer-stage-item small,.explorer-subject-item small{color:var(--muted);font-size:12px}
.explorer-stage-item button,.explorer-subject-item button{border:0;background:#eff6ff;color:var(--indigo);width:34px;height:34px;border-radius:11px}

/* Dashboard */
.dashboard-shell{min-height:100vh;background:#f5f7fb;display:grid;grid-template-columns:250px 1fr}
.dashboard-sidebar{background:linear-gradient(180deg,#0f172a,#172554);color:#fff;min-height:100vh;padding:24px 16px;position:sticky;top:0;height:100vh}
.dashboard-sidebar .brand{margin:0 8px 30px}
.dashboard-sidebar nav{display:grid;gap:7px}
.dashboard-sidebar nav button{border:0;background:transparent;color:#cbd5e1;border-radius:13px;padding:12px 13px;text-align:right;font-weight:800;display:flex;align-items:center;gap:11px}
.dashboard-sidebar nav button i{width:20px;text-align:center}
.dashboard-sidebar nav button.active,.dashboard-sidebar nav button:hover{background:rgba(59,130,246,.17);color:#fff}
.sidebar-tip{position:absolute;bottom:22px;right:16px;left:16px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.08);border-radius:18px;padding:14px}
.sidebar-tip span{font-size:24px}.sidebar-tip strong{display:block;font-size:12px}.sidebar-tip p{font-size:12px;color:#94a3b8;margin:3px 0 0}
.dashboard-content{min-width:0}
.dashboard-topbar{height:82px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 28px;position:sticky;top:0;z-index:20}
.dashboard-topbar>div:first-child{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.dashboard-greeting{font-size:18px}
.dashboard-topbar small{color:var(--muted);font-size:12px;width:100%}
.dashboard-actions{display:flex;align-items:center;gap:10px}
.dash-search{display:flex;align-items:center;gap:7px;background:#f8fafc;border:1px solid var(--line);border-radius:14px;padding:0 12px;width:290px}
.dash-search input{border:0;outline:none;background:transparent;padding:10px;width:100%}
.dash-mobile-menu{display:none;border:0;background:#f1f5f9;width:38px;height:38px;border-radius:12px}
.dashboard-page{padding:28px;max-width:1400px;margin:auto}
.dashboard-hero-grid{display:grid;grid-template-columns:1.55fr .75fr;gap:18px}
.current-stage-card,.level-card,.quick-stats article,.continue-card,.daily-goals{background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:0 8px 24px rgba(15,23,42,.04)}
.current-stage-card{padding:26px;display:flex;justify-content:space-between;align-items:center;background:linear-gradient(135deg,#fff,#f7fbff)}
.current-stage-card h2{margin:5px 0 3px;font-size:28px}.current-stage-card p{margin:0 0 18px;color:var(--muted)}
.stage-illustration{font-size:68px}
.level-card{padding:22px;display:flex;align-items:center;gap:18px}.medal-big{font-size:50px}.level-card h3{margin:4px 0 10px}.level-card small{color:var(--muted);font-size:12px}
.quick-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:18px 0 28px}
.quick-stats article{padding:17px;display:flex;align-items:center;gap:12px}
.stat-icon{width:42px;height:42px;border-radius:14px;display:grid;place-items:center}.stat-icon.green{background:#dcfce7;color:#059669}.stat-icon.blue{background:#dbeafe;color:#2563eb}.stat-icon.orange{background:#ffedd5;color:#ea580c}.stat-icon.violet{background:#ede9fe;color:#7c3aed}
.quick-stats strong,.quick-stats small{display:block}.quick-stats strong{font-size:18px}.quick-stats small{font-size:12px;color:var(--muted)}
.dashboard-section{margin-top:30px}
.dashboard-section-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:16px}
.dashboard-section-head h2{font-size:27px;margin:4px 0 0}
.dashboard-subject-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}
.dash-subject-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:18px;transition:.2s}
.dash-subject-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-sm)}
.dash-subject-card .emoji{font-size:30px}.dash-subject-card h3{font-size:14px;margin:7px 0 2px}.dash-subject-card p{font-size:12px;color:var(--muted);margin:0 0 12px}
.dash-subject-card .progress{height:6px}.dash-subject-card footer{display:flex;justify-content:space-between;margin-top:8px;font-size:12px;color:var(--muted)}
.dashboard-bottom-grid{display:grid;grid-template-columns:1.45fr .75fr;gap:18px;margin-top:22px}
.continue-card{padding:18px;display:grid;grid-template-columns:210px 1fr;gap:18px}
.continue-thumb{border-radius:18px;background:linear-gradient(135deg,#dbeafe,#e0e7ff);min-height:150px;display:grid;place-items:center;position:relative;overflow:hidden}
.continue-thumb:before{content:"";position:absolute;width:160px;height:160px;border-radius:50%;background:rgba(255,255,255,.45);top:-70px;left:-30px}
.play-button{width:54px;height:54px;border-radius:50%;background:#fff;color:var(--indigo);display:grid;place-items:center;box-shadow:var(--shadow-sm);z-index:2}
.continue-thumb span{position:absolute;bottom:12px;right:12px;font-size:12px;font-weight:900;color:#475569}
.continue-info{display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.continue-info h3{margin:5px 0;font-size:20px}.continue-info p{color:var(--muted);font-size:12px}
.daily-goals{padding:20px}.goal-header{display:flex;justify-content:space-between;align-items:start}.goal-header h3{margin:4px 0 14px}.target-icon{font-size:34px}
.daily-goals label{display:flex;align-items:center;justify-content:space-between;padding:10px 0;border-bottom:1px solid #f1f5f9;font-size:12px}.daily-goals label span{display:flex;gap:8px}.daily-goals small{color:var(--muted)}
.mobile-bottom-nav{display:none}

/* Responsive */
@media(max-width:1100px){
  .desktop-nav{display:none}.mobile-menu-btn{display:grid;place-items:center;margin-right:auto}.nav-actions{margin-right:auto}
  .hero-grid{grid-template-columns:1fr;gap:18px}.hero-copy{text-align:center}.hero-subtitle{margin-inline:auto}.hero-actions{justify-content:center}.hero-visual{min-height:470px}
  .feature-grid,.stage-grid{grid-template-columns:repeat(2,1fr)}
  .subject-showcase{grid-template-columns:repeat(3,1fr)}
  .dashboard-subject-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:860px){
  .section{padding:72px 0}.nav-user .icon-btn,.user-chip-text,.user-chip>i{display:none}
  .teacher-panel{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr 1fr}
  .auth-modal{grid-template-columns:1fr}.auth-side{display:none}.auth-form-wrap{padding:32px 24px}
  .dashboard-shell{grid-template-columns:1fr}.dashboard-sidebar{position:fixed;right:0;top:0;width:260px;z-index:90;transform:translateX(105%);transition:.25s}.dashboard-sidebar.open{transform:translateX(0)}
  .dashboard-topbar{padding:0 16px}.dash-mobile-menu{display:grid;place-items:center}.dash-search{display:none}
  .dashboard-hero-grid,.dashboard-bottom-grid{grid-template-columns:1fr}.dashboard-subject-grid{grid-template-columns:repeat(2,1fr)}
  .mobile-bottom-nav{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;bottom:0;right:0;left:0;z-index:70;background:rgba(255,255,255,.96);backdrop-filter:blur(16px);border-top:1px solid var(--line);padding:7px 6px calc(7px + env(safe-area-inset-bottom))}
  .mobile-bottom-nav button{border:0;background:transparent;color:#94a3b8;display:flex;flex-direction:column;gap:3px;align-items:center;font-size:12px}.mobile-bottom-nav button i{font-size:17px}.mobile-bottom-nav button.active{color:var(--indigo)}
  .dashboard-page{padding:18px 14px 90px}.continue-card{grid-template-columns:1fr}.continue-thumb{min-height:180px}
}
@media(max-width:640px){
  .container{width:min(100% - 22px,1180px)}.site-header .btn-ghost{display:none}.site-header .btn-primary{padding:10px 12px;font-size:12px}
  .brand small{display:none}.brand-mark{width:40px;height:40px}
  .hero{padding-top:54px}.hero-copy h1{font-size:44px}.hero-subtitle{font-size:15px}.trust-row{grid-template-columns:repeat(2,1fr)}
  .hero-visual{min-height:390px}.dashboard-preview{transform:none;padding:14px}.preview-grid{grid-template-columns:1fr}.preview-stat-card{display:none}.preview-subjects{grid-template-columns:repeat(2,1fr)}
  .float-card{display:none}.visual-orbit{display:none}
  .feature-grid,.stage-grid,.subject-showcase{grid-template-columns:1fr}.split-heading{align-items:flex-start;flex-direction:column}.stage-card{padding:20px}
  .teacher-panel{padding:30px 22px;border-radius:28px}.teacher-panel h2{font-size:28px}.cta-card{flex-direction:column;align-items:flex-start;padding:28px 22px}.cta-card h2{font-size:26px}
  .footer-grid{grid-template-columns:1fr}.footer-bottom{flex-direction:column;gap:6px}
  .onboarding-modal{padding:30px 18px}.choice-grid.two,.choice-grid.three{grid-template-columns:1fr}.grade-grid{grid-template-columns:repeat(3,1fr)}
  .dashboard-hero-grid{grid-template-columns:1fr}.current-stage-card{padding:20px}.stage-illustration{font-size:50px}.level-card{padding:18px}
  .quick-stats{grid-template-columns:repeat(2,1fr)}.dashboard-subject-grid{grid-template-columns:1fr 1fr}.dashboard-section-head{align-items:flex-start;flex-direction:column}
}
@media(max-width:420px){
  .hero-copy h1{font-size:38px}.hero-actions .btn{width:100%}.dashboard-subject-grid{grid-template-columns:1fr}
  .auth-form-wrap{padding:28px 18px}.form-row{align-items:flex-start;gap:8px;flex-direction:column}
}
.pwa-install-button{position:fixed;left:18px;bottom:18px;z-index:120;border:0;border-radius:16px;background:linear-gradient(135deg,#1d4ed8,#312e81);color:#fff;padding:11px 15px;box-shadow:0 18px 45px rgba(30,64,175,.28);display:flex;align-items:center;gap:8px;font-family:'Cairo',sans-serif;font-size:12px;font-weight:900}
.pwa-install-button:hover{transform:translateY(-2px)}
@media(max-width:860px){.pwa-install-button{bottom:78px;left:12px;padding:9px 12px}.pwa-install-button span{display:none}}

.dashboard-services{margin-top:28px}.dashboard-service-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.dashboard-service-card{background:#fff;border:1px solid var(--line);border-radius:19px;padding:15px;display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:10px;transition:.18s;box-shadow:0 8px 24px rgba(15,23,42,.035)}.dashboard-service-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-sm);border-color:#bfdbfe}.dashboard-service-card>i{font-size:12px;color:#94a3b8}.dashboard-service-card strong,.dashboard-service-card small{display:block}.dashboard-service-card strong{font-size:12px}.dashboard-service-card small{font-size:12px;color:#64748b;margin-top:2px}.service-icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center}.service-icon.green{background:#dcfce7;color:#059669}.service-icon.amber{background:#fef3c7;color:#d97706}.service-icon.blue{background:#dbeafe;color:#2563eb}.service-icon.rose{background:#ffe4e6;color:#e11d48}.service-icon.red{background:#fee2e2;color:#dc2626}.service-icon.violet{background:#ede9fe;color:#7c3aed}.service-icon.indigo{background:#e0e7ff;color:#4338ca}.service-icon.slate{background:#e2e8f0;color:#475569}
@media(max-width:1100px){.dashboard-service-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.dashboard-service-grid{grid-template-columns:1fr}}

/* Dashboard interaction refresh */
.dashboard-shell{transition:grid-template-columns .25s ease}
.dashboard-sidebar{padding:18px 12px 14px;display:flex;flex-direction:column;overflow:hidden;transition:width .25s ease,padding .25s ease}
.sidebar-brand-row{display:flex;align-items:center;gap:8px;min-height:54px;margin-bottom:14px}
.sidebar-brand-row .brand{margin:0;flex:1;min-width:0}
.sidebar-brand-copy{white-space:nowrap;overflow:hidden;transition:opacity .18s ease,width .18s ease}
.sidebar-collapse-btn{width:34px;height:34px;flex:0 0 34px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.07);color:#cbd5e1;border-radius:11px;display:grid;place-items:center;transition:.2s}
.sidebar-collapse-btn:hover{background:rgba(255,255,255,.14);color:#fff}
.dashboard-nav{display:flex!important;flex:1;min-height:0;flex-direction:column;gap:13px!important;overflow-y:auto;overflow-x:hidden;padding-left:2px;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.12) transparent}
.dashboard-nav-group{display:grid;gap:5px}
.dashboard-nav-label{font-size:12px;font-weight:900;letter-spacing:.06em;color:#64748b;padding:0 12px 4px;white-space:nowrap;text-transform:uppercase}
.dashboard-sidebar .dashboard-nav button,.dashboard-sidebar-footer button{position:relative;border:0;background:transparent;color:#aebbd0;border-radius:12px;padding:10px 11px;text-align:right;font-weight:800;display:flex;align-items:center;gap:10px;min-height:42px;transition:background .17s ease,color .17s ease,transform .17s ease}
.dashboard-sidebar .dashboard-nav button>i:first-child,.dashboard-sidebar-footer button>i:first-child{width:22px;height:22px;display:grid;place-items:center;flex:0 0 22px;font-size:13px}
.dashboard-sidebar .dashboard-nav button>span,.dashboard-sidebar-footer button>span{white-space:nowrap}
.dashboard-sidebar .dashboard-nav button:hover,.dashboard-sidebar-footer button:hover{background:rgba(255,255,255,.08);color:#fff;transform:translateX(-2px)}
.dashboard-sidebar .dashboard-nav button.active{background:linear-gradient(135deg,rgba(59,130,246,.30),rgba(79,70,229,.20));color:#fff;box-shadow:inset -3px 0 #60a5fa}
.dashboard-sidebar .dashboard-nav button.active:after{content:"";width:5px;height:5px;border-radius:50%;background:#60a5fa;position:absolute;left:11px}
.dashboard-more-toggle{width:100%}
.dashboard-more-toggle .more-chevron{margin-right:auto!important;width:auto!important;height:auto!important;font-size:12px!important;transition:transform .2s}
.dashboard-more-toggle.open .more-chevron{transform:rotate(180deg)}
.dashboard-more-menu{display:grid;gap:4px;padding-top:4px}
.dashboard-more-menu button{padding-right:16px!important}
.dashboard-sidebar-footer{margin-top:auto;border-top:1px solid rgba(255,255,255,.08);padding-top:10px;display:grid;gap:4px}
.dashboard-sidebar-footer .dashboard-logout-btn{margin-top:3px!important;color:#fca5a5!important}
.dashboard-sidebar-footer .dashboard-logout-btn:hover{background:rgba(239,68,68,.13)!important;color:#fff!important}

.dashboard-shell.sidebar-collapsed{grid-template-columns:82px 1fr}
.dashboard-shell.sidebar-collapsed .dashboard-sidebar{padding-right:10px;padding-left:10px}
.dashboard-shell.sidebar-collapsed .sidebar-brand-copy,
.dashboard-shell.sidebar-collapsed .dashboard-nav-label,
.dashboard-shell.sidebar-collapsed .dashboard-nav button>span,
.dashboard-shell.sidebar-collapsed .dashboard-sidebar-footer button>span,
.dashboard-shell.sidebar-collapsed .dashboard-more-toggle .more-chevron{display:none}
.dashboard-shell.sidebar-collapsed .sidebar-brand-row{justify-content:center;flex-wrap:wrap}
.dashboard-shell.sidebar-collapsed .sidebar-brand-row .brand{flex:0 0 auto}
.dashboard-shell.sidebar-collapsed .sidebar-brand-row .brand>span:last-child{display:none}
.dashboard-shell.sidebar-collapsed .sidebar-collapse-btn i{transform:rotate(180deg)}
.dashboard-shell.sidebar-collapsed .dashboard-nav button,
.dashboard-shell.sidebar-collapsed .dashboard-sidebar-footer button{justify-content:center;padding:10px}
.dashboard-shell.sidebar-collapsed .dashboard-nav button.active:after{left:5px}
.dashboard-shell.sidebar-collapsed .dashboard-more-menu button{padding-right:10px!important}
.dashboard-shell.sidebar-collapsed .dashboard-nav button:hover:before,
.dashboard-shell.sidebar-collapsed .dashboard-sidebar-footer button:hover:before{content:attr(data-nav-label);position:absolute;right:calc(100% + 10px);background:#0f172a;color:#fff;border:1px solid rgba(255,255,255,.08);padding:7px 9px;border-radius:9px;font-size:12px;white-space:nowrap;z-index:120;box-shadow:0 10px 30px rgba(15,23,42,.25)}

/* Interactive daily mission */
.interactive-daily-goals{overflow:hidden;position:relative;background:linear-gradient(180deg,#fff,#fbfdff)}
.interactive-daily-goals:before{content:"";position:absolute;width:160px;height:160px;border-radius:50%;background:rgba(59,130,246,.05);left:-70px;top:-80px}
.interactive-daily-goals .goal-header{position:relative;z-index:1;align-items:center;margin-bottom:6px}
.interactive-daily-goals .goal-header h3{margin:3px 0 2px}
.interactive-daily-goals .goal-header p{font-size:12px;color:#64748b;margin:0}
.daily-goal-ring{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#2563eb 0deg,#e8eef7 0deg);position:relative;transition:background .3s ease}
.daily-goal-ring:after{content:"";position:absolute;inset:6px;border-radius:50%;background:#fff}
.daily-goal-ring strong{position:relative;z-index:2;font-size:12px;color:#1d4ed8}
.daily-goal-item{width:100%;border:0;border-bottom:1px solid #f1f5f9;background:transparent;padding:10px 4px;display:grid;grid-template-columns:34px 1fr 24px;align-items:center;gap:9px;text-align:right;color:#334155;transition:.16s}
.daily-goal-item:hover{background:#f8fbff;border-radius:11px;transform:translateX(-2px)}
.daily-goal-item:last-of-type{border-bottom:0}
.daily-goal-item .goal-check{width:34px;height:34px;border-radius:11px;background:#eff6ff;color:#2563eb;display:grid;place-items:center}
.daily-goal-item div strong,.daily-goal-item div small{display:block}.daily-goal-item div strong{font-size:12px}.daily-goal-item div small{font-size:12px;color:#94a3b8;margin-top:2px}
.daily-goal-item .goal-state{font-size:17px;color:#cbd5e1}
.daily-goal-item.completed{background:#f0fdf4;border-color:transparent;border-radius:11px;margin:2px 0}
.daily-goal-item.completed .goal-check{background:#dcfce7;color:#059669}
.daily-goal-item.completed .goal-state{color:#10b981}
.daily-goal-item.completed div strong{text-decoration:line-through;color:#64748b}
.daily-goal-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:11px;padding-top:9px;border-top:1px solid #f1f5f9}
.daily-goal-footer>span{font-size:12px;color:#64748b;font-weight:800}
.daily-goal-footer .text-btn{font-size:12px}

/* Micro interaction polish */
.quick-stats article,.dash-subject-card,.current-stage-card,.level-card,.continue-card,.daily-goals,.dashboard-service-card{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.quick-stats article:hover,.current-stage-card:hover,.level-card:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(15,23,42,.07)}
.dash-subject-card{position:relative;overflow:hidden}.dash-subject-card:after{content:"";position:absolute;inset:auto -30px -45px auto;width:85px;height:85px;border-radius:50%;background:rgba(37,99,235,.04);transition:.2s}.dash-subject-card:hover:after{transform:scale(1.4);background:rgba(37,99,235,.08)}
.dash-subject-card:hover footer strong{color:#2563eb}
.play-button{transition:.18s}.continue-card:hover .play-button{transform:scale(1.08);box-shadow:0 12px 25px rgba(37,99,235,.18)}
.quick-stats strong{transition:transform .2s}.quick-stats article:hover strong{transform:scale(1.08)}

@media(max-width:1100px){
 .sidebar-collapse-btn{display:none}
 .dashboard-shell.sidebar-collapsed{grid-template-columns:1fr}
}

.dashboard-action-pulse{display:grid;grid-template-columns:minmax(0,1.5fr) .7fr;gap:14px;margin:-8px 0 26px}
.pulse-main-card{background:linear-gradient(135deg,#0f172a,#1e3a8a);color:#fff;border-radius:22px;padding:17px 18px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:13px;box-shadow:0 14px 34px rgba(30,58,138,.18);position:relative;overflow:hidden}
.pulse-main-card:after{content:"";position:absolute;width:180px;height:180px;border-radius:50%;background:rgba(255,255,255,.06);left:-70px;top:-95px}
.pulse-live-dot{width:11px;height:11px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 6px rgba(34,197,94,.12);position:relative;z-index:1;animation:pulseLive 1.8s infinite}
@keyframes pulseLive{0%,100%{box-shadow:0 0 0 4px rgba(34,197,94,.12)}50%{box-shadow:0 0 0 9px rgba(34,197,94,.03)}}
.pulse-copy{position:relative;z-index:1}.pulse-copy .section-kicker{color:#93c5fd}.pulse-copy h3{margin:2px 0 2px;font-size:15px}.pulse-copy p{margin:0;color:#cbd5e1;font-size:12px}
.pulse-main-card .btn{position:relative;z-index:1;background:#fff;color:#1d4ed8;border-color:#fff;white-space:nowrap}
.pulse-mini-cards{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.pulse-mini-cards article{background:#fff;border:1px solid var(--line);border-radius:18px;padding:14px;display:flex;align-items:center;gap:10px;box-shadow:0 8px 24px rgba(15,23,42,.04)}
.pulse-mini-icon{width:38px;height:38px;border-radius:12px;display:grid;place-items:center}.pulse-mini-icon.blue{background:#eff6ff;color:#2563eb}.pulse-mini-icon.amber{background:#fff7ed;color:#d97706}
.pulse-mini-cards small,.pulse-mini-cards strong{display:block}.pulse-mini-cards small{font-size:12px;color:#94a3b8}.pulse-mini-cards strong{font-size:12px;margin-top:2px}
@media(max-width:900px){.dashboard-action-pulse{grid-template-columns:1fr}.pulse-mini-cards{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.pulse-main-card{grid-template-columns:auto 1fr}.pulse-main-card .btn{grid-column:1/-1;width:100%}.pulse-mini-cards{grid-template-columns:1fr}.dashboard-action-pulse{margin-top:0}}

.preview-progress-68{width:68%}#xpProgress{width:20%}

/* Phase 1 dashboard premium polish */
.dashboard-content{
  background:
    radial-gradient(circle at 12% 0%,rgba(59,130,246,.055),transparent 25%),
    radial-gradient(circle at 88% 15%,rgba(124,58,237,.045),transparent 24%),
    #f6f8fc;
}
.dashboard-topbar{
  min-height:82px;height:auto;
  background:rgba(255,255,255,.90);
  backdrop-filter:blur(18px);
  box-shadow:0 7px 28px rgba(15,23,42,.035);
}
.dashboard-welcome{display:flex!important;align-items:center!important;gap:11px!important;flex-wrap:nowrap!important}
.dashboard-welcome>div{display:grid;gap:2px;min-width:0}
.dashboard-greeting{font-size:19px;font-weight:800;letter-spacing:-.015em;color:#0f172a}
.dashboard-greeting strong{font-weight:900}
#dashTodayLabel{font-size:12px!important;color:#748197!important;width:auto!important}
.dash-search{
  height:44px;width:310px;padding:0 7px 0 11px;
  background:#f8fafc;border-color:#e3e9f1;
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;
}
.dash-search:focus-within{background:#fff;border-color:#93c5fd;box-shadow:0 0 0 4px rgba(37,99,235,.07)}
.dash-search input{font-size:12px}
.dash-search-submit{
  width:31px;height:31px;flex:0 0 31px;border:0;border-radius:10px;
  background:#e9efff;color:#1d4ed8;display:grid;place-items:center;
}
.dash-search-submit:hover{background:#dbeafe}

.dashboard-page{padding-top:24px}
.dashboard-hero-grid{gap:14px}
.current-stage-card{
  position:relative;overflow:hidden;
  background:linear-gradient(135deg,#0f172a 0%,#172554 57%,#1d4ed8 145%);
  border-color:rgba(255,255,255,.06);
  color:#fff;
  box-shadow:0 18px 45px rgba(30,58,138,.15);
  min-height:205px;
}
.current-stage-card:before{
  content:"";position:absolute;width:220px;height:220px;border-radius:50%;
  left:-85px;top:-110px;background:rgba(96,165,250,.11);
}
.current-stage-card:after{
  content:"";position:absolute;width:120px;height:120px;border-radius:32px;
  left:70px;bottom:-78px;background:rgba(255,255,255,.045);transform:rotate(28deg);
}
.current-stage-card>div{position:relative;z-index:2}
.current-stage-card .card-label{color:#bfdbfe}
.current-stage-card h2{font-size:30px;letter-spacing:-.025em;color:#fff}
.current-stage-card p{color:#cbd5e1}
.current-stage-card .stage-illustration{
  position:relative;z-index:1;font-size:78px;
  filter:drop-shadow(0 15px 22px rgba(0,0,0,.16));
  transform:rotate(-3deg);
}
.current-stage-card .btn-primary{
  background:#fff!important;color:#1d4ed8!important;border-color:#fff!important;
  box-shadow:0 8px 20px rgba(2,6,23,.15);
}
.current-stage-card .btn-soft{
  background:rgba(255,255,255,.10)!important;color:#fff!important;
  border-color:rgba(255,255,255,.16)!important;
}
.current-stage-card .btn-soft:hover{background:rgba(255,255,255,.17)!important}

.level-card{
  position:relative;overflow:hidden;
  background:linear-gradient(180deg,#fff,#fffdf8);
  border-color:#f3e8d4;
  box-shadow:0 12px 34px rgba(120,53,15,.055);
}
.level-card:after{
  content:"";position:absolute;width:120px;height:120px;border-radius:50%;
  left:-55px;top:-55px;background:rgba(245,158,11,.07)
}
.medal-big{position:relative;z-index:1;filter:drop-shadow(0 8px 14px rgba(180,83,9,.13))}
.dashboard-xp-progress{height:8px;background:#f1f5f9}
.dashboard-xp-progress span{background:linear-gradient(90deg,#f59e0b,#8b5cf6,#2563eb)}

.quick-stats{gap:12px;margin-top:14px;margin-bottom:22px}
.quick-stats article{
  min-height:74px;padding:14px 15px;border-radius:19px;
  box-shadow:0 7px 22px rgba(15,23,42,.035);
}
.quick-stats article:hover{transform:translateY(-2px);border-color:#d7e1ee}
.quick-stats strong{font-size:20px;letter-spacing:-.02em}
.quick-stats small{font-size:12px;margin-top:1px}
.stat-icon{width:40px;height:40px;border-radius:13px}

.dashboard-action-pulse{margin-top:0;margin-bottom:25px}
.pulse-main-card{border-radius:20px;box-shadow:0 14px 34px rgba(30,58,138,.14)}
.pulse-main-card .section-kicker{font-size:12px}
.pulse-copy h3{font-size:16px;line-height:1.5}
.pulse-copy p{font-size:12px;line-height:1.7}
.pulse-mini-cards article{border-radius:17px;box-shadow:0 7px 22px rgba(15,23,42,.035)}

.dashboard-section-head h2{font-size:25px;letter-spacing:-.025em}
.dashboard-section-head .section-kicker{font-size:12px}
.dashboard-subject-grid{gap:11px}
.dash-subject-card{
  text-decoration:none;color:inherit;
  min-height:180px;padding:16px;
  display:flex;flex-direction:column;
  border-radius:19px;
  background:linear-gradient(180deg,#fff,#fcfdff);
  box-shadow:0 7px 23px rgba(15,23,42,.035);
}
.dash-subject-card:hover{
  transform:translateY(-4px);border-color:#bfd3f5;
  box-shadow:0 16px 35px rgba(15,23,42,.075);
}
.dash-subject-card:focus-visible{outline:3px solid rgba(37,99,235,.16);outline-offset:2px}
.dash-subject-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.dash-subject-card .emoji{
  width:43px;height:43px;border-radius:14px;background:#f8fafc;border:1px solid #eef2f7;
  display:grid;place-items:center;font-size:25px;
}
.subject-status{
  font-size:12px;font-weight:900;color:#64748b;background:#f1f5f9;
  padding:4px 7px;border-radius:999px;white-space:nowrap;
}
.subject-status.active{background:#eff6ff;color:#1d4ed8}
.subject-status.complete{background:#ecfdf5;color:#047857}
.dash-subject-card h3{font-size:14px;margin:12px 0 3px;line-height:1.5}
.dash-subject-card p{font-size:12px;line-height:1.7;margin-bottom:14px}
.dash-subject-card .progress{margin-top:auto}
.dash-subject-card footer{font-size:12px;align-items:center;margin-top:9px}
.dash-subject-card footer strong{display:flex;align-items:center;gap:5px;color:#1d4ed8;font-size:12px}
.dash-subject-card footer strong i{font-size:12px;transition:transform .16s}
.dash-subject-card:hover footer strong i{transform:translateX(-2px)}

.continue-card,.interactive-daily-goals{border-radius:20px!important;box-shadow:0 9px 28px rgba(15,23,42,.045)}
.continue-card{background:linear-gradient(180deg,#fff,#fbfdff)}
.continue-thumb{border-radius:15px}
.continue-info h3{font-size:19px;line-height:1.5}
.continue-info p{line-height:1.8}
.daily-goal-ring{box-shadow:inset 0 0 0 1px #eef2f7}

.dashboard-service-grid{gap:10px}
.dashboard-service-card{
  border-radius:17px!important;
  box-shadow:0 6px 20px rgba(15,23,42,.035);
}
.dashboard-service-card:hover{transform:translateY(-2px);border-color:#d3deed;box-shadow:0 12px 28px rgba(15,23,42,.065)}

@media(max-width:1100px){
  .current-stage-card{min-height:190px}
}
@media(max-width:860px){
  .dashboard-topbar{min-height:70px;padding:9px 14px}
  .dashboard-greeting{font-size:16px}
  .dashboard-page{padding-top:16px}
  .dashboard-hero-grid{gap:11px}
  .current-stage-card{min-height:185px;padding:20px}
  .current-stage-card h2{font-size:25px}
  .current-stage-card .stage-illustration{font-size:62px}
  .level-card{padding:18px}
  .quick-stats{grid-template-columns:repeat(2,1fr);gap:9px}
  .quick-stats article{min-height:68px}
}
@media(max-width:640px){
  .dashboard-welcome{flex:1;min-width:0}
  .dashboard-welcome>div{min-width:0}
  .dashboard-greeting{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:48vw}
  #dashTodayLabel{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:55vw}
  .dashboard-actions{gap:6px}
  .dashboard-account-btn{min-width:auto!important}
  .dashboard-page{padding:14px 11px 96px}
  .current-stage-card{min-height:0;padding:18px;align-items:flex-start}
  .current-stage-card h2{font-size:23px}
  .current-stage-card p{font-size:12px;margin-bottom:13px}
  .current-stage-card .stage-illustration{font-size:49px;margin-top:10px}
  .stage-card-actions{gap:7px}
  .stage-card-actions .btn{min-height:40px;font-size:12px}
  .quick-stats{margin:10px 0 17px}
  .quick-stats article{padding:11px;gap:9px;min-height:62px;border-radius:16px}
  .quick-stats strong{font-size:17px}
  .stat-icon{width:36px;height:36px;border-radius:11px}
  .dashboard-action-pulse{margin-bottom:20px}
  .pulse-main-card{padding:15px;border-radius:18px}
  .pulse-copy h3{font-size:14px}
  .dashboard-section{margin-top:23px}
  .dashboard-section-head{align-items:center}
  .dashboard-section-head h2{font-size:21px}
  .dashboard-section-head .text-btn{font-size:12px}
  .dashboard-subject-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .dash-subject-card{min-height:165px;padding:12px;border-radius:16px}
  .dash-subject-card .emoji{width:38px;height:38px;font-size:21px;border-radius:12px}
  .subject-status{font-size:12px;padding:3px 5px}
  .dash-subject-card h3{font-size:12px;margin-top:10px}
  .dash-subject-card p{font-size:12px;margin-bottom:10px}
  .dash-subject-card footer{align-items:flex-end;gap:5px}
  .dash-subject-card footer strong{font-size:12px}
  .continue-card,.interactive-daily-goals{border-radius:18px!important}
}
@media(max-width:390px){
  .current-stage-card .stage-illustration{display:none}
  .dashboard-subject-grid{grid-template-columns:1fr}
  .dash-subject-card{min-height:145px}
}

/* Phase 1 student shell final polish */
.student-profile-shortcut{cursor:pointer;transition:transform .15s ease,box-shadow .15s ease}
.student-profile-shortcut:hover{transform:translateY(-1px);box-shadow:0 6px 14px rgba(37,99,235,.12)}
.student-profile-shortcut:focus-visible{outline:3px solid rgba(37,99,235,.18);outline-offset:2px}
.student-back-button{
  width:38px;height:38px;flex:0 0 38px;border:1px solid #e5eaf1;background:#fff;color:#475569;
  border-radius:11px;display:grid;place-items:center;transition:.15s
}
.student-back-button:hover{background:#f8fafc;color:#1d4ed8;border-color:#bfdbfe}
.student-mobile-nav{
  display:none;position:fixed;right:10px;left:10px;bottom:10px;z-index:145;
  grid-template-columns:repeat(5,1fr);gap:3px;padding:5px;
  background:rgba(255,255,255,.94);backdrop-filter:blur(18px);
  border:1px solid rgba(226,232,240,.92);border-radius:18px;
  box-shadow:0 15px 40px rgba(15,23,42,.14)
}
.student-mobile-nav a{
  min-height:48px;border-radius:13px;display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:3px;text-decoration:none;color:#64748b;font-size:12px;font-weight:900;transition:.15s
}
.student-mobile-nav a i{font-size:14px}
.student-mobile-nav a:hover{background:#f8fafc;color:#334155}
.student-mobile-nav a.active,.student-mobile-nav a[aria-current="page"]{
  background:linear-gradient(180deg,#eff6ff,#f8fbff);color:#1d4ed8
}
.student-mobile-nav a.active i,.student-mobile-nav a[aria-current="page"] i{transform:translateY(-1px)}
@media(max-width:760px){
  .student-mobile-nav{display:grid}
  body:not(.admin-v3-body):not(.teacher-v3-body){padding-bottom:78px}
  .learning-header .learning-nav{gap:8px}
  .learning-breadcrumb{min-width:0}
  .learning-breadcrumb span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:36vw}
}
@media(max-width:420px){
  .student-mobile-nav{right:6px;left:6px;bottom:6px;border-radius:16px}
  .student-mobile-nav a{min-height:46px}
  .student-back-button{width:35px;height:35px;flex-basis:35px}
}

/* Simplified student home 2026 */
.dashboard-shell{
  grid-template-columns:220px minmax(0,1fr)!important;
  background:#f7f8fa!important;
}
.simple-dashboard-sidebar{
  background:#fff!important;
  border-left:1px solid #e8edf3!important;
  padding:18px 12px!important;
  box-shadow:none!important;
  color:#172033!important;
}
.simple-dashboard-sidebar .sidebar-brand-row{
  min-height:56px;padding:0 6px 14px;margin-bottom:10px;
  border-bottom:1px solid #eef1f5!important;
}
.simple-dashboard-sidebar .brand-light{color:#172033!important}
.simple-dashboard-sidebar .brand-mark{background:#2563eb!important;color:#fff!important;box-shadow:none!important}
.simple-dashboard-sidebar .sidebar-brand-copy small{color:#8994a5!important}
.simple-dashboard-nav{display:grid!important;gap:5px!important}
.simple-dashboard-nav>button,
.simple-dashboard-sidebar .dashboard-sidebar-footer button,
.simple-dashboard-sidebar .dashboard-more-toggle{
  min-height:44px!important;padding:9px 11px!important;border-radius:11px!important;
  color:#667085!important;background:transparent!important;font-size:12px!important;
  font-weight:800!important;box-shadow:none!important
}
.simple-dashboard-nav>button>i:first-child,
.simple-dashboard-sidebar .dashboard-sidebar-footer button>i:first-child,
.simple-dashboard-sidebar .dashboard-more-toggle>i:first-child{
  width:28px!important;height:28px!important;border-radius:9px!important;
  background:#f5f7fa!important;color:#667085!important;display:grid!important;place-items:center!important
}
.simple-dashboard-nav>button:hover,
.simple-dashboard-sidebar .dashboard-sidebar-footer button:hover,
.simple-dashboard-sidebar .dashboard-more-toggle:hover{
  background:#f7f9fc!important;color:#1f2937!important;transform:none!important
}
.simple-dashboard-nav>button.active{
  background:#eef4ff!important;color:#1d4ed8!important;box-shadow:none!important
}
.simple-dashboard-nav>button.active>i:first-child{background:#dbeafe!important;color:#1d4ed8!important}
.simple-dashboard-nav>button.active:after{display:none!important}
.simple-dashboard-sidebar .dashboard-more-group{margin-top:2px!important}
.simple-dashboard-sidebar .dashboard-more-menu{
  padding:5px 0 0 8px!important;gap:3px!important;border-right:1px solid #eef1f5
}
.simple-dashboard-sidebar .dashboard-more-menu button{
  min-height:38px!important;padding:7px 10px!important;color:#7b8494!important;font-size:12px!important
}
.simple-dashboard-sidebar .dashboard-more-menu button>i:first-child{
  width:24px!important;height:24px!important;background:transparent!important
}
.simple-dashboard-sidebar .dashboard-sidebar-footer{
  border-top:1px solid #eef1f5!important;padding-top:10px!important
}
.simple-dashboard-sidebar .dashboard-logout-btn{color:#b42318!important}
.simple-dashboard-sidebar .dashboard-logout-btn>i:first-child{background:#fff1f0!important;color:#d92d20!important}

.dashboard-content{background:#f7f8fa!important}
.simple-dashboard-topbar{
  min-height:70px!important;height:70px!important;padding:0 26px!important;
  background:#fff!important;border-bottom:1px solid #edf0f4!important;
  box-shadow:none!important;backdrop-filter:none!important
}
.simple-dashboard-topbar .dashboard-greeting{font-size:16px!important;color:#172033!important}
.simple-dashboard-topbar #dashTodayLabel{font-size:12px!important;color:#8a94a4!important}
.simple-top-actions{gap:7px!important}
.simple-top-actions .icon-btn{
  width:38px!important;height:38px!important;border:1px solid #e6eaf0!important;
  background:#fff!important;color:#596579!important;border-radius:11px!important
}
.simple-top-actions .icon-btn:hover{background:#f8fafc!important;color:#1d4ed8!important}
.simple-account-avatar{display:grid;place-items:center;text-decoration:none}
.simple-account-avatar .avatar{
  width:38px!important;height:38px!important;border-radius:11px!important;
  background:#eef4ff!important;color:#1d4ed8!important;border:1px solid #dbe7ff!important
}

.simple-student-home{
  width:min(1120px,100%);margin:0 auto;padding:30px 26px 80px!important
}
.simple-home-heading{
  display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:18px
}
.simple-home-heading h1{margin:3px 0 4px;font-size:27px;letter-spacing:-.03em;color:#172033}
.simple-home-heading p{margin:0;display:flex;align-items:center;gap:6px;color:#7d8797;font-size:12px}
.simple-home-heading p strong{color:#475467}
.simple-eyebrow,.simple-card-label{
  display:block;color:#667085;font-size:12px;font-weight:900;letter-spacing:.02em
}
.simple-text-action{
  border:0;background:transparent;color:#2563eb;font-size:12px;font-weight:900;
  display:inline-flex;align-items:center;gap:6px;padding:7px 3px
}
.simple-text-action:hover{color:#1d4ed8;text-decoration:underline}

.simple-focus-grid{
  display:grid;grid-template-columns:minmax(0,1.35fr) minmax(310px,.8fr);gap:12px
}
.simple-continue-card,.simple-today-card{
  border:1px solid #e5eaf0;background:#fff;border-radius:16px;padding:18px;
  display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:13px;
  box-shadow:0 3px 12px rgba(16,24,40,.025)
}
.simple-continue-card{border-color:#dbe7ff;background:#fbfdff}
.simple-focus-icon{
  width:46px;height:46px;border-radius:13px;display:grid;place-items:center;font-size:15px
}
.simple-focus-icon.primary{background:#2563eb;color:#fff}
.simple-focus-icon.soft{background:#f2f4f7;color:#475467}
.simple-focus-copy{min-width:0}
.simple-focus-copy h2,.simple-focus-copy h3{
  margin:3px 0 2px;color:#172033;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.simple-focus-copy h2{font-size:15px}.simple-focus-copy h3{font-size:12px}
.simple-focus-copy p{margin:0;color:#7d8797;font-size:12px;line-height:1.65;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.simple-focus-copy small{display:block;margin-top:5px;color:#98a2b3;font-size:12px}
.simple-focus-copy small strong{color:#667085}
.simple-continue-card .btn{min-height:38px;padding:8px 13px;border-radius:10px;font-size:12px;white-space:nowrap}
.simple-link-button{
  border:0;background:transparent;color:#2563eb;font-size:12px;font-weight:900;padding:8px
}

.simple-subjects-section{margin-top:30px!important}
.simple-section-head{
  display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:11px
}
.simple-section-head h2{margin:2px 0 0;font-size:19px;letter-spacing:-.02em;color:#172033}
.simple-subject-grid{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important
}
.simple-subject-card{
  min-height:82px!important;padding:11px 12px!important;border-radius:14px!important;
  display:grid!important;grid-template-columns:40px minmax(0,1fr) 20px!important;
  align-items:center!important;gap:10px!important;background:#fff!important;
  box-shadow:none!important;border:1px solid #e7ebf0!important;overflow:visible!important
}
.simple-subject-card:after{display:none!important}
.simple-subject-card:hover{transform:none!important;background:#fbfdff!important;border-color:#cfdcf0!important;box-shadow:none!important}
.simple-subject-card .emoji{
  width:40px!important;height:40px!important;border-radius:11px!important;
  background:#f5f7fa!important;border:0!important;font-size:21px!important;margin:0!important
}
.simple-subject-copy{min-width:0}
.simple-subject-copy h3{font-size:12px!important;margin:0 0 6px!important;color:#253047;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.simple-subject-copy .progress{height:4px!important;margin:0!important;background:#eef1f5!important}
.simple-subject-copy .progress span{background:#2563eb!important}
.simple-subject-copy small{display:block;margin-top:5px;color:#98a2b3;font-size:12px}
.simple-subject-arrow{font-size:12px;color:#98a2b3}

.simple-today-links{margin-top:28px}
.simple-quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.simple-quick-grid a{
  min-height:75px;border:1px solid #e7ebf0;background:#fff;border-radius:14px;padding:11px;
  text-decoration:none;color:#344054;display:grid;grid-template-columns:34px minmax(0,1fr);column-gap:9px;align-items:center
}
.simple-quick-grid a:hover{background:#fbfdff;border-color:#d3deec}
.simple-quick-grid a>span{
  width:34px;height:34px;border-radius:10px;background:#f5f7fa;color:#475467;
  display:grid;place-items:center;grid-row:1/3
}
.simple-quick-grid strong,.simple-quick-grid small{display:block}
.simple-quick-grid strong{font-size:12px}.simple-quick-grid small{font-size:12px;color:#98a2b3;margin-top:1px}

.simple-more-strip{
  margin-top:18px;border:1px solid #e7ebf0;background:#fff;border-radius:14px;padding:11px 13px;
  display:flex;align-items:center;justify-content:space-between;gap:14px
}
.simple-more-strip>div{display:flex;align-items:center;gap:10px}
.simple-more-icon{
  width:36px;height:36px;border-radius:10px;background:#f5f7fa;color:#667085;display:grid;place-items:center
}
.simple-more-strip strong,.simple-more-strip small{display:block}
.simple-more-strip strong{font-size:12px;color:#344054}.simple-more-strip small{font-size:12px;color:#98a2b3;margin-top:2px}
.simple-more-strip .btn{min-height:36px;border-radius:9px;font-size:12px}

@media(max-width:1000px){
  .dashboard-shell{grid-template-columns:190px minmax(0,1fr)!important}
  .simple-focus-grid{grid-template-columns:1fr}
  .simple-subject-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:860px){
  .dashboard-shell{grid-template-columns:1fr!important}
  .simple-dashboard-sidebar{
    position:fixed!important;right:0!important;top:0!important;width:min(260px,86vw)!important;height:100vh!important;
    transform:translateX(105%);z-index:190!important;box-shadow:-18px 0 45px rgba(16,24,40,.12)!important
  }
  .simple-dashboard-sidebar.open{transform:translateX(0)}
  .simple-dashboard-topbar{padding:0 14px!important}
  .simple-student-home{padding:22px 14px 92px!important}
}
@media(max-width:600px){
  .simple-dashboard-topbar{height:64px!important;min-height:64px!important}
  .simple-dashboard-topbar .dashboard-greeting{font-size:13px!important}
  .simple-dashboard-topbar #dashTodayLabel{max-width:50vw!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .simple-home-heading{align-items:flex-start;margin-bottom:14px}
  .simple-home-heading h1{font-size:22px}
  .simple-home-heading .simple-text-action{font-size:0;width:34px;height:34px;display:grid;place-items:center;border:1px solid #e7ebf0;border-radius:10px}
  .simple-home-heading .simple-text-action i{font-size:12px}
  .simple-focus-grid{gap:8px}
  .simple-continue-card,.simple-today-card{
    grid-template-columns:40px minmax(0,1fr);padding:13px;border-radius:14px;gap:10px
  }
  .simple-focus-icon{width:40px;height:40px;border-radius:11px}
  .simple-continue-card .btn,.simple-today-card .simple-link-button{grid-column:1/-1;width:100%;justify-content:center}
  .simple-focus-copy h2{font-size:13px}.simple-focus-copy h3{font-size:12px}
  .simple-subjects-section{margin-top:23px!important}
  .simple-section-head h2{font-size:17px}
  .simple-section-head .simple-text-action{font-size:12px}
  .simple-subject-grid{grid-template-columns:1fr!important}
  .simple-subject-card{min-height:70px!important}
  .simple-quick-grid{grid-template-columns:1fr 1fr}
  .simple-more-strip{align-items:flex-start}
  .simple-more-strip .btn{white-space:nowrap}
}
@media(max-width:380px){
  .simple-quick-grid{grid-template-columns:1fr}
  .simple-more-strip{flex-direction:column}
  .simple-more-strip .btn{width:100%}
}

/* Approved reference dashboard 2026 */
.premium-dashboard-shell{
  --dash-navy:#071d4f;
  --dash-navy-2:#0b2e73;
  --dash-blue:#0d7df4;
  --dash-blue-2:#0468e8;
  --dash-text:#102458;
  --dash-muted:#7180a4;
  --dash-border:#e8edf7;
  --dash-bg:#f2f7ff;
  display:grid!important;
  grid-template-columns:238px minmax(0,1fr)!important;
  direction:ltr;
  min-height:100vh;
  background:
    radial-gradient(circle at 82% 0%,rgba(96,165,250,.16),transparent 32%),
    linear-gradient(180deg,#edf5ff 0%,#f7faff 18%,#eef5ff 100%)!important;
}
.premium-dashboard-shell>*{direction:rtl}
.ref-dashboard-sidebar{
  position:sticky!important;top:0;height:100vh!important;
  display:flex!important;flex-direction:column!important;
  padding:18px 13px 14px!important;
  background:
    radial-gradient(circle at 0 88%,rgba(79,70,229,.28),transparent 28%),
    radial-gradient(circle at 100% 0,rgba(14,165,233,.16),transparent 28%),
    linear-gradient(180deg,#071d4f 0%,#08255f 48%,#071a48 100%)!important;
  border:0!important;color:#fff!important;
  box-shadow:16px 0 42px rgba(21,58,131,.13)!important;
  z-index:60;
  overflow-y:auto;
}
.ref-dashboard-sidebar:after{
  content:"";position:absolute;inset:auto -52px -40px auto;width:150px;height:150px;
  border-radius:50%;background:rgba(59,130,246,.14);filter:blur(2px);pointer-events:none
}
.ref-sidebar-brand{padding:5px 10px 18px}
.ref-sidebar-brand .brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:#fff!important}
.ref-brand-icon{
  position:relative;width:46px;height:46px;border-radius:14px;
  background:linear-gradient(145deg,#0c8aff,#2755e8);
  display:grid;place-items:center;color:#fff;font-size:20px;
  box-shadow:0 10px 24px rgba(0,132,255,.34),inset 0 1px 0 rgba(255,255,255,.34)
}
.ref-brand-icon .fa-star{
  position:absolute;right:-4px;top:-5px;font-size:12px;color:#ffd14a;
  filter:drop-shadow(0 2px 5px rgba(255,196,0,.45))
}
.ref-sidebar-brand strong{display:block;font-size:16px;line-height:1.2}
.ref-sidebar-brand small{display:block;margin-top:4px;color:#93b3e7;font-size:12px}
.ref-dashboard-nav{display:grid!important;gap:5px!important;padding:0 1px!important}
.ref-dashboard-nav button{
  min-height:42px!important;width:100%;border:1px solid transparent!important;border-radius:11px!important;
  display:flex!important;align-items:center!important;gap:11px!important;
  padding:7px 12px!important;background:transparent!important;color:#c8d7f1!important;
  font-family:'Cairo',sans-serif;font-size:12px!important;font-weight:800!important;text-align:right;
  transition:all .18s ease!important;box-shadow:none!important
}
.ref-dashboard-nav button>i:first-child{
  width:27px!important;height:27px!important;display:grid!important;place-items:center!important;
  border-radius:8px!important;background:transparent!important;color:#b9cff2!important;font-size:12px!important
}
.ref-dashboard-nav button:hover:not(.hidden){
  color:#fff!important;background:rgba(255,255,255,.07)!important;
  transform:translateX(-2px)!important
}
.ref-dashboard-nav button.active{
  color:#fff!important;border-color:#55b8ff!important;
  background:linear-gradient(135deg,#0b8fff 0%,#1476f2 60%,#2761ec 100%)!important;
  box-shadow:0 8px 22px rgba(0,127,255,.34),inset 0 1px 0 rgba(255,255,255,.24)!important
}
.ref-dashboard-nav button.active>i:first-child{color:#fff!important}
.ref-sidebar-promo{
  margin-top:auto;position:relative;overflow:hidden;
  padding:15px 12px 12px;border-radius:15px;
  background:
    radial-gradient(circle at 50% -10%,rgba(157,111,255,.38),transparent 34%),
    linear-gradient(160deg,#112969,#0c1c55 60%,#15286e);
  border:1px solid rgba(130,170,255,.22);
  text-align:center;box-shadow:0 12px 25px rgba(1,10,45,.25)
}
.ref-sidebar-promo:before{
  content:"";position:absolute;inset:0;background:
    linear-gradient(135deg,transparent 52%,rgba(65,105,225,.16) 53%,transparent 70%);
  pointer-events:none
}
.ref-sidebar-promo>*{position:relative;z-index:1}
.ref-sidebar-promo .promo-crown{display:block;font-size:27px;filter:drop-shadow(0 6px 10px rgba(255,189,0,.3))}
.ref-sidebar-promo strong{display:block;margin-top:5px;color:#fff;font-size:12px;line-height:1.6}
.ref-sidebar-promo small{display:block;color:#9db6e4;font-size:12px;margin:3px 0 10px}
.ref-sidebar-promo button{
  width:100%;min-height:34px;border:0;border-radius:999px;
  background:linear-gradient(135deg,#ffc437,#ffab18);color:#513200;
  font-family:'Cairo',sans-serif;font-weight:900;font-size:12px;
  box-shadow:0 7px 16px rgba(255,166,0,.24);cursor:pointer
}
.ref-sidebar-footer{margin-top:7px!important;padding-top:6px!important;border-top:1px solid rgba(255,255,255,.08)!important}
.ref-sidebar-footer button{background:transparent!important;color:#9eb5db!important}

.ref-dashboard-content{min-width:0;background:transparent!important}
.ref-dashboard-topbar{
  position:sticky!important;top:0;z-index:50;
  height:70px!important;min-height:70px!important;
  padding:9px 20px!important;display:grid!important;
  grid-template-columns:minmax(300px,440px) 1fr auto!important;
  gap:16px!important;align-items:center!important;
  background:rgba(255,255,255,.96)!important;
  backdrop-filter:blur(18px)!important;
  border-bottom:1px solid #e5edf9!important;
  box-shadow:0 5px 18px rgba(32,81,154,.035)!important
}
.ref-dashboard-topbar .dash-mobile-menu{display:none}
.ref-dashboard-search{
  height:43px;border:1px solid #d8e4f6;border-radius:14px;background:#f8fbff;
  display:flex;align-items:center;gap:8px;padding:0 11px;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease
}
.ref-dashboard-search:focus-within{border-color:#8ec8ff;background:#fff;box-shadow:0 0 0 4px rgba(14,127,244,.08)}
.ref-dashboard-search button{border:0;background:transparent;color:#102458;font-size:14px;cursor:pointer}
.ref-dashboard-search input{
  border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;
  width:100%;font-family:'Cairo',sans-serif;font-size:12px!important;color:#1e3265;padding:0!important
}
.ref-top-user{display:flex;align-items:center;gap:9px;grid-column:3}
.ref-notification-btn{
  position:relative;width:42px;height:42px;border:1px solid #dce6f5;border-radius:13px;background:#fff;
  color:#193b80;font-size:14px;display:grid;place-items:center;cursor:pointer;
  transition:transform .18s ease,box-shadow .18s ease
}
.ref-notification-btn:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(26,82,166,.12)}
.ref-notification-badge{
  position:absolute;right:4px;top:3px;min-width:17px;height:17px;padding:0 4px;border-radius:999px;
  background:#f04438;color:#fff;display:grid;place-items:center;font-size:12px;font-weight:900;
  border:2px solid #fff
}
.ref-user-chip{
  min-width:190px;display:grid;grid-template-columns:42px minmax(0,1fr) 14px;gap:8px;align-items:center;
  text-decoration:none;color:#142858
}
.ref-user-chip .avatar{
  width:42px;height:42px;border-radius:50%;background:linear-gradient(145deg,#dbeafe,#b9d7ff);
  border:2px solid #fff;box-shadow:0 3px 11px rgba(22,74,153,.14);display:grid;place-items:center;color:#1456bd
}
.ref-user-chip strong{display:block;font-size:12px;white-space:nowrap}
.ref-user-chip strong b{font-weight:900}
.ref-user-chip small{display:block;font-size:12px;color:#8492b1;margin-top:2px}
.ref-user-chip>i{color:#52698e;font-size:12px}

.ref-dashboard-page{padding:14px 18px 28px;max-width:1260px;margin:auto}
.ref-hero-card{
  position:relative;height:174px;overflow:hidden;border-radius:15px;
  background-image:
    linear-gradient(90deg,rgba(5,31,105,.99) 0%,rgba(8,58,165,.90) 31%,rgba(9,57,159,.23) 58%,rgba(7,31,95,.04) 100%),
    url('./dashboard-hero.jpg');
  background-size:auto 100%,auto 100%;
  background-position:left center,right center;
  background-repeat:no-repeat;
  box-shadow:0 12px 26px rgba(36,88,181,.14),inset 0 1px 0 rgba(255,255,255,.22);
  border:1px solid rgba(110,164,255,.18)
}
.ref-hero-card:after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(255,255,255,.05),transparent 32%,rgba(5,24,78,.08));
  pointer-events:none
}
.ref-hero-copy{
  position:relative;z-index:2;width:47%;height:100%;
  display:flex;flex-direction:column;justify-content:center;align-items:flex-start;
  padding:16px 34px;color:#fff;text-align:right
}
.ref-hero-copy h1{margin:0;font-size:29px;line-height:1.3;letter-spacing:-.02em;text-shadow:0 4px 16px rgba(0,16,62,.22)}
.ref-hero-copy .wave{display:inline-block;animation:refWave 1.8s ease-in-out infinite;transform-origin:70% 70%}
@keyframes refWave{0%,100%{transform:rotate(0)}25%{transform:rotate(13deg)}50%{transform:rotate(-5deg)}75%{transform:rotate(9deg)}}
.ref-hero-copy p{margin:6px 0 12px;color:#d9e8ff;font-size:12px;line-height:1.8}
.ref-hero-badges{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.hero-badge{
  min-height:35px;border-radius:999px;padding:7px 15px;
  display:inline-flex;align-items:center;gap:7px;
  border:1px solid rgba(255,255,255,.3);font-family:'Cairo',sans-serif;
  font-size:12px;font-weight:900;box-shadow:0 5px 13px rgba(1,21,76,.16)
}
.hero-badge.grade{background:rgba(255,255,255,.94);color:#173b87;cursor:pointer}
.hero-badge.type{background:linear-gradient(135deg,#16c79a,#079c75);color:#fff}

.ref-stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin-top:12px}
.ref-stat-card{
  min-height:77px;border-radius:15px;padding:11px 13px;
  display:grid;grid-template-columns:48px minmax(0,1fr) 30px;gap:10px;align-items:center;
  border:1px solid rgba(141,160,204,.12);
  box-shadow:0 7px 20px rgba(27,70,145,.055);
  transition:transform .18s ease,box-shadow .18s ease
}
.ref-stat-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(27,70,145,.1)}
.ref-stat-icon{
  width:48px;height:48px;border-radius:14px;display:grid;place-items:center;
  color:#fff;font-size:17px;box-shadow:0 7px 16px rgba(25,66,132,.15)
}
.ref-stat-card strong{display:block;color:#102458;font-size:23px;line-height:1}
.ref-stat-card small{display:block;color:#4e608d;font-size:12px;margin-top:5px;font-weight:800}
.ref-stat-card .stat-bars{font-size:25px;opacity:.75}
.stat-purple{background:linear-gradient(135deg,#fbf7ff,#f2eaff)}.stat-purple .ref-stat-icon{background:linear-gradient(145deg,#9b4dff,#7041ed)}.stat-purple .stat-bars{color:#8a5cf6}
.stat-green{background:linear-gradient(135deg,#effdfa,#e4fbf5)}.stat-green .ref-stat-icon{background:linear-gradient(145deg,#19b68f,#079b79)}.stat-green .stat-bars{color:#0eb28a}
.stat-orange{background:linear-gradient(135deg,#fffaf0,#fff3dd)}.stat-orange .ref-stat-icon{background:linear-gradient(145deg,#ffab28,#ff8b16)}.stat-orange .stat-bars{color:#ffa31c}
.stat-blue{background:linear-gradient(135deg,#eff7ff,#e9f2ff)}.stat-blue .ref-stat-icon{background:linear-gradient(145deg,#288cff,#1569ea)}.stat-blue .stat-bars{color:#4497f7}

.ref-main-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(260px,.84fr) minmax(270px,.9fr);gap:11px;margin-top:12px}
.ref-card{
  background:rgba(255,255,255,.97);border:1px solid #e5ecf7;border-radius:16px;
  box-shadow:0 7px 22px rgba(33,79,151,.05);padding:14px;min-width:0
}
.ref-card-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px}
.ref-card-head>div{display:flex;align-items:center;gap:7px}
.ref-card-head h2{margin:0;color:#102458;font-size:14px}
.ref-card-head>div>i{color:#126fe8;font-size:12px}
.ref-continue-layout{display:grid;grid-template-columns:minmax(190px,.95fr) minmax(0,1.25fr);gap:12px;align-items:center}
.ref-continue-visual{
  position:relative;min-height:122px;border-radius:12px;overflow:hidden;
  background:
    radial-gradient(circle at 22% 28%,rgba(255,255,255,.72),transparent 10%),
    linear-gradient(135deg,rgba(28,94,203,.08),rgba(255,189,89,.24)),
    linear-gradient(145deg,#d8e9ff,#ffe4bd);
}
.ref-continue-visual:before{
  content:"🏛️";position:absolute;font-size:76px;left:50%;top:48%;transform:translate(-50%,-50%);
  filter:drop-shadow(0 10px 16px rgba(60,69,95,.17))
}
.ref-continue-visual:after{
  content:"";position:absolute;left:-10%;right:-10%;bottom:-45px;height:95px;border-radius:50%;
  background:linear-gradient(180deg,#e2bd83,#c78d4d);opacity:.5
}
.continue-subject-tag{
  position:absolute;z-index:2;right:8px;top:8px;padding:4px 8px;border-radius:999px;
  background:#fff1f1;color:#d64545;font-size:12px;font-weight:900;border:1px solid #ffd0d0
}
.continue-play{
  position:absolute;z-index:3;left:50%;top:50%;transform:translate(-50%,-50%);
  width:47px;height:47px;border-radius:50%;border:5px solid rgba(255,255,255,.72);
  background:rgba(255,255,255,.93);color:#1b5bc0;font-size:15px;
  display:grid;place-items:center;box-shadow:0 8px 20px rgba(25,68,142,.2);cursor:pointer;
  transition:transform .18s ease
}
.continue-play:hover{transform:translate(-50%,-50%) scale(1.08)}
.ref-continue-copy{min-width:0}
.ref-muted{display:block;color:#7886a5;font-size:12px;margin-bottom:3px}
.ref-continue-copy h3{margin:0;color:#172a59;font-size:13px;line-height:1.55}
.ref-continue-copy p{margin:4px 0;color:#7d8aa8;font-size:12px;line-height:1.6}
.continue-progress-line{height:5px;background:#e8eef8;border-radius:999px;margin-top:8px;overflow:hidden}
.continue-progress-line span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#0c8cff,#2064ec)}
.continue-time{display:flex;justify-content:space-between;color:#7180a3;font-size:12px;margin:4px 0 7px}
.ref-primary-btn{
  min-height:35px!important;border-radius:10px!important;
  background:linear-gradient(135deg,#0b8eff,#116bea)!important;
  border:0!important;box-shadow:0 7px 15px rgba(14,112,235,.2)!important;
  font-size:12px!important
}
.ref-primary-btn:hover{transform:translateY(-1px)!important;box-shadow:0 10px 20px rgba(14,112,235,.27)!important}

.ref-next-card{display:flex;flex-direction:column}
.next-step-pill{
  align-self:flex-start;padding:4px 8px;border-radius:999px;background:#fff1df;color:#f07b18;
  border:1px solid #ffe2ba;font-size:12px;font-weight:900;margin-bottom:7px
}
.next-step-content{display:grid;grid-template-columns:60px minmax(0,1fr);gap:9px;align-items:center;flex:1}
.next-step-art{
  width:60px;height:60px;border-radius:17px;background:linear-gradient(145deg,#f4ecff,#e8e1ff);
  display:grid;place-items:center;font-size:36px;box-shadow:inset 0 1px 0 #fff
}
.next-step-content h3{margin:0;color:#182d62;font-size:12px;line-height:1.5}
.next-step-content p{margin:3px 0;color:#7b88a8;font-size:12px;line-height:1.55}
.next-step-content small{font-size:12px;color:#9aa5bb}

.goals-head>strong{font-size:12px;color:#32766d}
.ref-goal-progress{height:7px;background:#e8eef5;border-radius:999px;overflow:hidden;margin-bottom:10px}
.ref-goal-progress span{display:block;width:0;height:100%;background:linear-gradient(90deg,#24c5a3,#0bac86);border-radius:inherit;transition:width .3s}
.ref-goal-list{display:grid;gap:6px}
.ref-goal-list button{
  width:100%;border:0;background:transparent;display:grid;grid-template-columns:20px minmax(0,1fr);gap:7px;align-items:center;
  text-align:right;color:#344b78;padding:3px 0;font-family:'Cairo',sans-serif;font-size:12px;cursor:pointer
}
.ref-goal-list .goal-state{font-size:13px;color:#c5d2e4}
.ref-goal-list button.completed .goal-state{color:#12aa86}
.ref-goal-list button.completed span{color:#667795}
.ref-goal-list button:hover span{color:#126fe8}

.ref-content-grid{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:11px;margin-top:12px}
.ref-content-main{display:grid;gap:11px;min-width:0}
.ref-subjects-section,.ref-tools-section{padding:13px 14px}
.ref-section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.ref-section-head h2{margin:0;color:#102458;font-size:14px}
.ref-section-head h2 i{color:#135fd0;margin-left:6px}
.ref-link-btn{border:0;background:transparent;color:#0c73e8;font-family:'Cairo',sans-serif;font-size:12px;font-weight:900;cursor:pointer}
.ref-subject-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}
.ref-subject-card{
  position:relative;overflow:hidden;min-height:156px;border-radius:13px;padding:8px;
  text-decoration:none;color:#15295a;border:1px solid rgba(70,101,170,.08);
  box-shadow:0 5px 14px rgba(31,77,145,.05);transition:transform .18s ease,box-shadow .18s ease
}
.ref-subject-card:hover{transform:translateY(-4px);box-shadow:0 11px 24px rgba(31,77,145,.12)}
.ref-subject-card:before{
  content:"";position:absolute;width:110px;height:110px;border-radius:50%;right:-55px;top:-45px;background:rgba(255,255,255,.35)
}
.ref-subject-art{position:relative;height:75px;display:grid;place-items:center;overflow:hidden}
.ref-subject-art span{font-size:43px;filter:drop-shadow(0 8px 9px rgba(44,57,91,.15));transition:transform .2s ease}
.ref-subject-card:hover .ref-subject-art span{transform:scale(1.08) rotate(-2deg)}
.ref-subject-art i{position:absolute;left:0;right:0;bottom:-23px;height:50px;border-radius:50%;background:rgba(255,255,255,.28)}
.ref-subject-card h3{position:relative;margin:1px 0 7px;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ref-subject-progress{position:relative;height:5px;border-radius:999px;background:rgba(255,255,255,.65);overflow:hidden}
.ref-subject-progress span{display:block;height:100%;border-radius:inherit;background:currentColor}
.ref-subject-footer{position:relative;margin-top:6px;display:flex;align-items:center;justify-content:space-between;gap:5px}
.ref-subject-footer small{font-size:12px;color:#56698e}
.ref-subject-footer strong{
  padding:4px 7px;border-radius:8px;background:rgba(255,255,255,.65);font-size:12px;color:inherit
}
.subject-pink{background:linear-gradient(160deg,#fff2f4,#ffdce6);color:#e94e72}
.subject-blue{background:linear-gradient(160deg,#edf5ff,#d8e9ff);color:#1e75e8}
.subject-green{background:linear-gradient(160deg,#eafcf7,#cdf7eb);color:#10a982}
.subject-gold{background:linear-gradient(160deg,#fff9ec,#ffedc6);color:#d7971d}
.subject-purple{background:linear-gradient(160deg,#f7f0ff,#eadbff);color:#8656df}
.subject-teal{background:linear-gradient(160deg,#ecfbfb,#d5f4f5);color:#168c96}

.ref-tools-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.ref-tools-grid a{
  min-height:58px;border-radius:11px;padding:8px;
  display:grid;grid-template-columns:36px minmax(0,1fr) 16px;gap:8px;align-items:center;
  text-decoration:none;border:1px solid rgba(79,105,159,.07);
  transition:transform .18s ease,box-shadow .18s ease
}
.ref-tools-grid a:hover{transform:translateY(-3px);box-shadow:0 8px 18px rgba(33,78,142,.09)}
.ref-tools-grid a>span{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;font-size:15px;background:rgba(255,255,255,.68)}
.ref-tools-grid strong,.ref-tools-grid small{display:block}
.ref-tools-grid strong{font-size:12px}.ref-tools-grid small{font-size:12px;color:#7180a0;margin-top:2px}
.ref-tools-grid>a>i:last-child{font-size:12px;opacity:.7}
.tool-purple{background:#f7f0ff;color:#8051e5}.tool-orange{background:#fff2e8;color:#f27623}.tool-blue{background:#edf5ff;color:#1774e7}.tool-green{background:#eafaf5;color:#129b77}.tool-red{background:#fff0f2;color:#ed4058}

.ref-content-side{display:grid;gap:10px;height:max-content}
.ref-side-card{
  position:relative;overflow:hidden;border-radius:15px;min-height:112px;padding:13px;
  border:1px solid rgba(79,104,160,.09);box-shadow:0 7px 19px rgba(37,78,139,.06)
}
.ref-side-card>div{position:relative;z-index:2;width:68%}
.ref-side-card small{display:block;color:#314572;font-size:12px;font-weight:800}
.ref-side-card strong{display:block;color:#17295b;font-size:12px;line-height:1.5;margin:3px 0}
.ref-side-card p{margin:0;color:#7582a1;font-size:12px;line-height:1.6}
.ref-side-card .side-art{
  position:absolute;z-index:1;left:11px;bottom:8px;font-size:50px;
  filter:drop-shadow(0 9px 10px rgba(45,58,98,.15))
}
.streak-card{background:linear-gradient(145deg,#fff8df,#ffefca)}
.streak-card strong{color:#f04e21}
.challenge-card{min-height:145px;background:linear-gradient(145deg,#f6efff,#eadcff)}
.challenge-card .side-art{font-size:44px}
.challenge-card>div>span{display:block;font-size:12px;color:#8055c4;margin-top:5px}
.challenge-btn{
  position:absolute;z-index:2;right:12px;left:12px;bottom:10px;min-height:32px!important;
  background:linear-gradient(135deg,#8d43ee,#6a28df)!important;border:0!important;border-radius:10px!important;font-size:12px!important
}
.explore-card{min-height:130px;background:linear-gradient(145deg,#edf8ff,#dff1ff)}
.explore-card .side-art{font-size:43px}
.explore-card>div{width:72%}
.explore-btn{
  position:absolute;z-index:2;right:12px;left:12px;bottom:10px;min-height:31px!important;
  background:linear-gradient(135deg,#0f8fff,#116fe8)!important;border:0!important;border-radius:10px!important;font-size:12px!important
}

@media(max-width:1180px){
  .premium-dashboard-shell{grid-template-columns:210px minmax(0,1fr)!important}
  .ref-main-grid{grid-template-columns:minmax(0,1.3fr) minmax(230px,.85fr)}
  .ref-goals-card{grid-column:1/-1}
  .ref-goal-list{grid-template-columns:1fr 1fr}
  .ref-content-grid{grid-template-columns:minmax(0,1fr) 245px}
  .ref-subject-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:920px){
  .premium-dashboard-shell{grid-template-columns:1fr!important}
  .ref-dashboard-sidebar{
    position:fixed!important;right:auto!important;left:0!important;top:0!important;width:min(260px,86vw)!important;
    transform:translateX(-105%);transition:transform .22s ease;z-index:220!important
  }
  .ref-dashboard-sidebar.open{transform:translateX(0)}
  .ref-dashboard-topbar{grid-template-columns:42px minmax(0,1fr) auto!important;padding:8px 12px!important}
  .ref-dashboard-topbar .dash-mobile-menu{display:grid!important;width:38px;height:38px;border:1px solid #dce6f5;border-radius:11px;background:#fff;color:#173c83;place-items:center}
  .ref-dashboard-search{grid-column:2}
  .ref-user-chip{min-width:auto;grid-template-columns:40px}
  .ref-user-chip>span:not(.avatar),.ref-user-chip>i{display:none}
  .ref-content-grid{grid-template-columns:1fr}
  .ref-content-side{grid-template-columns:repeat(3,1fr)}
  .ref-side-card{min-height:125px}
}
@media(max-width:720px){
  .ref-dashboard-page{padding:10px 9px 84px}
  .ref-dashboard-topbar{height:62px!important;min-height:62px!important}
  .ref-dashboard-search{height:38px}
  .ref-hero-card{height:150px;border-radius:13px;background-size:auto 100%,auto 100%;background-position:left center,right center}
  .ref-hero-copy{width:56%;padding:12px 17px}
  .ref-hero-copy h1{font-size:21px}
  .ref-hero-copy p{font-size:12px;margin:4px 0 8px}
  .hero-badge{min-height:30px;padding:5px 9px;font-size:12px}
  .ref-stats-grid{grid-template-columns:1fr 1fr;gap:7px}
  .ref-stat-card{min-height:66px;grid-template-columns:40px minmax(0,1fr) 22px;padding:9px}
  .ref-stat-icon{width:40px;height:40px;border-radius:11px;font-size:14px}
  .ref-stat-card strong{font-size:18px}.ref-stat-card small{font-size:12px}.ref-stat-card .stat-bars{font-size:19px}
  .ref-main-grid{grid-template-columns:1fr}
  .ref-goals-card{grid-column:auto}
  .ref-goal-list{grid-template-columns:1fr 1fr}
  .ref-continue-layout{grid-template-columns:150px minmax(0,1fr)}
  .ref-continue-visual{min-height:108px}
  .ref-subject-grid{display:flex;overflow-x:auto;padding-bottom:3px;scroll-snap-type:x mandatory}
  .ref-subject-card{min-width:135px;scroll-snap-align:start}
  .ref-tools-grid{grid-template-columns:1fr 1fr}
  .ref-content-side{grid-template-columns:1fr 1fr}
  .explore-card{grid-column:1/-1}
}
@media(max-width:480px){
  .ref-dashboard-topbar{grid-template-columns:38px minmax(0,1fr) 40px!important;gap:7px!important}
  .ref-top-user{grid-column:3}.ref-notification-btn{display:none}.ref-user-chip{grid-template-columns:38px}
  .ref-user-chip .avatar{width:38px;height:38px}
  .ref-dashboard-search input{font-size:12px!important}
  .ref-hero-card{height:172px;background-size:auto 100%,auto 100%;background-position:20% center,72% center}
  .ref-hero-card:before{
    content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(6,35,108,.95),rgba(6,35,108,.58) 62%,rgba(6,35,108,.12));
  }
  .ref-hero-copy{width:72%;padding:13px;position:relative}
  .ref-hero-copy h1{font-size:19px}
  .ref-hero-badges{gap:5px}
  .ref-stats-grid{gap:6px}
  .ref-stat-card{grid-template-columns:35px minmax(0,1fr);min-height:58px}
  .ref-stat-icon{width:35px;height:35px}.ref-stat-card .stat-bars{display:none}
  .ref-stat-card strong{font-size:16px}
  .ref-continue-layout{grid-template-columns:1fr}
  .ref-continue-visual{min-height:130px}
  .ref-goal-list{grid-template-columns:1fr}
  .ref-content-side{grid-template-columns:1fr}
  .explore-card{grid-column:auto}
  .ref-tools-grid{grid-template-columns:1fr 1fr}
  .ref-tools-grid a{grid-template-columns:32px minmax(0,1fr);min-height:55px}
  .ref-tools-grid>a>i:last-child{display:none}
}

/* Approved dashboard 3D refinement 2026 */
.ref-dashboard-page,.ref-main-grid,.ref-content-grid,.ref-content-main,.ref-content-side,
.ref-subject-grid,.ref-tools-grid,.ref-stats-grid{min-width:0}
.ref-main-grid>*,.ref-content-grid>*,.ref-subject-grid>*,.ref-tools-grid>*,.ref-stats-grid>*{min-width:0}

.ref-stat-card{
  position:relative;overflow:hidden;
  border:1px solid rgba(255,255,255,.78)!important;
  box-shadow:
    0 13px 28px rgba(31,73,139,.10),
    0 3px 8px rgba(31,73,139,.055),
    inset 0 2px 0 rgba(255,255,255,.78),
    inset 0 -3px 6px rgba(32,75,142,.045)!important
}
.ref-stat-card:before{
  content:"";position:absolute;left:8%;right:8%;top:2px;height:28%;
  border-radius:50%;background:linear-gradient(180deg,rgba(255,255,255,.52),transparent);pointer-events:none
}
.ref-stat-card:hover{
  transform:translateY(-5px) scale(1.01)!important;
  box-shadow:0 20px 40px rgba(31,73,139,.15),0 4px 10px rgba(31,73,139,.07),inset 0 2px 0 rgba(255,255,255,.86)!important
}
.ref-stat-icon{
  position:relative;overflow:hidden;
  box-shadow:0 10px 20px rgba(28,68,133,.21),inset 0 3px 0 rgba(255,255,255,.34),inset 0 -4px 7px rgba(17,55,116,.14)!important;
  transition:transform .19s ease
}
.ref-stat-icon:after{
  content:"";position:absolute;left:18%;right:18%;top:9%;height:25%;border-radius:50%;
  background:linear-gradient(180deg,rgba(255,255,255,.62),transparent)
}
.ref-stat-card:hover .ref-stat-icon{transform:translateY(-4px) rotate(-4deg) scale(1.05)}
.ref-stat-card .stat-bars{filter:drop-shadow(0 5px 5px rgba(30,72,137,.13))}

.ref-card{
  box-shadow:
    0 14px 31px rgba(31,73,139,.09),
    0 3px 8px rgba(31,73,139,.045),
    inset 0 1px 0 #fff!important;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease
}
.ref-card:hover{
  transform:translateY(-3px);
  border-color:#cfdcf0!important;
  box-shadow:0 20px 39px rgba(31,73,139,.13),0 4px 10px rgba(31,73,139,.055),inset 0 1px 0 #fff!important
}
.ref-continue-card,.ref-next-card,.ref-goals-card{position:relative;overflow:hidden}
.ref-continue-card:before,.ref-next-card:before,.ref-goals-card:before{
  content:"";position:absolute;width:130px;height:130px;border-radius:50%;
  left:-58px;top:-62px;background:rgba(61,135,241,.045);pointer-events:none
}
.ref-continue-visual{
  box-shadow:0 12px 24px rgba(70,86,118,.15),inset 0 2px 0 rgba(255,255,255,.5)!important;
  border:1px solid rgba(255,255,255,.7)
}
.continue-play{
  box-shadow:0 13px 26px rgba(24,79,163,.27),inset 0 2px 0 #fff,inset 0 -3px 6px rgba(45,83,148,.08)!important;
  animation:dashPlayPulse 2.7s ease-in-out infinite
}
@keyframes dashPlayPulse{
  0%,100%{box-shadow:0 13px 26px rgba(24,79,163,.24),0 0 0 0 rgba(31,128,244,.0),inset 0 2px 0 #fff}
  50%{box-shadow:0 16px 31px rgba(24,79,163,.31),0 0 0 9px rgba(31,128,244,.08),inset 0 2px 0 #fff}
}
.next-step-art{
  position:relative;overflow:hidden;
  box-shadow:0 10px 20px rgba(82,62,151,.16),inset 0 2px 0 rgba(255,255,255,.62),inset 0 -4px 7px rgba(86,55,154,.08)!important;
  filter:drop-shadow(0 5px 5px rgba(69,51,127,.08))
}
.next-step-art:after{
  content:"";position:absolute;left:15%;right:15%;top:8%;height:28%;border-radius:50%;
  background:linear-gradient(180deg,rgba(255,255,255,.65),transparent)
}
.ref-goal-list button{
  border:1px solid transparent!important;border-radius:9px!important;padding:5px 6px!important;
  transition:transform .15s ease,background .15s ease,box-shadow .15s ease!important
}
.ref-goal-list button:hover{
  transform:translateX(-2px);background:linear-gradient(145deg,#f8fbff,#eef5ff)!important;
  box-shadow:0 5px 11px rgba(31,73,139,.055),inset 0 1px 0 #fff
}
.ref-goal-list button .goal-state{
  filter:drop-shadow(0 4px 4px rgba(31,73,139,.12))
}

.ref-subject-card{
  isolation:isolate;
  border:1px solid rgba(255,255,255,.85)!important;
  box-shadow:
    0 12px 25px rgba(31,73,139,.10),
    0 3px 7px rgba(31,73,139,.045),
    inset 0 2px 0 rgba(255,255,255,.82),
    inset 0 -4px 8px rgba(41,83,143,.04)!important
}
.ref-subject-card:after{
  content:"";position:absolute;left:8px;right:8px;top:3px;height:35%;
  border-radius:50%;background:linear-gradient(180deg,rgba(255,255,255,.38),transparent);
  pointer-events:none;z-index:-1
}
.ref-subject-card:hover{
  transform:translateY(-7px) rotateX(1deg)!important;
  box-shadow:0 22px 39px rgba(31,73,139,.16),0 5px 10px rgba(31,73,139,.07),inset 0 2px 0 rgba(255,255,255,.9)!important
}
.ref-subject-art{
  perspective:500px;
}
.ref-subject-art span{
  position:relative;z-index:2;
  text-shadow:0 9px 14px rgba(45,66,110,.15);
}
.ref-subject-art:before{
  content:"";position:absolute;left:21%;right:21%;bottom:4px;height:15px;border-radius:50%;
  background:rgba(50,72,120,.13);filter:blur(5px);transform:scaleX(.8)
}
.ref-subject-card:hover .ref-subject-art span{transform:translateY(-5px) rotate(-4deg) scale(1.12)!important}
.ref-subject-footer strong{
  border:1px solid rgba(255,255,255,.76);
  box-shadow:0 5px 11px rgba(31,73,139,.07),inset 0 1px 0 #fff
}
.ref-subject-progress{
  box-shadow:inset 0 2px 5px rgba(31,73,139,.08),0 1px 0 rgba(255,255,255,.65)
}
.ref-subject-progress span{box-shadow:0 2px 7px currentColor}

.ref-tools-grid a{
  position:relative;overflow:hidden;
  border:1px solid rgba(255,255,255,.86)!important;
  box-shadow:0 9px 19px rgba(31,73,139,.075),inset 0 2px 0 rgba(255,255,255,.8),inset 0 -3px 6px rgba(31,73,139,.035)!important
}
.ref-tools-grid a:before{
  content:"";position:absolute;left:5%;right:5%;top:1px;height:32%;border-radius:50%;
  background:linear-gradient(180deg,rgba(255,255,255,.40),transparent);pointer-events:none
}
.ref-tools-grid a:hover{
  transform:translateY(-5px) scale(1.012)!important;
  box-shadow:0 16px 29px rgba(31,73,139,.13),inset 0 2px 0 rgba(255,255,255,.9)!important
}
.ref-tools-grid a>span{
  position:relative;overflow:hidden;
  border:1px solid rgba(255,255,255,.9);
  box-shadow:0 7px 14px rgba(31,73,139,.11),inset 0 2px 0 #fff,inset 0 -3px 5px rgba(31,73,139,.05)!important;
  transition:transform .17s ease
}
.ref-tools-grid a:hover>span{transform:translateY(-3px) rotate(-4deg) scale(1.05)}
.tool-purple>span{background:linear-gradient(145deg,#b17aff,#7b46e6)!important;color:#fff}
.tool-orange>span{background:linear-gradient(145deg,#ffb147,#ee7b1d)!important;color:#fff}
.tool-blue>span{background:linear-gradient(145deg,#45a4ff,#1473e8)!important;color:#fff}
.tool-green>span{background:linear-gradient(145deg,#37d0a8,#0da17b)!important;color:#fff}
.tool-red>span{background:linear-gradient(145deg,#ff7889,#e53e55)!important;color:#fff}

.ref-side-card{
  border:1px solid rgba(255,255,255,.85)!important;
  box-shadow:0 12px 26px rgba(31,73,139,.095),inset 0 2px 0 rgba(255,255,255,.75),inset 0 -4px 8px rgba(31,73,139,.035)!important;
  transition:transform .18s ease,box-shadow .18s ease!important
}
.ref-side-card:hover{transform:translateY(-5px)!important;box-shadow:0 20px 35px rgba(31,73,139,.14),inset 0 2px 0 rgba(255,255,255,.85)!important}
.ref-side-card .side-art{
  text-shadow:0 9px 13px rgba(61,61,101,.14);
  transition:transform .2s ease
}
.ref-side-card:hover .side-art{transform:translateY(-4px) rotate(-4deg) scale(1.06)}
.ref-sidebar-promo{
  box-shadow:0 15px 29px rgba(1,10,45,.31),inset 0 1px 0 rgba(255,255,255,.10)!important
}
.ref-dashboard-nav button.active{
  box-shadow:0 10px 23px rgba(0,127,255,.38),inset 0 2px 0 rgba(255,255,255,.31),inset 0 -3px 6px rgba(0,58,159,.15)!important
}

@media(max-width:1180px){
  .ref-main-grid>*{min-width:0}
}
@media(max-width:720px){
  .ref-card:hover,.ref-stat-card:hover,.ref-subject-card:hover,.ref-tools-grid a:hover,.ref-side-card:hover{transform:none!important}
  .continue-play{animation:none}
}
@media(prefers-reduced-motion:reduce){.continue-play{animation:none!important}}

/* Vivid interactive dashboard final layer 2026 */
.premium-dashboard-shell{
  --vivid-blue:#087cff;
  --vivid-cyan:#00c8ff;
  --vivid-purple:#7c3cff;
  --vivid-pink:#ff3f7f;
  --vivid-green:#00bc84;
  --vivid-orange:#ff9318;
  --vivid-yellow:#ffc928;
}
.ref-dashboard-page{padding:16px 20px 34px!important}
.ref-hero-card{
  min-height:184px!important;
  border:1px solid rgba(92,174,255,.32)!important;
  box-shadow:0 20px 46px rgba(16,82,190,.20),0 5px 13px rgba(21,71,159,.10),inset 0 2px 0 rgba(255,255,255,.25)!important
}
.ref-hero-card:before{
  content:"";position:absolute;z-index:1;inset:-40% auto auto -25%;width:55%;height:190%;
  background:linear-gradient(110deg,transparent 34%,rgba(255,255,255,.14) 47%,rgba(255,255,255,.27) 50%,rgba(255,255,255,.10) 53%,transparent 66%);
  transform:translateX(-150%) rotate(7deg);animation:dashHeroShine 7s ease-in-out infinite;pointer-events:none
}
@keyframes dashHeroShine{
  0%,68%{transform:translateX(-170%) rotate(7deg)}
  82%{transform:translateX(260%) rotate(7deg)}
  100%{transform:translateX(260%) rotate(7deg)}
}
.ref-hero-copy h1{font-size:31px!important}
.ref-hero-copy p{font-size:12px!important;color:#eef7ff!important}
.hero-badge{font-size:12px!important;box-shadow:0 8px 18px rgba(3,31,93,.22),inset 0 1px 0 rgba(255,255,255,.35)!important}
.hero-badge.grade:hover{transform:translateY(-2px);box-shadow:0 12px 22px rgba(3,31,93,.27),inset 0 1px 0 #fff!important}

.ref-stats-grid{gap:13px!important;margin-top:14px!important}
.ref-stat-card{min-height:88px!important;padding:13px 15px!important;border-radius:18px!important}
.ref-stat-card strong{font-size:25px!important;color:#0e2354!important}
.ref-stat-card small{font-size:12px!important;color:#43567f!important}
.ref-stat-icon{width:52px!important;height:52px!important;border-radius:16px!important;font-size:19px!important}
.stat-purple{background:linear-gradient(135deg,#f7edff 0%,#e9d8ff 100%)!important;border-color:#d4b5ff!important}
.stat-purple .ref-stat-icon{background:linear-gradient(145deg,#a553ff,#7030e7)!important}
.stat-green{background:linear-gradient(135deg,#e7fff7 0%,#c9f9e8 100%)!important;border-color:#9de9d0!important}
.stat-green .ref-stat-icon{background:linear-gradient(145deg,#20d5a3,#009c72)!important}
.stat-orange{background:linear-gradient(135deg,#fff7de 0%,#ffe5a9 100%)!important;border-color:#ffd275!important}
.stat-orange .ref-stat-icon{background:linear-gradient(145deg,#ffb727,#ff7915)!important}
.stat-blue{background:linear-gradient(135deg,#e8f5ff 0%,#cfe6ff 100%)!important;border-color:#a8d2ff!important}
.stat-blue .ref-stat-icon{background:linear-gradient(145deg,#259cff,#075fe3)!important}

.ref-main-grid{gap:13px!important;margin-top:14px!important}
.ref-card{border-radius:18px!important;padding:16px!important}
.ref-card-head h2{font-size:15px!important}
.ref-continue-card{
  background:
    radial-gradient(circle at 94% 0,rgba(36,144,255,.11),transparent 32%),
    linear-gradient(145deg,#fff,#f4f9ff)!important
}
.ref-next-card{
  background:
    radial-gradient(circle at 92% 0,rgba(137,75,255,.13),transparent 34%),
    linear-gradient(145deg,#fff,#faf6ff)!important
}
.ref-goals-card{
  background:
    radial-gradient(circle at 92% 0,rgba(0,188,132,.12),transparent 34%),
    linear-gradient(145deg,#fff,#f3fff9)!important
}
.next-step-pill{background:linear-gradient(145deg,#fff0cd,#ffe19c)!important;color:#d86500!important;border-color:#ffc85a!important}
.next-step-art{background:linear-gradient(145deg,#efe6ff,#d9c8ff)!important;font-size:41px!important}
.ref-goal-progress{height:9px!important;background:#dceae6!important;box-shadow:inset 0 2px 4px rgba(0,85,64,.09)!important}
.ref-goal-progress span{background:linear-gradient(90deg,#18dbad,#00a879)!important;box-shadow:0 3px 9px rgba(0,174,128,.27)!important}
.ref-goal-list button{font-size:12px!important}
.ref-goal-list .goal-state{font-size:15px!important}

.ref-content-grid{grid-template-columns:minmax(0,1fr) 292px!important;gap:13px!important;margin-top:14px!important}
.ref-content-main{gap:13px!important}
.ref-subjects-section{padding:16px!important;overflow:hidden}
.ref-section-head{margin-bottom:13px!important}
.ref-section-head h2{font-size:15px!important}
.ref-link-btn{font-size:12px!important}

.ref-subject-grid{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:12px!important;
  align-items:stretch
}
.ref-subject-card{
  min-height:195px!important;
  padding:11px 10px 10px!important;
  border-radius:17px!important;
  display:flex!important;flex-direction:column!important;
  border-width:1px!important;
  transform-style:preserve-3d;
  perspective:700px;
  transition:transform .24s cubic-bezier(.2,.8,.2,1),box-shadow .24s ease,filter .24s ease!important
}
.ref-subject-card:before{
  content:"";position:absolute;inset:-1px;
  background:linear-gradient(120deg,transparent 20%,rgba(255,255,255,.68) 42%,rgba(255,255,255,.18) 52%,transparent 70%);
  transform:translateX(-135%);transition:transform .58s ease;z-index:4;pointer-events:none
}
.ref-subject-card:hover:before{transform:translateX(135%)}
.ref-subject-card:after{
  content:"";position:absolute;left:12px;right:12px;bottom:-18px;height:29px;border-radius:50%;
  background:rgba(28,66,128,.18);filter:blur(11px);z-index:-2;opacity:.6;transition:.24s
}
.ref-subject-card:hover{
  transform:translateY(-9px) rotateX(2deg) rotateY(-1.5deg) scale(1.025)!important;
  box-shadow:0 27px 46px rgba(31,73,139,.22),0 8px 15px rgba(31,73,139,.09),inset 0 2px 0 rgba(255,255,255,.96)!important;
  filter:saturate(1.08)
}
.ref-subject-card:hover:after{opacity:.85;transform:scaleX(1.08)}
.ref-subject-art{height:99px!important;overflow:visible!important}
.ref-subject-art span{
  font-size:58px!important;
  transform:translateZ(22px);
  filter:drop-shadow(0 13px 11px rgba(25,47,88,.24))!important;
  animation:subjectIconBreathe 4.2s ease-in-out infinite;
  will-change:transform
}
.ref-subject-card:nth-child(2n) .ref-subject-art span{animation-delay:.65s}
.ref-subject-card:nth-child(3n) .ref-subject-art span{animation-delay:1.25s}
@keyframes subjectIconBreathe{
  0%,100%{transform:translateY(0) rotate(0) scale(1)}
  50%{transform:translateY(-4px) rotate(-2deg) scale(1.035)}
}
.ref-subject-card:hover .ref-subject-art span{
  animation:none;transform:translateY(-7px) rotate(-5deg) scale(1.13)!important;
  filter:drop-shadow(0 17px 14px rgba(25,47,88,.29))!important
}
.ref-subject-art i{bottom:-29px!important;height:59px!important;background:rgba(255,255,255,.30)!important}
.ref-subject-card h3{
  font-size:12px!important;font-weight:900!important;
  color:#102458!important;margin:2px 0 9px!important
}
.ref-subject-progress{
  height:7px!important;background:rgba(255,255,255,.72)!important;
  box-shadow:inset 0 2px 4px rgba(25,58,115,.10),0 1px 0 rgba(255,255,255,.8)!important
}
.ref-subject-progress span{box-shadow:0 2px 7px currentColor}
.ref-subject-footer{margin-top:auto!important;padding-top:9px!important}
.ref-subject-footer small{font-size:12px!important;font-weight:900!important;color:#394e7a!important}
.ref-subject-footer strong{
  padding:6px 9px!important;border-radius:10px!important;font-size:12px!important;
  background:rgba(255,255,255,.83)!important;color:#173a79!important;
  border:1px solid rgba(255,255,255,.92);
  box-shadow:0 6px 12px rgba(32,65,125,.08),inset 0 1px 0 #fff!important;
  transition:transform .16s ease,box-shadow .16s ease!important
}
.ref-subject-card:hover .ref-subject-footer strong{
  transform:translateX(-2px);box-shadow:0 9px 16px rgba(32,65,125,.12),inset 0 1px 0 #fff!important
}
.subject-pink{background:linear-gradient(155deg,#fff0f5 0%,#ffbfd3 100%)!important;color:#ff3f7f!important;border-color:#ffabc6!important}
.subject-blue{background:linear-gradient(155deg,#eef8ff 0%,#add8ff 100%)!important;color:#087cff!important;border-color:#8ac8ff!important}
.subject-green{background:linear-gradient(155deg,#eafff8 0%,#a9f1d7 100%)!important;color:#00a978!important;border-color:#83e3c2!important}
.subject-gold{background:linear-gradient(155deg,#fffbe5 0%,#ffd978 100%)!important;color:#de8b00!important;border-color:#ffc94d!important}
.subject-purple{background:linear-gradient(155deg,#f7efff 0%,#cbb0ff 100%)!important;color:#793dea!important;border-color:#b995ff!important}
.subject-teal{background:linear-gradient(155deg,#eaffff 0%,#9cecf0 100%)!important;color:#04949d!important;border-color:#74dce2!important}

.ref-tools-section{padding:16px!important}
.ref-tools-grid{gap:10px!important}
.ref-tools-grid a{
  min-height:70px!important;border-radius:14px!important;padding:10px!important;
  position:relative;overflow:hidden;
  box-shadow:0 9px 19px rgba(31,73,139,.09),inset 0 1px 0 rgba(255,255,255,.95)!important;
  transition:transform .2s cubic-bezier(.2,.8,.2,1),box-shadow .2s ease,filter .2s ease!important
}
.ref-tools-grid a:before{
  content:"";position:absolute;inset:0;
  background:linear-gradient(115deg,transparent 24%,rgba(255,255,255,.55) 45%,transparent 65%);
  transform:translateX(-135%);transition:transform .5s ease;pointer-events:none
}
.ref-tools-grid a:hover:before{transform:translateX(135%)}
.ref-tools-grid a:hover{
  transform:translateY(-6px) scale(1.018)!important;
  box-shadow:0 17px 31px rgba(31,73,139,.15),inset 0 1px 0 #fff!important;filter:saturate(1.12)
}
.ref-tools-grid a>span{
  width:42px!important;height:42px!important;border-radius:12px!important;font-size:17px!important;
  border:1px solid rgba(255,255,255,.92);
  box-shadow:0 8px 15px rgba(31,73,139,.12),inset 0 2px 0 #fff,inset 0 -3px 5px rgba(31,73,139,.06)!important;
  transition:transform .18s ease
}
.ref-tools-grid a:hover>span{transform:translateY(-3px) rotate(-5deg) scale(1.08)}
.ref-tools-grid strong{font-size:12px!important;color:#102458!important}
.ref-tools-grid small{font-size:12px!important;color:#5e6f93!important}
.tool-purple{background:linear-gradient(145deg,#f5eaff,#e7d2ff)!important;color:#793dea!important;border-color:#d7b8ff!important}
.tool-orange{background:linear-gradient(145deg,#fff2df,#ffd8a4)!important;color:#f07810!important;border-color:#ffc982!important}
.tool-blue{background:linear-gradient(145deg,#e9f6ff,#c9e5ff)!important;color:#0877ee!important;border-color:#acd7ff!important}
.tool-green{background:linear-gradient(145deg,#e8fff7,#c6f4e3)!important;color:#00a678!important;border-color:#a2e8d1!important}
.tool-red{background:linear-gradient(145deg,#fff0f3,#ffcbd5)!important;color:#e83b5b!important;border-color:#ffb3c2!important}

.ref-content-side{gap:12px!important}
.ref-side-card{
  border-radius:17px!important;
  box-shadow:0 12px 25px rgba(31,73,139,.105),inset 0 2px 0 rgba(255,255,255,.72)!important;
  transition:transform .2s ease,box-shadow .2s ease!important
}
.ref-side-card:hover{transform:translateY(-5px) scale(1.01)!important;box-shadow:0 19px 35px rgba(31,73,139,.15),inset 0 2px 0 rgba(255,255,255,.8)!important}
.streak-card{background:linear-gradient(145deg,#fff8d9,#ffd97d)!important;border-color:#ffc94f!important}
.challenge-card{background:linear-gradient(145deg,#f5eaff,#d8baff)!important;border-color:#c59bff!important}
.explore-card{background:linear-gradient(145deg,#e9f7ff,#bfe5ff)!important;border-color:#9bd6ff!important}
.ref-side-card .side-art{filter:drop-shadow(0 13px 10px rgba(37,58,105,.23))!important;animation:sideArtFloat 4s ease-in-out infinite}
@keyframes sideArtFloat{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-5px) rotate(-3deg)}}

@media(max-width:1180px){
  .ref-subject-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .ref-subject-card{min-height:190px!important}
}
@media(max-width:720px){
  .ref-content-grid{grid-template-columns:1fr!important}
  .ref-subject-grid{
    display:flex!important;overflow-x:auto!important;gap:10px!important;
    scroll-snap-type:x mandatory;padding:4px 2px 12px!important
  }
  .ref-subject-card{min-width:168px!important;min-height:202px!important;scroll-snap-align:start}
  .ref-subject-art{height:102px!important}
  .ref-subject-art span{font-size:60px!important}
  .ref-tools-grid{grid-template-columns:1fr 1fr!important}
}
@media(max-width:480px){
  .ref-dashboard-page{padding:10px 8px 88px!important}
  .ref-subject-card{min-width:164px!important}
  .ref-tools-grid a{min-height:67px!important}
}
@media(prefers-reduced-motion:reduce){
  .ref-hero-card:before,.ref-subject-art span,.ref-side-card .side-art{animation:none!important}
  .ref-subject-card:before,.ref-tools-grid a:before{display:none}
}

/* Vivid subject cards and high contrast 2026 */
.ref-subject-grid{
  grid-template-columns:repeat(5,minmax(155px,1fr))!important;
  gap:13px!important;
}
.ref-subject-card{
  min-height:192px!important;
  border-radius:18px!important;
  padding:10px!important;
  border:1px solid rgba(255,255,255,.72)!important;
  box-shadow:
    0 15px 30px rgba(28,74,145,.14),
    0 4px 9px rgba(28,74,145,.08),
    inset 0 2px 0 rgba(255,255,255,.65),
    inset 0 -4px 8px rgba(39,68,125,.08)!important;
  transition:transform .22s cubic-bezier(.2,.8,.2,1),box-shadow .22s ease,filter .22s ease!important;
}
.ref-subject-card:after{
  content:"";position:absolute;inset:-40% -30% auto auto;width:120px;height:220px;
  background:linear-gradient(110deg,transparent 20%,rgba(255,255,255,.36) 48%,transparent 70%);
  transform:translateX(130%) rotate(18deg);transition:transform .6s ease;pointer-events:none
}
.ref-subject-card:hover:after{transform:translateX(-250%) rotate(18deg)}
.ref-subject-card:hover{
  transform:translateY(-8px) scale(1.025)!important;
  box-shadow:
    0 24px 45px rgba(28,74,145,.22),
    0 7px 14px rgba(28,74,145,.10),
    inset 0 2px 0 rgba(255,255,255,.72),
    inset 0 -4px 8px rgba(39,68,125,.08)!important;
  filter:saturate(1.08)
}
.ref-subject-card:active{transform:translateY(-2px) scale(.985)!important}
.ref-subject-art{
  height:103px!important;border-radius:14px!important;
  background:rgba(255,255,255,.28);
  border:1px solid rgba(255,255,255,.45);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7),0 8px 16px rgba(35,71,132,.08);
}
.ref-subject-art span{font-size:54px!important;filter:drop-shadow(0 12px 12px rgba(29,56,108,.22))!important}
.ref-subject-art img{
  width:100%;height:100%;object-fit:cover;border-radius:13px;
  display:block;transform:scale(1.02);
  transition:transform .35s ease,filter .25s ease
}
.ref-subject-card.has-image .ref-subject-art:after{
  content:"";position:absolute;inset:0;border-radius:13px;
  background:linear-gradient(180deg,rgba(11,31,72,.02),rgba(11,31,72,.18));pointer-events:none
}
.ref-subject-card.has-image:hover .ref-subject-art img{transform:scale(1.09);filter:saturate(1.12) contrast(1.03)}
.ref-subject-card h3{
  font-size:12px!important;font-weight:900!important;color:#102458!important;
  margin:8px 0 8px!important;text-shadow:0 1px 0 rgba(255,255,255,.6)
}
.ref-subject-progress{height:7px!important;background:rgba(255,255,255,.78)!important;box-shadow:inset 0 2px 4px rgba(39,73,130,.08)}
.ref-subject-progress span{box-shadow:0 2px 7px currentColor}
.ref-subject-footer{margin-top:8px!important}
.ref-subject-footer small{font-size:12px!important;color:#17356f!important;font-weight:900!important}
.ref-subject-footer strong{
  padding:6px 9px!important;border-radius:9px!important;font-size:12px!important;
  background:rgba(255,255,255,.82)!important;color:#153b83!important;
  box-shadow:0 5px 11px rgba(28,70,130,.08),inset 0 1px 0 #fff
}
.subject-pink{background:linear-gradient(145deg,#ff8aa4 0%,#ffb6c6 50%,#ffe0e7 100%)!important;color:#d72058!important}
.subject-blue{background:linear-gradient(145deg,#3f9cff 0%,#82c5ff 48%,#d9efff 100%)!important;color:#0b63d5!important}
.subject-green{background:linear-gradient(145deg,#35d8ac 0%,#82e8c8 48%,#dcfff3 100%)!important;color:#078865!important}
.subject-gold{background:linear-gradient(145deg,#ffc647 0%,#ffdf85 50%,#fff2c7 100%)!important;color:#b66a00!important}
.subject-purple{background:linear-gradient(145deg,#a66cff 0%,#c5a0ff 48%,#eadcff 100%)!important;color:#6d31d7!important}
.subject-teal{background:linear-gradient(145deg,#30c9d7 0%,#79dde6 48%,#d8fbff 100%)!important;color:#087b85!important}

.ref-tools-grid a{
  min-height:70px!important;border-radius:14px!important;padding:10px!important;
  box-shadow:0 10px 21px rgba(31,73,139,.10),inset 0 1px 0 rgba(255,255,255,.72)!important
}
.ref-tools-grid a>span{
  width:42px!important;height:42px!important;border-radius:12px!important;font-size:18px!important;
  box-shadow:0 7px 14px rgba(31,73,139,.13),inset 0 2px 0 rgba(255,255,255,.45)!important
}
.ref-tools-grid strong{font-size:12px!important;color:#102458!important}
.ref-tools-grid small{font-size:12px!important;color:#53698e!important}
.tool-purple{background:linear-gradient(145deg,#c79bff,#eadcff)!important}
.tool-orange{background:linear-gradient(145deg,#ffb75e,#ffe0ad)!important}
.tool-blue{background:linear-gradient(145deg,#73b8ff,#d6ebff)!important}
.tool-green{background:linear-gradient(145deg,#67dfbd,#d6faef)!important}
.tool-red{background:linear-gradient(145deg,#ff8ea0,#ffd8df)!important}

@media(max-width:1180px){
  .ref-subject-grid{grid-template-columns:repeat(3,minmax(170px,1fr))!important}
}
@media(max-width:720px){
  .ref-subject-grid{display:flex!important;overflow-x:auto!important;gap:10px!important;padding:3px 2px 10px!important}
  .ref-subject-card{min-width:180px!important;min-height:184px!important}
}

