/* ===== بكالوريا تانية — تصميم داكن متوهج (نسخة متجاوبة) ===== */
:root{
  --bg:#070d1c; --bg2:#0b1430; --card:#0f1b36; --card2:#132244;
  --tx:#eaf1ff; --mut:#8fa3c8; --pri:#2f6bff; --pri2:#4f8bff;
  --gold:#ffc83d; --gold2:#ffe27a;
  --ok:#22c55e; --bad:#ef4444; --bd:#1e2f57; --bd2:#2a3f70;
  --fs:17px; --rad:18px;
  --glow:0 0 0 1px #ffffff0f, 0 18px 40px -18px #000000cc, 0 0 60px -30px #2f6bff88;
}
body.light{
  --bg:#eef2fb; --bg2:#e6ecfa; --card:#ffffff; --card2:#f5f8ff;
  --tx:#101a2e; --mut:#5a6a86; --bd:#dbe3f3; --bd2:#c8d4ea;
  --glow:0 8px 24px -14px #1e3a8a55;
}
*{box-sizing:border-box}
html{overflow-x:hidden}
html{font-size:var(--fs);-webkit-text-size-adjust:100%}
body{
  margin:0;min-height:100vh;overflow-x:clip;display:flex;flex-direction:column;
  font-family:"Segoe UI",Tahoma,"Noto Naskh Arabic","Noto Sans Arabic",Arial,sans-serif;
  color:var(--tx);line-height:1.9;
  background:
    radial-gradient(1100px 520px at 78% -8%, #1b3a8f66, transparent 70%),
    radial-gradient(900px 460px at 8% 4%, #3a1b8f44, transparent 70%),
    linear-gradient(180deg, var(--bg2), var(--bg) 42%, #050a16);
  background-attachment:fixed;
}
a{color:var(--pri2);text-decoration:none}
button{font:inherit;cursor:pointer;color:inherit}

/* ===== الهيدر ===== */
.top{
  position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:.45rem;flex-wrap:nowrap;
  padding:.55rem clamp(.6rem,2vw,1.6rem);
  background:linear-gradient(180deg,#0a1226ee,#0a1226aa);
  backdrop-filter:blur(14px);border-bottom:1px solid #ffffff12;
}
.brand{display:flex;align-items:center;gap:.5rem;font-weight:800;font-size:1.05rem;color:var(--tx);cursor:pointer;margin-inline-end:auto;white-space:nowrap;min-width:0}
.brand svg{width:1.5rem;height:1.5rem;color:var(--gold)}
.brand small{display:none;font-weight:500;color:var(--mut);font-size:.72rem}
.navbar{display:none;gap:.25rem;align-items:center}
.navbar a{padding:.32rem .6rem;border-radius:.7rem;color:var(--mut);font-size:.82rem;font-weight:600;white-space:nowrap}
.navbar a.on,.navbar a:hover{background:#1b2b52;color:var(--tx)}
.userchip{display:none;align-items:center;gap:.45rem;padding:.25rem .7rem;border:1px solid var(--bd);border-radius:2rem;background:#0e1932;font-size:.85rem}
.userchip .dot{width:.5rem;height:.5rem;border-radius:50%;background:var(--ok);box-shadow:0 0 8px var(--ok)}
.tools{display:flex;gap:.3rem;align-items:center}
.tools button{
  border:1px solid var(--bd);background:#0e1932;color:var(--tx);border-radius:.6rem;
  padding:.25rem .55rem;font-size:.85rem;display:inline-flex;align-items:center;gap:.3rem
}
.tools button:hover{border-color:var(--bd2);background:#14224a}

/* ===== التخطيط ===== */
main{width:100%;max-width:1240px;margin:0 auto;padding:clamp(.7rem,2vw,1.4rem);flex:1;padding-bottom:6rem}
.hero-wrap{display:grid;gap:clamp(.7rem,1.6vw,1.1rem);grid-template-columns:1fr}
.maincol{display:contents}
.side{display:grid;gap:clamp(.7rem,1.6vw,1.1rem);align-content:start}
.bottom{display:grid;gap:clamp(.7rem,1.6vw,1.1rem);grid-template-columns:1fr;margin-top:clamp(.7rem,1.6vw,1.1rem)}

/* ===== الهيرو ===== */
.hero{
  position:relative;overflow:hidden;border-radius:calc(var(--rad) + 6px);
  border:1px solid #ffffff14;box-shadow:var(--glow);
  background:
    radial-gradient(120% 120% at 85% 15%, #2b4fd4aa, transparent 62%),
    radial-gradient(90% 90% at 10% 90%, #7c2bd488, transparent 60%),
    linear-gradient(160deg,#12213f,#0a1428 70%);
  min-height:clamp(230px,32vw,330px);
  display:grid;align-content:end;padding:clamp(1rem,3vw,2rem);
  isolation:isolate;
}
.hero .art{position:absolute;inset:0;z-index:-1;opacity:.9}
.hero .art svg{width:100%;height:100%}
.hero h1{margin:0;font-size:clamp(1.6rem,5.2vw,2.6rem);line-height:1.25;letter-spacing:-.5px}
.hero h1 em{font-style:normal;color:var(--gold);text-shadow:0 0 28px #ffc83d66}
.hero p{margin:.35rem 0 0;color:#cfe0ff;font-size:clamp(.85rem,2.4vw,1.02rem)}
.hero .cta{
  margin-top:.9rem;display:inline-flex;align-items:center;gap:.5rem;justify-self:start;
  background:linear-gradient(180deg,var(--gold2),var(--gold));color:#241a00;font-weight:800;
  border:0;border-radius:1rem;padding:.62rem 1.25rem;font-size:.95rem;
  box-shadow:0 12px 26px -12px #ffc83daa, inset 0 -2px 0 #00000022;
}
.hero .cta:hover{filter:brightness(1.05)}
.hero .kicker{display:inline-flex;align-items:center;gap:.4rem;font-size:.75rem;color:#9fc0ff;background:#12224a;border:1px solid #24406f;border-radius:2rem;padding:.1rem .7rem;margin-bottom:.5rem;width:fit-content}

/* ===== الكروت ===== */
.card{
  background:linear-gradient(180deg,var(--card),#0c1730);
  border:1px solid var(--bd);border-radius:var(--rad);
  padding:clamp(.85rem,2.2vw,1.15rem) clamp(.9rem,2.4vw,1.25rem);
  box-shadow:var(--glow);
}
body.light .card{background:var(--card)}
.card h2,.card h3{margin:.1rem 0 .5rem;line-height:1.45}
.card h2{font-size:1.05rem}.card h3{font-size:.98rem}
.card p{margin:.35rem 0;color:#d7e2f7}
.card .muted,.muted{color:var(--mut)}

/* كارت الترحيب */
.welcome{display:grid;gap:.6rem;background:linear-gradient(165deg,#132a55,#0d1b38 60%,#0b1730);border-color:#274a86}
.welcome .row{display:flex;align-items:center;gap:.6rem}
.welcome .avatar{
  width:2.6rem;height:2.6rem;border-radius:50%;flex:0 0 auto;display:grid;place-items:center;
  background:linear-gradient(180deg,#2f6bff,#1b3f9e);color:#fff;font-weight:800;font-size:1.05rem;
  box-shadow:0 0 0 2px #ffc83d55, 0 0 24px -6px #ffc83d88;
}
.welcome .who b{display:block;font-size:1rem;line-height:1.3}
.welcome .who span{font-size:.78rem;color:var(--mut)}
.badge{
  display:inline-flex;align-items:center;gap:.35rem;font-size:.78rem;font-weight:700;
  color:#2a1d00;background:linear-gradient(180deg,var(--gold2),var(--gold));
  border-radius:2rem;padding:.1rem .7rem;box-shadow:0 8px 18px -12px #ffc83d
}
.kv{display:flex;justify-content:space-between;align-items:baseline;font-size:.85rem;color:var(--mut)}
.kv b{color:var(--tx);font-size:1.05rem}
.bar{height:.55rem;background:#0a1730;border-radius:1rem;overflow:hidden;border:1px solid #ffffff0d}
.bar i{display:block;height:100%;border-radius:1rem;background:linear-gradient(90deg,#2f6bff,#7c5bff);box-shadow:0 0 12px #2f6bff88}
.bar.gold i{background:linear-gradient(90deg,var(--gold),#ffb01f);box-shadow:0 0 12px #ffc83d88}

/* البحث */
.searchbar{display:flex;gap:.5rem;align-items:center}
.searchbar input{
  flex:1;min-width:0;padding:.62rem .9rem;border-radius:.9rem;border:1px solid var(--bd2);
  background:#0a1730;color:var(--tx)
}
.searchbar input::placeholder{color:#6f83a8}
.searchbar .go{
  border:0;border-radius:.9rem;padding:.62rem 1.1rem;font-weight:700;color:#fff;
  background:linear-gradient(180deg,var(--pri2),var(--pri));box-shadow:0 10px 22px -14px var(--pri)
}
#sres .lesson-row{border-bottom:1px solid var(--bd)}

/* منشئ الاختبار */
.quizcard .fields{display:grid;gap:.5rem;grid-template-columns:1fr 1fr}
.quizcard label{font-size:.78rem;color:var(--mut);display:block;margin-bottom:.15rem}
.quizcard select,.quizcard input{width:100%}
.quizcard .make{
  grid-column:1/-1;border:0;border-radius:.9rem;padding:.6rem;font-weight:800;color:#fff;
  background:linear-gradient(180deg,#8b5cf6,#6d28d9);box-shadow:0 12px 24px -14px #8b5cf6
}

/* المواد */
.subjects{display:grid;gap:clamp(.6rem,1.5vw,1rem);grid-template-columns:repeat(2,1fr);margin-top:clamp(.7rem,1.6vw,1.1rem)}
.subject{
  position:relative;overflow:hidden;border:0;border-radius:calc(var(--rad) + 4px);
  padding:clamp(.8rem,2.2vw,1.1rem);color:#fff;text-align:right;cursor:pointer;
  min-height:clamp(120px,22vw,168px);display:grid;align-content:end;gap:.25rem;
  box-shadow:0 20px 40px -26px #000, inset 0 0 0 1px #ffffff2b;
  transition:transform .16s, box-shadow .16s;
}
.subject:hover{transform:translateY(-4px);box-shadow:0 26px 50px -26px #000, inset 0 0 0 1px #ffffff44}
.subject .glow{position:absolute;inset:auto 0 40% 25%;height:70%;border-radius:50%;filter:blur(28px);opacity:.55}
.subject .ic{position:absolute;top:.7rem;left:.9rem;width:2.2rem;height:2.2rem;opacity:.95}
.subject .ic svg{width:100%;height:100%}
.subject h3{margin:0;font-size:clamp(1rem,2.8vw,1.22rem);text-shadow:0 2px 10px #00000055}
.subject small{font-size:.78rem;opacity:.92}
.subject .start{
  margin-top:.45rem;display:inline-flex;align-items:center;gap:.35rem;justify-content:center;
  background:#0b1428cc;border:1px solid #ffffff33;border-radius:.8rem;
  padding:.3rem .8rem;font-size:.8rem;font-weight:700;width:fit-content
}
.subject .bar{background:#00000044;border-color:#ffffff22}
.subject .bar i{background:#ffffffdd;box-shadow:none}

/* الإحصائيات */
.gauges{display:grid;gap:.6rem;grid-template-columns:repeat(2,1fr);text-align:center}
.gauge{display:grid;justify-items:center;gap:.2rem}
.gauge .ring{
  width:clamp(58px,14vw,74px);aspect-ratio:1;border-radius:50%;display:grid;place-items:center;
  font-weight:800;font-size:.9rem;
  background:conic-gradient(var(--ring,#2f6bff) calc(var(--v,0) * 1%), #0a1730 0);
  box-shadow:0 0 24px -10px var(--ring,#2f6bff);
}
.gauge .ring span{
  width:76%;aspect-ratio:1;border-radius:50%;background:#0b1730;display:grid;place-items:center;
  border:1px solid #ffffff10;font-size:.92rem
}
.gauge small{color:var(--mut);font-size:.74rem;line-height:1.4}
.chart{display:flex;align-items:flex-end;gap:.35rem;height:64px;margin-top:.6rem;padding:0 .2rem}
.chart i{flex:1;background:linear-gradient(180deg,#3f7dff,#1b3f9e);border-radius:.35rem .35rem 0 0;box-shadow:0 0 14px -6px #2f6bff;min-height:6%}

/* الإنجازات والمعلومات */
.list{display:grid;gap:.5rem;margin:0;padding:0;list-style:none}
.list li{display:flex;gap:.55rem;align-items:flex-start;font-size:.86rem;color:#d7e2f7}
.list li .b{flex:0 0 auto;width:1.6rem;height:1.6rem;border-radius:.55rem;display:grid;place-items:center;background:#12224a;border:1px solid #24406f}
.list li .b svg{width:1rem;height:1rem}
.list li time{display:block;color:var(--mut);font-size:.74rem}

/* ===== عناصر مشتركة ===== */
h1,h2,h3{line-height:1.5;margin:.3rem 0}
.grid{display:grid;gap:.8rem;grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}
.tile{border-radius:var(--rad);color:#fff;padding:1.1rem;cursor:pointer;border:0;text-align:right;min-height:130px;transition:transform .15s}
.tile:hover{transform:translateY(-3px)}
.tile .ic{font-size:2rem}.tile small{opacity:.9;display:block}
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:.6rem;text-align:center}
.stats b{display:block;font-size:1.5rem;color:var(--gold)}
.login{max-width:460px;margin:8vh auto;text-align:center}
input[type=text],textarea,select,input[type=search]{
  width:100%;font:inherit;padding:.55rem .8rem;border-radius:.7rem;
  border:1px solid var(--bd2);background:#0a1730;color:var(--tx)
}
body.light input[type=text],body.light textarea,body.light select,body.light input[type=search]{background:#fff}
.btn{background:linear-gradient(180deg,var(--pri2),var(--pri));color:#fff;border:0;border-radius:.8rem;padding:.55rem 1.1rem;margin:.2rem 0;font-weight:700;box-shadow:0 12px 24px -16px var(--pri)}
.btn.sec{background:#0e1932;color:var(--tx);border:1px solid var(--bd);box-shadow:none}
.lesson-row{display:flex;align-items:center;gap:.6rem;padding:.6rem .4rem;border-bottom:1px solid var(--bd);cursor:pointer;border-radius:.6rem}
.lesson-row:last-child{border:0}
.lesson-row:hover{background:#12224a}
.pill{font-size:.75rem;border-radius:1rem;padding:0 .6rem;background:#12224a;border:1px solid var(--bd2);color:var(--mut);white-space:nowrap}
.pill.ok{background:#16a34a22;color:var(--ok);border-color:var(--ok)}
.pill.green{background:#16a34a22;color:#4ade80;border-color:#16a34a55}
.pill.amber{background:#f59e0b22;color:#fbbf24;border-color:#f59e0b55}
.nav{display:flex;flex-wrap:wrap;gap:.4rem;margin:.5rem 0}
.nav a{background:#0e1932;border:1px solid var(--bd);border-radius:2rem;padding:0 .8rem;text-decoration:none;color:var(--tx);font-size:.85rem}
table{border-collapse:collapse;width:100%;font-size:.92rem;display:block;overflow-x:auto}
th,td{border:1px solid var(--bd);padding:.4rem .6rem;vertical-align:top}th{background:#0e1932}
.q{border:1px solid var(--bd);border-radius:.9rem;padding:.7rem 1rem;margin:.6rem 0;background:#0b1730}
.opt{display:block;width:100%;text-align:right;background:#0e1932;color:var(--tx);border:1px solid var(--bd);border-radius:.6rem;padding:.45rem .7rem;margin:.25rem 0}
.opt:hover{border-color:var(--bd2);background:#12224a}
.opt.right{background:#16a34a33;border-color:var(--ok)}
.opt.wrong{background:#dc262633;border-color:var(--bad)}
.why{margin-top:.4rem;color:var(--mut);font-size:.92rem}
details summary{cursor:pointer;color:var(--pri2)}
.note{background:#f59e0b1a;color:#fcd34d;border:1px solid #f59e0b44;border-radius:.8rem;padding:.5rem .8rem;font-size:.88rem}
.wip{text-align:center;padding:1.5rem;color:var(--mut)}
.card.src{border-color:#24406f;background:linear-gradient(180deg,#101f42,#0b1730)}
.card.src .small,.small{font-size:.85em;opacity:.85}
footer{
  text-align:center;color:var(--mut);padding:1.1rem;font-size:.8rem;
  border-top:1px solid #ffffff10;background:#070d1c99
}
footer .links{display:flex;gap:.8rem;justify-content:center;flex-wrap:wrap;margin-bottom:.35rem;font-size:.78rem}
.fab{position:fixed;inset:auto 14px 14px auto;max-width:calc(100vw - 28px);display:flex;flex-direction:column;gap:.5rem;z-index:40}
.fab button,.fab a{
  width:54px;height:54px;border-radius:50%;border:0;color:#fff;font-size:1.4rem;
  display:flex;align-items:center;justify-content:center;text-decoration:none;
  box-shadow:0 10px 26px -10px #000, 0 0 0 6px #ffffff0a
}
.fab a#wa{position:relative;background:linear-gradient(180deg,#3ddc73,#1faa52);box-shadow:0 0 0 6px #25d3662e,0 12px 26px -12px #25d366}
.fab #botbtn{background:linear-gradient(180deg,#4f8bff,#1d4ed8)}
.fab .lbl{
  position:absolute;inset-inline-start:64px;top:8px;background:#0e1932;border:1px solid var(--bd);
  border-radius:.8rem;padding:.2rem .6rem;font-size:.75rem;white-space:nowrap;color:var(--tx)
}
#botbox{
  position:fixed;inset:auto 1rem 1rem 1rem;max-width:420px;max-height:70vh;margin-inline:auto;display:none;
  flex-direction:column;z-index:50;background:var(--card);border:1px solid var(--bd);border-radius:1rem;
  box-shadow:0 24px 60px -20px #000
}
#botbox.open{display:flex}#botlog{overflow:auto;padding:.7rem;flex:1;min-height:160px}
.m{margin:.3rem 0;padding:.4rem .7rem;border-radius:.7rem;background:#0e1932}
.m.u{background:var(--pri);color:#fff}
.timer{position:sticky;top:52px;background:#0b1730;padding:.4rem;text-align:center;font-weight:700;border-bottom:1px solid var(--bd);z-index:5}
.sel{display:flex;flex-wrap:wrap;gap:.4rem}.sel label{border:1px solid var(--bd);padding:0 .7rem;border-radius:2rem;background:#0e1932;font-size:.85rem}

/* ===== استجابة ===== */
@media (min-width:560px){
  .brand small{display:block}
  .subjects{grid-template-columns:repeat(2,1fr)}
  .gauges{grid-template-columns:repeat(4,1fr)}
  .quizcard .fields{grid-template-columns:1fr 1fr}
}
@media (min-width:820px){ /* تابلت */
  .navbar{display:flex}
  .brand small{display:none}
  .subjects{grid-template-columns:repeat(2,1fr)}
  .bottom{grid-template-columns:1.15fr 1fr}
  .bottom .info{grid-column:1/-1}
}
@media (min-width:1080px){ /* لابتوب */
  .subjects{grid-template-columns:repeat(4,1fr)}
  .brand small{display:block}
  .userchip{display:flex}
  .hero-wrap{grid-template-columns:372px 1fr;align-items:start}
  .side{order:-1}
  .maincol{display:grid;gap:clamp(.7rem,1.6vw,1.1rem);align-content:start}
  .maincol .subjects{grid-template-columns:repeat(2,1fr);margin-top:0}
  .bottom{grid-template-columns:1.25fr 1fr 1fr}
  .bottom .info{grid-column:auto}
  .hero{min-height:330px}
}
@media (max-width:1199px){.fab .lbl{display:none}}
@media print{.top,.fab,footer,#botbox{display:none}}

/* محتوى إنجليزي داخل صفحة عربية */
main td, main th{unicode-bidi:plaintext}

/* ===== أدوات المذاكرة (مرحلة 2) ===== */
.toolrow{display:flex;flex-wrap:wrap;gap:.45rem}
.chip{display:inline-flex;align-items:center;gap:.35rem;background:#0f1d3d;border:1px solid var(--bd2);color:var(--mut);border-radius:1rem;padding:.42rem .8rem;font:inherit;font-size:.82rem;cursor:pointer;transition:.15s}
.chip:hover{background:#152a55;color:var(--tx)}
.chip.on{background:#2563eb22;border-color:#3b82f6aa;color:#93c5fd}
.chip.on.hard{background:#f59e0b22;border-color:#f59e0b88;color:#fbbf24}
.card.tool{margin:1rem 0}
.banner{display:flex;align-items:center;gap:.7rem;flex-wrap:wrap;border-color:#f59e0b66;background:linear-gradient(90deg,#f59e0b1a,#0f1d3d)}
.banner b{font-size:.92rem;color:#fbbf24}
.banner .btn.sec{margin-inline-start:auto}
body.focus .top,body.focus footer,body.focus .fab,body.focus #botfab,body.focus .side{display:none!important}
body.focus .wrap{max-width:900px}
@media(max-width:620px){.chip{font-size:.78rem;padding:.38rem .6rem}}
html{background:#070d1d}
footer{padding-bottom:5.5rem}
@media(min-width:1200px){footer{padding-bottom:2.5rem}}
@media(max-width:620px){.fab,#botfab{width:44px;height:44px;font-size:1.05rem}#botfab{bottom:66px}main,.wrap{padding-bottom:1rem}}

/* ===== مرحلة 3: تصحيح فوري + سجل أخطاء + تقرير ===== */
.why .ok{color:#4ade80;font-weight:700}
.why .bad{color:#f87171;font-weight:700}
.why .reason{font-size:.85rem;color:#c7d2fe;background:#12224a;border:1px solid var(--bd2);border-radius:.6rem;padding:.45rem .6rem;margin-top:.4rem;line-height:1.6}
.why .src{font-size:.78rem;color:var(--mut);margin-top:.35rem}
.why .src a{color:#93c5fd}
.opt.right{border-color:#16a34a!important;background:#16a34a22!important}
.opt.wrong{border-color:#dc2626!important;background:#dc262622!important}
.opt:disabled{opacity:.92;cursor:default}
.statline{display:flex;align-items:center;gap:.5rem;margin:.35rem 0;font-size:.82rem}
.statline span{min-width:5.5rem}
.statline .bar{flex:1;height:8px;background:#12224a;border-radius:1rem;overflow:hidden}
.statline .bar i{display:block;height:100%;background:linear-gradient(90deg,#3b82f6,#22d3ee)}
.statline b{min-width:2.6rem;text-align:left;color:#93c5fd}

/* ===== مختبر المذاكرة الذكي ===== */
.labgrid{display:grid;gap:.6rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}
.labcard{display:flex;flex-direction:column;gap:.25rem;background:linear-gradient(160deg,#12224a,#0d1830);border:1px solid var(--bd2);border-radius:.9rem;padding:.8rem;text-decoration:none;color:var(--tx);transition:.15s}
.labcard:hover{border-color:#3b82f6aa;transform:translateY(-2px)}
.labcard b{font-size:.95rem}
.labcard span{font-size:.78rem;color:var(--mut);line-height:1.6}
.hit{border:1px solid var(--bd2);border-radius:.8rem;padding:.6rem .7rem;margin:.5rem 0;background:#0e1932}
.hithead{display:flex;flex-wrap:wrap;gap:.35rem;align-items:center;margin-bottom:.35rem}
.hittxt{font-size:.86rem;line-height:1.85;margin:0;color:#dbe4ff}
.warn{background:#f59e0b1a;border:1px solid #f59e0b66;color:#fbbf24;border-radius:.7rem;padding:.55rem .7rem;font-size:.85rem}
@media(max-width:620px){.fab,#botfab{width:42px!important;height:42px!important;font-size:1rem!important;opacity:.92}}

/* ===== L2: الخرائط الذهنية ===== */
.mapwrap{direction:ltr;height:70vh;min-height:380px;overflow:hidden;border:1px solid var(--bd2);border-radius:1rem;background:radial-gradient(circle at 30% 20%,#0e1b38,#070d1d);touch-action:none;cursor:grab}
.mapwrap:active{cursor:grabbing}
.mnode:hover rect{filter:brightness(1.25)}
@media(max-width:620px){.mapwrap{height:62vh;min-height:320px}}

/* ===== L4 + خريطة القدرات ===== */
.idea{border-inline-start:3px solid #3b82f6;padding-inline-start:.6rem;margin:.6rem 0}
.idea b{font-size:.9rem}
.idea p{margin:.2rem 0 0;font-size:.84rem;color:var(--mut);line-height:1.8}
.deflist{display:grid;gap:.4rem}
.defrow{display:flex;gap:.5rem;flex-wrap:wrap;font-size:.85rem;border-bottom:1px solid var(--bd);padding-bottom:.35rem}
.defrow b{color:#93c5fd;min-width:6rem}
.defrow span{flex:1;color:#c7d2fe;line-height:1.7}
.feat{display:flex;flex-wrap:wrap;gap:.4rem;align-items:center;padding:.45rem 0;border-bottom:1px solid var(--bd)}
.feat:last-child{border:0}
.feat b{font-size:.85rem;flex:1;min-width:12rem}
@media print{.top,.fab,#botfab,footer,.toolrow{display:none!important}body{background:#fff;color:#000}.card{border:1px solid #ccc}}

/* ===== L5: الاستماع ===== */
.lpart{display:flex;align-items:center;gap:.6rem;padding:.5rem 0;border-bottom:1px solid var(--bd);font-size:.86rem}
.lpart:last-child{border:0}
.lpart b{flex:1;font-weight:600}
.lpart.on{background:#1d4ed81f;border-radius:.6rem;padding-inline:.5rem}
