:root{--navy:#111d31;--navy2:#20375e;--maroon:#741a39;--gold:#c7a66a;--cream:#f7f3ed;--paper:#fffdfa;--ink:#151922;--muted:#747985;--line:#ddd5ca;--green:#2f6b57;--amber:#9b6b18;--red:#98404c;--blue:#315b84;--shadow:0 18px 50px rgba(17,29,49,.08)}
*{box-sizing:border-box}html{direction:rtl}body{margin:0;background:linear-gradient(180deg,#f9f6f2,#f1ece5);font-family:"IBM Plex Sans Arabic","Segoe UI",Tahoma,Arial,sans-serif;color:var(--ink)}a{text-decoration:none}.icon{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2.05;stroke-linecap:round;stroke-linejoin:round}
.top{position:sticky;top:0;z-index:20;background:rgba(249,246,242,.9);backdrop-filter:blur(16px);border-bottom:1px solid rgba(80,65,55,.08)}.topin{max-width:1260px;margin:auto;padding:12px 18px;display:flex;justify-content:space-between;align-items:center;gap:12px}.brand{display:flex;align-items:center;gap:10px}.mark{width:48px;height:48px;border-radius:15px;display:grid;place-items:center;background:linear-gradient(145deg,var(--maroon),#501025);color:#fff;font-weight:800}.brand b{display:block;color:var(--navy)}.brand small{display:block;color:var(--muted);font-size:10px}.topactions{display:flex;gap:8px;align-items:center}.topbtn{border:1px solid var(--line);background:#fff;color:var(--navy);border-radius:999px;padding:8px 12px;font:inherit;font-size:10px;font-weight:700;cursor:pointer}
.wrap{max-width:1260px;margin:auto;padding:24px 18px 70px}.hero{display:grid;grid-template-columns:1.15fr .85fr;gap:16px}.heroMain,.heroSide{border-radius:28px;box-shadow:var(--shadow)}.heroMain{padding:30px;background:linear-gradient(145deg,var(--navy),var(--navy2));color:#fff}.eyebrow{display:inline-flex;padding:6px 9px;border-radius:999px;background:rgba(199,166,106,.14);color:#e1c68d;font-size:9px;font-weight:800}.heroMain h1{font-size:clamp(36px,5vw,54px);line-height:1.2;margin:12px 0 5px}.heroMain p{margin:0;color:#c9d2df;line-height:1.8}.heroMeta{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.heroMeta span{padding:8px 10px;border-radius:12px;background:rgba(255,255,255,.07);font-size:10px}.heroSide{background:var(--paper);padding:26px;display:flex;flex-direction:column;justify-content:center}.heroSide h3{margin:0 0 7px;color:var(--navy);font-size:25px}.heroSide p{margin:0;color:var(--muted);line-height:1.8}
.actionGrid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}.actionCard{border-radius:22px;padding:20px;border:1px solid rgba(119,99,82,.12);background:#fff;display:grid;grid-template-columns:auto 1fr;gap:13px;align-items:center;box-shadow:var(--shadow);color:var(--ink)}.actionCard.primary{background:linear-gradient(145deg,#6f1736,#8a2448);color:#fff}.actionIcon{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:#f4eee7;color:var(--maroon)}.primary .actionIcon{background:rgba(255,255,255,.13);color:#fff}.actionCopy b{display:block;font-size:19px}.actionCopy small{display:block;margin-top:4px;line-height:1.6;color:var(--muted)}.primary .actionCopy small{color:#f2dfe6}
.sectionHead{display:flex;justify-content:space-between;align-items:end;gap:12px;margin:24px 0 10px}.sectionHead h2{margin:0;color:var(--navy);font-size:26px}.sectionHead p{margin:3px 0 0;color:var(--muted);font-size:11px}.progressTag{padding:7px 10px;border-radius:999px;background:#fff;border:1px solid var(--line);font-size:10px;color:#6e665e}
.weekGrid{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}.week{min-height:150px;border:1px solid #e6ded5;background:var(--paper);border-radius:20px;padding:15px;text-align:right;display:flex;flex-direction:column;gap:7px;position:relative;overflow:hidden}.weekIcon{width:40px;height:40px;border-radius:13px;display:grid;place-items:center;background:#f4eee7;color:var(--navy)}.week b{color:var(--navy);font-size:13px}.week small{color:var(--muted);font-size:9px;line-height:1.55}.week em{margin-top:auto;font-style:normal;font-size:9px;font-weight:800}.week.done{background:#f1f8f4;border-color:#cfe1d7}.week.done .weekIcon{background:#e5f1e9;color:var(--green)}.week.done em{color:var(--green)}.week.current{border-color:#d8bd88;box-shadow:0 12px 28px rgba(155,107,24,.08)}.week.current .weekIcon{background:#fff3d9;color:var(--amber)}.week.current em{color:var(--amber)}.week.locked{opacity:.48}.week.locked em{color:#888}.week.need{background:#fff6f7;border-color:#e6c1c8}.week.need .weekIcon{background:#fbecef;color:var(--red)}.week.need em{color:var(--red)}
.resultCard{background:var(--paper);border:1px solid rgba(119,99,82,.13);border-radius:24px;padding:22px;box-shadow:var(--shadow)}.resultIntro{display:grid;grid-template-columns:1fr auto;gap:14px;align-items:center}.resultIntro h3{margin:0;color:var(--navy);font-size:24px}.resultIntro p{margin:5px 0 0;color:var(--muted);line-height:1.7}.profilePill{padding:9px 12px;border-radius:999px;background:#eef3f8;color:var(--blue);font-size:10px;font-weight:800}
.skillGrid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-top:16px}.skill{border:1px solid #e7ded4;background:#fff;border-radius:17px;padding:13px}.skillHead{display:flex;gap:8px;align-items:center}.skillIcon{width:35px;height:35px;border-radius:11px;background:#f4eee7;color:var(--maroon);display:grid;place-items:center}.skillIcon .icon{width:19px;height:19px}.skill b{display:block;color:var(--navy);font-size:11px}.skill small{display:block;margin-top:2px;color:var(--muted);font-size:9px}.bar{height:7px;background:#eee8e1;border-radius:999px;overflow:hidden;margin-top:11px}.bar i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,var(--maroon),var(--gold))}
.achievementStrip{display:flex;gap:9px;overflow:auto;padding-bottom:3px}.badge{min-width:180px;border:1px solid #e7ded4;background:#fff;border-radius:18px;padding:13px;display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:center}.badgeIcon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(145deg,var(--navy),var(--navy2));color:#e1c68d}.badge b{display:block;color:var(--navy);font-size:11px}.badge small{display:block;color:var(--muted);font-size:9px;margin-top:3px}
.empty{padding:24px;border-radius:20px;background:#fff7e8;border:1px solid #ead7b5;color:#70572e;line-height:1.8}.btn{display:inline-flex;justify-content:center;align-items:center;border:0;border-radius:14px;padding:12px 16px;font:inherit;font-weight:800;cursor:pointer}.btn.primary{background:linear-gradient(145deg,var(--maroon),#5b132d);color:#fff}.btn.secondary{background:#fff;border:1px solid var(--line);color:var(--navy)}
@media(max-width:1000px){.hero{grid-template-columns:1fr}.weekGrid{grid-template-columns:repeat(3,1fr)}.skillGrid{grid-template-columns:repeat(2,1fr)}.skill:last-child{grid-column:1/-1}}
@media(max-width:620px){.wrap{padding:18px 12px 60px}.heroMain,.heroSide{padding:21px;border-radius:21px}.actionGrid{grid-template-columns:1fr}.weekGrid{grid-template-columns:1fr 1fr}.week{min-height:130px}.skillGrid{grid-template-columns:1fr}.skill:last-child{grid-column:auto}.resultIntro{grid-template-columns:1fr}.topin{padding:10px 12px}.brand small{display:none}}

.passwordGate{min-height:100vh;display:grid;place-items:center;padding:20px;background:linear-gradient(145deg,#f7f3ed,#eee7de)}
.passwordGate>section{width:min(560px,100%);background:#fffdfa;border:1px solid #ddd5ca;border-radius:28px;padding:30px;box-shadow:0 24px 70px rgba(17,29,49,.12)}
.passwordGate .mark{margin-bottom:16px}.passwordGate h1{color:var(--navy);font-size:34px;margin:10px 0}.passwordGate p{color:var(--muted);line-height:1.8}.passwordGate input{width:100%;border:1px solid #dcd2c7;border-radius:14px;padding:13px 14px;margin:6px 0;font:inherit}.passwordGate #passError{color:var(--red);font-size:10px;min-height:24px;padding-top:4px}.passwordGate .btn{width:100%;margin-top:8px}

.countryTop{min-width:110px;appearance:auto}.countryPick{width:100%;border:1px solid #dcd2c7;border-radius:14px;padding:13px 14px;margin:6px 0 10px;font:inherit;background:#fff;color:var(--ink)}.passwordGate .secondary{width:100%;margin-top:8px}.topactions select.topbtn{padding-inline:10px}
@media(max-width:620px){.topactions{flex-wrap:wrap;justify-content:flex-end}.countryTop{min-width:96px}}

.heroComplete .heroMain{background:linear-gradient(145deg,#111d31,#2f6b57)}
.heroComplete .heroSide{border:1px solid rgba(199,166,106,.5);background:linear-gradient(180deg,#fffdfa,#fff7e8)}
.completeAction{outline:2px solid rgba(199,166,106,.38)}
.finalBadge{min-width:240px;background:linear-gradient(145deg,#111d31,#20375e);border-color:#c7a66a;color:#fff}
.finalBadge b{color:#fff}.finalBadge small{color:#e7d8b4}.finalBadge .badgeIcon{background:#fff7e8;color:#741a39;font-size:22px}

/* Approved LexLearn identity mark */
.mark{background:transparent!important;box-shadow:none!important;border-radius:0!important;padding:0!important;overflow:visible!important}
.mark img{display:block;width:100%;height:100%;object-fit:contain}


/* LexLearn approved brand palette */
:root{
  --navy:#101c38;
  --navy2:#203256;
  --navy-2:#203256;
  --maroon:#8a1f39;
  --maroon-2:#5b0d26;
}


/* Student simplified infographic experience */
.singleAction{grid-template-columns:1fr;max-width:760px;margin-inline:auto}
.studentHeroSide{text-align:center;align-items:center}
.heroVisual{width:82px;height:82px;border-radius:24px;display:grid;place-items:center;font-size:38px;background:linear-gradient(145deg,#fff5df,#f6e8c7);margin-bottom:12px;box-shadow:inset 0 0 0 1px rgba(199,166,106,.35)}
.simpleProfile{background:var(--paper);border:1px solid rgba(119,99,82,.13);border-radius:28px;padding:24px;box-shadow:var(--shadow)}
.simpleIntro{display:flex;justify-content:space-between;gap:12px;align-items:center}
.simpleIntro h3{margin:8px 0 0;color:var(--navy);font-size:24px}
.simpleSkillGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:20px}
.simpleSkill{background:#fff;border:1px solid #e9e1d8;border-radius:24px;padding:20px;text-align:center;position:relative;overflow:hidden}
.simpleSkill:before{content:"";position:absolute;inset:auto 0 0;height:5px;background:linear-gradient(90deg,var(--maroon),var(--gold))}
.simpleIcon{width:64px;height:64px;border-radius:20px;margin:0 auto 10px;display:grid;place-items:center;font-size:29px;background:#f7f1e9}
.simpleSkill b{display:block;color:var(--navy);font-size:15px}
.simpleSkill strong{display:block;font-size:30px;line-height:1.2;color:var(--navy);margin:8px 0 2px}
.simpleSkill span{font-size:10px;color:var(--muted)}
.miniBar{height:7px;border-radius:999px;background:#efe9e2;overflow:hidden;margin-top:13px}
.miniBar i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,var(--maroon),var(--gold))}
.studentTipGrid{display:grid;grid-template-columns:.8fr .8fr 1.4fr;gap:12px;margin-top:14px}
.tipCard{display:flex;gap:12px;align-items:center;border-radius:20px;padding:15px 16px;border:1px solid #e7ded4;background:#fff}
.tipCard>span{width:44px;height:44px;display:grid;place-items:center;border-radius:14px;background:#f6f0e8;font-size:21px;flex:0 0 auto}
.tipCard small{display:block;color:var(--muted);font-size:9px}
.tipCard b{display:block;color:var(--navy);font-size:12px;line-height:1.5;margin-top:2px}
.tipCard.good{background:#f5faf7;border-color:#d7e8de}
.tipCard.focus{background:#fff9ed;border-color:#ead9b8}
.tipCard.today{background:#f7f7fb;border-color:#ddddea}
.studentEmpty{text-align:center;font-size:14px}
.week{min-height:118px}
.week small{display:none}
.weekIcon{width:36px;height:36px}
.week em{font-size:8px}
@media(max-width:760px){
  .simpleSkillGrid{grid-template-columns:repeat(3,1fr);gap:8px}
  .simpleSkill{padding:14px 8px;border-radius:18px}
  .simpleIcon{width:48px;height:48px;font-size:23px;border-radius:15px}
  .simpleSkill strong{font-size:24px}
  .studentTipGrid{grid-template-columns:1fr}
}
@media(max-width:520px){
  .simpleSkillGrid{grid-template-columns:1fr 1fr 1fr}
  .simpleSkill b{font-size:11px}
  .simpleSkill span{font-size:8px}
  .heroVisual{width:64px;height:64px;font-size:30px}
}


/* First-login country selector */
.countryGate{min-height:100vh;display:grid;place-items:center;padding:28px 18px;background:linear-gradient(180deg,#f8f4ef,#efe9e1)}
.countryGateCard{width:min(920px,100%);background:#fffdfa;border:1px solid #ded5ca;border-radius:32px;padding:30px;box-shadow:0 24px 70px rgba(17,29,49,.10)}
.countryBrand{display:flex;gap:16px;align-items:center;margin-bottom:22px}
.countryBrand .mark{width:62px;height:62px;flex:0 0 auto}
.countryBrand h1{margin:6px 0 2px;color:var(--navy);font-size:clamp(30px,5vw,46px)}
.countryBrand p{margin:0;color:var(--muted)}
.countryCards{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.countryCard{min-width:0;border:1px solid #e2d9cf;background:#fff;border-radius:24px;padding:20px 14px;font:inherit;text-align:center;display:flex;flex-direction:column;align-items:center;gap:5px;min-height:190px}
.countryCard .countryFlag{font-size:38px;line-height:1}
.countryCard b{font-size:20px;color:var(--navy)}
.countryCard small{font-size:10px;color:var(--muted)}
.countryCard em{margin-top:auto;font-style:normal;font-size:10px;font-weight:800}
.countryCard.live{cursor:pointer;border:2px solid #c7a66a;background:linear-gradient(180deg,#fffdf8,#fff5df);box-shadow:0 16px 34px rgba(138,31,57,.10)}
.countryCard.live .countryFlag{transform:scale(1.08)}
.countryCard.live em{background:var(--maroon);color:#fff;border-radius:999px;padding:7px 14px}
.countryCard.muted{opacity:.38;filter:saturate(.45);cursor:not-allowed;background:#f7f4f0}
.countryMessage{margin:16px 0;display:flex;gap:11px;align-items:center;background:#f7f7fb;border:1px solid #e1e1eb;border-radius:18px;padding:13px 16px}
.countryMessage>span{font-size:22px}
.countryMessage p{margin:0;color:var(--muted);font-size:11px;line-height:1.7}
.countryMessage b{color:var(--navy)}
.countryStart{width:100%;font-size:16px;padding:15px 18px}
.countryGate #passError{color:var(--red);font-size:10px;min-height:22px}
@media(max-width:760px){.countryCards{grid-template-columns:1fr 1fr}.countryGateCard{padding:22px;border-radius:24px}.countryCard{min-height:155px}.countryBrand{align-items:flex-start}.countryBrand .mark{width:52px;height:52px}}
@media(max-width:420px){.countryCards{grid-template-columns:1fr 1fr;gap:8px}.countryCard{padding:14px 8px}.countryCard .countryFlag{font-size:30px}.countryCard b{font-size:16px}}


/* Professional law-student visual refinement */
.heroVisual{font-family:Georgia,"Times New Roman",serif;font-weight:700;color:var(--navy);background:linear-gradient(145deg,#f7f1e6,#ead8ac);border:1px solid rgba(199,166,106,.55)}
.heroVisual{font-size:34px}
.simpleIcon,.tipCard>span,.badgeIcon{font-family:Georgia,"Times New Roman",serif;font-weight:700;color:var(--navy)}
.simpleIcon{font-size:25px}
.tipCard>span{font-size:21px}
.badgeIcon{font-size:21px}
.countryMessage>span{font-family:Georgia,"Times New Roman",serif;color:var(--navy);font-size:22px}

/* LexLearn brand tokens — shared across public, student, demo and supervisor views */
:root{--maroon:#8F1D3F;--navy:#142B5F;--navy2:#0D1E45}

/* Accessible student learning captions. */
.week small,.week em,.skill small,.badge small,.simpleSkill span,.tipCard small,.countryCard small,.countryCard em{font-size:12px;line-height:1.65}
