.exam-bank{--eb:#008b57;--eb-dark:#006b45;--eb-ink:#17231f;--eb-muted:#68756f;--eb-line:#dfe9e4;max-width:1080px;margin:0 auto 42px}
.exam-bank-hero{position:relative;display:flex;align-items:center;gap:20px;padding:30px 32px;margin-bottom:18px;overflow:hidden;color:#fff;background:linear-gradient(135deg,#063f30,#008b57);border-radius:26px}
.exam-bank-hero:after{content:"";position:absolute;inset:auto -70px -100px auto;width:260px;height:260px;border:45px solid rgba(255,255,255,.08);border-radius:50%}
.exam-bank-hero-icon{position:relative;z-index:1;display:grid;place-items:center;flex:0 0 74px;height:74px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.22);border-radius:22px;font-size:31px}
.exam-bank-hero>div:last-child{position:relative;z-index:1}.exam-bank-eyebrow{display:block;margin-bottom:5px;color:#bff4dc;font-size:13px;font-weight:800}.exam-bank-hero h1{margin:0 0 7px;font-size:clamp(25px,4vw,38px);font-weight:900}.exam-bank-hero p{margin:0;color:#e3f5ed;font-size:16px}
.exam-bank-wizard,.exam-results{padding:24px;background:#fff;border:1px solid var(--eb-line);border-radius:24px;box-shadow:0 12px 34px rgba(26,55,44,.06)}
.exam-bank-progress{height:5px;margin:-2px 0 23px;background:#edf2ef;border-radius:9px;overflow:hidden}.exam-bank-progress span{display:block;width:25%;height:100%;background:linear-gradient(90deg,var(--eb),#30b982);border-radius:inherit;transition:width .35s ease}
.exam-step{display:none}.exam-step.is-active{display:block;animation:examStepIn .3s ease}.exam-step.is-complete{display:block;margin-bottom:18px;padding-bottom:18px;border-bottom:1px solid #edf2ef}.exam-step.is-complete .exam-choice-grid{display:none}
@keyframes examStepIn{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}
.exam-step-title{display:flex;align-items:center;gap:12px;margin-bottom:18px}.exam-step-title>span{display:grid;place-items:center;flex:0 0 39px;height:39px;color:#fff;background:var(--eb);border-radius:13px;font-weight:900}.exam-step-title h2{margin:0;color:var(--eb-ink);font-size:19px;font-weight:900}.exam-step-title p{margin:3px 0 0;color:var(--eb-muted);font-size:13px}
.exam-choice-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.exam-stage-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.exam-choice{position:relative;min-height:80px;padding:15px 14px;color:var(--eb-ink);background:#f8fbf9;border:1px solid var(--eb-line);border-radius:17px;text-align:right;font:inherit;font-weight:800;cursor:pointer;transition:.2s ease}.exam-choice:hover,.exam-choice:focus-visible{border-color:#88cdb0;background:#f1faf6;transform:translateY(-2px);outline:none}.exam-choice.is-selected{color:var(--eb-dark);background:#e9f8f1;border-color:#5abd91;box-shadow:inset 0 0 0 1px #5abd91}.exam-choice i{display:block;margin-bottom:8px;color:var(--eb);font-size:22px}.exam-choice small{display:block;margin-top:3px;color:var(--eb-muted);font-size:11px;font-weight:600}
.exam-filter-row{display:flex;flex-wrap:wrap;gap:8px}.exam-filter-row button{padding:10px 15px;color:#405049;background:#f6f9f7;border:1px solid var(--eb-line);border-radius:12px;font:inherit;font-size:13px;font-weight:800;cursor:pointer}.exam-filter-row button.is-active{color:#fff;background:var(--eb);border-color:var(--eb)}.exam-filter-secondary{margin-top:10px}.exam-solution-toggle{display:flex;align-items:center;gap:8px;margin-inline-start:auto;padding:7px 12px;cursor:pointer;color:#425149;font-size:13px;font-weight:800}.exam-solution-toggle input{position:absolute;opacity:0}.exam-solution-toggle span{position:relative;width:38px;height:22px;background:#cad5cf;border-radius:20px;transition:.2s}.exam-solution-toggle span:after{content:"";position:absolute;top:3px;right:3px;width:16px;height:16px;background:#fff;border-radius:50%;transition:.2s}.exam-solution-toggle input:checked+span{background:var(--eb)}.exam-solution-toggle input:checked+span:after{transform:translateX(-16px)}
.exam-results{margin-top:18px}.exam-results-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:10px}.exam-results-kicker{color:var(--eb);font-size:12px;font-weight:800}.exam-results-head h2{margin:3px 0 0;color:var(--eb-ink);font-size:22px;font-weight:900}.exam-change-selection{padding:9px 13px;color:var(--eb-dark);background:#edf8f3;border:0;border-radius:11px;font:inherit;font-size:12px;font-weight:800;cursor:pointer}.exam-active-filters{display:flex;flex-wrap:wrap;gap:6px;margin:13px 0 18px}.exam-active-filters span{padding:5px 9px;color:#4c5e56;background:#f2f6f4;border-radius:8px;font-size:11px;font-weight:700}
.exam-results-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.exam-result-card{display:flex;flex-direction:column;min-width:0;padding:16px;color:inherit;background:#fff;border:1px solid var(--eb-line);border-radius:17px;text-decoration:none;transition:.2s}.exam-result-card:hover{color:inherit;border-color:#8bcdb2;box-shadow:0 10px 24px rgba(15,78,54,.08);transform:translateY(-2px)}.exam-result-badges{display:flex;gap:5px;margin-bottom:10px}.exam-result-badges span{padding:4px 7px;color:#557066;background:#f0f6f3;border-radius:7px;font-size:10px;font-weight:800}.exam-result-badges .solution{color:#08734b;background:#e5f8ef}.exam-result-card h3{margin:0 0 8px;color:#213029;font-size:15px;line-height:1.75;font-weight:800}.exam-result-card p{margin:0;color:#738079;font-size:12px;line-height:1.7}.exam-result-open{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:13px;color:var(--eb);font-size:11px;font-weight:900}
.exam-load-more{display:block;margin:18px auto 0;padding:11px 24px;color:#fff;background:var(--eb);border:0;border-radius:12px;font:inherit;font-weight:800;cursor:pointer}.exam-empty,.exam-bank-status{padding:35px 15px;text-align:center;color:var(--eb-muted)}.exam-empty i{color:#9fb1a8;font-size:35px}.exam-empty h3{margin:8px 0 4px;color:var(--eb-ink);font-size:18px}.exam-empty p{margin:0;font-size:13px}.exam-bank-status{background:#fff;border:1px solid var(--eb-line);border-radius:20px}.exam-bank-status.is-error{color:#9b2c2c;background:#fff5f5;border-color:#fed7d7}
.exam-results-grid.is-loading{opacity:.48;pointer-events:none}
html[data-theme=dark] .exam-bank{--eb-ink:#edf7f2;--eb-muted:#9fb0a8;--eb-line:#35443d}html[data-theme=dark] .exam-bank-wizard,html[data-theme=dark] .exam-results,html[data-theme=dark] .exam-bank-status{background:#242b28}html[data-theme=dark] .exam-choice,html[data-theme=dark] .exam-filter-row button,html[data-theme=dark] .exam-result-card{background:#202724}html[data-theme=dark] .exam-choice.is-selected{background:#183c2e}html[data-theme=dark] .exam-result-card h3{color:#edf7f2}html[data-theme=dark] .exam-active-filters span{color:#c5d2cc;background:#303a36}
@media(max-width:767.98px){.exam-bank-hero{align-items:flex-start;padding:23px 19px;border-radius:21px}.exam-bank-hero-icon{flex-basis:54px;height:54px;border-radius:16px;font-size:24px}.exam-bank-hero p{font-size:13px;line-height:1.7}.exam-bank-wizard,.exam-results{padding:17px;border-radius:20px}.exam-choice-grid,.exam-stage-grid,.exam-results-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.exam-choice{min-height:72px;padding:13px 11px;font-size:13px}.exam-filter-row button{flex:1 1 calc(50% - 8px)}.exam-solution-toggle{width:100%;margin:5px 0 0;padding-inline:2px}.exam-results-head{align-items:flex-start}.exam-change-selection{white-space:nowrap}.exam-results-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.exam-bank *{animation:none!important;transition:none!important}}

/* v2 — هوية أزرار الأقسام، خطوات قابلة للرجوع، ونتائج مبسطة. */
.exam-step.is-complete .exam-step-title{
  width:max-content;
  max-width:100%;
  margin-bottom:0;
  padding:7px 10px;
  border:1px solid transparent;
  border-radius:13px;
  cursor:pointer;
  transition:background-color .18s ease,border-color .18s ease;
}
.exam-step.is-complete .exam-step-title:hover,
.exam-step.is-complete .exam-step-title:focus-visible{
  background:#eef8f3;
  border-color:#cfe8dc;
  outline:none;
}
.exam-step.is-complete .exam-step-title:after{
  content:"تغيير";
  margin-inline-start:7px;
  color:var(--eb);
  font-size:11px;
  font-weight:900;
}
.exam-step.is-complete .exam-step-title>span{width:34px;height:34px;flex-basis:34px;border-radius:11px}
.exam-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.exam-stage-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.exam-choice{
  display:flex;
  align-items:center;
  gap:13px;
  min-height:78px;
  padding:8px 10px;
  overflow:hidden;
  color:#111827;
  background:linear-gradient(90deg,rgba(255,255,255,.92),rgba(240,244,242,.8));
  border-color:rgba(203,213,225,.78);
  border-radius:22px;
  box-shadow:none;
}
.exam-choice:hover,.exam-choice:focus-visible{background:linear-gradient(90deg,#fff,#edf3f0);border-color:#9fb9ad;transform:none}
.exam-choice:active{transform:scale(.992)}
.exam-choice.is-selected{color:#0b6f49;background:linear-gradient(90deg,#f8fffb,#e8f7f0);border-color:#62b990;box-shadow:inset 0 0 0 1px rgba(0,139,87,.15)}
.exam-choice-icon{
  display:grid;
  place-items:center;
  flex:0 0 60px;
  width:60px;
  height:60px;
  margin:0;
  color:#fff;
  background:linear-gradient(135deg,#11935f,#2f4858);
  border:1px solid rgba(15,23,42,.16);
  border-radius:17px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.24);
}
.exam-choice:nth-child(6n+2) .exam-choice-icon{background:linear-gradient(135deg,#0891b2,#334155)}
.exam-choice:nth-child(6n+3) .exam-choice-icon{background:linear-gradient(135deg,#7c3aed,#475569)}
.exam-choice:nth-child(6n+4) .exam-choice-icon{background:linear-gradient(135deg,#f59e0b,#475569)}
.exam-choice:nth-child(6n+5) .exam-choice-icon{background:linear-gradient(135deg,#2563eb,#475569)}
.exam-choice:nth-child(6n+6) .exam-choice-icon{background:linear-gradient(135deg,#db2777,#475569)}
.exam-choice-icon i{margin:0!important;color:inherit!important;font-size:1.65rem!important}
.exam-choice-icon img{max-width:38px;max-height:38px;object-fit:contain;filter:brightness(0) invert(1)}
.exam-choice-number{font-size:1.45rem;font-weight:900}
.exam-choice-label{flex:1;min-width:0;text-align:right;font-size:16px;font-weight:900;line-height:1.55}
.exam-choice-arrow{margin:0!important;color:#87958e!important;font-size:1.15rem!important}
.exam-filter-row button{display:inline-flex;align-items:center;justify-content:center;gap:7px}
.exam-filter-row button i{font-size:14px}
.exam-results{padding:22px}
.exam-results-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.exam-result-card{
  display:flex;
  flex-direction:row;
  align-items:center;
  gap:12px;
  min-height:76px;
  padding:8px 10px;
  background:linear-gradient(90deg,rgba(255,255,255,.94),rgba(240,244,242,.74));
  border-radius:19px;
  box-shadow:none;
}
.exam-result-card:hover{border-color:#94b7a7;box-shadow:none;transform:none;background:linear-gradient(90deg,#fff,#edf4f0)}
.exam-result-icon{position:relative;display:grid;place-items:center;flex:0 0 56px;width:56px;height:56px;color:#fff;background:linear-gradient(135deg,#11935f,#2f4858);border-radius:16px}
.exam-result-icon i{font-size:1.45rem}.exam-result-icon b{position:absolute;left:5px;bottom:4px;display:grid;place-items:center;width:18px;height:18px;color:#08734b;background:#fff;border-radius:50%;font:900 10px/1 Arial}
.exam-result-copy{display:block;flex:1;min-width:0}.exam-result-copy strong{display:block;color:#1f2d27;font-size:15px;line-height:1.65;font-weight:900}.exam-result-copy small{display:flex;align-items:center;gap:5px;margin-top:4px;color:#708078;font-size:11px;font-weight:700}.exam-result-copy small span{width:3px;height:3px;background:#9aacA3;border-radius:50%}.exam-result-arrow{color:#7d9187;font-size:1.1rem}
html[data-theme=dark] .exam-step.is-complete .exam-step-title:hover,html[data-theme=dark] .exam-step.is-complete .exam-step-title:focus-visible{background:#1b382d;border-color:#315b49}
html[data-theme=dark] .exam-choice,html[data-theme=dark] .exam-result-card{color:#f3f4f6;background:linear-gradient(135deg,rgba(30,41,59,.72),rgba(15,23,42,.62));border-color:#46534d}
html[data-theme=dark] .exam-choice-label,html[data-theme=dark] .exam-result-copy strong{color:#f8fafc}
html[data-theme=dark] .exam-choice:hover,html[data-theme=dark] .exam-result-card:hover{background:linear-gradient(135deg,#2d3733,#222b27);border-color:#60736a}
@media(max-width:767.98px){
  .exam-choice-grid,.exam-stage-grid{grid-template-columns:1fr}
  .exam-choice{min-height:70px;border-radius:19px}
  .exam-choice-icon{flex-basis:54px;width:54px;height:54px;border-radius:15px}
  .exam-choice-icon img{max-width:34px;max-height:34px}
  .exam-choice-label{font-size:14px}
  .exam-results-grid{grid-template-columns:1fr}
  .exam-result-card{min-height:70px;border-radius:17px}
}

/* v3 — خلفيات أيقونات رمادية موحدة وبسيطة. */
.exam-choice-icon,
.exam-choice:nth-child(6n+1) .exam-choice-icon,
.exam-choice:nth-child(6n+2) .exam-choice-icon,
.exam-choice:nth-child(6n+3) .exam-choice-icon,
.exam-choice:nth-child(6n+4) .exam-choice-icon,
.exam-choice:nth-child(6n+5) .exam-choice-icon,
.exam-choice:nth-child(6n+6) .exam-choice-icon,
.exam-result-icon{
  color:#fff!important;
  background:#69717c!important;
  border:0!important;
  box-shadow:none!important;
}
.exam-choice-icon{border-radius:15px}
.exam-result-icon{border-radius:14px}
.exam-choice-icon img{filter:brightness(0) invert(1)!important}
.exam-result-icon b{color:#59616b;background:#fff}
html[data-theme=dark] .exam-choice-icon,
html[data-theme=dark] .exam-result-icon{background:#59616b!important}

/* v5 — مرشحات منظمة ومتجاوبة مع دعم الشعب. */
.exam-filter-group{padding:14px 0;border-bottom:1px solid #edf2ef}
.exam-filter-group:first-of-type{padding-top:0}
.exam-filter-group:last-child{padding-bottom:0;border-bottom:0}
.exam-filter-label{display:flex;align-items:center;gap:7px;margin-bottom:10px;color:var(--eb-ink);font-size:13px;font-weight:900}
.exam-filter-label i{display:grid;place-items:center;width:27px;height:27px;color:#5f6872;background:#eef1f3;border-radius:8px;font-size:13px}
.exam-term-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
.exam-type-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.exam-branch-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.exam-filter-row button{min-height:44px;padding:9px 12px}
html[data-theme=dark] .exam-filter-group{border-color:#35443d}
html[data-theme=dark] .exam-filter-label i{color:#d4d9dd;background:#3a4147}
@media(max-width:767.98px){
  .exam-step[data-step=filters] .exam-step-title{margin-bottom:11px}
  .exam-step[data-step=filters] .exam-step-title h2{font-size:18px}
  .exam-filter-group{padding:12px 0}
  .exam-filter-label{margin-bottom:8px;font-size:12px}
  .exam-term-filters,.exam-branch-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .exam-type-filters{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
  .exam-filter-row button{min-width:0;min-height:46px;padding:8px 6px;font-size:12px;line-height:1.35}
  .exam-filter-row button i{font-size:13px}
  .exam-results-head{display:grid;grid-template-columns:1fr auto;gap:8px;margin-bottom:8px}
  .exam-results-head h2{font-size:19px;line-height:1.55}
  .exam-change-selection{align-self:start;padding:8px 10px}
  .exam-active-filters{gap:5px;margin:10px 0 14px}
  .exam-active-filters span{padding:4px 7px;font-size:10px}
}
@media(max-width:390px){
  .exam-type-filters{grid-template-columns:1fr}
  .exam-results-head{grid-template-columns:1fr}
  .exam-change-selection{justify-self:start}
}

/* v6 — عنوان نتيجة مختصر وعدد العناصر من الفهرس الثابت. */
.exam-result-copy small{flex-wrap:wrap}
.exam-result-count{display:inline-flex;align-items:center;gap:4px;margin-inline-start:auto;padding:3px 7px;color:#59656f;background:#edf0f2;border-radius:7px;font-style:normal;font-size:10px;font-weight:900;white-space:nowrap}
.exam-result-count i{font-size:11px}
html[data-theme=dark] .exam-result-count{color:#e2e8ec;background:#3b4349}
@media(max-width:767.98px){
  .exam-result-copy strong{font-size:14px;line-height:1.55}
  .exam-result-copy small{font-size:10px}
}

/* v8 — نتائج قابلة للتمييز بصريًا وشريط تصفية مناسب للهاتف. */
.exam-results-head{margin-bottom:12px}
.exam-results-toolbar{display:flex;align-items:center;gap:12px;margin-bottom:18px;padding:9px 10px;background:#f7faf8;border:1px solid #e8efeb;border-radius:14px}
.exam-results-toolbar .exam-active-filters{flex:1;margin:0}
.exam-change-selection{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:0 0 auto;min-height:36px}
.exam-result-card{position:relative;overflow:hidden;border-inline-start:4px solid transparent}
.exam-result-card.is-assignment{background:linear-gradient(90deg,#fff,#f4faf7);border-inline-start-color:#6eb99a}
.exam-result-card.is-exam{background:linear-gradient(90deg,#fff,#f5f7fb);border-inline-start-color:#8095b5}
.exam-result-card.is-assignment .exam-result-icon{color:#477965!important;background:#e2f1ea!important}
.exam-result-card.is-exam .exam-result-icon{color:#536987!important;background:#e6ebf3!important}
.exam-result-icon i{font-size:1.55rem}
.exam-result-card.is-assignment .exam-result-icon b{color:#477965;background:#fff}
.exam-result-card.is-exam .exam-result-icon b{color:#536987;background:#fff}
.exam-result-copy small{gap:7px;margin-top:5px}
.exam-result-kind,.exam-result-meta{display:inline-flex;align-items:center;gap:4px}
.exam-result-kind{padding:3px 7px;border-radius:7px;font-weight:900}
.is-assignment .exam-result-kind{color:#477965;background:#e8f4ee}
.is-exam .exam-result-kind{color:#536987;background:#ebeff5}
.exam-result-meta{color:#77847e}
.exam-result-side{display:flex;align-items:center;gap:12px;margin-inline-start:auto}
.exam-result-count{display:grid;grid-template-columns:auto auto;align-items:baseline;gap:3px;margin:0;padding:5px 8px;line-height:1}
.exam-result-count b{font-size:13px;font-weight:900}.exam-result-count small{margin:0;font-size:9px}
.exam-result-card:hover.is-assignment{border-color:#b9daca;border-inline-start-color:#4fa77f;background:linear-gradient(90deg,#fff,#edf8f2)}
.exam-result-card:hover.is-exam{border-color:#c5cede;border-inline-start-color:#6f86a8;background:linear-gradient(90deg,#fff,#eef2f8)}
html[data-theme=dark] .exam-results-toolbar{background:#202724;border-color:#35443d}
html[data-theme=dark] .exam-result-card.is-assignment,html[data-theme=dark] .exam-result-card.is-exam{background:#202724}
html[data-theme=dark] .exam-result-card.is-assignment .exam-result-icon{color:#b9ddcd!important;background:#355447!important}
html[data-theme=dark] .exam-result-card.is-exam .exam-result-icon{color:#c2cee0!important;background:#3d4a5e!important}
html[data-theme=dark] .is-assignment .exam-result-kind{color:#b9ddcd;background:#30483e}
html[data-theme=dark] .is-exam .exam-result-kind{color:#c2cee0;background:#374253}
@media(max-width:767.98px){
  .exam-results{padding:14px}
  .exam-results-head{display:block;margin-bottom:10px}
  .exam-results-head h2{font-size:19px;line-height:1.5}
  .exam-results-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-inline:-3px;margin-bottom:13px;padding:7px}
  .exam-results-toolbar .exam-active-filters{display:flex;flex-wrap:nowrap;min-width:0;overflow-x:auto;margin:0;padding:1px;scrollbar-width:none}
  .exam-results-toolbar .exam-active-filters::-webkit-scrollbar{display:none}
  .exam-results-toolbar .exam-active-filters span{flex:0 0 auto;white-space:nowrap}
  .exam-change-selection{width:38px;height:38px;min-height:38px;padding:0;font-size:0;border-radius:10px}
  .exam-change-selection i{font-size:16px}
  .exam-result-card{gap:9px;min-height:78px;padding:8px;border-radius:16px}
  .exam-result-icon{flex-basis:52px;width:52px;height:52px;border-radius:13px}
  .exam-result-copy strong{font-size:14px}
  .exam-result-copy small{gap:5px}
  .exam-result-meta{max-width:105px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .exam-result-side{align-self:stretch;flex-direction:column;justify-content:space-between;gap:2px}
  .exam-result-count{grid-template-columns:1fr;padding:5px 6px;text-align:center}
  .exam-result-count b{font-size:12px}.exam-result-count small{font-size:8px}
  .exam-result-arrow{font-size:.9rem}
}

/* v9 — عزل عناصر معلومات النتيجة عن قاعدة النقطة القديمة. */
.exam-result-copy small>.exam-result-kind,
.exam-result-copy small>.exam-result-meta{
  width:auto;
  height:auto;
  min-width:0;
  background:transparent;
  border-radius:0;
}
.exam-result-copy small>.exam-result-kind{background:#e8f4ee;border-radius:7px}
.exam-result-card.is-exam .exam-result-copy small>.exam-result-kind{background:#ebeff5}
.exam-result-copy small>.exam-result-meta{flex:0 1 auto}
.exam-result-copy small>.exam-result-kind i,
.exam-result-copy small>.exam-result-meta i{flex:0 0 auto}
.exam-result-copy{overflow:hidden}
.exam-result-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-theme=dark] .exam-result-copy small>.exam-result-kind{background:#30483e}
html[data-theme=dark] .exam-result-card.is-exam .exam-result-copy small>.exam-result-kind{background:#374253}
@media(max-width:767.98px){
  .exam-result-copy small{display:flex;align-items:center;overflow:hidden;white-space:nowrap}
  .exam-result-kind{flex:0 0 auto}
  .exam-result-meta{overflow:hidden;text-overflow:ellipsis}
}

/* v10 — معلومات أبسط دون شارة النوع داخل البطاقة. */
.exam-result-copy small:has(.exam-result-meta){margin-top:6px}
.exam-result-copy small>.exam-result-meta{padding:0;color:#718078;background:transparent}
.exam-result-copy small>.exam-result-meta i{color:#84928b}
.exam-result-copy strong{white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}
@media(max-width:767.98px){
  .exam-result-copy strong{-webkit-line-clamp:2}
  .exam-result-copy small>.exam-result-meta{max-width:100%}
}

/* v11 — بنك مباشر من ثلاث خطوات إلى صفحات المواد الأصلية. */
.exam-subject-link{text-decoration:none!important}
.exam-choice-content{display:block;flex:1;min-width:0}
.exam-choice-content .exam-choice-label{display:block}
.exam-choice-content small{display:block;margin-top:3px;color:#74827b;font-size:11px;font-weight:700}
.exam-subject-link:hover .exam-choice-content small{color:#587067}
html[data-theme=dark] .exam-choice-content small{color:#aab7b1}
@media(max-width:767.98px){
  .exam-subject-link{min-height:72px}
  .exam-choice-content small{font-size:10px}
}
