/* Track-Eng — الهوية: بنفسجي #7057E8 · وردي #EE4C9A · مرجاني #FF776D · تركوازي #25B8A5 · خلفية #F8F7FB · نص #20213B */
:root{
  --violet:#7057E8; --violet-d:#5940C8; --pink:#EE4C9A; --coral:#FF776D; --teal:#25B8A5; --amber:#FFAD59;
  --bg:#F8F7FB; --ink:#20213B; --muted:#6B6B80; --line:#E7E4F2; --card:#FFFFFF;
  --grad:linear-gradient(120deg,var(--violet),var(--pink));
  --shadow:0 10px 30px rgba(32,33,59,.08); --r:16px;
}
.te-page,.te-wrap{font-family:'Cairo','Segoe UI',Tahoma,sans-serif;color:var(--ink);line-height:1.8}
.te-wrap{max-width:1080px;margin:0 auto;padding:26px 16px 60px}
.te-wrap h1,.te-wrap h2,.te-wrap h3{line-height:1.5}
.te-h2{font-size:1.7rem;font-weight:800;margin:26px 0 14px}
.te-muted{color:var(--muted)}
.te-center{text-align:center}
.te-note{background:#FFF7E8;border:1px solid #F3DFB5;border-radius:12px;padding:10px 14px;font-size:.95rem}
.te-alert{background:#FFEDEB;border:1px solid #FFC9C4;border-radius:12px;padding:10px 14px}
.te-msg{color:var(--teal);font-weight:700;font-size:.95rem}
.te-chip{display:inline-block;background:var(--grad);color:#fff;border-radius:999px;padding:2px 12px;font-weight:800;font-size:.85rem}
.te-chip-lg{font-size:1rem;padding:4px 16px}
.te-chip-soft{background:#EFEAFB;color:var(--violet-d)}
/* أزرار */
.te-btn{display:inline-block;background:var(--grad);color:#fff!important;border:none;border-radius:999px;padding:10px 26px;font-weight:800;font-size:1rem;cursor:pointer;text-decoration:none;box-shadow:var(--shadow);transition:transform .15s,box-shadow .15s;font-family:inherit}
.te-btn:hover{transform:translateY(-2px)}
.te-btn-ghost{background:#fff;color:var(--violet-d)!important;border:2px solid var(--violet)}
.te-btn-white{background:#fff;color:var(--violet-d)!important}
.te-btn-big{padding:13px 36px;font-size:1.1rem}
.te-btn-sm{padding:6px 18px;font-size:.92rem}
.te-btn-danger{background:linear-gradient(120deg,#E5484D,var(--coral))}
/* التقدّم */
.te-bar{background:#ECEAF4;border-radius:999px;height:12px;overflow:hidden;margin:8px 0}
.te-fill{display:block;height:100%;width:var(--w,0%);background:var(--grad);border-radius:999px;animation:teGrow 1.1s ease both}
.te-fill.ok{background:linear-gradient(90deg,var(--teal),#6FE3CF)}
.te-fill.no{background:linear-gradient(90deg,var(--coral),var(--amber))}
@keyframes teGrow{from{width:0}to{width:var(--w,0%)}}
/* تنقّل داخلي */
.te-nav{position:relative;z-index:9998;display:flex;gap:8px;flex-wrap:wrap;justify-content:center;background:#fff;border-bottom:1px solid var(--line);padding:10px 12px;margin:0 auto}
.te-nav a{padding:7px 16px;border-radius:999px;font-weight:700;color:var(--ink);text-decoration:none;border:1.5px solid var(--line);font-size:.95rem;background:#fff}
.te-nav a.on{background:var(--grad);color:#fff;border-color:transparent}
.te-bell-n{background:var(--pink);color:#fff;border-radius:999px;padding:0 7px;font-size:.8rem}
/* البطل */
.te-hero{background:radial-gradient(900px 480px at 85% -10%,#E9E2FF 0,transparent 60%),radial-gradient(700px 420px at 8% 110%,#FFE3F0 0,transparent 55%),var(--bg);padding:60px 16px 0;text-align:center;overflow:hidden}
.te-hero-in{max-width:880px;margin:0 auto}
.te-brand{font-size:2.2rem;font-weight:900;letter-spacing:.5px;color:var(--violet-d)}
.te-brand b{color:var(--pink)}
.te-formula{font-weight:800;color:#fff;background:var(--ink);display:inline-flex;gap:8px;align-items:center;border-radius:999px;padding:5px 18px;margin:14px 0 4px;direction:ltr}
.te-formula span{color:var(--amber)}
.te-h1{font-size:2.5rem;font-weight:900;margin:12px 0 6px}
.te-sub{color:var(--muted);font-size:1.12rem;max-width:640px;margin:0 auto}
.te-cta{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin:22px 0 8px}
.te-phone{max-width:400px;margin:26px auto 0;background:#fff;border:1.5px solid var(--line);border-bottom:none;border-radius:26px 26px 0 0;box-shadow:var(--shadow);padding:20px 20px 26px;text-align:right}
.te-ph-top{display:flex;justify-content:space-between;align-items:center}
.te-ph-pct{font-weight:900;color:var(--violet-d);font-size:1.2rem}
.te-ph-row{display:flex;justify-content:space-between;border-top:1px dashed var(--line);padding:9px 2px;font-size:.97rem}
/* بطاقات ومزايا */
.te-card{background:var(--card);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);padding:22px;margin:16px 0}
.te-card-hi{border:2px solid var(--violet);background:linear-gradient(180deg,#FBFAFF,#fff)}
.te-frow{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:14px 0}
.te-feat{display:flex;gap:12px;background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:16px;box-shadow:var(--shadow)}
.te-feat-ic{font-size:1.6rem}
.te-feat p,.te-step p,.te-lvl p{margin:2px 0;color:var(--muted);font-size:.95rem}
.te-lvls{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.te-lvl{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:16px;box-shadow:var(--shadow)}
.te-lvl-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}
.te-lvl-days{color:var(--muted);font-size:.85rem}
.te-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.te-step{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:18px;text-align:center;box-shadow:var(--shadow)}
.te-step span{display:inline-flex;width:38px;height:38px;border-radius:50%;background:var(--grad);color:#fff;font-weight:900;align-items:center;justify-content:center;font-size:1.15rem}
.te-banner{background:var(--grad);color:#fff;border-radius:20px;padding:34px 22px;text-align:center;box-shadow:var(--shadow)}
.te-banner p{opacity:.92}
.te-lock{font-size:2.4rem}
.te-soon{display:inline-block;background:var(--amber);color:#5B3A00;font-weight:900;border-radius:999px;padding:4px 20px;font-size:1.05rem;margin-bottom:8px}
/* المصادقة */
.te-auth-zone{max-width:460px}
.te-auth{background:#fff;border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);padding:24px;margin:16px auto;max-width:460px;text-align:right}
.te-auth label{display:block;font-weight:700;margin:12px 0 4px}
.te-auth input[type=email],.te-auth input[type=password],.te-auth input[type=text],.te-auth input[type=tel],.te-auth input[type=url],.te-auth input[type=date],.te-auth select,.te-auth textarea{width:100%;border:1.5px solid var(--line);border-radius:10px;padding:10px 12px;font-family:inherit;font-size:1rem;box-sizing:border-box;background:#FDFCFF}
.te-pass-wrap{position:relative;display:block}
.te-pass-wrap input{width:100%}
.te-eye{position:absolute;left:8px;top:50%;transform:translateY(-50%);background:none;border:none;cursor:pointer;font-size:1.05rem}
.te-wa{display:flex;gap:8px}
.te-wa input:first-child{width:70px;text-align:center}
.te-check{font-weight:600!important;display:flex;gap:8px;align-items:flex-start}
.te-tabs{display:flex;gap:8px;justify-content:center;margin-top:20px}
.te-tabs button{border:2px solid var(--violet);background:#fff;color:var(--violet-d);border-radius:999px;padding:8px 26px;font-weight:800;cursor:pointer;font-family:inherit}
.te-tabs button.on{background:var(--grad);color:#fff;border-color:transparent}
/* لوحة */
.te-hello h1{margin:4px 0}
.te-grid2{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}
.te-skills{list-style:none;padding:0;margin:0}
.te-skills li{display:flex;justify-content:space-between;border-bottom:1px dashed var(--line);padding:7px 0}
.te-acts{display:flex;gap:10px;align-items:flex-end;height:110px;padding-top:8px}
.te-act{flex:1;display:flex;flex-direction:column;align-items:center;gap:4px;height:100%;justify-content:flex-end}
.te-act-bar{display:block;width:70%;max-width:34px;height:var(--h,4%);min-height:4px;background:var(--grad);border-radius:8px 8px 0 0}
.te-act small{color:var(--muted)}
.te-choices{display:grid;gap:12px;margin:12px 0}
.te-choice{display:block;background:#FBFAFF;border:1.5px solid var(--line);border-radius:14px;padding:14px 16px;text-decoration:none;color:var(--ink)}
.te-choice:hover{border-color:var(--violet)}
.te-choice b{display:block;font-size:1.05rem}
.te-choice span{color:var(--muted);font-size:.93rem}
.te-shead{text-align:center;margin-bottom:8px}
/* الدرس */
.te-day-head{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.te-steps-line{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:10px 0 4px}
.te-steps-line span{border:1.5px solid var(--line);border-radius:999px;padding:3px 14px;font-weight:700;color:var(--muted);background:#fff}
.te-steps-line span.on{border-color:var(--violet);color:var(--violet-d)}
.te-steps-line span.done{background:var(--teal);border-color:var(--teal);color:#fff}
.te-steps-line i{color:var(--muted);font-style:normal}
.te-embed{position:relative;padding-top:56.25%;border-radius:14px;overflow:hidden;margin:12px 0;background:#000}
.te-embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.te-wrap textarea{width:100%;border:1.5px solid var(--line);border-radius:10px;padding:10px 12px;font-family:inherit;box-sizing:border-box}
.te-daynav{display:flex;justify-content:space-between;margin-top:10px}
/* الاختبارات */
.te-test .te-q,.te-quiz .te-q{border:1.5px solid var(--line);border-radius:14px;padding:16px;margin:14px 0;background:#FBFAFF}
.te-q legend{font-weight:800;padding:0 8px}
.te-opt{display:flex;gap:8px;align-items:center;border:1px solid var(--line);border-radius:10px;padding:8px 12px;margin:7px 0;cursor:pointer;background:#fff}
.te-opt:hover{border-color:var(--violet)}
.te-passage{background:#fff;border:1px dashed var(--line);border-radius:10px;padding:10px 12px;margin:8px 0;text-align:left}
.te-sec-title{margin:24px 0 4px;color:var(--violet-d)}
.te-bands{display:grid;gap:8px}
.te-band{display:flex;gap:12px;align-items:center}
.te-band .te-bar{flex:1;margin:0}
.te-band span{font-weight:900;width:34px}
.te-listen{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:8px 0}
.te-srow{display:flex;gap:12px;align-items:center;margin:8px 0}
.te-srow .te-bar{flex:1;margin:0}
.te-srow span{min-width:170px;font-weight:700}
.te-quiz-result{margin-top:12px}
.te-fb{border-radius:10px;padding:7px 12px;margin:6px 0;font-size:.95rem}
.te-fb.ok{background:#E7F8F4}
.te-fb.no{background:#FFEDEB}
/* الكلمات */
.te-wcard{border:1.5px solid var(--line);border-radius:14px;padding:16px;margin:10px 0;background:#FBFAFF;text-align:center}
.te-wfront{cursor:pointer}
.te-wfront b{font-size:1.4rem}
.te-wfront small{display:block;color:var(--muted)}
.te-wbtns{display:flex;gap:10px;justify-content:center;margin-top:8px}
.te-addword{display:flex;gap:8px;flex-wrap:wrap}
.te-addword input{flex:1;min-width:130px;border:1.5px solid var(--line);border-radius:10px;padding:9px 12px;font-family:inherit}
.te-wlist{display:grid;gap:8px}
.te-witem{display:flex;gap:12px;align-items:baseline;border-bottom:1px dashed var(--line);padding:6px 0;flex-wrap:wrap}
.te-witem small{color:var(--muted)}
/* الإشعارات */
.te-notifs{display:grid;gap:10px;margin-top:12px}
.te-notif{display:flex;justify-content:space-between;gap:12px;border:1px solid var(--line);border-radius:12px;padding:12px 14px;background:#fff}
.te-notif.unread{border-color:var(--violet);background:#FBFAFF}
.te-notif p{margin:2px 0;color:var(--muted)}
.te-notif small{color:var(--muted)}
/* الأخطاء */
.te-errlist{display:grid;gap:8px;margin-top:12px}
.te-erritem{display:flex;gap:10px;align-items:center;border-bottom:1px dashed var(--line);padding:7px 0}
.te-erritem span{flex:1}
.te-erritem small{color:var(--muted)}
.te-x{background:none;border:none;cursor:pointer;color:var(--coral);font-weight:900}
/* خطة */
.te-times{display:flex;gap:8px;flex-wrap:wrap}
.te-time{border:2px solid var(--violet);background:#fff;color:var(--violet-d);border-radius:999px;padding:7px 20px;font-weight:800;cursor:pointer;font-family:inherit}
.te-time.on{background:var(--grad);color:#fff;border-color:transparent}
.te-list li{margin:6px 0}
.te-danger{border-color:#FFC9C4}
.reveal{opacity:0;transform:translateY(14px);transition:opacity .5s,transform .5s}
.reveal.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none;transition:none}.te-fill{animation:none}}
@media (max-width:760px){
  .te-frow,.te-grid2{grid-template-columns:1fr}
  .te-lvls{grid-template-columns:1fr}
  .te-steps{grid-template-columns:1fr 1fr}
  .te-h1{font-size:1.9rem}
  .te-srow span{min-width:110px}
  .te-nav a{padding:6px 11px;font-size:.88rem}
}

/* أقسام الصفحة العامة — لغة النموذج الأصلي */
.te-kicker{color:var(--violet);font-weight:800;font-size:.85rem;letter-spacing:.4px}
.te-stitle{font-size:clamp(26px,3.4vw,36px);font-weight:900;margin:8px 0 10px;line-height:1.4}
.te-ssub{color:var(--muted);font-size:1.03rem;line-height:1.9;max-width:64ch;margin:0}
.te-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:28px}
.te-fcard{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:24px;box-shadow:0 4px 14px rgba(32,33,59,.05);transition:transform .3s,box-shadow .3s}
.te-fcard:hover{transform:translateY(-5px);box-shadow:var(--shadow)}
.te-fic{width:48px;height:48px;border-radius:14px;background:#EFEAFB;color:var(--violet);display:grid;place-items:center;margin-bottom:14px}
.te-fcard h3{font-size:1.12rem;font-weight:800;margin:0 0 7px}
.te-fcard p{color:var(--muted);font-size:.95rem;line-height:1.9;margin:0}
.te-road{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin-top:28px}
.te-rstep{background:var(--card);border:1px solid var(--line);border-radius:20px;padding:18px 14px;text-align:center;transition:.3s}
.te-rstep:hover{transform:translateY(-4px);border-color:var(--violet)}
.te-rstep b{font-size:1.5rem;display:block;color:var(--violet);line-height:1.3}
.te-rstep span{font-size:.82rem;color:var(--muted);font-weight:700;display:block}
.te-rstep .te-hrs{margin-top:8px;font-size:.75rem;color:#9A97AD;font-weight:600}
@media (max-width:900px){.te-cards{grid-template-columns:1fr 1fr}.te-road{grid-template-columns:repeat(3,1fr)}}
@media (max-width:560px){.te-cards{grid-template-columns:1fr}.te-road{grid-template-columns:1fr 1fr}}

/* ===== هيكل منطقة الطالب + اللوحة المرجعية + الحركات (v3.1) ===== */
.te-wrap{padding-top:12px}
.te-nav{padding:6px 10px;margin-top:2px}
.te-wrap-in{max-width:900px;margin:0 auto}
.te-shell{display:grid;grid-template-columns:250px 1fr;gap:18px;align-items:start;max-width:1400px;margin:0 auto;padding:6px 10px 30px}
.te-side{background:var(--card);border:1px solid var(--line);border-radius:20px;padding:18px 12px;position:sticky;top:14px;box-shadow:0 4px 14px rgba(32,33,59,.05)}
.te-logo{font-size:1.45rem;font-weight:900;color:var(--ink);padding:2px 10px 14px;border-bottom:1px solid var(--line);margin-bottom:12px}
.te-logo b{color:var(--violet)}
.te-logo::after{content:"";display:block;width:26px;height:4px;border-radius:4px;background:var(--pink);margin-top:5px}
.te-side-nav{display:flex;flex-direction:column;gap:4px}
.te-side-a{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:12px;color:#3D3E5C;font-weight:700;font-size:.95rem;transition:.25s}
.te-side-a:hover{background:#F4F1FD;color:var(--violet-d)}
.te-side-a.on{background:#FDEAF2;color:var(--ink)}
.te-side-a.on .te-side-ic{color:var(--pink)}
.te-side-ic{display:grid;place-items:center;color:#8B88A3}
.te-soon-badge{margin-inline-start:auto;background:#EFEAFB;color:var(--violet);font-size:.68rem;font-weight:800;padding:2px 8px;border-radius:20px}
.te-main{min-width:0}
.te-top{display:flex;align-items:center;gap:14px;margin-bottom:16px;flex-wrap:wrap}
.te-search{flex:1;min-width:200px;position:relative;margin:0}
.te-search-ic{position:absolute;inset-inline-start:14px;top:50%;transform:translateY(-50%);color:#9A97AD;display:grid}
.te-search input{width:100%;padding:12px 44px 12px 16px;border-radius:14px;border:1px solid var(--line);background:var(--card);font-family:inherit;font-size:.95rem}
.te-bell{position:relative;width:46px;height:46px;border-radius:50%;background:var(--card);border:1px solid var(--line);display:grid;place-items:center;color:#3D3E5C;flex:none}
.te-bell-dot{position:absolute;top:-4px;inset-inline-end:-4px;background:#FF776D;color:#fff;font-size:.68rem;font-weight:800;min-width:19px;height:19px;border-radius:12px;display:grid;place-items:center;padding:0 5px;animation:tePulse 1.8s infinite}
.te-userchip{display:flex;align-items:center;gap:10px}
.te-avatar{width:46px;height:46px;border-radius:50%;background:linear-gradient(135deg,var(--violet),var(--pink));color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.15rem;flex:none}
.te-userchip b{display:block;font-size:.95rem;line-height:1.3}
.te-userchip small{color:var(--muted);font-size:.75rem}
.te-content>*{animation:teFadeUp .5s cubic-bezier(.22,.8,.3,1) both}
.te-dash{display:grid;gap:16px}
.te-drow{display:grid;gap:16px}
.te-drow-a{grid-template-columns:2fr 1fr}
.te-drow-b{grid-template-columns:1fr 1fr}
.te-drow-c{grid-template-columns:1fr 1.5fr}
.te-hero-card{border-radius:22px;padding:24px;color:#fff;background:linear-gradient(120deg,#7057E8,#8B5CF6,#EE4C9A,#7057E8);background-size:220% 220%;animation:teGrad 12s ease infinite;box-shadow:0 14px 34px rgba(112,87,232,.35);overflow:hidden}
.te-hero-badge{background:rgba(255,255,255,.22);padding:4px 12px;border-radius:20px;font-size:.78rem;font-weight:800}
.te-hero-flex{display:flex;align-items:center;gap:20px;margin-top:12px}
.te-hero-code{font-size:3.6rem;font-weight:900;line-height:1}
.te-hero-mid h2{margin:0 0 4px;font-size:1.35rem;color:#fff}
.te-hero-mid p{margin:0;color:rgba(255,255,255,.85);font-size:.92rem}
.te-hero-art{width:110px;height:82px;flex:none;margin-inline-start:auto}
.te-hero-bar{background:rgba(255,255,255,.28);border-radius:20px;height:10px;margin-top:16px;overflow:hidden}
.te-fill{display:block;height:100%;border-radius:20px;background:linear-gradient(90deg,var(--violet),var(--pink));width:0;animation:teGrow 1.1s cubic-bezier(.22,.8,.3,1) .15s forwards}
.te-fill-light{background:#fff}
.te-bar .te-fill{background:var(--g,var(--violet))}
.te-hero-meta{display:flex;justify-content:space-between;align-items:center;margin-top:9px;font-size:.88rem}
.te-hero-meta b{font-size:1.05rem}
.te-place-card{display:flex;flex-direction:column;gap:14px}
.te-place-head{display:flex;justify-content:space-between;align-items:center}
.te-place-head b{font-size:1.02rem}
.te-place-head a{color:var(--violet);font-weight:900;text-decoration:none}
.te-place-body{display:flex;align-items:center;gap:14px}
.te-place-circle{width:64px;height:64px;border-radius:50%;border:3px solid var(--violet);background:#EFEAFB;color:var(--violet);display:grid;place-items:center;font-weight:900;font-size:1.25rem;flex:none}
.te-place-body small{color:var(--muted);display:block}
.te-place-lvl{font-size:1.05rem}
.te-next-box{display:flex;align-items:center;gap:10px;background:#FDEAF2;border:1px solid #F8CBDD;border-radius:14px;padding:12px 14px;color:var(--ink);transition:.25s;margin-top:auto}
.te-next-box:hover{transform:translateY(-2px);box-shadow:var(--shadow)}
.te-next-box small{color:#B04A72;display:block;font-size:.75rem;font-weight:800}
.te-next-box b{font-size:.9rem;line-height:1.5}
.te-next-arrow{margin-inline-start:auto;color:var(--pink);font-weight:900}
.te-card-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.te-card-head h3{margin:0;font-size:1.05rem}
.te-card-head a{color:var(--pink);font-weight:800;font-size:.88rem;text-decoration:none}
.te-skill-row{display:flex;align-items:center;gap:10px;padding:7px 0}
.te-skill-ic{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;font-size:1.05rem;background:color-mix(in srgb,var(--c) 13%,#fff);flex:none}
.te-skill-name{width:52px;font-weight:800;font-size:.92rem}
.te-bar-slim{flex:1;height:9px}
.te-skill-val{font-size:.85rem;color:#3D3E5C;min-width:74px;text-align:end}
.te-plan-flex{display:flex;gap:16px;align-items:center}
.te-thumb{width:150px;height:104px;border-radius:16px;background:linear-gradient(135deg,#2E2A5E,#7057E8 55%,#EE4C9A);position:relative;flex:none;display:grid;place-items:center}
.te-thumb .te-chip{position:absolute;top:8px;inset-inline-start:8px;background:rgba(255,255,255,.92);color:var(--violet-d)}
.te-play{width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.92);color:var(--violet);display:grid;place-items:center;font-size:1rem;box-shadow:0 6px 16px rgba(0,0,0,.25);transition:.25s}
.te-thumb:hover .te-play{transform:scale(1.12)}
.te-plan-info small{color:var(--pink);font-weight:800}
.te-plan-info b{display:block;font-size:1.08rem;margin:3px 0}
.te-btn-dark{background:var(--ink);margin-top:8px}
.te-journey{display:flex;align-items:flex-start;position:relative;padding:6px 4px 0}
.te-journey::before{content:"";position:absolute;top:26px;inset-inline:8%;height:3px;background:var(--line);border-radius:4px}
.te-jstep{flex:1;text-align:center;position:relative;z-index:1}
.te-jcircle{width:42px;height:42px;border-radius:50%;border:2.5px solid var(--line);background:#fff;color:#9A97AD;display:inline-grid;place-items:center;font-weight:900;font-size:.9rem;transition:.3s}
.te-jstep.cur .te-jcircle{background:var(--violet);border-color:var(--violet);color:#fff;box-shadow:0 8px 20px rgba(112,87,232,.4);transform:scale(1.12)}
.te-jstep.done .te-jcircle{background:var(--teal);border-color:var(--teal);color:#fff}
.te-jstep small{display:block;margin-top:7px;color:var(--muted);font-weight:700}
.te-goal{display:flex;align-items:center;gap:10px;padding:9px 0;border-bottom:1px dashed var(--line)}
.te-goal:last-child{border-bottom:0}
.te-goal-dot{width:22px;height:22px;border-radius:50%;border:2px solid var(--line);display:grid;place-items:center;color:#fff;font-size:.75rem;flex:none}
.te-goal.done .te-goal-dot{background:var(--teal);border-color:var(--teal)}
.te-goal-txt{font-weight:700;font-size:.93rem}
.te-goal small{margin-inline-start:auto;color:var(--muted);font-weight:700}
.te-chart i{animation:teBarGrow .9s cubic-bezier(.22,.8,.3,1) both}
.te-card{transition:transform .3s,box-shadow .3s}
.te-dash .te-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
@keyframes teGrow{to{width:var(--w)}}
@keyframes teBarGrow{from{transform:scaleY(0)}to{transform:scaleY(1)}}
@keyframes teGrad{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
@keyframes tePulse{0%,100%{transform:scale(1)}50%{transform:scale(1.18)}}
@keyframes teFadeUp{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
.te-chart i{transform-origin:bottom}
@media (max-width:1100px){.te-drow-a,.te-drow-b,.te-drow-c{grid-template-columns:1fr}}
@media (max-width:900px){
  .te-shell{grid-template-columns:1fr}
  .te-side{position:static}
  .te-side-nav{flex-direction:row;overflow-x:auto;padding-bottom:4px}
  .te-side-a{white-space:nowrap}
  .te-logo{border-bottom:0;margin-bottom:4px;padding-bottom:4px}
}
@media (prefers-reduced-motion:reduce){
  .te-fill,.te-chart i,.te-content>*,.te-hero-card,.te-bell-dot{animation:none!important}
  .te-fill{width:var(--w)}
}

/* ===== هيرو النموذج الأصلي المتحرك + فاصل منطقة الطالب (v3.1.1) ===== */
.te-shell{margin-top:30px}
.te-side{top:26px}
.te-phero{position:relative;padding:56px 10px 34px;overflow:hidden;max-width:1200px;margin:0 auto}
.te-blob{position:absolute;border-radius:50%;filter:blur(2px);pointer-events:none;z-index:0}
.te-blob-a{width:420px;height:420px;background:radial-gradient(circle,#DCD2FA,transparent 70%);opacity:.55;top:-140px;inset-inline-start:-120px;animation:teDrift 26s ease-in-out infinite alternate}
.te-blob-b{width:300px;height:300px;background:radial-gradient(circle,#FBD3E8,transparent 70%);opacity:.6;top:120px;inset-inline-end:-110px;animation:teDrift 32s ease-in-out infinite alternate-reverse}
.te-blob-c{width:180px;height:180px;background:radial-gradient(circle,#DCD2FA,transparent 70%);opacity:.4;bottom:-70px;inset-inline-start:32%;animation:teDrift 38s ease-in-out infinite alternate}
.te-phero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:44px;align-items:center;position:relative;z-index:1}
.te-stagger>*{animation:teFadeUp .6s cubic-bezier(.22,.8,.3,1) both}
.te-stagger>*:nth-child(2){animation-delay:.08s}.te-stagger>*:nth-child(3){animation-delay:.16s}
.te-stagger>*:nth-child(4){animation-delay:.24s}.te-stagger>*:nth-child(5){animation-delay:.32s}
.te-p-pill{display:inline-flex;align-items:center;gap:8px;background:var(--card);border:1px solid var(--line);border-radius:999px;padding:7px 14px;font-size:.83rem;font-weight:700;color:var(--muted);box-shadow:0 4px 14px rgba(32,33,59,.06)}
.te-p-dot{width:8px;height:8px;border-radius:50%;background:var(--violet);animation:tePulseDot 2s infinite}
.te-ph1{font-size:clamp(2rem,4.6vw,3.3rem);font-weight:900;line-height:1.45;margin:20px 0 16px}
.te-p-grad{background:linear-gradient(90deg,var(--violet),var(--pink));-webkit-background-clip:text;background-clip:text;color:transparent}
.te-p-lead{font-size:1.12rem;line-height:2;color:var(--muted);margin:0 0 26px;max-width:52ch}
.te-p-cta{display:flex;gap:12px;flex-wrap:wrap}
.te-p-btn{display:inline-flex;align-items:center;gap:8px;padding:13px 26px;border-radius:16px;font-weight:800;font-size:1rem;transition:.25s;text-decoration:none}
.te-p-btn-primary{color:#fff;background:linear-gradient(135deg,var(--violet),#5B3EDB);box-shadow:var(--shadow)}
.te-p-btn-primary:hover{transform:translateY(-2px)}
.te-p-btn-ghost{background:var(--card);color:var(--ink);border:1.5px solid var(--line)}
.te-p-btn-ghost:hover{border-color:var(--violet);color:var(--violet)}
.te-p-stats{display:flex;gap:26px;margin-top:32px;flex-wrap:wrap}
.te-hs b{font-size:1.35rem;display:block}
.te-hs span{font-size:.83rem;color:var(--muted)}
.te-phone-stage{position:relative;display:flex;justify-content:center;padding:16px 0 20px}
.te-chip-float{position:absolute;z-index:3;background:var(--card);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:16px;padding:9px 14px;display:flex;align-items:center;gap:9px;font-weight:800;font-size:.85rem;animation:teFloaty 6s ease-in-out infinite}
.te-cic{width:30px;height:30px;border-radius:9px;background:var(--violet);color:#fff;display:grid;place-items:center}
.te-c1{top:-6px;inset-inline-end:-4px}
.te-c2{bottom:52px;inset-inline-start:-14px;animation-delay:1.2s}
.te-c3{bottom:-6px;inset-inline-end:22px;animation-delay:2s}
.te-pphone{width:290px;border-radius:38px;background:var(--card);border:1px solid var(--line);box-shadow:0 34px 60px -24px rgba(90,40,180,.35);padding:14px 14px 20px;position:relative;z-index:2;animation:teFloaty 7s ease-in-out infinite}
.te-notch{width:90px;height:6px;border-radius:99px;background:var(--line);margin:2px auto 14px}
.te-ph-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.te-ph-head b{font-size:.9rem}
.te-lvl-badge{background:linear-gradient(135deg,var(--violet),var(--pink));color:#fff;font-weight:800;font-size:.75rem;padding:4px 11px;border-radius:999px}
.te-ph-ring{display:flex;align-items:center;gap:12px;background:#EFEAFB;border-radius:18px;padding:12px;margin-bottom:10px}
.te-ph-ring b{font-size:.92rem}
.te-ph-ring-sub{color:var(--muted);font-size:.75rem;margin-top:2px}
.te-ring{width:58px;height:58px;flex:none}
.te-ring circle{fill:none;stroke-width:7;stroke-linecap:round}
.te-ring .te-track{stroke:#DDD3F7}
.te-ring .te-bar-ring{stroke:var(--violet);stroke-dasharray:138;stroke-dashoffset:138;transform:rotate(-90deg);transform-origin:center;transition:stroke-dashoffset 1.4s cubic-bezier(.22,.8,.3,1)}
.te-ph-line{height:9px;border-radius:99px;background:#DDD3F7;margin:7px 0}
.te-ph-task{display:flex;align-items:center;gap:9px;background:#F5F3FA;border:1px solid var(--line);border-radius:14px;padding:9px 11px;margin-top:8px;font-size:.8rem;font-weight:700}
.te-tick{width:19px;height:19px;border-radius:6px;background:var(--teal);color:#fff;display:grid;place-items:center;font-size:.7rem;flex:none}
.te-tick.te-empty{background:transparent;border:2px solid #DDD3F7}
.te-shot-note{text-align:center;color:#9A97AD;font-size:.8rem;margin-top:16px}
@keyframes teDrift{from{transform:translate(0,0) scale(1)}to{transform:translate(26px,34px) scale(1.07)}}
@keyframes teFloaty{0%,100%{transform:translateY(0)}50%{transform:translateY(-9px)}}
@keyframes tePulseDot{0%,100%{box-shadow:0 0 0 0 rgba(112,87,232,.35)}50%{box-shadow:0 0 0 6px rgba(112,87,232,0)}}
@media (max-width:900px){.te-phero-grid{grid-template-columns:1fr}.te-chip-float.te-c1{inset-inline-end:2px}.te-chip-float.te-c2{inset-inline-start:0}}
@media (prefers-reduced-motion:reduce){.te-blob,.te-chip-float,.te-pphone,.te-p-dot,.te-stagger>*{animation:none!important}}

/* الصورة الشخصية (v3.1.2) */
.te-avatar{border-radius:15px;overflow:hidden}
.te-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.te-avatar-lg{width:58px;height:58px;font-size:1.5rem;border-radius:17px;flex:none}
.te-profile-row{display:flex;align-items:center;gap:12px;padding-bottom:12px;border-bottom:1px dashed var(--line)}
.te-profile-row b{display:block;font-size:1.02rem}
.te-profile-row small{color:var(--muted);font-weight:700}
.te-avatar-form{display:flex;gap:14px;align-items:flex-start;background:#F8F7FB;border:1px dashed var(--line);border-radius:16px;padding:14px;margin-bottom:14px}
.te-avatar-ctl b{display:block;margin-bottom:2px}
.te-avatar-ctl input[type=file]{margin:8px 0;font-family:inherit}
.te-row-gap{display:flex;gap:8px;flex-wrap:wrap}
.te-btn-ghost2{background:#fff;border:1.5px solid var(--line);color:var(--ink)}
.te-reshuffle{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:#FDF3E3;border:1px dashed #FFAD59;border-radius:14px;padding:10px 14px;margin-bottom:14px;font-weight:700}

/* تايمر الاختبار الأساسي (v3.1.7) */
.te-timer{position:sticky;top:10px;z-index:6;display:flex;align-items:center;gap:10px;background:linear-gradient(90deg,#EFEAFB,#FDEAF2);border:1px solid var(--line);border-radius:14px;padding:10px 16px;font-weight:800;margin-bottom:14px;box-shadow:0 6px 18px rgba(32,33,59,.08)}
.te-timer b{font-size:1.25rem;color:var(--violet-d);font-variant-numeric:tabular-nums}
.te-timer span{margin-inline-start:auto;color:var(--muted);font-size:.8rem;font-weight:700}
.te-timer.te-timer-low{background:#FDECEC;border-color:#FFB3AB}
.te-timer.te-timer-low b{color:#D43A2F;animation:tePulse 1s infinite}

/* ===== تصميم الهاتف لمنطقة الطالب (v3.1.9) ===== */
@media (max-width:700px){
  .te-shell{grid-template-columns:1fr;gap:12px;padding:4px 2px 24px;margin-top:16px}
  .te-side{padding:12px 10px;border-radius:16px}
  .te-logo{font-size:1.2rem;padding:0 6px 8px;margin-bottom:8px;display:flex;align-items:center;gap:8px}
  .te-logo::after{margin-top:0}
  .te-side-nav{flex-direction:row;overflow-x:auto;gap:6px;padding-bottom:6px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .te-side-nav::-webkit-scrollbar{display:none}
  .te-side-a{padding:8px 11px;font-size:.85rem;border-radius:11px;background:#F8F7FB;border:1px solid var(--line)}
  .te-side-a.on{background:#FDEAF2;border-color:#F8CBDD}
  .te-side-ic svg{width:17px;height:17px}
  .te-soon-badge{display:none}
  .te-top{gap:10px;margin-bottom:12px}
  .te-userchip{order:1}
  .te-bell{order:2;width:42px;height:42px}
  .te-search{order:3;flex:1 1 100%;min-width:0}
  .te-avatar{width:42px;height:42px}
  .te-userchip b{font-size:.9rem}
  .te-userchip small{font-size:.7rem}
  .te-wrap{padding:14px 10px 30px}
  .te-card{padding:16px 14px;border-radius:16px}
  .te-dash{gap:12px}
  .te-drow{gap:12px}
  .te-hero-card{padding:18px 16px;border-radius:18px}
  .te-hero-flex{gap:12px;flex-wrap:wrap}
  .te-hero-code{font-size:2.5rem}
  .te-hero-mid h2{font-size:1.12rem}
  .te-hero-mid p{font-size:.85rem}
  .te-hero-art{width:78px;height:58px}
  .te-hero-meta{font-size:.8rem}
  .te-plan-flex{flex-direction:column;align-items:stretch}
  .te-thumb{width:100%;height:140px}
  .te-plan-info .te-btn{width:100%;justify-content:center}
  .te-jcircle{width:36px;height:36px;font-size:.8rem}
  .te-journey::before{top:22px}
  .te-jstep small{font-size:.72rem}
  .te-skill-name{width:44px;font-size:.85rem}
  .te-skill-val{min-width:60px;font-size:.78rem}
  .te-place-circle{width:54px;height:54px;font-size:1.05rem}
  .te-card-head h3{font-size:1rem}
  .te-h1{font-size:1.7rem}
  .te-ph1{font-size:1.85rem;line-height:1.5}
  .te-p-lead{font-size:1rem;line-height:1.9}
  .te-p-btn{padding:12px 18px;font-size:.95rem}
  .te-p-stats{gap:16px}
  .te-hs b{font-size:1.1rem}
  .te-pphone{width:min(290px,88vw)}
  .te-chip-float{font-size:.78rem;padding:7px 10px}
  .te-chip-float.te-c2{inset-inline-start:0}
  .te-chip-float.te-c1{inset-inline-end:0}
  .te-auth{padding:20px 16px}
  .te-choices{grid-template-columns:1fr}
  .te-stats-grid{grid-template-columns:1fr 1fr}
  .te-timer{font-size:.88rem;padding:9px 12px}
  .te-timer b{font-size:1.1rem}
  .te-timer span{display:none}
  fieldset.te-q{padding:14px 12px}
  .te-opt{padding:10px 12px}
  .te-avatar-form{flex-direction:column}
  .te-next-box b{font-size:.85rem}
  .te-goal-txt{font-size:.88rem}
  .te-chart{gap:5px}
}

/* إصلاح اتجاه شعار Track-Eng داخل واجهة عربية (v3.1.10) */
.te-logo{direction:ltr;text-align:right;unicode-bidi:isolate}
@media (max-width:700px){.te-logo{justify-content:flex-end}}

/* ===== موبايل مضغوط: شبكة أدوات كاملة بدون سكرول جانبي (v3.1.11) ===== */
@media (max-width:700px){
  .te-side{padding:10px 8px}
  .te-logo{font-size:1.05rem;padding-bottom:6px;margin-bottom:8px}
  .te-side-nav{display:grid;grid-template-columns:repeat(5,1fr);gap:5px;overflow:visible;padding-bottom:0}
  .te-side-a{flex-direction:column;gap:3px;padding:7px 1px 6px;font-size:.6rem;line-height:1.25;text-align:center;border-radius:11px;justify-content:flex-start}
  .te-side-ic svg{width:19px;height:19px}
  .te-top{margin-bottom:10px}
  .te-avatar{width:36px;height:36px;border-radius:11px}
  .te-bell{width:38px;height:38px}
  .te-search input{padding:10px 40px 10px 12px;font-size:.9rem}
  .te-card{padding:13px 12px}
  .te-card-hi h2{font-size:1.05rem}
  .te-choice{padding:11px 12px}
  .te-choice b{font-size:.92rem}
  .te-choice span{font-size:.78rem}
  .te-hero-card{padding:15px 13px}
  .te-hero-code{font-size:2.1rem}
  .te-hero-badge{font-size:.7rem}
  .te-place-circle{width:46px;height:46px;font-size:.95rem}
  .te-avatar-lg{width:46px;height:46px;font-size:1.15rem}
  .te-jcircle{width:32px;height:32px;font-size:.72rem}
  .te-journey::before{top:19px}
  .te-next-box{padding:10px 11px}
  .te-skill-ic{width:32px;height:32px;font-size:.92rem}
  .te-skill-row{padding:5px 0}
  .te-goal{padding:7px 0}
  .te-h2{font-size:1.25rem}
  .te-thumb{height:120px}
}

/* ===== تضمين صفحات الدروس + تنبيه + قفل الأيام (v3.2.0) ===== */
.te-embed-page iframe{width:100%;height:min(76vh,880px);border:0;display:block;background:#fff}
.te-embed-note{margin-top:10px;background:#F2FBF5;border:1px solid #CDEBD8;color:#1F5138;border-radius:12px;padding:10px 14px;font-size:.9rem;line-height:1.9}
.te-daylock{padding:34px 22px}
.te-lock-ic{font-size:2.8rem;margin-bottom:8px}
.te-lock-date{display:inline-block;background:#FFF7E8;border:1px solid #F3DFB4;color:#7A5510;border-radius:999px;padding:6px 16px;margin:6px 0 14px}

/* ===== صفحة اختيار النظام (v3.2.1) ===== */
.te-hub{max-width:1180px;margin:26px auto 50px;padding:0 16px;font-family:inherit}
.te-hub-head{text-align:center;margin-bottom:28px}
.te-hub-head h1{font-size:2rem;margin:0 0 8px;color:#20213B}
.te-hub-head p{color:#5A5C78;max-width:640px;margin:0 auto;line-height:1.9}
.te-hub-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.te-hub-card{background:#fff;border:1px solid #E9E7F5;border-radius:22px;overflow:hidden;box-shadow:0 10px 30px rgba(32,33,59,.06);transition:transform .25s,box-shadow .25s;display:flex;flex-direction:column}
.te-hub-card:hover{transform:translateY(-5px);box-shadow:0 18px 40px rgba(32,33,59,.12)}
.te-hub-visual{height:190px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:#fff;text-align:center;padding:14px}
.te-hub-visual b{font-size:1.12rem}
.te-hub-visual small{font-size:.62rem;letter-spacing:.18em;opacity:.75}
.te-hub-v-track{background:linear-gradient(135deg,#7057E8,#EE4C9A)}
.te-hub-v-goals{background:radial-gradient(120% 140% at 20% 0%,#2A2350 0%,#14122E 55%,#0E0C22 100%)}
.te-hub-v-camp{background:radial-gradient(120% 140% at 80% 0%,#37244D 0%,#131A36 55%,#0D1126 100%)}
.te-hub-body{padding:22px 22px 24px;display:flex;flex-direction:column;gap:9px;flex:1}
.te-hub-kicker{color:#7057E8;font-weight:800;font-size:.78rem;letter-spacing:.14em;text-align:left}
.te-hub-body h2{margin:0;font-size:1.42rem;color:#20213B;line-height:1.5}
.te-hub-en{color:#7057E8;font-weight:800;font-size:1.02rem;letter-spacing:.04em;text-align:left;margin-top:-4px}
.te-hub-body p{margin:0;color:#5A5C78;line-height:1.95;flex:1}
.te-hub-btn{margin-top:8px;display:flex;align-items:center;justify-content:center;gap:8px;background:linear-gradient(90deg,#7057E8,#8B5CF6);color:#fff!important;font-weight:800;padding:13px 18px;border-radius:999px;text-decoration:none;transition:filter .2s,transform .2s}
.te-hub-btn:hover{filter:brightness(1.07);transform:translateY(-1px)}
@media (max-width:900px){.te-hub-grid{grid-template-columns:1fr}.te-hub-visual{height:160px}}

/* بوابة تراك: كارت واحد في المنتصف (v3.2.1) */
.te-hub-single{grid-template-columns:1fr;max-width:450px;margin:34px auto 0}

/* ===== موبايل: قائمة شرايح متحركة + منع قصّ المحتوى (v3.2.3) ===== */
.te-main{min-width:0}
.te-shell{overflow-x:clip}
@media (max-width:700px){
  .te-side-nav{display:flex;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;padding-bottom:8px;gap:7px;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
  .te-side-nav::-webkit-scrollbar{height:4px}
  .te-side-nav::-webkit-scrollbar-thumb{background:#C9BFF7;border-radius:99px}
  .te-side-nav::-webkit-scrollbar-track{background:#F0EEFA;border-radius:99px}
  .te-side-a{flex:0 0 auto;flex-direction:row;gap:6px;padding:8px 12px;font-size:.82rem;line-height:1.2;text-align:start;border-radius:999px;justify-content:center}
  .te-side-ic svg{width:18px;height:18px}
  .te-content{padding-bottom:88px}
  .te-dash-grid{grid-template-columns:minmax(min(300px,100%),1fr)}
  .te-side,.te-card,.te-hero-card,.te-content{min-width:0}
}

/* ===== بطاقة اليوم + قائمة مهام المهارات + تثبيت اللوحة (v3.2.5) ===== */
.te-daycard{border:2px solid transparent;background:linear-gradient(#fff,#fff) padding-box,linear-gradient(90deg,#7057E8,#EE4C9A) border-box}
.te-daycard h3{color:#7A3FF2}
.te-daycard p{font-size:1.02rem;line-height:2}
.te-skillrow{display:flex;gap:11px;align-items:flex-start;padding:11px 4px;border-bottom:1px dashed #ECEAF6;cursor:pointer}
.te-skillrow:last-of-type{border-bottom:0}
.te-skillrow input{position:absolute;opacity:0;width:1px;height:1px}
.te-skillbox{flex:0 0 auto;width:24px;height:24px;border:2px solid #C9BFF7;border-radius:8px;background:#fff;margin-top:2px;position:relative;transition:all .2s}
.te-skillrow.done .te-skillbox{background:linear-gradient(135deg,#7057E8,#EE4C9A);border-color:transparent}
.te-skillrow.done .te-skillbox::after{content:"✓";position:absolute;inset:0;color:#fff;font-weight:900;font-size:.95rem;display:flex;align-items:center;justify-content:center}
.te-skilltxt{display:flex;flex-direction:column;gap:2px}
.te-skilltxt span{color:#5A5C78;line-height:1.9}
.te-skillrow.done .te-skilltxt b{color:#1F9D66}
.te-skills-done{background:#F2FBF5;border:1px solid #CDEBD8;color:#1F5138;border-radius:12px;padding:9px 13px;font-weight:700}
.te-hero-install{margin-top:16px}
.te-install-hero-btn{background:#fff;color:#7A3FF2;border:0;border-radius:999px;padding:11px 22px;font-weight:900;font-family:inherit;font-size:.98rem;cursor:pointer;box-shadow:0 8px 20px rgba(32,33,59,.25);transition:transform .2s}
.te-install-hero-btn:hover{transform:translateY(-2px)}
.te-install-hero-hint{color:#fff;opacity:.92;font-size:.85rem;margin-top:9px;line-height:1.8;max-width:520px}

/* إخفاء فوتر الموقع — ملف الستايل لا يُحمّل إلا على صفحات التراك (v3.2.6) */
.as-site-footer{display:none!important}
