/* هوية منجاز — الصفحة التعريفية وصفحة الخدمات */
:root { --b1: #155066; --b2: #1E7290; --g1: #2A9C86; --g2: #5BBE97; --ink: #10282F; --mut: #5E6B6E; --line: #E3ECEB; --bg: #F5F9F9; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: hidden; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overscroll-behavior-y: contain; }
body { font-family: Almarai, Tahoma, sans-serif; color: var(--ink); background: #EAF6FB; line-height: 1.75; overscroll-behavior-y: contain; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
/* الشريط العلوي: الشعار كبير وبجانبه القوائم، وعلى الطرف الآخر تسجيل الدخول وابدأ الآن */
header.top { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.top .wrap { display: flex; align-items: center; gap: 30px; height: 92px; position: relative; }
.logo img { height: 66px; width: auto; display: block; }
.lt { font-weight: 900; background: linear-gradient(90deg, var(--b1), var(--g1), var(--g2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo .lt { font-size: 40px; }
.menu { display: flex; gap: 28px; font-size: 17px; font-weight: 700; color: #33474C; }
.menu a:hover, .menu a.on { color: var(--g1); }
.login-m { display: none; }
.acts { margin-inline-start: auto; display: flex; align-items: center; gap: 20px; }
.acts .login { font-weight: 700; font-size: 16.5px; color: #33474C; } .acts .login:hover { color: var(--g1); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 800; font-size: 16px; border-radius: 14px; padding: 13px 26px; border: 0; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.btn.pri { background: linear-gradient(135deg, var(--b2), var(--g1) 70%, var(--g2)); color: #fff; box-shadow: 0 10px 24px rgba(30,114,144,.28); }
.btn.pri:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(30,114,144,.34); }
.btn.ghost { background: #fff; color: var(--b1); border: 1.5px solid #CFE2E0; }
.btn.soon { background: #EEF2F2; color: #6a7779; cursor: default; box-shadow: none; }
.burger { display: none; margin-inline-start: 6px; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 22px; cursor: pointer; color: var(--b1); }
/* خلفية الأيقونات التعليمية الخافتة */
.pattern { position: relative; overflow: hidden; background-color: var(--bg); }
.pattern::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-size: 380px 380px; background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='380' height='380' viewBox='0 0 380 380' fill='none' stroke='%237FA9A2' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' opacity='.3'%3E%3Cpath d='M30 70l40-14 40 14v42l-40-14-40 14z'/%3E%3Cpath d='M70 56v42'/%3E%3Cpath d='M215 40l40 18-40 18-40-18z'/%3E%3Cpath d='M190 66v22c14 10 36 10 50 0V66'/%3E%3Cpath d='M255 58v26'/%3E%3Ccircle cx='320' cy='150' r='26'/%3E%3Cpath d='M309 162l11-28 11 28M313 154h14M336 136v10M331 141h10'/%3E%3Cpath d='M120 178h40v12a20 20 0 0 1-40 0z'/%3E%3Cpath d='M120 182h-8a8 8 0 0 0 8 12M160 182h8a8 8 0 0 1-8 12M140 210v12M128 226h24'/%3E%3Cpath d='M60 250l6 12 13 2-9 9 2 13-12-6-12 6 2-13-9-9 13-2z' stroke='%23E7B95C'/%3E%3Cpath d='M250 250l60-60 12 12-60 60-16 4z'/%3E%3Cpath d='M300 202l12 12'/%3E%3Crect x='170' y='300' width='44' height='54' rx='4'/%3E%3Cpath d='M180 316h24M180 328h24M180 340h14'/%3E%3Ccircle cx='40' cy='170' r='3' fill='%237FA9A2'/%3E%3Ccircle cx='350' cy='300' r='3' fill='%237FA9A2'/%3E%3Ccircle cx='110' cy='330' r='2.5' fill='%237FA9A2'/%3E%3Cpath d='M330 40l4 8 9 1-6 6 1 9-8-4-8 4 2-9-7-6 9-1z' stroke='%23E7B95C'/%3E%3C/svg%3E"); }
.pattern > .wrap { position: relative; }
/* الواجهة */
.hero { padding: 40px 0 56px; }
.stage { display: grid; grid-template-columns: 1fr minmax(0, 620px) 1fr; align-items: end; gap: 10px; }
.art { display: flex; justify-content: center; } .art img { max-width: 100%; height: auto; display: block; }
.art.l img { width: 300px; } .art.r img { width: 118px; }
.big-logo { text-align: center; }
.big-logo img { width: 100%; max-width: 600px; height: auto; display: inline-block; }
.big-logo .lt { font-size: 150px; line-height: 1.1; }
.hero h1 { text-align: center; font-size: clamp(26px, 4.3vw, 52px); font-weight: 900; line-height: 1.35; margin-top: 26px; color: var(--ink); }
.hero .sub { text-align: center; color: var(--mut); font-size: 17px; max-width: 640px; margin: 12px auto 0; }
.hero .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 50px; }
.feat { text-align: center; }
.feat .h { display: flex; align-items: center; justify-content: center; gap: 14px; }
.feat svg { color: var(--g1); flex-shrink: 0; }
.feat b { font-size: clamp(22px, 2.6vw, 30px); font-weight: 900; }
.feat p { color: var(--mut); font-size: 15.5px; margin-top: 6px; }
/* الأقسام */
section.sec { padding: 64px 0; } section.sec.alt { background: var(--bg); }
.sec h2 { text-align: center; font-size: clamp(24px, 3.4vw, 36px); font-weight: 900; color: var(--b1); }
.sec .lead { text-align: center; color: var(--mut); max-width: 640px; margin: 8px auto 30px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px 18px 20px; position: relative; text-align: center; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: -16px; right: 50%; transform: translateX(50%); width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--b2), var(--g1)); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.step b { display: block; font-size: 18px; margin-bottom: 4px; } .step p { color: var(--mut); font-size: 14.5px; }
.lib { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: linear-gradient(135deg, #E6F4F0, #F4FBF8); border: 1.5px solid #CFE6DF; border-radius: 26px; padding: 30px; }
.lib h3 { font-size: clamp(21px, 2.6vw, 28px); font-weight: 900; color: var(--b1); } .lib p { color: var(--mut); max-width: 560px; }
.pill { display: inline-block; background: #D8F0E6; color: #1F6B57; font-weight: 800; font-size: 13px; padding: 3px 12px; border-radius: 20px; margin-bottom: 6px; }
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center; }
.about p { color: var(--mut); font-size: 16px; margin-bottom: 10px; }
.about ul { list-style: none; display: grid; gap: 10px; }
.about li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; font-weight: 700; }
.about li::before { content: '✓ '; color: var(--g1); font-weight: 900; }
.final { background: linear-gradient(135deg, var(--b1), var(--b2) 55%, var(--g1)); color: #fff; border-radius: 28px; padding: 46px 24px; text-align: center; margin: 10px 0 30px; }
.final h2 { color: #fff; font-size: clamp(24px, 3.4vw, 36px); font-weight: 900; } .final p { opacity: .9; margin: 8px 0 22px; }
.final .btn.pri { background: #fff; color: var(--b1); }
footer { padding: 26px 0 46px; text-align: center; color: var(--mut); font-size: 14px; }
footer nav { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-bottom: 8px; font-weight: 700; }
/* صفحة الخدمات */
.svc-hero { padding: 54px 0 40px; text-align: center; }
.svc-hero h1 { font-size: clamp(28px, 4.4vw, 46px); font-weight: 900; } .svc-hero h1 span { color: var(--g1); }
.svc-hero p { color: var(--mut); max-width: 620px; margin: 10px auto 0; font-size: 17px; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 10px 0 40px; }
.svc { background: #fff; border: 1.5px solid var(--line); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 8px; position: relative; transition: transform .2s, box-shadow .2s; }
.svc:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(21,80,102,.10); }
.svc.live { border-color: #BFE0D6; }
.svc .ic { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 28px; background: linear-gradient(135deg, #E2F4EC, #EAF3F7); }
.svc h3 { font-size: 19px; font-weight: 900; color: var(--b1); } .svc p { color: var(--mut); font-size: 14.5px; flex: 1; }
.svc .tag { position: absolute; top: 18px; left: 18px; font-size: 12px; font-weight: 800; padding: 3px 11px; border-radius: 20px; }
.tag.on { background: #D8F0E6; color: #1F6B57; } .tag.off { background: #EEF2F2; color: #6a7779; }
.svc .btn { margin-top: 6px; }
/* الجوال */
@media (max-width: 920px) {
  .menu { display: none; } .burger { display: block; }
  .acts .login { display: none; } .acts { margin-inline-start: auto; }
  .top .wrap { height: 76px; gap: 12px; } .logo img { height: 50px; }
  .menu.open { display: flex; flex-direction: column; position: absolute; top: 76px; right: 0; left: 0; background: #fff; padding: 14px 20px 18px; border-bottom: 1px solid var(--line); gap: 14px; box-shadow: 0 12px 24px rgba(0,0,0,.06); }
  .menu.open .login-m { display: block; }
  .stage { grid-template-columns: 1fr; } .art { display: none; }
  .feats, .steps, .about, .svc-grid { grid-template-columns: 1fr; } .feats { gap: 26px; }
}
@media (max-width: 520px) { .acts .btn.pri { padding: 10px 16px; font-size: 14.5px; } .big-logo .lt { font-size: 96px; } }
/* البوابتان */
.portals { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding: 10px 0 50px; }
.portal { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 34px 24px; border-radius: 26px; border: 1.5px solid var(--line); background: #fff; transition: transform .2s, box-shadow .2s; }
.portal:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(21,80,102,.12); }
.portal .pi { width: 92px; height: 92px; border-radius: 26px; display: flex; align-items: center; justify-content: center; font-size: 50px; }
.portal.t .pi { background: linear-gradient(135deg, #DDEFF4, #E6F4F0); } .portal.s .pi { background: linear-gradient(135deg, #E6F4F0, #FFF4DB); }
.portal h2 { font-size: 26px; font-weight: 900; color: var(--b1); } .portal p { color: var(--mut); max-width: 360px; }
.btn.pri.alt { background: linear-gradient(135deg, #2A9C86, #5BBE97); }
.svc-grid.two { grid-template-columns: repeat(2, 1fr); }
.svc-hero .pill { margin-bottom: 8px; }
@media (max-width: 920px) { .portals, .svc-grid.two { grid-template-columns: 1fr; } }
/* أدوات بوابة الطالب */
.tool { padding: 26px 20px 30px; max-width: 900px; }
.tool-head { margin-bottom: 16px; } .tool-head .back { color: var(--g1); font-weight: 800; font-size: 14px; } .tool-head h1 { font-size: clamp(22px, 3.4vw, 32px); font-weight: 900; color: var(--b1); margin-top: 4px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 26px; box-shadow: 0 12px 30px rgba(21,80,102,.06); }
.intro { text-align: center; } .big-ic { font-size: 56px; } .intro h2 { font-size: 24px; margin: 4px 0 6px; } .intro p { color: var(--mut); max-width: 520px; margin: 0 auto 18px; }
.lbl { display: block; font-weight: 800; font-size: 14px; margin: 6px 0 8px; }
.chips-s { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 18px; }
.chips-s button { font: inherit; font-weight: 700; font-size: 14px; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 9px 14px; cursor: pointer; }
.chips-s button.on { border-color: var(--g1); background: #E6F4F0; color: var(--b1); }
.btn.wide { width: min(360px, 100%); } .btn:disabled { opacity: .45; cursor: default; transform: none; }
.prog { height: 8px; background: #EEF3F2; border-radius: 6px; overflow: hidden; } .prog span { display: block; height: 100%; background: linear-gradient(90deg, var(--b2), var(--g2)); transition: width .3s; }
.qn { display: block; color: var(--mut); font-weight: 700; margin: 12px 0 4px; }
.qt { font-size: clamp(20px, 3vw, 26px); font-weight: 800; line-height: 1.6; margin-bottom: 18px; min-height: 84px; }
.lik { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lik button { font: inherit; font-weight: 800; font-size: 15px; border: 1.5px solid var(--line); background: #fff; border-radius: 16px; padding: 16px 8px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; transition: .15s; }
.lik button span { font-size: 28px; } .lik button:hover, .lik button.on { border-color: var(--g1); background: #E6F4F0; color: var(--b1); }
.qnav { display: flex; justify-content: flex-start; margin-top: 16px; }
.res-h { text-align: center; } .res-h small { color: var(--mut); font-weight: 700; }
.code { display: flex; justify-content: center; gap: 10px; margin: 6px 0 8px; } .code span { width: 74px; height: 74px; border-radius: 20px; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 26px; } .code b { font-size: 16px; }
.res-h h2 { font-size: 21px; color: var(--b1); }
.bars { display: grid; gap: 8px; margin: 18px 0; } .bar { display: grid; grid-template-columns: 190px 1fr 46px; align-items: center; gap: 10px; font-size: 14px; }
.bt { height: 12px; background: #EEF3F2; border-radius: 8px; overflow: hidden; } .bt i { display: block; height: 100%; border-radius: 8px; } .bar b { text-align: left; }
.pathbox { background: linear-gradient(135deg, #E6F4F0, #FFF7E3); border: 1.5px solid #CFE6DF; border-radius: 18px; padding: 14px 16px; margin-bottom: 14px; display: flex; flex-direction: column; gap: 2px; }
.pathbox span { font-size: 20px; font-weight: 900; color: var(--b1); } .pathbox small { color: var(--mut); }
.tbox { border: 1.5px solid var(--line); border-right: 6px solid var(--c); border-radius: 18px; padding: 16px; margin-bottom: 12px; }
.tbox h3 { font-size: 18px; color: var(--c); } .tbox p { color: var(--mut); margin: 4px 0 10px; }
.tcols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; } .tcols b { font-size: 13.5px; } .tcols ul { padding-inline-start: 18px; font-size: 14px; }
.res-acts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 16px; }
.disc { color: var(--mut); font-size: 12.5px; text-align: center; margin-top: 16px; line-height: 1.8; }
@media (max-width: 680px) { .bar { grid-template-columns: 120px 1fr 40px; font-size: 12.5px; } .tcols { grid-template-columns: 1fr; } .lik button { padding: 12px 4px; font-size: 13.5px; } .card { padding: 18px; } }
@media print { header.top, footer, .res-acts, .tool-head .back { display: none !important; } .card { box-shadow: none; border: 0; } body { -webkit-print-color-adjust: exact; print-color-adjust: exact; } }
/* محاكي الاختبارات */
.wide-tool { max-width: 980px; }
.tests { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tcard { font: inherit; text-align: center; background: #fff; border: 1.5px solid var(--line); border-radius: 24px; padding: 26px 18px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 6px; transition: .2s; }
.tcard:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(21,80,102,.12); border-color: #BFE0D6; }
.tcard .ti { font-size: 48px; } .tcard b { font-size: 22px; color: var(--b1); } .tcard small { color: var(--mut); } .tcard em { font-style: normal; font-weight: 800; color: var(--g1); font-size: 14px; } .tcard .btn { margin-top: 8px; }
.hist { margin-top: 16px; } .hist h3 { font-size: 17px; margin-bottom: 8px; color: var(--b1); }
.hr { display: grid; grid-template-columns: 1fr auto 60px; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--line); } .hr small { color: var(--mut); } .hr b { text-align: left; }
.hi { color: #1d8168; } .mid { color: #a16517; } .lo { color: #C0392B; }
.itab { width: 100%; border-collapse: collapse; margin: 10px 0 14px; font-size: 15px; } .itab th, .itab td { border: 1px solid var(--line); padding: 8px; } .itab th { background: #F1F7F6; }
.rules { text-align: start; color: var(--mut); padding-inline-start: 20px; margin-bottom: 18px; font-size: 14.5px; } .rules li { margin: 4px 0; }
.exam { background: #fff; border: 1px solid #D5E3E1; border-radius: 20px; overflow: hidden; box-shadow: 0 14px 34px rgba(21,80,102,.08); }
.xbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: linear-gradient(135deg, var(--b1), var(--b2)); color: #fff; padding: 12px 18px; }
.xbar div:first-child { display: flex; flex-direction: column; } .xbar b { font-size: 17px; } .xbar span { font-size: 13px; opacity: .85; }
.clock { background: rgba(255,255,255,.14); border-radius: 12px; padding: 4px 14px; text-align: center; } .clock span { font-size: 11px; opacity: .8; display: block; } .clock b { font-size: 22px; font-variant-numeric: tabular-nums; letter-spacing: 1px; }
.clock.low { background: #C0392B; animation: blink 1s steps(2) infinite; } @keyframes blink { 50% { opacity: .75; } }
.xq { padding: 20px 22px; } .xqh { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: var(--mut); font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.xqh em { font-style: normal; background: #EEF6F3; color: var(--g1); padding: 1px 10px; border-radius: 10px; font-size: 12.5px; } .flag { font-style: normal; color: #a16517; }
.xqt { font-size: clamp(18px, 2.6vw, 22px); font-weight: 700; line-height: 1.9; margin-bottom: 16px; background: #F7FAF9; border-radius: 14px; padding: 14px 16px; }
.xopts { display: grid; gap: 10px; } .xo { font: inherit; font-size: 17px; text-align: start; display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--line); background: #fff; border-radius: 14px; padding: 13px 14px; cursor: pointer; transition: .12s; }
.xo span { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #C9D9D6; display: flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0; }
.xo:hover { border-color: #9FCFC2; } .xo.on { border-color: var(--g1); background: #E6F4F0; } .xo.on span { background: var(--g1); border-color: var(--g1); color: #fff; }
.xnav { display: flex; gap: 8px; flex-wrap: wrap; padding: 14px 22px 18px; border-top: 1px solid var(--line); background: #FAFCFB; } .xnav .btn { padding: 11px 16px; font-size: 14.5px; } .xnav .btn.pri { margin-inline-start: auto; }
.xnav .mk.on { border-color: #E5B567; background: #FFF6E6; color: #A0661A; }
.rvh { font-size: 19px; color: var(--b1); margin: 4px 0 10px; } .rvstats { display: flex; gap: 14px; flex-wrap: wrap; font-weight: 800; font-size: 14px; margin-bottom: 12px; } .rvstats .ok { color: #1d8168; } .rvstats .no { color: #6a7779; } .rvstats .mk { color: #a16517; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(54px, 1fr)); gap: 8px; } .grid button { position: relative; font: inherit; font-weight: 800; font-size: 16px; height: 50px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; }
.grid button.ok { background: #E6F4F0; border-color: #9FCFC2; color: #1F6B57; } .grid button.mk { border-color: #E5B567; box-shadow: inset 0 0 0 2px #F6DDAD; } .grid button i { position: absolute; top: -8px; left: -6px; font-style: normal; font-size: 13px; }
.rvtip { color: var(--mut); font-size: 14px; margin-top: 12px; } .rvtip b { color: #C0392B; }
.ring { --p: 0; width: 150px; height: 150px; border-radius: 50%; margin: 10px auto; display: flex; flex-direction: column; align-items: center; justify-content: center; background: radial-gradient(closest-side, #fff 78%, transparent 79%), conic-gradient(currentColor calc(var(--p) * 1%), #EEF3F2 0); }
.ring b { font-size: 44px; font-weight: 900; line-height: 1; } .ring span { font-size: 13px; color: var(--mut); }
.ansx { border: 1px solid var(--line); border-radius: 16px; margin-bottom: 10px; overflow: hidden; } .ansx summary { cursor: pointer; padding: 12px 16px; font-weight: 800; background: #F7FAF9; }
.ai { padding: 12px 16px; border-top: 1px solid var(--line); } .ai.no { background: #FFF9F8; } .aq { font-weight: 700; margin-bottom: 4px; } .aa { font-size: 14px; } .ai.ok .aa { color: #1d8168; } .ai.no .aa { color: #A93226; } .aa b { color: #1F6B57; }
.ae { font-size: 13.5px; color: var(--mut); margin-top: 4px; background: #F3F8F7; border-radius: 10px; padding: 6px 10px; }
@media (max-width: 680px) { .tests { grid-template-columns: 1fr; } .xbar { padding: 10px 12px; } .xq { padding: 14px; } .xnav { padding: 12px 14px; } .xnav .btn { flex: 1 1 45%; } .xnav .btn.pri { flex-basis: 100%; } .xo { font-size: 15.5px; } }
/* بطاقة الباقة */
.paywall { text-align: center; background: linear-gradient(160deg, #EAF6F2, #FFFFFF); border: 1.5px solid #BFE0D6; border-radius: 22px; padding: 22px 18px; }
.pw-ic { font-size: 40px; } .paywall > b { display: block; font-size: 18px; color: var(--b1); margin: 4px 0 8px; }
.paywall ul { list-style: none; display: inline-flex; flex-direction: column; gap: 4px; text-align: start; margin: 0 auto 10px; font-size: 14.5px; } .paywall li::before { content: '✓ '; color: var(--g1); font-weight: 900; }
.pw-price { font-weight: 800; color: var(--mut); margin-bottom: 12px; } .pw-price span { font-size: 34px; font-weight: 900; color: var(--b1); } .pw-price small { font-weight: 600; }
.pw-acts { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; } .pw-acts small { flex-basis: 100%; color: var(--mut); }
.pw-mask { position: fixed; inset: 0; background: rgba(8,24,30,.55); z-index: 80; display: none; align-items: center; justify-content: center; padding: 16px; } .pw-mask.show { display: flex; }
.pw-box { position: relative; width: min(440px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 24px; padding: 8px; } .pw-x { position: absolute; top: 10px; left: 10px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #F1F5F4; cursor: pointer; font-size: 15px; z-index: 2; }
.locked { position: relative; } .locked > .blur { filter: blur(6px); pointer-events: none; user-select: none; opacity: .7; }
.locked > .paywall { position: relative; margin-top: -40px; box-shadow: 0 18px 40px rgba(21,80,102,.15); }
.trial-note { color: var(--mut); font-size: 14px; margin: 10px 0 8px; } .trial-end { margin: 16px 0; } .muted { color: var(--mut); }
/* صانع الاختبارات والملخصات */
.mk2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 18px; align-items: start; }
.mk2-form .card { margin-bottom: 14px; padding: 18px; } .mk2-form h3 { font-size: 17px; color: var(--b1); margin-bottom: 10px; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .f2 label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 800; color: #33474C; }
.f2 input, .f2 select, .qe textarea, .qe input, .sm textarea, .sm input { font: inherit; font-weight: 500; font-size: 14.5px; border: 1.5px solid #D5E3E1; border-radius: 10px; padding: 8px 10px; background: #fff; color: var(--ink); width: 100%; }
.addq { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; } .addq button { font: inherit; font-weight: 800; font-size: 13px; border: 1.5px dashed #9FCFC2; background: #F1F8F6; color: var(--b1); border-radius: 10px; padding: 7px 10px; cursor: pointer; }
.qe { border: 1px solid var(--line); border-radius: 14px; padding: 10px; margin-bottom: 10px; background: #FBFDFC; display: flex; flex-direction: column; gap: 6px; }
.qe-h { display: flex; align-items: center; gap: 6px; } .qe-h b { flex: 1; font-size: 14px; color: var(--b1); } .qe-h button { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line); background: #fff; cursor: pointer; } .qe-h .del { color: #C0392B; }
.qe-h .mk { display: flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; } .qe-h .mk input { width: 58px; padding: 4px 6px; }
.opts2 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; } .opts2 label { display: flex; align-items: center; gap: 4px; } .opts2 input[type=radio] { width: auto; } .opts2 label.ok input:not([type=radio]) { border-color: var(--g1); background: #EAF6F2; }
.tf2 { display: flex; gap: 16px; font-weight: 700; } .tf2 input { width: auto; } .hint2 { color: var(--mut); font-size: 12px; } .ln { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; } .ln input { width: 70px; }
.mk2-prev { position: sticky; top: 104px; } .prev-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; } .prev-bar #tot { margin-inline-start: auto; color: var(--mut); font-weight: 700; font-size: 13.5px; } .prev-bar .btn { padding: 9px 14px; font-size: 14px; }
.sw { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 13.5px; }
.paper { background: #fff; border: 1px solid #D5E3E1; box-shadow: 0 12px 30px rgba(0,0,0,.08); padding: 28px 30px; aspect-ratio: 210 / 297; overflow: auto; font-family: Almarai, Tahoma, sans-serif; font-size: 14.5px; line-height: 1.9; color: #111; }
.ph { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 8px; align-items: center; border-bottom: 2.5px double #155066; padding-bottom: 10px; font-size: 12.5px; font-weight: 700; }
.ph-c { text-align: center; display: flex; flex-direction: column; } .ph-c b { font-size: 18px; color: #155066; } .ph-c small { color: #555; } .ph-c em { font-style: normal; color: #C0392B; font-weight: 900; } .ph-l { text-align: left; }
.stu { width: 100%; border-collapse: collapse; margin: 10px 0 14px; font-size: 13px; } .stu td { border: 1px solid #9DB5B0; padding: 6px 8px; } .stu .sc { white-space: nowrap; width: 1%; }
.pq { margin-bottom: 14px; } .pq h4 { font-size: 14.5px; background: #EEF5F3; border-right: 4px solid #1E7290; padding: 4px 10px; margin-bottom: 6px; } .pq h4 span { color: #155066; } .pq h4 i { font-style: normal; color: #555; font-weight: 600; font-size: 12.5px; }
.pi { padding: 3px 4px; } .qn2 { color: #155066; margin-inline-end: 2px; } .po { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px 10px; padding-inline-start: 22px; } .ka { color: #C0392B; font-weight: 800; }
.pi.tf .br { font-weight: 800; letter-spacing: 1px; } .lines i { display: block; border-bottom: 1px dotted #888; height: 26px; } .ess { border: 1px dashed #C0392B; border-radius: 8px; padding: 4px 8px; margin-top: 4px; }
.pf { display: flex; justify-content: space-between; border-top: 1px solid #ccc; margin-top: 16px; padding-top: 8px; font-weight: 700; font-size: 13px; }
@media (max-width: 920px) { .mk2 { grid-template-columns: 1fr; } .mk2-prev { position: static; } .f2 { grid-template-columns: 1fr; } .paper { aspect-ratio: auto; padding: 18px; } .po { grid-template-columns: 1fr 1fr; } }
@media print { .no-print, header.top, footer, .tool-head, .disc { display: none !important; } .mk2 { display: block; } .mk2-prev { position: static; } .paper { box-shadow: none; border: 0; aspect-ratio: auto; padding: 0; overflow: visible; } body { background: #fff; } @page { size: A4; margin: 14mm; } }
.sm label.blk { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 800; color: #33474C; margin-bottom: 10px; } .sm label.blk small { font-weight: 500; color: var(--mut); }
.smp { --c: #1E7290; padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.sh { background: var(--c); color: #fff; padding: 20px 24px 18px; text-align: center; } .sh small { opacity: .85; font-weight: 700; } .sh h2 { font-size: 28px; font-weight: 900; line-height: 1.4; }
.sgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px 18px; flex: 1; align-content: start; }
.sbx { border: 2px solid color-mix(in srgb, var(--c) 30%, #fff); border-radius: 14px; padding: 10px 12px; background: color-mix(in srgb, var(--c) 5%, #fff); } .sbx h4 { color: var(--c); font-size: 15.5px; margin-bottom: 4px; } .sbx ul { padding-inline-start: 18px; } .sbx li { margin: 2px 0; }
.term { display: flex; flex-direction: column; border-bottom: 1px dashed #ccd; padding: 3px 0; } .term b { color: var(--c); }
.snote { margin: 0 18px 12px; background: #FFF7E3; border: 1.5px dashed #E5B567; border-radius: 12px; padding: 10px 12px; } .smark { text-align: center; font-size: 11px; color: #889; padding: 0 0 10px; }
.wc .wres { text-align: center; margin: 14px 0 6px; } .wc .disc { margin-top: 8px; }
@media (max-width: 680px) { .sgrid { grid-template-columns: 1fr; } }
/* الشركاء */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; padding: 10px 0 30px; }
.pcard { background: #fff; border: 1.5px solid var(--line); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; transition: .2s; }
.pcard:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(21,80,102,.1); }
.plogo { width: 110px; height: 80px; display: flex; align-items: center; justify-content: center; } .plogo img { max-width: 100%; max-height: 100%; object-fit: contain; } .plogo span { font-size: 40px; }
.pcard b { font-size: 16.5px; color: var(--b1); } .pcard small { color: var(--mut); } .pcard em { font-style: normal; font-size: 13px; font-weight: 800; color: #1F6B57; background: #E2F4EC; padding: 3px 10px; border-radius: 10px; margin-top: 4px; }
.become { text-align: center; background: var(--bg); border: 1px solid var(--line); border-radius: 26px; padding: 30px 20px; margin-bottom: 30px; }
.become h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 900; color: var(--b1); margin-bottom: 14px; }
.bgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; text-align: start; } .bgrid div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; } .bgrid b { font-size: 16px; } .bgrid p { color: var(--mut); font-size: 14px; margin-top: 4px; }
.partners-strip { padding: 34px 0; } .partners-strip h2 { text-align: center; font-size: 24px; font-weight: 900; color: var(--b1); margin-bottom: 16px; }
.plogos { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; align-items: center; } .plogos a { display: flex; align-items: center; justify-content: center; width: 130px; height: 74px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px; filter: grayscale(.4); transition: .2s; } .plogos a:hover { filter: none; transform: translateY(-3px); } .plogos img { max-width: 100%; max-height: 100%; object-fit: contain; } .plogos span { font-weight: 800; color: var(--b1); font-size: 13px; text-align: center; }
@media (max-width: 920px) { .bgrid { grid-template-columns: 1fr; } }

.jgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; } .jgrid a { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 12px; display: flex; flex-direction: column; gap: 4px; text-align: center; transition: .2s; } .jgrid a:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(21,80,102,.1); } .jgrid b { font-size: 16px; color: var(--b1); } .jgrid span { color: var(--mut); font-size: 13.5px; }
.plan-band { margin: 6px 0 30px; }
@media (max-width: 920px) { .jgrid { grid-template-columns: 1fr 1fr; } }
/* نوافذ الحساب (تفتح فوق أي صفحة) */
.ma-mask { position: fixed; inset: 0; z-index: 90; background: rgba(8,24,30,.55); display: none; align-items: center; justify-content: center; padding: calc(12px + env(safe-area-inset-top, 0px)) 12px calc(12px + env(safe-area-inset-bottom, 0px)); }
.ma-mask.show { display: flex; animation: maIn .2s ease; } @keyframes maIn { from { opacity: 0; } }
.ma-box { background: #fff; border-radius: 24px; width: min(560px, 100%); max-height: 100%; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.25); }
.ma-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: linear-gradient(135deg, #F1F8F6, #fff); }
.ma-h b { font-size: 18px; color: var(--b1); } .ma-x { width: 36px; height: 36px; border-radius: 50%; border: 0; background: #EEF3F2; cursor: pointer; font-size: 15px; flex-shrink: 0; }
.ma-b { padding: 16px 18px 20px; overflow-y: auto; }
.ma-mut { color: var(--mut); font-size: 14px; } .ma-g { display: flex; justify-content: center; min-height: 46px; margin: 12px 0; overflow: hidden; }
.ma-or { display: flex; align-items: center; gap: 10px; color: var(--mut); font-size: 12.5px; font-weight: 700; margin: 10px 0; } .ma-or::before, .ma-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.ma-row { display: flex; gap: 6px; margin-bottom: 6px; } .ma-row input { flex: 1; min-width: 0; font: inherit; font-size: 15px; padding: 11px 12px; border: 1.5px solid #D5E3E1; border-radius: 12px; }
#maCode { letter-spacing: 6px; text-align: center; font-weight: 800; } .ma-msg { display: block; font-size: 13px; min-height: 18px; } .ma-msg.ok { color: #1d8168; } .ma-msg.bad { color: #C0392B; }
.ma-f { display: flex; flex-direction: column; gap: 8px; } .ma-f input, .ma-f select, .ma-f textarea { font: inherit; font-size: 15px; padding: 10px 12px; border: 1.5px solid #D5E3E1; border-radius: 12px; background: #fff; }
.ma-redeem { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; margin-bottom: 12px; } .ma-redeem b { display: block; margin-bottom: 6px; color: var(--b1); }
.ma-bal { font-size: 14px; margin-bottom: 8px; } .ma-sec { font-size: 15.5px; color: var(--b1); margin: 12px 0 8px; }
.ma-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ma-pkg { border: 1.5px solid var(--line); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 4px; align-items: center; text-align: center; }
.ma-pkg.hl { border-color: var(--g1); box-shadow: 0 8px 20px rgba(42,156,134,.15); } .ma-pkg.on { border-color: #22A55B; background: #F1FAF5; }
.ma-pi { font-size: 30px; } .ma-pkg b { font-size: 16px; color: var(--b1); } .ma-pr { color: var(--mut); font-weight: 700; font-size: 13px; } .ma-pr span { font-size: 24px; font-weight: 900; color: var(--b1); } .ma-pr s { color: #aaa; }
.ma-pkg ul { list-style: none; text-align: start; font-size: 13px; color: #33474C; margin: 4px 0 8px; } .ma-pkg li::before { content: '✓ '; color: var(--g1); font-weight: 900; }
.ma-pkg .btn { padding: 9px 16px; font-size: 14px; } .ma-act { font-style: normal; font-weight: 800; color: #1d8168; font-size: 13px; } .ma-note { text-align: center; margin-top: 10px; }
.ma-wrap { position: relative; } .ma-chip { display: flex; align-items: center; gap: 8px; font: inherit; font-weight: 800; border: 1.5px solid #CFE2E0; background: #fff; border-radius: 30px; padding: 4px 12px 4px 4px; cursor: pointer; color: var(--b1); }
.ma-av { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--b2), var(--g1)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 900; }
.ma-menu { position: absolute; top: calc(100% + 8px); left: 0; z-index: 40; width: 240px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 40px rgba(0,0,0,.15); padding: 6px; display: flex; flex-direction: column; }
.ma-menu[hidden] { display: none; } .ma-mh { padding: 8px 10px 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; display: flex; flex-direction: column; } .ma-mh small { color: var(--mut); font-size: 12px; overflow: hidden; text-overflow: ellipsis; }
.ma-menu a, .ma-menu button { text-align: start; font: inherit; font-weight: 700; font-size: 14px; padding: 9px 10px; border-radius: 10px; border: 0; background: transparent; cursor: pointer; color: var(--ink); } .ma-menu a:hover, .ma-menu button:hover { background: var(--bg); } #maOut { color: #C0392B; }
.ma-toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--b1); color: #fff; padding: 11px 18px; border-radius: 12px; font-weight: 700; z-index: 99; opacity: 0; transition: .3s; pointer-events: none; } .ma-toast.show { opacity: 1; transform: translateX(-50%); } .ma-toast.bad { background: #B0443B; }
@media (max-width: 520px) { .ma-grid { grid-template-columns: 1fr; } .ma-nm { display: none; } .ma-chip { padding: 3px; } .ma-mask { align-items: flex-end; padding: 0; } .ma-box { border-radius: 24px 24px 0 0; max-height: 92vh; } }
/* خطة المذاكرة */
.plan-p { padding: 0; overflow: hidden; } .ptab { width: 100%; border-collapse: collapse; font-size: 13.5px; } .ptab th { background: #EEF5F3; padding: 7px; border-bottom: 2px solid #1E7290; } .ptab td { padding: 6px 8px; border-bottom: 1px solid #E3ECEB; vertical-align: top; } .ptab td:first-child { white-space: nowrap; font-weight: 800; color: #155066; width: 1%; }
.ptab tr.rest td { background: #F7F7F7; color: #888; } .ptab tr.rev td { background: #FFF7E3; font-weight: 700; } .ss { display: inline-block; background: #E6F4F0; border-radius: 8px; padding: 1px 8px; margin: 2px; font-size: 12.5px; }
/* الشهادات (أفقية) */
.cert { --c: #1E7290; background: #fff; aspect-ratio: 297 / 210; border: 1px solid #D5E3E1; box-shadow: 0 12px 30px rgba(0,0,0,.08); padding: 14px; margin-bottom: 14px; font-family: Almarai, Tahoma, sans-serif; }
.cert.more { display: none; } .cb { height: 100%; border: 3px double var(--c); outline: 1.5px solid var(--c); outline-offset: -10px; padding: 4% 6%; display: flex; flex-direction: column; align-items: center; justify-content: space-between; text-align: center; background: radial-gradient(circle at 50% 120%, color-mix(in srgb, var(--c) 8%, #fff), #fff 60%); }
.ct small { color: #555; font-size: clamp(9px, 1.4vw, 13px); font-weight: 700; } .ct h2 { color: var(--c); font-size: clamp(20px, 4vw, 40px); font-weight: 900; }
.cp { font-size: clamp(11px, 1.8vw, 17px); color: #333; } .cp.sm { font-size: clamp(10px, 1.5vw, 14px); color: #666; } .cn { font-size: clamp(22px, 4.6vw, 46px); font-weight: 900; color: #10282F; border-bottom: 2px solid var(--c); padding: 0 24px; }
.cs { width: 100%; display: flex; justify-content: space-between; align-items: flex-end; } .cs div { display: flex; flex-direction: column; min-width: 25%; font-size: clamp(10px, 1.5vw, 14px); } .cs span { color: #666; } .cs b { border-top: 1px dotted #999; padding-top: 2px; min-height: 1.5em; } .seal { font-size: clamp(26px, 5vw, 50px); min-width: 0 !important; } .cd { color: #777; font-size: 12px; }
@media print { body.print-certs .cert { display: block !important; box-shadow: none; border: 0; margin: 0; padding: 8mm; page-break-after: always; break-after: page; aspect-ratio: auto; height: 190mm; } body.print-certs .cert:last-child { page-break-after: auto; } }
@media print { body.print-certs { } }
/* نصائح */
.tips { padding: 34px 0 10px; } .tips h2 { font-size: clamp(20px, 2.8vw, 26px); font-weight: 900; color: var(--b1); margin-bottom: 14px; text-align: center; }
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; } .tgrid div { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; position: relative; }
.tgrid span { font-size: 24px; } .tgrid b { display: block; font-size: 16px; color: var(--b1); margin: 2px 0; } .tgrid p { color: var(--mut); font-size: 14px; line-height: 1.8; }
@media (max-width: 920px) { .tgrid { grid-template-columns: 1fr 1fr; } } @media (max-width: 560px) { .tgrid { grid-template-columns: 1fr; } }
/* المتجر */
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; margin-top: 14px; font-weight: 800; font-size: 14px; color: var(--b1); } .trust span { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 5px 12px; } .trust a { color: var(--g1); } .trust.small { justify-content: flex-start; font-size: 12.5px; margin-top: 12px; }
.st-h { font-size: 22px; font-weight: 900; color: var(--b1); margin: 26px 0 12px; }
.st-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.st-card { background: #fff; border: 1.5px solid var(--line); border-radius: 22px; padding: 18px; display: flex; flex-direction: column; gap: 6px; transition: .2s; } .st-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(21,80,102,.1); }
.st-card.plan { border-color: #BFE0D6; background: linear-gradient(180deg, #F3FAF7, #fff 40%); }
.st-img { height: 110px; border-radius: 16px; background: linear-gradient(135deg, #155066, #1E7290 55%, #2A9C86); display: flex; align-items: center; justify-content: center; } .st-img span { font-size: 52px; }
.st-card h3 { font-size: 19px; font-weight: 900; color: var(--b1); } .st-type { color: var(--mut); font-weight: 700; }
.st-price { color: var(--mut); font-weight: 800; } .st-price b { font-size: 30px; font-weight: 900; color: var(--b1); margin-inline-end: 3px; } .st-price s { margin-inline-end: 8px; color: #aaa; } .st-price.big b { font-size: 40px; }
.st-card ul { list-style: none; font-size: 14px; flex: 1; } .st-card li::before, .pd-feat li::before { content: '✓ '; color: var(--g1); font-weight: 900; }
.st-acts { display: flex; gap: 8px; flex-wrap: wrap; } .st-acts .btn { flex: 1; padding: 11px 14px; }
.pd { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; align-items: start; margin-top: 10px; }
.pd-img { background: linear-gradient(135deg, #EAF4F7, #EAF6F2); border-radius: 26px; padding: 24px; display: flex; align-items: center; justify-content: center; aspect-ratio: 1; } .pd-img img { max-width: 80%; max-height: 80%; object-fit: contain; }
.pd-info h1 { font-size: clamp(22px, 3.4vw, 32px); font-weight: 900; color: var(--b1); margin: 6px 0; } .pd-desc { color: #33474C; margin: 10px 0; line-height: 1.9; } .pd-feat { list-style: none; margin-bottom: 14px; } .pd-feat li { padding: 3px 0; }
.pd-faq { margin: 30px 0; } .pd-faq h2 { font-size: 22px; color: var(--b1); margin-bottom: 10px; } .pd-faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 8px; padding: 12px 16px; } .pd-faq summary { font-weight: 800; cursor: pointer; } .pd-faq p { color: var(--mut); margin-top: 6px; } .pd-faq a { color: var(--g1); font-weight: 800; }
.legal-pg { max-width: 820px; } .legal-pg h1 { font-size: 30px; color: var(--b1); margin-bottom: 6px; } .legal-pg section { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; margin-top: 12px; } .legal-pg h2 { font-size: 18px; color: var(--g1); margin-bottom: 4px; } .legal-pg ul { padding-inline-start: 20px; } .legal-pg a { color: var(--g1); font-weight: 800; }
@media (max-width: 820px) { .pd { grid-template-columns: 1fr; } .pd-img { aspect-ratio: auto; height: 220px; } }

.st-img { height: auto; aspect-ratio: 1; background: #EAF4F2; overflow: hidden; } .st-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; } .st-card:hover .st-img img { transform: scale(1.03); }
/* إصلاح: الحقول في الأعمدة الضيقة تنكمش بدل أن توسّع الصفحة */
.mk2 > section, .opts2 > label, .opts2 input, .f2 > label, .f2 input, .f2 select, .qe input, .qe textarea { min-width: 0; }
@media (max-width: 920px) { .mk2 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 400px) { .opts2 { grid-template-columns: 1fr; } .qe-h { flex-wrap: wrap; } .addq button { flex: 1 1 45%; } }
@media (max-width: 400px) { .stu td { font-size: 11px; padding: 4px; } .stu .sc { white-space: normal; } .paper { padding: 12px; } }
/* متجر احترافي */
.sh-hero { background: linear-gradient(135deg, #155066, #1E7290 55%, #2A9C86); color: #fff; overflow: hidden; }
.sh-hero-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; align-items: center; padding-top: 40px; padding-bottom: 40px; }
.sh-txt .pill { background: rgba(255,255,255,.18); color: #fff; } .sh-txt h1 { font-size: clamp(26px, 4.2vw, 44px); font-weight: 900; line-height: 1.35; margin: 8px 0; } .sh-txt h1 span { color: #9BE6C6; } .sh-txt p { opacity: .92; margin-bottom: 18px; max-width: 520px; }
.sh-txt .btn.pri { background: #fff; color: var(--b1); }
.sh-art { position: relative; height: 300px; } .sh-art img { position: absolute; width: 210px; height: 210px; border-radius: 26px; box-shadow: 0 24px 50px rgba(0,0,0,.25); object-fit: cover; }
.sh-art .a0 { top: 40px; right: 30%; z-index: 3; transform: rotate(-3deg); } .sh-art .a1 { top: 0; right: 0; transform: rotate(6deg); z-index: 2; width: 180px; height: 180px; } .sh-art .a2 { bottom: 0; left: 4%; transform: rotate(-8deg); width: 180px; height: 180px; }
.trust-bar { background: #fff; border-bottom: 1px solid var(--line); } .trust-bar .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding-top: 14px; padding-bottom: 14px; }
.trust-bar span { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; font-size: 22px; } .trust-bar b { font-size: 14.5px; color: var(--b1); } .trust-bar small { grid-column: 2; font-size: 12px; color: var(--mut); } .trust-bar a { color: var(--g1); font-weight: 800; }
.sh-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin: 24px 0 14px; }
.sh-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; } .sh-tabs button { font: inherit; font-weight: 800; font-size: 14px; border: 1.5px solid var(--line); background: #fff; color: #33474C; border-radius: 30px; padding: 8px 16px; cursor: pointer; white-space: nowrap; }
.sh-tabs button i { font-style: normal; background: #EEF3F2; border-radius: 10px; padding: 0 7px; font-size: 12px; margin-inline-start: 4px; } .sh-tabs button.on { background: var(--b1); color: #fff; border-color: var(--b1); } .sh-tabs button.on i { background: rgba(255,255,255,.2); }
#sort { font: inherit; font-weight: 700; font-size: 14px; border: 1.5px solid var(--line); border-radius: 12px; padding: 8px 12px; background: #fff; }
.sh-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.sh-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; transition: .22s ease; box-shadow: 0 2px 10px rgba(21,80,102,.05); } .sh-card[hidden] { display: none; }
.sh-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(21,80,102,.14); border-color: #CFE4DF; }
.sh-img { position: relative; display: block; aspect-ratio: 1; background: linear-gradient(160deg, #F4FAF8, #E9F3F0); overflow: hidden; padding: 14px; box-sizing: border-box; } .sh-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; box-shadow: 0 8px 20px rgba(16,40,47,.1); transition: transform .35s ease; display: block; } .sh-card:hover .sh-img img { transform: scale(1.035); }
.b-off { position: absolute; top: 12px; right: 12px; background: linear-gradient(135deg, #E8590C, #F59F2A); color: #fff; font-weight: 900; font-size: 12.5px; padding: 5px 11px; border-radius: 20px; box-shadow: 0 6px 14px rgba(232,89,12,.3); letter-spacing: .2px; } .b-off.in { position: static; font-size: 13px; vertical-align: middle; box-shadow: none; }
.b-tag { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.96); backdrop-filter: blur(2px); color: var(--b1); font-weight: 900; font-size: 12px; padding: 5px 11px; border-radius: 20px; box-shadow: 0 4px 12px rgba(0,0,0,.12); } .b-tag.in { position: static; display: inline-block; background: #E2F4EC; box-shadow: none; margin-bottom: 6px; }
.sh-body { padding: 15px 17px 17px; display: flex; flex-direction: column; gap: 5px; flex: 1; } .sh-cat { color: var(--g1); font-weight: 800; font-size: 12px; letter-spacing: .2px; }
.sh-body h3 { font-size: 17.5px; font-weight: 900; color: var(--ink); line-height: 1.4; } .sh-body h3 a { transition: color .15s; } .sh-card:hover .sh-body h3 a { color: var(--b1); } .sh-body p { color: var(--mut); font-size: 13.5px; line-height: 1.7; flex: 1; }
.sh-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; padding-top: 12px; border-top: 1px dashed #E3EEEB; } .sh-pr b { font-size: 24px; font-weight: 900; color: var(--b1); } .sh-pr small { color: var(--mut); font-weight: 700; } .sh-pr s { color: #aaa; font-size: 14px; }
.sh-foot .btn { padding: 9px 14px; font-size: 14px; }
.paym { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; margin: 28px 0 6px; color: var(--mut); font-size: 14px; } .paym span { border: 1px solid var(--line); border-radius: 8px; padding: 4px 12px; font-weight: 900; color: #33474C; background: #fff; }
.related { margin-top: 30px; } .related h2 { font-size: 22px; color: var(--b1); margin-bottom: 12px; }
@media (max-width: 820px) { .sh-hero-in { grid-template-columns: 1fr; } .sh-art { height: 210px; } .sh-art img { width: 150px; height: 150px; } .sh-art .a1, .sh-art .a2 { width: 130px; height: 130px; } .trust-bar .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .sh-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .sh-body { padding: 10px; } .sh-body h3 { font-size: 15px; } .sh-body p { display: none; } .sh-foot { flex-direction: column; align-items: stretch; } .sh-pr b { font-size: 20px; } }

.tests.one { grid-template-columns: 1fr; } .spec { margin-top: 16px; } .spec h3 { font-size: 17px; color: var(--b1); margin-bottom: 12px; }
.spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.spec-grid button { font: inherit; font-weight: 800; font-size: 14px; display: flex; align-items: center; gap: 8px; text-align: start; border: 1.5px solid var(--line); background: #fff; border-radius: 14px; padding: 11px 12px; cursor: pointer; color: var(--ink); transition: .15s; }
.spec-grid button span { font-size: 20px; } .spec-grid button:hover { border-color: var(--g1); background: #EEF7F4; transform: translateY(-2px); }
@media (max-width: 520px) { .spec-grid { grid-template-columns: 1fr 1fr; } .spec-grid button { font-size: 13px; padding: 10px 8px; gap: 6px; } }

/* لوحتي */
.dash-hello { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 6px 0 16px; } .dash-hello small { color: var(--g1); font-weight: 800; } .dash-hello h1 { font-size: clamp(24px, 3.6vw, 34px); font-weight: 900; color: var(--b1); } .dash-acts { display: flex; gap: 8px; }
.ds-next { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; background: linear-gradient(135deg, #155066, #1E7290 60%, #2A9C86); color: #fff; border-radius: 22px; padding: 18px 20px; margin-bottom: 16px; box-shadow: 0 14px 30px rgba(21,80,102,.2); }
.ds-next > span { font-size: 38px; } .ds-next small { opacity: .85; font-weight: 700; } .ds-next b { display: block; font-size: 19px; } .ds-next p { opacity: .9; font-size: 14px; } .ds-next em { font-style: normal; font-weight: 900; background: rgba(255,255,255,.18); border-radius: 12px; padding: 8px 14px; white-space: nowrap; }
.dash-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; margin-bottom: 16px; } #dash .card h3 { font-size: 17px; color: var(--b1); margin-bottom: 10px; } #dash .card { margin-bottom: 0; }
.ds-plan { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; margin-bottom: 8px; } .ds-plan.on { border-color: #9FD7C3; background: #F1FAF6; }
.ds-ic { font-size: 26px; } .ds-plan b { display: block; } .ds-plan small { color: var(--mut); font-size: 12.5px; } .ds-plan em { font-style: normal; color: #1d8168; font-weight: 900; font-size: 20px; } .btn.sm { padding: 7px 12px !important; font-size: 13px !important; }
.ds-big { text-align: center; padding: 8px 0 12px; } .ds-big b { display: block; font-size: 46px; font-weight: 900; color: var(--b1); line-height: 1.1; } .ds-big span { color: var(--mut); font-weight: 700; } .ds-row { display: flex; gap: 8px; } .ds-row .btn { flex: 1; padding: 11px; }
.ds-recent { margin: 16px 0; } .ds-res { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--line); } .ds-res > span { font-size: 22px; } .ds-res b { display: block; font-size: 14.5px; } .ds-res small { color: var(--mut); font-size: 12.5px; } .ds-res a { color: var(--g1); font-weight: 800; font-size: 13px; } .ds-res strong { font-size: 18px; }
.ds-sc { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; } .ds-sc a { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; border: 1px solid var(--line); border-radius: 16px; padding: 12px 6px; font-weight: 800; font-size: 13px; color: var(--ink); background: #fff; transition: .15s; } .ds-sc a:hover { border-color: var(--g1); transform: translateY(-2px); } .ds-sc span { font-size: 26px; }
.dash-guest { text-align: center; margin-bottom: 16px; } .dash-guest h2 { color: var(--b1); margin: 6px 0; } .dash-guest .btn { margin-top: 12px; }
#dash > div > .card:last-child { margin-top: 16px; }
@media (max-width: 820px) { .dash-grid { grid-template-columns: 1fr; } .ds-sc { grid-template-columns: repeat(3, 1fr); } .ds-next { grid-template-columns: auto 1fr; } .ds-next em { grid-column: 1 / -1; text-align: center; } }

/* التدريب الحر */
.clock.prac { background: rgba(255,255,255,.2); } .clock.prac b { font-size: 16px; }
.xo.ok { border-color: #22A55B; background: #EAF8F0; } .xo.ok span { background: #22A55B; border-color: #22A55B; color: #fff; }
.xo.no { border-color: #D9443B; background: #FDEEEC; } .xo.no span { background: #D9443B; border-color: #D9443B; color: #fff; }
.xo.dim { opacity: .55; } .xo:disabled { cursor: default; }
.xexp { margin-top: 12px; border-radius: 14px; padding: 12px 14px; animation: slIn .3s ease; } .xexp.ok { background: #EAF8F0; border: 1.5px solid #9FD7B8; } .xexp.no { background: #FFF6F5; border: 1.5px solid #F0B8B2; }
.xexp b { display: block; font-size: 15px; margin-bottom: 4px; } .xexp.ok b { color: #1e8549; } .xexp.no b { color: #B0352B; } .xexp p { color: #33474C; font-size: 14.5px; }
.btn.wide { width: min(420px, 100%); }
.xo:disabled { color: var(--ink); -webkit-text-fill-color: var(--ink); opacity: 1; } .xo.dim:disabled { opacity: .5; }

/* مستواك */
#progress { margin-top: 16px; } .pg-line { display: grid; grid-template-columns: 1fr 140px auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.pg-line b { display: block; font-size: 14px; } .pg-line small { color: var(--mut); font-size: 12px; } .pg-line svg { width: 140px; height: 44px; } .pg-line em { font-style: normal; font-weight: 900; font-size: 13px; }
.pg-h { font-size: 15px; color: var(--b1); margin: 14px 0 6px; }
.pg-sk { display: grid; grid-template-columns: 110px 1fr 42px auto; gap: 8px; align-items: center; padding: 6px 0; font-size: 14px; font-weight: 700; } .pg-sk i { height: 10px; background: #EEF3F2; border-radius: 8px; overflow: hidden; } .pg-sk i b { display: block; height: 100%; border-radius: 8px; } .pg-sk a { color: var(--g1); font-weight: 800; font-size: 13px; }
.pg-good { margin-top: 8px; font-size: 14px; color: #1d8168; }
@media (max-width: 520px) { .pg-line { grid-template-columns: 1fr auto; } .pg-line svg { grid-column: 1 / -1; width: 100%; } .pg-sk { grid-template-columns: 90px 1fr 38px; } .pg-sk a { grid-column: 1 / -1; } }

.weak { border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; margin-bottom: 14px; background: #FBFDFC; } .weak h3 { font-size: 16px; color: var(--b1); margin-bottom: 10px; }
.wk { display: grid; grid-template-columns: 140px 1fr 46px; gap: 10px; align-items: center; font-size: 13.5px; padding: 3px 0; } .wk b { text-align: left; }
.wk-tip { margin-top: 10px; font-size: 13.5px; color: #33474C; background: #FFF7E3; border-radius: 12px; padding: 8px 12px; }
@media (max-width: 520px) { .wk { grid-template-columns: 100px 1fr 40px; font-size: 12.5px; } }

.mk-review { width: 100%; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; text-align: start; font: inherit; cursor: pointer; border: 1.5px solid #F1C27D; background: linear-gradient(135deg, #FFF8EA, #FFFDF7); border-radius: 20px; padding: 14px 16px; margin-bottom: 14px; transition: .2s; }
.mk-review:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(208,138,44,.18); } .mk-review > span { font-size: 30px; } .mk-review b { display: block; font-size: 17px; color: #8A5A12; } .mk-review small { color: #837256; font-size: 13px; } .mk-review em { font-style: normal; font-weight: 900; color: #A0661A; }

.ds-ach { margin-bottom: 16px; } .ach-top { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; margin-bottom: 12px; }
.streak { width: 92px; height: 92px; border-radius: 24px; background: #F1F3F3; display: flex; flex-direction: column; align-items: center; justify-content: center; filter: grayscale(1); } .streak.on { background: linear-gradient(135deg, #FFE7C2, #FFD08A); filter: none; }
.streak span { font-size: 26px; line-height: 1; } .streak b { font-size: 28px; font-weight: 900; color: #8A4B0A; line-height: 1.1; } .streak small { font-size: 11px; font-weight: 800; color: #8A6A3A; }
.ds-ach h3 small { color: var(--mut); font-weight: 700; font-size: 13px; } .badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.bdg { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; font-size: 12px; font-weight: 800; color: #9AA6A8; border: 1px dashed #DCE5E3; border-radius: 14px; padding: 8px 4px; } .bdg i { font-style: normal; font-size: 24px; filter: grayscale(1) opacity(.45); }
.bdg.on { color: var(--b1); border: 1.5px solid #9FD7C3; background: #F1FAF6; } .bdg.on i { filter: none; }

/* واجهة الجوال (حسب التصميم) */
.m-home, .m-greet { display: none; }
@media (max-width: 760px) {
  .m-home { display: block; padding: 18px 0 8px; } .hero.pattern { display: none; }
  body:has(.m-home) .top .acts .btn.pri, body:has(.m-home) .top .acts .ma-wrap { display: none; }
  .m-greet { display: flex; flex-direction: column; background: #fff; border-radius: 18px; padding: 6px 12px; box-shadow: 0 6px 18px rgba(21,80,102,.12); text-decoration: none; line-height: 1.4; }
  .m-greet b { font-size: 13.5px; color: #10282F; font-weight: 900; } .m-greet small { font-size: 11.5px; color: #33474C; }
  .top .burger { order: -1; margin-inline-start: 0; margin-inline-end: 4px; border-radius: 16px; width: 48px; height: 48px; box-shadow: 0 6px 18px rgba(21,80,102,.10); border: 0; }
  .m-hero { position: relative; background: #fff; border-radius: 28px; padding: 26px 20px 24px; text-align: center; box-shadow: 0 16px 40px rgba(21,80,102,.10); }
  .m-logo { width: 62%; max-width: 260px; height: auto; display: block; margin: 0 auto 10px; } .m-lt { font-size: 64px; }
  .m-hero h1, .m-hero .m-h1 { font-size: 26px; font-weight: 900; line-height: 1.45; color: #10282F; }
  .m-hero p { color: #33474C; font-size: 15px; line-height: 1.85; margin: 10px 0 16px; }
  .m-cta { width: 100%; padding: 15px !important; font-size: 17px !important; border-radius: 18px !important; background: linear-gradient(90deg, #4FB38E, #2A9C86 45%, #1E7290) !important; box-shadow: 0 12px 26px rgba(42,156,134,.3) !important; }
  .m-h { font-size: 21px; font-weight: 900; color: #10282F; margin: 22px 2px 12px; }
  .qa-row { display: grid; grid-auto-flow: column; grid-auto-columns: 42%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 16px; scrollbar-width: none; } .qa-row::-webkit-scrollbar { display: none; }
  .qa { scroll-snap-align: start; background: #fff; border-radius: 22px; padding: 20px 10px 16px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; box-shadow: 0 10px 24px rgba(21,80,102,.08); text-decoration: none; }
  .qa b { font-size: 15.5px; font-weight: 900; color: #10282F; line-height: 1.4; }
}
/* البوابات على الجوال: صفوف مضغوطة مثل قوائم التطبيقات */
@media (max-width: 760px) {
  .svc-hero { padding: 26px 0 18px; } .svc-hero h1 { font-size: 26px; } .svc-hero p { font-size: 14.5px; }
  .svc-grid, .svc-grid.two { grid-template-columns: 1fr; gap: 10px; padding-bottom: 20px; }
  .svc { display: grid; grid-template-columns: 52px 1fr; grid-template-rows: auto auto auto; column-gap: 12px; row-gap: 2px; padding: 14px; border-radius: 20px; align-items: center; box-shadow: 0 8px 20px rgba(21,80,102,.06); }
  .svc .ic { grid-row: 1 / 3; width: 52px; height: 52px; font-size: 26px; border-radius: 16px; }
  .svc h3 { font-size: 16.5px; grid-column: 2; margin: 0; padding-inline-end: 64px; } .svc p { grid-column: 2; font-size: 13px; line-height: 1.6; }
  .svc .tag { top: 14px; left: 12px; font-size: 11px; padding: 2px 8px; }
  .svc .btn { grid-column: 1 / -1; margin-top: 8px; padding: 10px; font-size: 14px; }
  .svc:not(.live) { opacity: .75; } .svc:not(.live) .btn { display: none; }
}

/* ===== 1.14.0 — إتاحة وتحسينات عامة ===== */
:focus-visible { outline: 3px solid #2FA37F; outline-offset: 2px; border-radius: 8px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline-color: #1E7290; box-shadow: 0 0 0 4px rgba(30,114,144,.15); }
.skip-link { position: absolute; top: -48px; right: 12px; background: #1E7290; color: #fff; padding: 8px 14px; border-radius: 0 0 10px 10px; z-index: 999; font-weight: 800; text-decoration: none; transition: top .15s; }
.skip-link:focus { top: 0; }
button, .btn, select { -webkit-tap-highlight-color: transparent; }
.btn:active, button:active { transform: translateY(1px); }
.svc-grid .svc:focus-within { box-shadow: 0 0 0 3px rgba(47,163,127,.35); }
img { max-width: 100%; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }
@media print { header.top, .mbar, .tips, footer, .no-print { display: none !important; } }

/* ===== 1.19.0 — لمسات جمالية وتجربة استخدام ===== */
.svc { box-shadow: 0 1px 2px rgba(16,60,70,.04); }
.svc.live:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(30,114,144,.14); border-color: #BFE0D6; }
.svc.pro { border-color: #EBD9A8; background: linear-gradient(180deg, #FFFDF6 0, #fff 120px); }
.svc.pro:hover { border-color: #D9B866; box-shadow: 0 14px 32px rgba(180,140,40,.16); }
.svc .tag.pro { background: linear-gradient(135deg, #F6E3A1, #E8C45F); color: #5B4410; }
.svc.pro .ic { background: linear-gradient(135deg, #FBF0CC, #F3E2A9); }
.svc-filter { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; padding: 18px 0 4px; }
.svc-filter button { font: inherit; font-weight: 800; font-size: 13.5px; border: 1.5px solid var(--line); background: #fff; color: #33474C; border-radius: 999px; padding: 7px 18px; cursor: pointer; transition: all .15s; }
.svc-filter button:hover { border-color: #2FA37F; }
.svc-filter button[aria-pressed="true"] { background: linear-gradient(135deg, #1E7290, #2FA37F); color: #fff; border-color: transparent; box-shadow: 0 6px 16px rgba(30,114,144,.25); }
.svc[hidden] { display: none; }
@keyframes mjRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.svc-grid .svc, .sh-grid > *, .card { animation: mjRise .45s ease both; }
.svc-grid .svc:nth-child(2) { animation-delay: .05s } .svc-grid .svc:nth-child(3) { animation-delay: .1s } .svc-grid .svc:nth-child(4) { animation-delay: .15s } .svc-grid .svc:nth-child(5) { animation-delay: .2s } .svc-grid .svc:nth-child(6) { animation-delay: .25s }
header.top { transition: box-shadow .2s, background .2s; }
header.top.scrolled { box-shadow: 0 6px 24px rgba(16,60,70,.10); }
.to-top { position: fixed; bottom: 92px; left: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: linear-gradient(135deg, #1E7290, #2FA37F); color: #fff; font-size: 20px; cursor: pointer; box-shadow: 0 8px 20px rgba(30,114,144,.35); opacity: 0; pointer-events: none; transform: translateY(10px); transition: all .25s; z-index: 60; }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
@media (min-width: 900px) { .to-top { bottom: 28px; } }
.mj-toast { position: fixed; bottom: 96px; right: 50%; transform: translateX(50%) translateY(20px); background: #12353F; color: #fff; padding: 10px 20px; border-radius: 14px; font-weight: 800; font-size: 14px; opacity: 0; transition: all .25s; z-index: 200; box-shadow: 0 10px 30px rgba(0,0,0,.25); max-width: 90vw; text-align: center; }
.mj-toast.show { opacity: 1; transform: translateX(50%); }
.btn.is-busy { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-busy::after { content: ""; position: absolute; inset: 0; margin: auto; width: 20px; height: 20px; border: 3px solid rgba(255,255,255,.5); border-top-color: #fff; border-radius: 50%; animation: mjSpin .7s linear infinite; }
@keyframes mjSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .svc-grid .svc, .sh-grid > *, .card { animation: none; } }

/* ===== 1.26.0 — مبدّل التسعير شهري/سنوي ===== */
.pw-tog { display: inline-flex; background: #E6EEF0; border-radius: 999px; padding: 4px; margin: 6px 0 2px; gap: 2px; }
.pw-tog button { font: inherit; font-weight: 800; font-size: 13.5px; border: 0; background: transparent; color: #33474C; padding: 7px 16px; border-radius: 999px; cursor: pointer; transition: all .15s; }
.pw-tog button[aria-pressed="true"] { background: #fff; color: #1E7290; box-shadow: 0 2px 8px rgba(16,60,70,.15); }
.pw-tog em { font-style: normal; font-size: 11px; background: #FFE08A; color: #6B4A00; border-radius: 8px; padding: 1px 7px; margin-right: 4px; }
.pw-eq { font-size: 12.5px; color: #278263; font-weight: 800; margin: -2px 0 6px; }
.prc-wrap { max-width: 920px; margin: 0 auto; }
.prc-tog { display: flex; justify-content: center; margin: 6px 0 22px; }
.prc-tog .pw-tog button { font-size: 15px; padding: 9px 26px; }
.prc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.prc-card { background: #fff; border: 1.5px solid var(--line); border-radius: 24px; padding: 26px 22px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.prc-card.hot { border-color: #2FA37F; box-shadow: 0 16px 40px rgba(47,163,127,.18); }
.prc-card .rib { position: absolute; top: -12px; right: 22px; background: linear-gradient(135deg, #1E7290, #2FA37F); color: #fff; font-size: 12px; font-weight: 800; padding: 3px 14px; border-radius: 999px; }
.prc-card h3 { font-size: 21px; color: var(--b1); font-weight: 900; }
.prc-card .big { font-size: 46px; font-weight: 900; color: var(--b1); line-height: 1.1; } .prc-card .big small { font-size: 15px; color: var(--mut); font-weight: 700; }
.prc-card ul { list-style: none; display: grid; gap: 7px; font-size: 14.5px; flex: 1; } .prc-card li::before { content: "✓ "; color: #258366; font-weight: 900; }
.prc-card .btn { width: 100%; }
.prc-note { text-align: center; color: var(--mut); font-size: 13.5px; margin-top: 16px; }
.prc-cmp { width: 100%; border-collapse: collapse; margin-top: 26px; background: #fff; border-radius: 16px; overflow: hidden; font-size: 14px; }
.prc-cmp th, .prc-cmp td { border: 1px solid var(--line); padding: 9px 12px; text-align: center; } .prc-cmp th { background: #EAF3F7; color: var(--b1); } .prc-cmp td:first-child { text-align: right; font-weight: 700; }
@media (max-width: 720px) { .prc-grid { grid-template-columns: 1fr; } }

/* 1.29.0 — اختصاراتي وبحث الخدمات */
.svc { position: relative; }
.fav-btn { position: absolute; top: 52px; left: 12px; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid #D5E3E1; background: #fff; color: #C9A227; font-size: 18px; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: transform .15s, background .15s; }
.fav-btn:hover { transform: scale(1.1); } .fav-btn[aria-pressed="true"] { background: #FFF6D6; border-color: #E8C84A; }
.fav-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; background: linear-gradient(135deg, #FFF9E3, #FFFDF4); border: 1.5px solid #F0DDA0; border-radius: 16px; padding: 10px 14px; margin: 0 0 14px; }
.fav-strip[hidden] { display: none; } .fav-strip b { color: #8A6A00; margin-left: 6px; }
.fav-strip a { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1.5px solid #E8D58A; border-radius: 999px; padding: 6px 14px; font-weight: 800; font-size: 13.5px; color: var(--b1); text-decoration: none; }
.fav-strip a i { font-style: normal; } .fav-strip a:hover { background: #FFF6D6; }
.svc-search { margin: 0 0 12px; } .svc-search input { width: 100%; font: inherit; font-weight: 600; border: 1.5px solid #D5E3E1; border-radius: 14px; padding: 12px 16px; background: #fff; }
.svc-search input:focus { outline: none; border-color: #1E7290; box-shadow: 0 0 0 4px rgba(30,114,144,.12); }
.svc.srch-hide { display: none !important; }
@media print { .fav-btn, .fav-strip, .svc-search { display: none !important; } }
.svc.live > p { padding-left: 42px; }

/* 1.32.0 — تصنيف الخدمات */
.svc-cats { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; margin: 0 0 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.svc-cats::-webkit-scrollbar { display: none; }
.svc-cats button { flex: 0 0 auto; font: inherit; font-weight: 800; font-size: 13.5px; border: 1.5px solid #D5E3E1; background: #fff; color: var(--b1); border-radius: 999px; padding: 8px 16px; cursor: pointer; transition: all .15s; }
.svc-cats button:hover { border-color: #2FA37F; }
.svc-cats button[aria-pressed="true"] { background: var(--b1); border-color: var(--b1); color: #fff; }
.svc.cat-hide { display: none !important; }
@media print { .svc-cats { display: none !important; } }

/* معاينة صفحات المنتج الرقمي */
.pd-prev { margin: 26px 0 8px; }
.pd-prev h2 { font-size: 20px; margin: 0 0 4px; }
.pd-prev .pv-note { color: var(--mut, #5B7A82); font-size: 13.5px; margin: 0 0 12px; }
.pd-prev .pv-row { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 12px; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
.pd-prev .pv-row a { flex: 0 0 auto; scroll-snap-align: start; border: 1px solid #D7E3E6; border-radius: 12px; background: #fff; padding: 6px; box-shadow: 0 6px 18px rgba(21,80,102,.12); }
.pd-prev .pv-row img { display: block; height: 340px; width: auto; max-width: 78vw; object-fit: contain; border-radius: 8px; }
@media (max-width: 640px) { .pd-prev .pv-row img { height: 280px; } }

/* بطاقة الحقيبة في صفحة المنتج */
.pd-bundle { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 22px 0 4px; padding: 16px 18px; border-radius: 16px; background: linear-gradient(135deg, #EAF6F1, #E4F0F5); border: 1.5px solid #BFDDD3; }
.pd-bundle b { color: #155066; font-size: 16px; }
.pd-bundle p { margin: 4px 0 0; color: #33474C; font-size: 14px; }

/* ===== 1.44.0: صقل شكل المتجر ===== */
.sh-bar { position: sticky; top: 72px; z-index: 25; margin: 18px -8px 14px; padding: 10px 8px; background: rgba(245,249,249,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid rgba(215,227,230,.7); }
@media (max-width: 760px) { .sh-bar { top: 76px; } }
.sh-bar #q { flex: 1 1 160px; min-width: 0; } .sh-bar #sort { min-width: 0; max-width: 100%; }
.sh-tabs { scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; padding-bottom: 2px; } .sh-tabs button { scroll-snap-align: start; white-space: nowrap; flex: 0 0 auto; }
.sh-card { transition: transform .22s ease, box-shadow .22s ease, border-color .22s; }
@media (hover: hover) { .sh-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(21,80,102,.16); border-color: #BFDDD3; } }
.sh-card .sh-img { overflow: hidden; } .sh-card .sh-img img { transition: transform .35s ease; } @media (hover: hover) { .sh-card:hover .sh-img img { transform: scale(1.035); } }
.sh-card .sh-body h3 { font-size: 16px; line-height: 1.45; }
.sh-card .sh-pr b { font-size: 21px; letter-spacing: -.2px; }
.sh-card[data-price="0"] .sh-pr b { color: #22816f; }
.sh-card[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .sh-card, .sh-card .sh-img img, .mbar, .mb-handle { transition: none !important; } }

/* معرض صور المنتج (4 صور) + ترويج الباقات */
.pd-img.pd-gal { display: block; padding: 0; aspect-ratio: auto; background: none; border-radius: 26px; min-width: 0; }
.pd-gal .pg-main { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 26px; background: #EAF4F7; scrollbar-width: none; -webkit-overflow-scrolling: touch; box-shadow: 0 10px 28px rgba(21,80,102,.14); }
.pd-gal .pg-main::-webkit-scrollbar { display: none; }
.pd-gal .pg-main > img { flex: 0 0 100%; width: 100%; max-width: none; max-height: none; aspect-ratio: 1; object-fit: cover; scroll-snap-align: start; display: block; min-width: 100%; }
.pd-gal .pg-thumbs { display: flex; gap: 10px; margin-top: 12px; justify-content: center; }
.pd-gal .pg-thumbs button { width: 64px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 14px; overflow: hidden; background: #fff; cursor: pointer; opacity: .65; transition: .15s; }
.pd-gal .pg-thumbs button.on { border-color: #1E7290; opacity: 1; }
.pd-gal .pg-thumbs img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; display: block; }
.pd-promo { margin: 14px 0; padding: 12px 16px; border-radius: 16px; background: linear-gradient(135deg, #FFF8EC, #FFF0D6); border: 1px solid #F0D3A3; }
.pd-promo p { margin: 4px 0; font-size: 14.5px; line-height: 1.8; color: #6B4510; } .pd-promo a { color: #155066; font-weight: 800; text-decoration: underline; }
@media (max-width: 820px) { .pd-img.pd-gal { height: auto; } }

/* كود الخصم */
.cpn { margin: 10px 0 4px; } .cpn summary { cursor: pointer; font-weight: 700; color: #155066; font-size: 14.5px; }
.cpn-r { display: flex; gap: 8px; margin-top: 8px; } .cpn-r input { flex: 1; min-width: 0; font: inherit; padding: 10px 12px; border: 1.5px solid #CFDCD6; border-radius: 12px; text-transform: uppercase; }
.cpn-m { font-size: 13.5px; margin-top: 6px; } .cpn-m.ok { color: #146C3A; font-weight: 700; } .cpn-m.bad { color: #B0443B; }

.cpn-banner { background: linear-gradient(90deg, #E0903B, #F2B25C); color: #3E2305; text-align: center; padding: 10px 0; font-size: 15px; }
.cpn-banner .wrap { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: center; }
.cpn-banner .cpn-copy { font: inherit; font-weight: 800; letter-spacing: 1px; background: #fff; color: #155066; border: 2px dashed #155066; border-radius: 10px; padding: 3px 14px; cursor: pointer; direction: ltr; }
.cpn-banner small { opacity: .8; }

/* المفضلة */
.sh-card { position: relative; }
.sh-card .fav { position: absolute; top: 10px; left: 10px; z-index: 5; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: #155066; font-size: 22px; line-height: 1; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,.18); transition: transform .15s; }
.sh-card .fav:hover { transform: scale(1.1); } .sh-card .fav.on { color: #D6394B; }

/* مشاركة المنتج */
.pd-share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 12px 0 4px; font-size: 14px; color: #4C6A70; }
.pd-share a, .pd-share button { font: inherit; font-size: 13.5px; font-weight: 700; padding: 7px 14px; border-radius: 999px; border: 1.5px solid #CFDCD6; background: #fff; color: #155066; cursor: pointer; text-decoration: none; }
.pd-share .sh-wa { background: #25D366; border-color: #25D366; color: #fff; } .pd-share .pd-fav.on { color: #D6394B; border-color: #D6394B; }

/* سلة المشتريات — أيقونة ثابتة بجانب الشعار في الهيدر (الوضع الافتراضي) */
.cart-fab { position: relative; flex: none; margin-inline-start: 2px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: linear-gradient(135deg, #155066, #1E7290 60%, #2A9C86); color: #fff; font-size: 20px; cursor: pointer; box-shadow: 0 6px 16px rgba(21,80,102,.28); display: grid; place-items: center; font-family: inherit; }
.cart-fab .ic { width: 20px; height: 20px; }
.cart-fab .cart-n { position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 4px; border-radius: 10px; background: #E0903B; color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff; }
.cart-fab.bump { animation: cartbump .5s; } @keyframes cartbump { 30% { transform: scale(1.22); } 60% { transform: scale(.94); } }
/* الوضع الاحتياطي: صفحة بلا هيدر معروف — زر عائم كالسابق */
.cart-fab.floating { position: fixed; right: 16px; bottom: calc(var(--mbh, 0px) + 28px); z-index: 62; width: 56px; height: 56px; font-size: 26px; box-shadow: 0 10px 26px rgba(21,80,102,.4); margin: 0; }
.cart-fab.floating .ic { width: 24px; height: 24px; }
.cart-ov { position: fixed; inset: 0; z-index: 80; background: rgba(15,42,51,.5); opacity: 0; transition: opacity .2s; } .cart-ov.on { opacity: 1; } .cart-ov[hidden], .cart-dr[hidden] { display: none; }
.cart-dr { position: fixed; top: 0; bottom: 0; right: 0; z-index: 81; width: min(420px, 100vw); background: #fff; box-shadow: 0 0 40px rgba(0,0,0,.25); transform: translateX(102%); transition: transform .22s; overflow-y: auto; padding: 16px 16px 24px; direction: rtl; display: flex; flex-direction: column; gap: 10px; } .cart-dr.on { transform: none; } .cart-dr.ld { opacity: .6; }
.cd-h { display: flex; justify-content: space-between; align-items: center; font-size: 19px; color: #155066; } .cd-x { border: 0; background: #EEF4F5; width: 36px; height: 36px; border-radius: 50%; font-size: 16px; cursor: pointer; }
.cd-empty { text-align: center; padding: 40px 10px; color: #4C6A70; } .cd-empty > div { font-size: 54px; } .cd-empty p { font-weight: 800; font-size: 18px; margin: 8px 0; } .cd-empty small { display: block; margin-bottom: 16px; }
.cd-list { display: flex; flex-direction: column; gap: 8px; } .cd-it { display: flex; align-items: center; gap: 10px; border: 1px solid #E1ECEA; border-radius: 16px; padding: 10px 12px; }
.cd-ic { font-size: 26px; flex: none; } .cd-t { flex: 1; min-width: 0; } .cd-t a { color: #155066; font-weight: 800; text-decoration: none; font-size: 14.5px; display: block; line-height: 1.4; } .cd-t small { color: #5b767d; font-size: 12px; }
.cd-it b { white-space: nowrap; color: #155066; } .cd-rm { border: 0; background: none; font-size: 18px; cursor: pointer; opacity: .6; }
.cd-cp { display: flex; gap: 8px; } .cd-cp input { flex: 1; min-width: 0; font: inherit; padding: 10px 12px; border: 1.5px solid #CFDCD6; border-radius: 12px; text-transform: uppercase; }
.cd-m { font-size: 13.5px; } .cd-m.ok { color: #146C3A; font-weight: 700; } .cd-m.bad { color: #B0443B; }
.cd-sum { background: #F4F9F8; border-radius: 16px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; } .cd-sum > div { display: flex; justify-content: space-between; } .cd-sum .g { color: #146C3A; } .cd-sum .t { font-size: 18px; font-weight: 800; color: #155066; border-top: 1px dashed #BCD2CF; padding-top: 8px; }
.cd-go { width: 100%; padding: 14px; font-size: 17px; } .cd-tr { text-align: center; font-size: 12.5px; color: #5b767d; } .cd-clr { border: 0; background: none; color: #B0443B; cursor: pointer; font: inherit; font-size: 13px; }
.cart-toast { position: fixed; bottom: calc(var(--mbh, 0px) + 84px); left: 50%; transform: translateX(-50%); z-index: 90; background: #155066; color: #fff; padding: 10px 18px; border-radius: 12px; font-size: 14px; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.cart-add { padding: 8px 12px; min-width: 42px; } .cart-add.on { background: #E6F4EE; border-color: #2A9C86; color: #146C3A; }
.pd-cart { margin-inline-start: 6px; } .pd-cart.on { background: #E6F4EE; border-color: #2A9C86; color: #146C3A; }
@media (max-width: 820px) { .cart-fab.floating { bottom: calc(var(--mbh, 62px) + 34px); } .cart-toast { bottom: calc(var(--mbh, 62px) + 86px); } }
@media (max-width: 340px) { .cart-fab:not(.floating) { width: 38px; height: 38px; } }
.cart-fab .cart-n[hidden] { display: none; }

/* خط قديم محلي يُحتفظ به فقط للتوافق مع بعض القوالب القديمة؛ واجهة المنصة تستخدم Almarai. */
@font-face { font-family: 'Cairo Local Legacy'; font-weight: 400; font-style: normal; font-display: swap; src: url('enjaz/fonts/Cairo-Regular.ttf') format('truetype'); }

/* خلفية المنصة: سماوي خفيف مع أخضر الشعار بدل الأبيض */
body { background: radial-gradient(1100px 620px at 92% -6%, rgba(125,211,238,.38), transparent 60%), radial-gradient(900px 560px at 4% 38%, rgba(91,190,151,.22), transparent 62%), radial-gradient(1000px 600px at 70% 100%, rgba(125,211,238,.28), transparent 60%), linear-gradient(180deg, #EAF6FC 0%, #E8F6F2 55%, #E6F5EE 100%); background-attachment: scroll; background-repeat: no-repeat; min-height: 100vh; }
html { background: #E8F6F2; }
.trust-bar, .trust-bar span { background: rgba(255,255,255,.78); }
.pattern { background-color: transparent; }

/* v1.73 — صور البوابتين وأيقونات الخدمات المصوّرة */
.portal .pi:has(img){width:100%;height:auto;aspect-ratio:3/2;border-radius:20px;overflow:hidden;background:none;box-shadow:0 10px 24px rgba(21,80,102,.18)}
.portal .pi img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s}.portal:hover .pi img{transform:scale(1.04)}
.svc .ic:has(img){padding:0;overflow:hidden;background:none}.svc .ic img{width:100%;height:100%;object-fit:cover;display:block;border-radius:inherit}

/* 1.108.0 — أيقونات خطية داخل الأزرار والنصوص (كانت بلا مقاس فتختفي) */
svg.ic { width: 1.15em; height: 1.15em; display: inline-block; flex: none; vertical-align: -.2em; margin-inline-end: 5px; background: none; border-radius: 0; box-shadow: none; padding: 0; }
.btn svg.ic { margin-inline-end: 6px; }
/* 1.108.0 — نظافة الطباعة في كل المنصة: خلفية بيضاء بلا تدرجات أو ظلال، وحقول الإدخال تُطبع كنص */
@media print {
  html, body { background: #fff !important; background-image: none !important; }
  body::before, body::after { display: none !important; }
  *, *::before, *::after { box-shadow: none !important; text-shadow: none !important; }
  input:not([type=checkbox]):not([type=radio]), select, textarea { border: 0 !important; background: transparent !important; -webkit-appearance: none; appearance: none; padding-inline: 0 !important; }
  .mbar, .fav-strip, .pm-hero, .pm-on, .pm-inline, .pm-recent, .x-bar2, .mjo-panel, .x-toast, .x-rel { display: none !important; }
}
/* 1.109.0 — أيقونات خطية بدل الإيموجي في البلاطات والحالات الفارغة */
svg.ic2 { width: 1em; height: 1em; display: inline-block; vertical-align: middle; color: var(--b1, #1E7290); stroke-width: 1.7; }
/* 1.109.0 — طباعة السجلات بأسلوب رسمي: علامات ✓ بدل أزرار الاختيار، وترويسة جداول داكنة وأسطر متناوبة */
@media print {
  .x-paper input[type=radio], .x-paper input[type=checkbox] { -webkit-appearance: none; appearance: none; width: 16px; height: 16px; border: 0 !important; background: none !important; margin: 0 auto; position: relative; display: inline-block; vertical-align: middle; }
  .x-paper input[type=radio]:checked::after, .x-paper input[type=checkbox]:checked::after { content: '✓'; position: absolute; inset: 0; font-size: 15px; line-height: 16px; text-align: center; color: #14505F; font-weight: 900; }
  .x-paper table th { background: #1E5F74 !important; color: #fff !important; border-color: #1E5F74 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .x-paper table tbody tr:nth-child(even) td { background: #F4F9F8; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .x-paper table td, .x-paper table th { border-color: #A9C3C0; }
}
.more-hide { display: none !important; }
.svc-more { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 22px 0 8px; }
.svc-more .btn { min-width: 240px; } .svc-more small { color:#51666d; font-size: 13px; }
.svc-more[hidden] { display: none !important; }
/* 1.109.0 — بلاطة الخدمة على الجوال: ملاحظة "معاينة مجانية" تمتد بعرض البطاقة بدل عمود ضيق تحت الأيقونة */
@media (max-width: 760px) { .svc .pro-note { grid-column: 1 / -1; margin: 6px 0 0; } .svc .fav-btn { grid-column: auto; } }
.ph-c .ph-logo { height: 54px; width: auto; object-fit: contain; margin: 0 auto 4px; display: block; }
/* 1.110.0 — رأس الصفحة على الجوال للمستخدم المسجّل (البحث + الصورة الرمزية + ابدأ الآن): لا ينكسر الزر على سطرين */
.top .acts .btn { white-space: nowrap; }
@media (max-width: 520px) { .top .acts { gap: 10px; } }
@media (max-width: 380px) { .top .acts { gap: 8px; } .top .acts .btn.pri { padding: 9px 12px; font-size: 13.5px; } }
@media (max-width: 340px) { .top .wrap { gap: 8px; } .top .acts { gap: 6px; } .top .acts .btn.pri { padding: 8px 10px; font-size: 13px; } .logo img { height: 44px; } }
/* 1.111.0 — الشهادات: ترويسة رسمية (المملكة/الوزارة/الإدارة/المدرسة) وشعار الوزارة والتاريخ، وخانة ختم بدل الأيقونة */
.ct { width: 100%; }
.ct-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin-bottom: 1.5%; }
.ct-r { text-align: right; font-size: clamp(8px, 1.15vw, 12.5px); font-weight: 700; color: #3b4b4f; line-height: 1.65; }
.ct-l { text-align: left; font-size: clamp(8px, 1.15vw, 12.5px); font-weight: 700; color: #3b4b4f; }
.ct-logo { height: clamp(34px, 6vw, 70px); width: auto; object-fit: contain; }
.cs .seal { width: clamp(46px, 8vw, 86px); height: clamp(46px, 8vw, 86px); min-width: 0 !important; border: 1.5px dashed color-mix(in srgb, var(--c) 55%, #fff); border-radius: 50%; display: flex !important; align-items: center; justify-content: center; font-size: clamp(9px, 1.3vw, 13px) !important; color: #8aa3a3; font-weight: 700; }

/* ===== 1.115 — هيدر نظيف: الشعار والبحث وزر القائمة فقط، والترحيب والحساب و«ابدأ الآن» داخل القائمة الجانبية ===== */
header.top .acts .m-greet, header.top .acts .login, header.top .acts > .btn.pri, header.top .acts .ma-wrap, header.top .menu .rl-sw, header.top .menu .login-m { display: none !important; }
header.top .burger { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0; line-height: 1; }
header.top .burger .bg-ic { display: inline-flex; color: var(--b1, #155066); }
header.top .burger .bg-av, header.top .burger .bg-pt { display: none; }
@media (min-width: 921px) {
  header.top .burger { order: 9; width: auto; min-width: 44px; height: 44px; padding: 0 12px; margin-inline-start: 6px; border-radius: 24px; border: 1px solid var(--line, #DCE7E5); background: #fff; box-shadow: 0 4px 14px rgba(21,80,102,.08); cursor: pointer; transition: box-shadow .2s, border-color .2s; }
  header.top .burger:hover { border-color: #9FD7C3; box-shadow: 0 6px 18px rgba(21,80,102,.14); }
  header.top .burger.in { padding-inline-start: 5px; }
  header.top .burger.in .bg-av:not([hidden]) { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #1E7290, #2A9C86); color: #fff; font-size: 15px; font-weight: 900; }
  header.top .burger .bg-pt:not([hidden]) { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 900; color: #7A5200; background: #FFF4D6; border-radius: 14px; padding: 4px 9px; }
}
@media (max-width: 920px) { header.top .acts { gap: 8px; } }
/* زر العودة للأعلى أُخفي: زر الدعم يغطيه، والتمرير متاح دائماً */
.to-top { display: none !important; }
/* الطباعة: لا تُطبع أي أزرار أو نوافذ من واجهة المنصة، ولا يُقص المحتوى */
@media print {
  .mjc, #mjContact, .to-top, .mb-handle, .mbar, .cart-fab, .cart-ov, .cart-dr, .ma-reward, .ma-toast, #maToast, .ma-mask, .rc-mask, .dw-mask, .pp-mask, .mjs-mask, .mjs-btn, .mj-prog, .mj-net, .x-toast, .cart-toast, .gm-pop, .rl-bar, header.top, .skip-link { display: none !important; }
  html, body { height: auto !important; min-height: 0 !important; overflow: visible !important; }
  body { padding: 0 !important; margin: 0 !important; }
  .x-paper, .x-paper > div, .card, main, #main, .wrap, .tool-wrap { overflow: visible !important; max-height: none !important; }
  .x-paper [style*="overflow"] { overflow: visible !important; }
}
/* 1.115 — الشراء قبل تفعيل بوابة الدفع: شارة «قريباً» بدل أزرار الشراء */
.btn.soon, .btn.pkg-soon { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: #F1F5F4 !important; color: #5E6F72 !important; border: 1.5px dashed #C3D5D1 !important; box-shadow: none !important; cursor: default; pointer-events: none; font-weight: 800; white-space: nowrap; }
.btn.soon .ic, .btn.soon svg { width: 18px; height: 18px; }
/* زر «أضف للسلة» بنص واضح في بطاقات المتجر */
.sh-foot { flex-wrap: wrap; row-gap: 8px; }
.sh-foot .cart-add[data-lbl] { gap: 6px; font-weight: 800; white-space: nowrap; padding: 8px 12px; }
.paym span.pk-logo { padding: 3px 8px; display: inline-flex; align-items: center; }
.paym span.pk-logo img { height: 22px; width: auto; max-width: 70px; display: block; object-fit: contain; }
/* ===== 1.115 — فلسفة منجاز: الدعم والبناء والإثراء والنمو والإنجاز ===== */
.mj-pillars { padding: 56px 0 40px; background: linear-gradient(180deg, rgba(234,245,242,.6), rgba(255,255,255,0)); }
.mj-pillars.in-page { padding: 18px 0 8px; background: none; }
.mj-pillars .pl-eye { display: inline-block; font-size: 13px; font-weight: 900; color: #1F7A68; background: #E3F4EE; border-radius: 20px; padding: 4px 14px; }
.mj-pillars h2 { font-size: 30px; font-weight: 900; color: var(--b1, #155066); margin: 10px 0 6px; line-height: 1.4; }
.mj-pillars.in-page h2 { font-size: 22px; }
.mj-pillars .pl-lead { color: #33474C; font-size: 16px; line-height: 1.9; max-width: 760px; margin: 0 0 22px; }
.pl-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.pl-card { background: #fff; border: 1px solid #DCEBE8; border-radius: 20px; padding: 18px 16px; box-shadow: 0 10px 26px rgba(21,80,102,.07); display: flex; flex-direction: column; gap: 8px; transition: transform .2s, box-shadow .2s; }
.pl-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(21,80,102,.12); }
.pl-ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #1E7290, #2A9C86); box-shadow: 0 8px 18px rgba(30,114,144,.25); }
.pl-card:nth-child(2) .pl-ic { background: linear-gradient(135deg, #2F6FB3, #4C9BE0); }
.pl-card:nth-child(3) .pl-ic { background: linear-gradient(135deg, #6A4BB8, #9B7FE3); }
.pl-card:nth-child(4) .pl-ic { background: linear-gradient(135deg, #2E8B57, #6CC08B); }
.pl-card:nth-child(5) .pl-ic { background: linear-gradient(135deg, #D08A1E, #F2B33D); }
.pl-card b { font-size: 19px; font-weight: 900; color: #10282F; }
.pl-card p { margin: 0; color: #4B6469; font-size: 14px; line-height: 1.85; }
@media (max-width: 1100px) { .pl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .mj-pillars { padding: 30px 0 24px; } .mj-pillars h2 { font-size: 22px; } .mj-pillars .pl-lead { font-size: 14.5px; }
  .pl-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pl-card { padding: 14px 12px; border-radius: 18px; } .pl-card:last-child { grid-column: 1 / -1; }
  .pl-ic { width: 46px; height: 46px; border-radius: 14px; } .pl-ic svg { width: 26px; height: 26px; }
  .pl-card b { font-size: 17px; } .pl-card p { font-size: 13px; line-height: 1.75; }
}
@media print { .mj-pillars { display: none !important; } }

/* 1.116 — بوابة القيادة المدرسية: بطاقة البوابة الفرعية في بوابة المعلم وصفحة البوابة */
.subp { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; margin: 4px 0 18px; padding: 20px 24px; border-radius: 22px; background: linear-gradient(120deg, #133F52 0%, #1E7290 55%, #2A9C86 100%); color: #fff; text-decoration: none; box-shadow: 0 14px 32px rgba(21, 80, 102, .18); position: relative; overflow: hidden; isolation: isolate; }
.subp::after { content: ''; position: absolute; inset-inline-end: -50px; top: -70px; width: 230px; height: 230px; border-radius: 50%; border: 26px solid rgba(255, 255, 255, .06); z-index: -1; }
.subp-ic { width: 64px; height: 64px; border-radius: 18px; background: rgba(255, 255, 255, .14); display: flex; align-items: center; justify-content: center; color: #fff; }
.subp-tx { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.subp-tx small { font-weight: 800; font-size: 12.5px; color: #CDEDE5; }
.subp-tx b { font-size: 21px; font-weight: 900; line-height: 1.35; }
.subp-tx span { font-size: 14.5px; color: #E2F2EF; line-height: 1.75; }
.subp-go { background: #fff; color: #155066; font-weight: 900; font-size: 15px; padding: 10px 18px; border-radius: 999px; white-space: nowrap; }
.subp:hover .subp-go { background: #EFF8F6; }
.subp:focus-visible { outline: 3px solid #F2B33D; outline-offset: 3px; }
body.rl-leader .subp { box-shadow: 0 0 0 3px #F2B33D, 0 14px 32px rgba(21, 80, 102, .2); }
@media (max-width: 640px) { .subp { grid-template-columns: auto minmax(0, 1fr); padding: 16px; gap: 12px; border-radius: 20px; } .subp-ic { width: 52px; height: 52px; border-radius: 15px; } .subp-tx b { font-size: 18px; } .subp-tx span { font-size: 13px; } .subp-go { grid-column: 1 / -1; text-align: center; } }
.ld-crumb { margin: 2px 0 12px; font-size: 14px; color: var(--mut); } .ld-crumb a { color: var(--b1); font-weight: 800; text-decoration: none; }
.ld-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 14px; padding: 12px 16px; border-radius: 14px; background: #FFF8E6; border: 1px solid #F0D58C; color: #5B4510; font-size: 14px; line-height: 1.7; }
.ld-note.ok { background: #ECF8F4; border-color: #BFE0D6; color: #155066; }
.ld-note button { font: inherit; font-weight: 800; color: var(--b1); background: #fff; border: 1.5px solid #CFE2E0; border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.ld-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 6px; }
.ld-jump a { padding: 7px 14px; border-radius: 999px; background: #fff; border: 1.5px solid #D5E3E1; color: var(--b1); font-weight: 800; font-size: 13.5px; text-decoration: none; }
.ld-jump a:hover, .ld-jump a:focus-visible { border-color: var(--g1); }
.ld-sec { padding-top: 18px; scroll-margin-top: 96px; }
.ld-sec > h2 { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 900; color: var(--b1); }
.ld-sec > h2 > span { width: 40px; height: 40px; border-radius: 12px; background: #E3F2EE; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; flex: none; }
.ld-sec > p { color: var(--mut); margin: 4px 0 2px; font-size: 15px; }
.ld-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 10px 0 22px; }
.ld-sec[hidden] { display: none; }
@media (max-width: 920px) { .ld-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .ld-grid { gap: 10px; padding-bottom: 14px; } .ld-sec > h2 { font-size: 19px; } .ld-sec > h2 > span { width: 34px; height: 34px; font-size: 17px; } }

.subp2 { background: linear-gradient(120deg, #2E1A63 0%, #4B2A9E 50%, #2F6FB8 100%); margin-top: -6px; }

/* 1.121.0 — خلفيات الواجهة المصوّرة (الفصل الذكي) للكمبيوتر والتابلت والجوال */
:root { --hero-w: url('img/bg/hero-w1600.jpg'); --hero-ws: image-set(url('img/bg/hero-w1600.webp') type('image/webp'), url('img/bg/hero-w1600.jpg') type('image/jpeg')); --hero-t: url('img/bg/hero-t800.jpg'); --hero-ts: image-set(url('img/bg/hero-t800.webp') type('image/webp'), url('img/bg/hero-t800.jpg') type('image/jpeg')); }
@media (min-width: 1601px) { :root { --hero-ws: image-set(url('img/bg/hero-w2560.webp') type('image/webp'), url('img/bg/hero-w1600.jpg') type('image/jpeg')); } }
@media (max-width: 1100px) { :root { --hero-ws: image-set(url('img/bg/hero-w1024.webp') type('image/webp'), url('img/bg/hero-w1600.jpg') type('image/jpeg')); } }
@media (min-width: 520px) and (max-width: 760px) { :root { --hero-ts: image-set(url('img/bg/hero-t1200.webp') type('image/webp'), url('img/bg/hero-t800.jpg') type('image/jpeg')); } }
.hero.pattern, .svc-hero.pattern, .sh-hero { background-color: #123F55; background-image: linear-gradient(180deg, rgba(9,34,50,.30) 0%, rgba(9,34,50,.48) 60%, rgba(9,34,50,.66) 100%), var(--hero-w); background-image: linear-gradient(180deg, rgba(9,34,50,.30) 0%, rgba(9,34,50,.48) 60%, rgba(9,34,50,.66) 100%), var(--hero-ws); background-size: cover; background-position: center 42%; background-repeat: no-repeat; color: #fff; border-radius: 0 0 34px 34px; }
.hero.pattern::before, .svc-hero.pattern::before { display: none; }
/* الصفحة الرئيسية — كمبيوتر وتابلت */
.hero.pattern { padding: 36px 0 44px; margin-bottom: 18px; }
.hero.pattern .big-logo img { background: rgba(255,255,255,.90); border-radius: 30px; padding: 14px 26px; box-shadow: 0 22px 50px rgba(4,22,34,.35); max-width: 520px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero.pattern .big-logo .lt { color: #fff; }
.hero.pattern h1 { color: #fff; text-shadow: 0 2px 18px rgba(4,22,34,.45); }
.hero.pattern .sub { color: rgba(255,255,255,.92); text-shadow: 0 1px 10px rgba(4,22,34,.4); }
.hero.pattern .art img { filter: drop-shadow(0 10px 18px rgba(4,22,34,.28)); }
.hero.pattern > .wrap::after { display: none; }
.hero.pattern .feats { gap: 16px; }
.hero.pattern .feat { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); border-radius: 22px; padding: 18px 16px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hero.pattern .feat svg { color: #9BE6C6; } .hero.pattern .feat b { color: #fff; } .hero.pattern .feat p { color: rgba(255,255,255,.88); }
.hero.pattern .cta .btn.pri.alt { background: rgba(255,255,255,.95); color: var(--b1); }
/* رؤوس البوابات والمتجر */
.svc-hero.pattern { padding: 50px 0 42px; margin-bottom: 22px; }
.svc-hero.pattern h1 { color: #fff; text-shadow: 0 2px 16px rgba(4,22,34,.45); } .svc-hero.pattern h1 span { color: #9BE6C6; }
.svc-hero.pattern p { color: rgba(255,255,255,.92); }
.svc-hero.pattern .pill { background: rgba(255,255,255,.18); color: #fff; border: 1px solid rgba(255,255,255,.28); }
.sh-hero { background-position: center 38%; }
/* تابلت */
@media (min-width: 761px) and (max-width: 1100px) {
  .hero.pattern { padding: 28px 0 34px; border-radius: 0 0 28px 28px; background-position: 38% 40%; }
  .hero.pattern .big-logo img { max-width: 420px; }
  .hero.pattern .feats { grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 30px; }
  .hero.pattern .feat { padding: 14px 10px; } .hero.pattern .feat .h { flex-direction: column; gap: 6px; } .hero.pattern .feat svg { width: 36px; height: 36px; }
  .hero.pattern .feat p { font-size: 14px; }
  .svc-hero.pattern { padding: 40px 0 34px; border-radius: 0 0 28px 28px; }
}
/* الجوال: الصورة الطولية خلف الواجهة وتتلاشى نحو خلفية المنصة */
@media (max-width: 760px) {
  .m-home.pattern { position: relative; isolation: isolate; padding-top: 22px; }
  html .m-home.pattern::before { opacity: 1; display: block; z-index: -1; inset: 0 0 auto 0; height: min(130vw, 760px); background-color: #123F55; background-image: linear-gradient(180deg, rgba(9,34,50,.18), rgba(9,34,50,.36) 70%, rgba(9,34,50,.5)), var(--hero-t); background-image: linear-gradient(180deg, rgba(9,34,50,.18), rgba(9,34,50,.36) 70%, rgba(9,34,50,.5)), var(--hero-ts); background-size: cover; background-position: center top; -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent); mask-image: linear-gradient(180deg, #000 72%, transparent); }
  .m-home .m-hero { background: rgba(255,255,255,.90); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.6); box-shadow: 0 18px 44px rgba(4,22,34,.30); margin-top: 34vw; }
  .svc-hero.pattern { padding: 30px 0 24px; border-radius: 0 0 24px 24px; margin-bottom: 14px; background-position: 30% center; }
  .sh-hero { border-radius: 0 0 24px 24px; }
}
@media (max-width: 380px) { .m-home .m-hero { margin-top: 26vw; } }
@media print { .hero.pattern, .svc-hero.pattern, .sh-hero, .m-home.pattern::before { background: none !important; color: #000 !important; } }

/* 1.123.0 — رأس موحّد مصوّر لصفحات الخدمات (451 صفحة) والصفحات العامة: أزرق للمعلم وأخضر للطالب */
main.tool > .tool-head, .page-head { position: relative; overflow: hidden; isolation: isolate; margin: 4px 0 16px; padding: 20px 24px 22px; border-radius: 22px; color: #fff; background-color: #155066; background-image: linear-gradient(100deg, rgba(14,52,72,.92) 0%, rgba(21,80,102,.80) 45%, rgba(21,80,102,.45) 100%), var(--hero-w); background-image: linear-gradient(100deg, rgba(14,52,72,.92) 0%, rgba(21,80,102,.80) 45%, rgba(21,80,102,.45) 100%), var(--hero-ws); background-size: cover; background-position: center 45%; box-shadow: 0 14px 34px rgba(16,40,47,.16); }
main.tool > .tool-head:has(.back[href="student.html"]), .page-head.stu { background-color: #1B6B55; background-image: linear-gradient(100deg, rgba(16,70,56,.92) 0%, rgba(31,122,100,.80) 45%, rgba(42,156,134,.42) 100%), var(--hero-w); background-image: linear-gradient(100deg, rgba(16,70,56,.92) 0%, rgba(31,122,100,.80) 45%, rgba(42,156,134,.42) 100%), var(--hero-ws); }
main.tool > .tool-head .back, .page-head .back { display: inline-flex; align-items: center; gap: 6px; color: #fff; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 3px 12px; font-size: 13px; font-weight: 800; text-decoration: none; }
main.tool > .tool-head .back::before, .page-head .back::before { content: '→'; font-weight: 900; }
main.tool > .tool-head .back:hover, .page-head .back:hover { background: rgba(255,255,255,.26); }
main.tool > .tool-head h1, .page-head h1 { color: #fff; margin-top: 8px; text-shadow: 0 2px 14px rgba(4,22,34,.35); }
main.tool > .tool-head h1 span, .page-head h1 span { color: #9BE6C6; }
main.tool > .tool-head .muted, main.tool > .tool-head p, .page-head .muted, .page-head p { color: rgba(255,255,255,.9); }
main.tool > .tool-head a:not(.back):not(.btn), .page-head a:not(.back):not(.btn) { color: #CFF3E6; }
main.tool > .tool-head .x-badge { color: rgba(255,255,255,.9); margin: 6px 0 0; }
.page-head h1 { font-size: clamp(24px, 3.6vw, 34px); font-weight: 900; line-height: 1.4; }
.page-head h1:first-child { margin-top: 0; }
.page-head > p, .page-head .lead { margin: 6px 0 0; max-width: 720px; font-size: 15.5px; line-height: 1.9; text-align: start; }
.page-head small { display: inline-block; color: #CFF3E6; font-weight: 800; font-size: 13px; }
.page-head .btn.ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.35); }
.page-head .btn.ghost:hover { background: rgba(255,255,255,.24); }
.page-head svg.ic { color: #9BE6C6; }
@media (max-width: 760px) { main.tool > .tool-head, .page-head { padding: 14px 16px 16px; border-radius: 18px; background-position: 30% center; } main.tool > .tool-head h1, .page-head h1 { font-size: 22px; } }
@media print { main.tool > .tool-head, .page-head { display: none !important; } }
body .page-head h1 { color: #fff; } body .page-head .lead, body .page-head > p { color: rgba(255,255,255,.92); } body .page-head .lead a { color: #CFF3E6; }
body .page-head h1 span { color: #9BE6C6; }

/* 1.123.0 — رأس يحمل زر الرجوع فقط (مثل صفحة المنتج): شريط تنقّل خفيف بدل شريط مصوّر فارغ */
main.tool > .tool-head:not(:has(h1)):not(:has(p)) { background: none; padding: 0; margin: 0 0 12px; border-radius: 0; box-shadow: none; overflow: visible; }
main.tool > .tool-head:not(:has(h1)):not(:has(p)) .back { color: var(--b1); background: #fff; border-color: var(--line); }
main.tool > .tool-head:not(:has(h1)):not(:has(p)) .back:hover { background: #F1F7F6; }
main.tool > .tool-head .back:has(svg)::before, .page-head .back:has(svg)::before { content: none; } /* لا سهمان معاً */

/* ===== 1.124.0 — الرأس: زر القائمة يميناً والشعار يساراً، و«لوحتي» ظاهرة في الأعلى ===== */
header.top .wrap { gap: 22px; }
header.top .burger { order: -2 !important; margin-inline-start: 0 !important; margin-inline-end: 0; }
header.top .menu { order: 0; }
header.top .acts { order: 1; margin-inline-start: auto; }
header.top .logo { order: 2; }
.hd-sp { display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 14px; border-radius: 24px; background: linear-gradient(135deg, var(--b2), var(--g1)); color: #fff; font-weight: 900; font-size: 15px; text-decoration: none; box-shadow: 0 6px 16px rgba(21,80,102,.18); white-space: nowrap; }
.hd-sp:hover { filter: brightness(1.06); }
.hd-sp.on { box-shadow: 0 0 0 3px rgba(155,230,198,.8), 0 6px 16px rgba(21,80,102,.18); }
.hd-sp svg { flex: none; }
header.top .menu a[href="partners.php"] { display: none; }
@media (max-width: 920px) {
  header.top .wrap { gap: 10px; }
  .hd-sp { width: 44px; padding: 0; justify-content: center; border-radius: 14px; }
  .hd-sp span { display: none; }
  header.top .logo img { height: 46px; }
}
@media (max-width: 760px) { body:has(.m-home) .top .burger, header.top .burger { order: -2 !important; } }

/* ===== 1.124.0 — القائمة الجانبية: «لوحتي» في الأعلى وألوان المنصة في الأسفل ===== */
.dw-space { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; padding: 14px 16px; border-radius: 18px; color: #fff; text-decoration: none; background: linear-gradient(120deg, var(--b1), var(--b2) 55%, var(--g1)); box-shadow: 0 10px 22px rgba(21,80,102,.2); }
.dw-space .si { width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,.18); display: grid; place-items: center; flex: none; }
.dw-space b { display: block; font-size: 17px; font-weight: 900; } .dw-space small { display: block; font-size: 12.5px; opacity: .9; line-height: 1.6; }
.dw-space .sg { margin-inline-start: auto; opacity: .85; }
.dw-th { margin: 16px 0 6px; padding: 14px; border-radius: 16px; background: #F4F8F8; border: 1px solid var(--line); }
.dw-th > b { display: block; font-size: 14px; font-weight: 900; color: var(--b1); margin-bottom: 10px; }
.dw-th .row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.dw-th button { font: inherit; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 6px 2px; border: 0; background: none; cursor: pointer; color: #33474C; font-size: 11.5px; font-weight: 800; border-radius: 12px; }
.dw-th button i { width: 34px; height: 34px; border-radius: 50%; display: block; box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); }
.dw-th button[aria-checked="true"] i { outline: 3px solid var(--ink); outline-offset: 2px; }
.dw-th button:focus-visible { outline: 2px solid var(--b2); }

/* ===== 1.124.0 — ألوان المنصة (تُطبَّق على الشاشة فقط، والمطبوعات تبقى بالتنسيق الرسمي) ===== */
html[data-th="blue"] { --th1: #123A66; --th2: #1F5FAE; --th3: #3B8FD9; --th4: #7DB8EC; --thr: 18, 58, 102; --thl: #EAF2FC; --thl2: #F4F8FE; }
html[data-th="purple"] { --th1: #2E1A63; --th2: #4B2A9E; --th3: #8A5CD6; --th4: #B79BEA; --thr: 46, 26, 99; --thl: #F1ECFB; --thl2: #F8F5FD; }
html[data-th="green"] { --th1: #123F29; --th2: #1F6B45; --th3: #4FA65B; --th4: #8CCB8F; --thr: 18, 63, 41; --thl: #EAF6EC; --thl2: #F5FAF5; }
html[data-th="pink"] { --th1: #7A1F52; --th2: #C2367F; --th3: #EE7FB0; --th4: #F5B3CF; --thr: 122, 31, 82; --thl: #FCEEF5; --thl2: #FEF7FA; }
@media screen {
  html[data-th] { --b1: var(--th1); --b2: var(--th2); --g1: var(--th3); --g2: var(--th4); background: var(--thl); }
  html[data-th] body { background: radial-gradient(1100px 620px at 92% -6%, rgba(var(--thr), .10), transparent 60%), linear-gradient(180deg, var(--thl) 0%, var(--thl2) 55%, var(--thl) 100%); }
  html[data-th] header.top .burger .bg-ic, html[data-th] .mbar a { color: var(--th1); }
  html[data-th] .mbar a.on, html[data-th] .mbar a.on svg { color: var(--th2); }
  html[data-th] .btn.pri.alt, html[data-th] .svc-filter button[aria-pressed="true"], html[data-th] .svc-cats button[aria-pressed="true"], html[data-th] .prc-card .rib, html[data-th] .m-cta { background: linear-gradient(135deg, var(--th2), var(--th3)) !important; }
  html[data-th] .hero.pattern, html[data-th] .svc-hero.pattern, html[data-th] .sh-hero, html[data-th] .sx-hero, html[data-th] body.shop .sh-hero, html[data-th] main.tool > .tool-head, html[data-th] .page-head, html[data-th] .lp-hero, html[data-th] .subp, html[data-th] .ds-next { background-color: var(--th1) !important; background-image: linear-gradient(110deg, rgba(var(--thr), .9) 0%, rgba(var(--thr), .72) 50%, rgba(var(--thr), .5) 100%), var(--hero-ws) !important; background-size: cover !important; background-position: center 40% !important; }
  html[data-th] main.tool > .tool-head:not(:has(h1)):not(:has(p)) { background: none !important; }
  html[data-th] footer.mj-footer { background: linear-gradient(180deg, var(--th1), rgba(var(--thr), 1)) !important; }
  html[data-th] footer.mj-footer::before { background: linear-gradient(90deg, var(--th3), var(--th4)) !important; }
  html[data-th] .pill { background: rgba(var(--thr), .1); color: var(--th1); }
  /* (1.129) الشارة داخل الشريط المصوّر الداكن تبقى بيضاء في كل الألوان (كان تباينها 1.04 إلى 1.35) */
  html[data-th] .svc-hero.pattern .pill, html[data-th] .hero.pattern .pill, html[data-th] .sh-txt .pill, html[data-th] .page-head .pill, html[data-th] .tool-head .pill { background: rgba(255,255,255,.18); color: #fff; border: 1px solid rgba(255,255,255,.3); }
  html[data-th] .momo-fab { color: var(--th1); } html[data-th] .momo-fab .mf-ic { background: var(--thl); }
  html[data-th] .menu a:hover, html[data-th] .menu a.on, html[data-th] .tool-head .back { color: var(--th2); }
  html[data-th] :focus-visible { outline-color: var(--th3); }
  html[data-th] .svc .ic:not(:has(img)), html[data-th] .pl-ic { background: linear-gradient(135deg, var(--th2), var(--th3)); color: #fff; }
}

/* ===== 1.124.0 — الصفحة التعريفية للزائر قبل تسجيل الدخول (index.html) ===== */
.lp-only { display: none; }
html:not(.mj-in) .lp-only { display: block; }
html:not(.mj-in) .home-only { display: none !important; }
.lp-eye { display: inline-block; font-size: 13px; font-weight: 900; color: #1F7A68; background: #E3F4EE; border-radius: 20px; padding: 4px 14px; }
.lp-hero { position: relative; color: #fff; padding: 46px 0 70px; border-radius: 0 0 36px 36px; background-color: #123F55; background-image: linear-gradient(105deg, rgba(9,34,50,.82) 0%, rgba(9,34,50,.58) 55%, rgba(9,34,50,.35) 100%), var(--hero-w); background-image: linear-gradient(105deg, rgba(9,34,50,.82) 0%, rgba(9,34,50,.58) 55%, rgba(9,34,50,.35) 100%), var(--hero-ws); background-size: cover; background-position: center 40%; }
.lp-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 34px; align-items: center; }
.lp-hero .lp-eye { background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.28); }
.lp-hero h1 { font-size: clamp(30px, 4.4vw, 52px); font-weight: 900; line-height: 1.3; margin: 14px 0 12px; text-shadow: 0 2px 18px rgba(4,22,34,.45); }
.lp-hero h1 span { color: #9BE6C6; }
.lp-sub { font-size: 17px; line-height: 1.95; color: rgba(255,255,255,.93); max-width: 620px; }
.lp-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.lp-cta .btn { padding: 14px 26px; font-size: 16.5px; }
.lp-ghost { background: rgba(255,255,255,.14); color: #fff; border: 1.5px solid rgba(255,255,255,.4); }
.lp-ghost:hover { background: rgba(255,255,255,.24); }
.lp-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; font-size: 14.5px; font-weight: 800; color: rgba(255,255,255,.92); }
.lp-trust li { display: inline-flex; align-items: center; gap: 6px; } .lp-trust svg { color: #9BE6C6; }
.lp-roles { display: grid; gap: 12px; }
.lp-roles a { display: grid; grid-template-columns: 52px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 16px 18px; border-radius: 20px; text-decoration: none; color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.24); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform .2s, background .2s; }
.lp-roles a:hover { transform: translateX(-4px); background: rgba(255,255,255,.2); }
.lp-roles span { grid-row: 1 / 3; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.92); color: #155066; }
.lp-roles b { font-size: 18px; font-weight: 900; } .lp-roles small { font-size: 13.5px; color: rgba(255,255,255,.88); }
html:not(.mj-in) .mj-stats { margin-top: -40px; }
.lp-h { text-align: center; margin-bottom: 22px; }
.lp-h h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 900; color: var(--b1); margin: 10px 0 6px; line-height: 1.4; }
.lp-h p { color: var(--mut); font-size: 16px; }
.lp-pls { padding: 50px 0 20px; }
.lp-pl { position: relative; margin: 0 0 22px; border-radius: 26px; overflow: hidden; box-shadow: 0 18px 40px rgba(16,40,47,.14); background: #fff; }
.lp-pl picture, .lp-pl img { display: block; width: 100%; height: auto; }
.lp-pl .lp-pl-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lp-pl .lp-pl-t a { pointer-events: auto; }
.lp-pl::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); pointer-events: none; }
.lp-faq { padding: 30px 0 10px; }
.lp-faq .wrap { max-width: 860px; }
.lp-faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 4px 18px; margin-bottom: 10px; box-shadow: 0 6px 16px rgba(21,80,102,.05); }
.lp-faq summary { cursor: pointer; list-style: none; font-weight: 900; font-size: 16.5px; color: var(--b1); padding: 14px 0; display: flex; justify-content: space-between; gap: 12px; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--g1); transition: transform .2s; }
.lp-faq details[open] summary::after { transform: rotate(45deg); }
.lp-faq details p { color: #33474C; line-height: 1.95; padding: 0 0 14px; }
.lp-faq details a { color: var(--g1); font-weight: 800; }
.lp-end { padding: 26px 0 50px; }
.lp-end-in { text-align: center; color: #fff; padding: 40px 24px; border-radius: 28px; background-color: #123F55; background-image: linear-gradient(110deg, rgba(14,52,72,.9), rgba(21,80,102,.7)), var(--hero-ws); background-size: cover; background-position: center; }
.lp-end-in h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 900; }
.lp-end-in p { color: rgba(255,255,255,.9); margin-top: 6px; }
.lp-end-in .lp-cta { justify-content: center; }
@media (max-width: 920px) {
  .lp-hero .wrap { grid-template-columns: 1fr; gap: 22px; }
  .lp-roles { grid-template-columns: repeat(3, 1fr); }
  .lp-roles a { grid-template-columns: 1fr; grid-template-rows: auto; text-align: center; justify-items: center; row-gap: 6px; padding: 14px 8px; }
  .lp-roles span { grid-row: auto; }
}
@media (max-width: 700px) {
  .lp-hero { padding: 28px 0 56px; border-radius: 0 0 26px 26px; background-position: 30% center; }
  .lp-sub { font-size: 15.5px; }
  .lp-cta .btn { flex: 1 1 auto; }
  .lp-roles { grid-template-columns: 1fr; }
  .lp-roles a { grid-template-columns: 46px 1fr; text-align: start; justify-items: start; padding: 12px 14px; }
  .lp-roles span { grid-row: 1 / 3; width: 46px; height: 46px; }
  .lp-pls { padding: 34px 0 10px; }
  .lp-pl { border-radius: 22px; }
  .lp-pl .lp-pl-t { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; padding: 14px 16px 16px; }
  .lp-pl-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: var(--pc); float: right; margin-inline-end: 12px; }
  .lp-pl h3 { font-size: 22px; font-weight: 900; color: var(--pc); line-height: 1.9; }
  .lp-pl p { clear: both; padding-top: 8px; color: #33474C; font-size: 15px; line-height: 1.9; }
  .lp-pl .lp-pl-t a { display: inline-block; margin-top: 8px; font-weight: 900; color: var(--pc); }
}
@media (prefers-reduced-motion: reduce) { .lp-roles a { transition: none; } }
@media print { .lp-only { display: none !important; } }
.lp-pl-go { position: absolute; bottom: 7%; inset-inline-start: 5.5%; display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; border-radius: 999px; background: #fff; color: var(--pc); font-weight: 900; font-size: 14.5px; text-decoration: none; box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.lp-pl.lp-l .lp-pl-go { inset-inline-start: auto; inset-inline-end: 5.5%; }
.lp-pl-go:hover { transform: translateY(-2px); }
@media (max-width: 700px) { .lp-pl-go { display: none; } }

/* ===== 1.125.0 — الربط السياقي: مسار التنقل، الخطوة التالية، خدمات القسم ===== */
.mj-crumbs { margin: 6px 0 10px; font-size: 13.5px; }
.mj-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0; padding: 0; margin: 0; }
.mj-crumbs li { display: inline-flex; align-items: center; color: var(--mut); }
.mj-crumbs li + li::before { content: '‹'; margin: 0 8px; color: #9DB2B6; font-weight: 900; }
.mj-crumbs a { color: var(--b1); font-weight: 800; text-decoration: none; }
.mj-crumbs a:hover { color: var(--g1); text-decoration: underline; }
.mj-crumbs [aria-current] { color: #44585C; font-weight: 700; max-width: 52ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mj-next { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 22px 0 6px; padding: 16px 18px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 26px rgba(21,80,102,.07); }
.mj-next .mn-ic { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; flex: none; color: #fff; background: linear-gradient(135deg, var(--b2), var(--g1)); }
.mj-next .mn-ic.pro { background: linear-gradient(135deg, #E59C2F, #F8C764); color: #4A3200; }
.mj-next .mn-t { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mj-next .mn-t small { font-size: 12px; font-weight: 900; color: var(--g1); }
.mj-next .mn-t b { font-size: 16.5px; font-weight: 900; color: var(--b1); }
.mj-next .mn-t span { font-size: 13.5px; color: #4F6266; line-height: 1.7; }
.mj-next .btn { padding: 11px 20px; font-size: 15px; }
.mj-rel .x-relg, .x-rel .x-relg { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.mj-rel { margin: 26px 0 8px; } .mj-rel h2 { font-size: 18px; color: var(--b1); margin: 0 0 10px; }
.mj-rel .x-relc { display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; text-decoration: none; color: inherit; }
.mj-rel .x-relc b { font-size: 14px; color: var(--b1); } .mj-rel .x-relc span { font-size: 12.5px; color: #5b6f73; line-height: 1.6; }
.mj-rel .x-relc em { font-style: normal; font-size: 11.5px; font-weight: 800; color: #8a5a00; } .mj-rel .x-relc em.fr { color: #1c7d5b; }
.mj-rel-all { display: inline-block; margin-top: 10px; font-weight: 900; font-size: 14px; color: var(--g1); text-decoration: none; }
@media (max-width: 700px) { .mj-crumbs { font-size: 12.5px; } .mj-crumbs [aria-current] { max-width: 30ch; } .mj-next .btn { flex: 1 1 auto; } }
@media print { .mj-crumbs, .mj-next, .mj-rel { display: none !important; } }
/* 1.126.0 — جدول المقارنة في صفحة الأسعار: أعداد الخدمات المتقدمة والمجانية */
.prc-cmp .prc-more td:first-child a { font-weight: 900; color: var(--b1); text-decoration: none; }
.prc-cmp .prc-more td:first-child a b { color: var(--g1); }
.prc-cmp .prc-more small { display: block; color: var(--mut); font-size: 12.5px; line-height: 1.7; font-weight: 600; }
.prc-cmp .prc-note { background: #FFF8E6; color: #5A4300; font-size: 13.5px; line-height: 1.8; }
.prc-cmp .prc-note a { color: #7A4F00; font-weight: 800; }

/* ===== 1.129.0 — تفاصيل الواجهة ===== */
/* عزل الكلمات اللاتينية داخل النص العربي حتى لا ينقلب ترتيب «PDF و Word» */
.ltr-w, bdi { unicode-bidi: isolate; }
/* الخيار الأول «— اختر —» في القوائم يظهر بلون ثانوي */
select:invalid { color: #64757A; }
/* أهداف لمس 44px وحقول 16px على الجوال (تمنع تكبير iOS التلقائي) */
@media (max-width: 760px) {
  input:not([type=checkbox]):not([type=radio]):not([type=range]), select, textarea { font-size: max(16px, 1em); }
  .btn, button.btn, a.btn { min-height: 44px; }
}
/* النصوص الثانوية بتباين 4.5:1 على الأقل */
.prc-old, s.old, .ma-pr s, .mn-t span, .mj-next .mn-t span { color: #64757A; }
.mj-next .mn-t small { color: #1E7F6C; }

/* ===== 1.130.0 — حفظ سجلات الأدوات في الحساب ===== */
.mj-sync { position: fixed; z-index: 9500; right: 50%; transform: translate(50%, 20px); bottom: calc(var(--mbh, 0px) + 24px); max-width: min(440px, calc(100vw - 32px)); background: #12413F; color: #fff; font-weight: 800; font-size: 14.5px; line-height: 1.8; padding: 10px 18px; border-radius: 14px; box-shadow: 0 12px 30px rgba(16,40,47,.28); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; text-align: center; }
.mj-sync.show { opacity: 1; transform: translate(50%, 0); }
.mj-sync-ask { position: fixed; inset: 0; z-index: 9700; background: rgba(9,30,36,.55); display: grid; place-items: center; padding: 16px; }
.mj-sync-box { background: #fff; border-radius: 20px; padding: 22px 22px 18px; max-width: 460px; width: 100%; box-shadow: 0 24px 60px rgba(9,30,36,.35); }
.mj-sync-box h2 { font-size: 19px; color: var(--b1, #155066); margin: 0 0 8px; }
.mj-sync-box p { color: #3E5257; line-height: 1.9; margin: 0 0 14px; }
.mj-sync-b { display: flex; flex-wrap: wrap; gap: 10px; }
.mj-sync-b .btn { flex: 1 1 160px; justify-content: center; }
@media print { .mj-sync, .mj-sync-ask { display: none !important; } }

/* (1.135) ركائز الصفحة التعريفية: تعريفية بلا روابط، مرتبة كخطوات الفلسفة من الدعم حتى الإنجاز */
.lp-pl-n { display: block; font-size: 12.5px; font-weight: 900; letter-spacing: .2px; color: var(--pc); opacity: .85; line-height: 1.6; }
@media (max-width: 700px) { .lp-pl .lp-pl-t { display: flow-root; } .lp-pl-n { padding-top: 2px; } .lp-pl h3 { line-height: 1.5; } }

/* ===== 1.137 — ألوان الأسعار والعروض الموحّدة =====
   السعر: تدرّج ألوان المنصة · السعر القديم: رمادي مشطوب بخط أحمر · «وفّر/الخصم»: شارة برتقالية دافئة · خصم المشتركين: ذهبي واضح */
@media screen {
  .st-price b, .sh-pr b, .prc-card .big, .mb-bx-p b, .pw-price b {
    background: linear-gradient(135deg, var(--b2, #1E7290), var(--g1, #2A9C86)); -webkit-background-clip: text; background-clip: text; color: transparent !important; -webkit-text-fill-color: transparent;
  }
  .prc-card .big small, .st-price small, .sh-pr small { -webkit-text-fill-color: #5E7A82; color: #5E7A82; }
  .prc-card.hot .big { background-image: linear-gradient(135deg, #D9540C, #F0A020); }
  html[data-th] .st-price b, html[data-th] .sh-pr b, html[data-th] .prc-card .big, html[data-th] .mb-bx-p b { background-image: linear-gradient(135deg, var(--th2), var(--th3)); }
  .sh-card[data-price="0"] .sh-pr b, .sh-sec.free .sh-pr b { background-image: linear-gradient(135deg, #1F8F6B, #3FB27F); }
  .st-price s, .sh-pr s, .mb-bx-p s, .ma-pr s, .prc-old { color: #687579 !important; text-decoration: line-through; text-decoration-color: #D9443B; text-decoration-thickness: 2px; }
  .b-off, body.shop .b-off { background: linear-gradient(135deg, #E8590C, #F59F2A) !important; color: #fff !important; box-shadow: 0 6px 14px rgba(232,89,12,.25) !important; }
  body.shop .mb-big { background: linear-gradient(135deg, #FFF7E3, #FFFBF1); border-color: #F1D9A0; }
  body.shop .mb-big b { color: #a3650a !important; }
  body.shop .mb-big em, body.shop .mb-bx-p em, .prc-card em { background: linear-gradient(135deg, #C8860F, #E8A92A) !important; color: #fff !important; }
}

/* ===== Phase 6 — shared platform chrome ===== */
.mj-legal-note { display:block; margin-top:6px; color:#5f777e; font-size:12.5px; line-height:1.8; }
.logo img { object-fit:contain; }
@media (max-width:760px) { .mj-legal-note { font-size:12px; } }

/* v1.140 — application shell for individual educational tools */
body.mj-tool-page{background:linear-gradient(180deg,#F7FAF9 0,#F4F8F7 420px,#fff 100%)}
body.mj-tool-page main.tool{max-width:980px;padding-top:22px}
body.mj-tool-page main.tool>.tool-head{margin-bottom:18px}
body.mj-tool-page .tips{padding-top:22px}
body.mj-tool-page .tips>.wrap{max-width:980px}
body.mj-tool-page .tgrid>div{background:#fff;border:1px solid #E0EAE8;border-radius:16px;box-shadow:none}
body.mj-tool-page footer{margin-top:34px;border-top:1px solid #E4ECEB;background:#FBFCFC}
@media(max-width:760px){body.mj-tool-page main.tool{padding-inline:14px;padding-top:14px}body.mj-tool-page main.tool>.tool-head{margin-inline:0}}

/* Phase 63 — premium pricing conversion */
.prc-hero{max-width:820px;margin:0 auto 24px;text-align:center;padding:34px 26px;border-radius:30px;background:linear-gradient(145deg,#F7FCFB 0%,#EEF8F5 52%,#F9FBFF 100%);border:1px solid #DCECE8;box-shadow:0 20px 55px rgba(21,80,102,.09)}
.prc-eyebrow{display:inline-flex;padding:6px 13px;border-radius:999px;background:#E2F4EE;color:#1F735F;font-size:12px;font-weight:900;margin-bottom:10px}.prc-hero h1{margin:0;color:#123F4E;font-size:clamp(30px,5vw,48px);line-height:1.25;font-weight:900}.prc-hero>p{max-width:690px;margin:12px auto 0;color:#587078;font-weight:700;line-height:1.95}.prc-trust{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:18px}.prc-trust span{background:#fff;border:1px solid #DCEBE8;border-radius:999px;padding:7px 11px;color:#31535B;font-size:12.5px;font-weight:800}.prc-note-premium{background:#F7FBFA;border:1px solid #E0ECEA;border-radius:16px;padding:12px 14px}
.prc-card{transition:transform .2s ease,box-shadow .2s ease}.prc-card:hover{transform:translateY(-3px);box-shadow:0 18px 40px rgba(21,80,102,.1)}

/* Phase 70 — Mango Game featured presence */
.mango-home{padding:34px 0 18px;background:linear-gradient(180deg,#07142c 0,#0e2347 100%);color:#fff}.mango-home .wrap{max-width:1180px}.mango-home-poster{position:relative;display:block;overflow:hidden;border-radius:30px;min-height:420px;background:#07142c;box-shadow:0 28px 70px rgba(6,20,45,.28);text-decoration:none;color:#fff;border:1px solid rgba(255,255,255,.12)}.mango-home-poster>img{width:100%;height:100%;min-height:420px;object-fit:cover;display:block}.mango-home-overlay{position:absolute;inset:auto 24px 24px auto;max-width:460px;background:rgba(4,16,42,.76);backdrop-filter:blur(12px);padding:18px 20px;border-radius:20px;border:1px solid rgba(255,255,255,.18);box-shadow:0 15px 45px rgba(0,0,0,.25)}.mango-home-overlay>*{display:block}.mango-home-badge{font-size:11px;font-weight:900;letter-spacing:.08em;color:#ffd76c;margin-bottom:5px}.mango-home-overlay strong{font-size:28px;line-height:1.35}.mango-home-overlay small{color:#dce9ff;margin-top:4px}.mango-home-cta{display:inline-flex!important;width:max-content;margin-top:12px;background:#ffb51b;color:#122145;border-radius:999px;padding:9px 14px;font-weight:900}.mango-home-games{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:14px}.mango-home-games>a{display:flex;align-items:center;gap:12px;background:#fff;border-radius:18px;padding:8px;text-decoration:none;color:#173b4c;box-shadow:0 8px 24px rgba(0,0,0,.12)}.mango-home-games img{width:112px;height:76px;object-fit:cover;border-radius:13px}.mango-home-games span{display:grid}.mango-home-games b{font-size:15px}.mango-home-games small{color:#5f7882;margin-top:2px}@media(max-width:800px){.mango-home{padding-top:18px}.mango-home-poster,.mango-home-poster>img{min-height:320px}.mango-home-poster>img{object-position:center}.mango-home-overlay{inset:auto 12px 12px;max-width:none}.mango-home-overlay strong{font-size:22px}.mango-home-games{grid-template-columns:1fr}.mango-home-games img{width:128px;height:84px}}

/* ===== 1.140 — إصلاحات الواجهة ===== */
/* الشعار: الأيقونة والاسم في سطر واحد (كانت الأيقونة تقفز فوق الاسم وتُقصّ من الأعلى) */
header.top .logo { display: inline-flex; align-items: center; gap: 8px; flex: none; text-decoration: none; }
header.top .logo img { width: 42px !important; height: 42px !important; object-fit: contain; border-radius: 11px; }
header.top .logo .lt { font-size: 34px; line-height: 1; }
@media (max-width: 760px) { header.top .logo img { width: 34px !important; height: 34px !important; } header.top .logo .lt { font-size: 28px; } }
@media (max-width: 360px) { header.top .logo img { display: none; } }
/* شريط ملفات الارتباط فوق الشريط السفلي في الجوال وفوق الأزرار العائمة */
#mjCook { bottom: calc(var(--mbh, 0px) + 14px) !important; z-index: 90 !important; }
.mj-jstrip-links i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #EAF6FA; color: #1E7290; font-style: normal; flex: none; }

/* Compact subscriptions: preserve billing details and explicit controls. */
html body .paywall.pw-compact{padding:18px;max-width:620px;margin-inline:auto;text-align:start}
html body .paywall.pw-compact>b{font-size:17px;line-height:1.6}
html body .paywall.pw-compact .pw-ic{display:none}
html body .paywall.pw-compact ul{font-size:14px;line-height:1.7;margin:4px 0 8px}
html body .paywall.pw-compact .pw-more{margin:6px 0 12px}
html body .paywall.pw-compact summary{cursor:pointer;color:#155066;font-weight:800}
html body .paywall.pw-compact .pw-price span{font-size:28px}
html body .paywall.pw-compact .pw-acts{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
html body .paywall.pw-compact .pw-acts small{flex-basis:100%;line-height:1.7}
html body .pm-hero.pm-compact{grid-template-columns:minmax(0,1fr) auto;align-items:center;background:#f1faf7}
html body .pm-hero.pm-compact .pm-main{padding:18px 22px;background:none;color:#143e45}
html body .pm-hero.pm-compact .pm-main:before{display:none}
html body .pm-hero.pm-compact h2{font-size:21px;color:#143e45;margin:7px 0}
html body .pm-hero.pm-compact p{font-size:14px;color:#365f61;margin:0}
html body .pm-hero.pm-compact .pm-kick{background:#dcefe8;border-color:#b9dbcd;color:#16594b}
html body .pm-hero.pm-compact .pm-side{padding:18px 22px;background:none;gap:8px}
html body .pm-hero.pm-compact .pm-price{margin:0}
html body .pm-hero.pm-compact .pm-price strong{font-size:28px}
html body .pm-hero.pm-compact .pm-price small{display:block;max-width:310px;line-height:1.6}
html body .pm-hero.pm-compact .pm-acts{display:flex;gap:8px;flex-wrap:wrap}
@media(max-width:650px){html body .pm-hero.pm-compact{grid-template-columns:1fr}html body .pm-hero.pm-compact .pm-side{padding-top:0}html body .pm-hero.pm-compact .pm-acts>*{flex:1;min-width:130px}}

/* Service destinations: cinematic photography with compact, readable Arabic copy. */
html body .mj-cinema{max-width:1280px;margin:34px auto 42px;padding:clamp(28px,4vw,52px);border:1px solid #dcebe6;border-radius:30px;background:linear-gradient(145deg,#f5fbf8 0%,#fff 58%,#edf7f3 100%);color:#143e3a;box-shadow:0 20px 52px #0c514212}
html body .mj-cinema .mj-cinema-content{max-width:790px;margin:0 auto 30px;text-align:center}
html body .mj-cinema .mj-cinema-kicker{display:inline-flex;align-items:center;min-height:32px;padding:5px 14px;border:1px solid #cce7dc;border-radius:999px;background:#e9f6ef;color:#167a62;font-size:13px;font-weight:800}
html body .mj-cinema h2{margin:14px 0 8px;color:#154a4e;font-size:clamp(28px,3.2vw,42px);font-weight:800;line-height:1.35}
html body .mj-cinema p{max-width:650px;margin:0 auto;color:#657b79;font-size:16px;line-height:1.9}
html body .mj-cinema .mj-cinema-cta{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;margin-top:16px;padding:9px 19px;border:1px solid #c8e4d8;border-radius:999px;background:#fff;color:#126c5c;text-decoration:none;font-weight:800;transition:transform .2s,background .2s,box-shadow .2s}
html body .mj-cinema .mj-cinema-cta:hover{transform:translateY(-2px);background:#eff9f4;box-shadow:0 8px 22px #154a4e14}
html body .mj-cinema .mj-cinema-cta:focus-visible{outline:3px solid #22a67d;outline-offset:3px}
html body .mj-cinema .mj-cinema-services{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;scroll-margin-top:100px}
html body .mj-cinema .mj-service-card{display:flex;min-width:0;overflow:hidden;flex-direction:column;border:1px solid #e1ece8;border-radius:21px;background:#fff;color:#143e3a;text-decoration:none;box-shadow:0 8px 24px #174b4210;transition:transform .22s,box-shadow .22s,border-color .22s}
html body .mj-cinema .mj-service-card:hover{transform:translateY(-4px);border-color:#b9dacc;box-shadow:0 16px 34px #174b421c}
html body .mj-cinema .mj-service-card:focus-visible{outline:3px solid #22a67d;outline-offset:3px}
html body .mj-cinema .mj-service-image{position:relative;display:block;aspect-ratio:16/9;overflow:hidden;background:#e8f2ed}
html body .mj-cinema .mj-service-image::after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(180deg,transparent,#0c302933);pointer-events:none}
html body .mj-cinema .mj-service-image img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .4s}
html body .mj-cinema .mj-service-card:hover .mj-service-image img{transform:scale(1.035)}
html body .mj-cinema .mj-service-copy{display:flex;flex:1;flex-direction:column;align-items:flex-start;padding:18px 20px 19px}
html body .mj-cinema .mj-service-audience{display:inline-flex;margin-bottom:8px;padding:4px 10px;border-radius:999px;background:#edf7f2;color:#22745f;font-size:11px;font-weight:800}
html body .mj-cinema .mj-service-copy strong{color:#174b4e;font-size:19px;font-weight:800;line-height:1.55}
html body .mj-cinema .mj-service-description{margin-top:5px;color:#647775;font-size:13px;line-height:1.8}
html body .mj-cinema .mj-service-link{display:flex;align-items:center;gap:8px;margin-top:auto;padding-top:14px;color:#17856b;font-size:13px;font-weight:800}
html body .mj-cinema .mj-service-link span{font-size:18px;line-height:1}
@media(max-width:1320px){html body .mj-cinema{margin-inline:24px}}
@media(max-width:900px){html body .mj-cinema{padding:30px 24px}html body .mj-cinema .mj-cinema-services{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}}
@media(max-width:600px){html body .mj-cinema{margin:22px 14px 30px;padding:25px 15px;border-radius:23px}html body .mj-cinema .mj-cinema-content{margin-bottom:22px}html body .mj-cinema h2{font-size:27px}html body .mj-cinema p{font-size:14px}html body .mj-cinema .mj-cinema-services{grid-template-columns:minmax(0,1fr);gap:13px}html body .mj-cinema .mj-service-image{aspect-ratio:16/8.8}html body .mj-cinema .mj-service-copy{padding:16px 17px 17px}html body .mj-cinema .mj-service-copy strong{font-size:18px}html body .mj-cinema .mj-service-description{font-size:13px}html body .mj-cinema .mj-cinema-cta{min-height:42px}}
@media(prefers-reduced-motion:reduce){html body .mj-cinema .mj-service-card,html body .mj-cinema .mj-service-image img,html body .mj-cinema .mj-cinema-cta{transition:none}html body .mj-cinema .mj-service-card:hover,html body .mj-cinema .mj-cinema-cta:hover{transform:none}html body .mj-cinema .mj-service-card:hover .mj-service-image img{transform:none}}
/* Dedicated cinematic service heroes; Arabic titles remain live page text. */
html body .mj-service-cinema{position:relative;isolation:isolate;overflow:hidden;width:min(100%,1320px);height:clamp(250px,29vw,390px);margin:18px auto 24px;border-radius:26px;background:#0e3443;box-shadow:0 18px 42px rgba(12,44,54,.17)}
html body .mj-service-cinema::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(8,34,48,.58) 0%,rgba(8,34,48,.16) 45%,rgba(8,34,48,0) 76%);pointer-events:none}
html body .mj-service-cinema img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
html body .mj-service-cinema--exam img{object-position:50% 52%}
html body .mj-service-cinema--summary img{object-position:52% 48%}
html body .mj-service-cinema--portfolio img{object-position:55% 48%}
html body .mj-service-cinema--registers img{object-position:52% 48%}
html body .mj-service-cinema--qiyas img{object-position:53% 50%}
html body .mj-service-cinema--passion img{object-position:53% 48%}
@media(max-width:760px){html body .mj-service-cinema{height:clamp(235px,67vw,330px);margin:12px 12px 18px;width:calc(100% - 24px);border-radius:20px}html body .mj-service-cinema::after{background:linear-gradient(0deg,rgba(8,34,48,.40),rgba(8,34,48,0) 75%)}}
@media(prefers-reduced-motion:reduce){html body .mj-service-cinema{scroll-behavior:auto}}

/* Service title lives in the cinematic hero, replacing the old duplicate graphic header. */
html body .mj-service-cinema__content{position:absolute;z-index:2;left:6%;top:50%;transform:translateY(-50%);width:min(48%,620px);display:flex;flex-direction:column;align-items:flex-start;gap:12px;color:#fff;direction:rtl;text-align:right}
html body .mj-service-cinema__content .back{display:inline-flex;align-items:center;min-height:38px;padding:7px 14px;border:1px solid #ffffff70;border-radius:999px;background:#0b344bb3;color:#fff;text-decoration:none;font-size:13px;font-weight:800}
html body .mj-service-cinema__content .back:focus-visible{outline:3px solid #b9f4dc;outline-offset:3px}
html body .mj-service-cinema__content h1{margin:0;color:#fff!important;font-size:clamp(28px,4vw,52px);line-height:1.35;font-weight:800;text-shadow:0 3px 18px #06253680}
@media(max-width:760px){html body .mj-service-cinema__content{left:18px;right:18px;top:auto;bottom:20px;transform:none;width:auto;gap:9px}html body .mj-service-cinema__content .back{min-height:34px;padding:5px 11px;font-size:12px}html body .mj-service-cinema__content h1{font-size:clamp(23px,7vw,36px);line-height:1.4}}

/* أدوات العمل (الاختبارات والملخصات): بانر مضغوط ليظهر النموذج والمعاينة دون تمرير */
html body .mj-service-cinema--exam,html body .mj-service-cinema--summary{height:clamp(130px,13vw,170px);margin:14px auto 16px}
html body .mj-service-cinema--exam .mj-service-cinema__content,html body .mj-service-cinema--summary .mj-service-cinema__content{gap:8px}
html body .mj-service-cinema--exam .mj-service-cinema__content h1,html body .mj-service-cinema--summary .mj-service-cinema__content h1{font-size:clamp(24px,2.8vw,36px)}
html body .mj-service-cinema--exam .mj-service-cinema__content .back,html body .mj-service-cinema--summary .mj-service-cinema__content .back{min-height:30px;padding:4px 12px;font-size:12px}
@media(max-width:760px){html body .mj-service-cinema--exam,html body .mj-service-cinema--summary{height:clamp(120px,34vw,150px);margin:10px 12px 12px}html body .mj-service-cinema--exam .mj-service-cinema__content h1,html body .mj-service-cinema--summary .mj-service-cinema__content h1{font-size:clamp(20px,6vw,26px)}html body .mj-service-cinema--exam .mj-service-cinema__content,html body .mj-service-cinema--summary .mj-service-cinema__content{bottom:12px}}

.prev-bar .prev-opts{flex:1 0 100%;display:flex;flex-wrap:wrap;gap:6px 16px;padding:8px 12px;background:#F2FAF8;border:1px solid #D5E3E1;border-radius:12px;font-size:13px}.prev-bar .prev-opts .sw{margin:0}
html body .paper .sh h2,html body .paper .sh small{color:#fff}
.prev-bar #tot{order:3;margin-inline-start:0}.prev-bar .prev-opts{order:4}
.mjc-bank-note{display:block;margin-top:6px;color:#8a5a00;background:#FFF6E0;border:1px solid #F0D79A;border-radius:10px;padding:6px 10px;font-size:12.5px;font-weight:700;line-height:1.6}.mjc-bank-note[hidden]{display:none}.mjc-bank-tag{color:#8a5a00;font-weight:700}
.po.po2{grid-template-columns:1fr 1fr}
@media print{.po{grid-template-columns:repeat(4,1fr)}.po.po2{grid-template-columns:1fr 1fr}.pq h4{break-after:avoid}.pi{break-inside:avoid}.pq{break-inside:auto}}
/* الطباعة: لا يُطبع بانر الخدمة ولا شريط التنقل السفلي مع ورقة الاختبار أو الملخص */
@media print{html body .mj-service-cinema,html body nav.mbar,html body .mbar{display:none!important}}

/* محرر الأسئلة: طيّ السؤال */
.qe-h .qe-f { flex: none; font-size: 14px; line-height: 1; }
.qe-pv { display: none; font-size: 13px; color: #5E6B6E; margin-top: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qe.fold > :not(.qe-h):not(.qe-pv) { display: none; }
.qe.fold .qe-pv { display: block; }
.qe.fold .qe-h .mk { display: none; }
.qfold { margin: 0 0 8px; } .qfold .btn { padding: 6px 12px; font-size: 13px; }
@media print { .qfold { display: none !important; } }

/* قوالب الملخص: مقارنة، خريطة ذهنية، بطاقات مراجعة */
.sgrid.one { grid-template-columns: 1fr; }
.smuted { text-align: center; color: #5E6B6E; font-size: 13px; padding: 14px 18px; }
.scmp { padding: 16px 18px 6px; } .scmp table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.scmp th, .scmp td { border: 1.5px solid color-mix(in srgb, var(--c) 35%, #fff); padding: 8px 10px; text-align: center; vertical-align: middle; }
.scmp thead th { background: var(--c); color: #fff; font-weight: 800; } .scmp tbody th { background: color-mix(in srgb, var(--c) 10%, #fff); color: var(--c); font-weight: 800; }
.scmp tbody tr:nth-child(even) td { background: color-mix(in srgb, var(--c) 4%, #fff); } .scmp tr { break-inside: avoid; }
.smind { padding: 18px; display: flex; flex-direction: column; align-items: center; }
.smc { background: var(--c); color: #fff; font-weight: 900; font-size: 19px; padding: 12px 26px; border-radius: 999px; text-align: center; max-width: 80%; position: relative; margin-bottom: 22px; }
.smc::after { content: ""; position: absolute; left: 50%; top: 100%; width: 3px; height: 22px; background: color-mix(in srgb, var(--c) 45%, #fff); }
.smb { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; position: relative; padding-top: 14px; }
.smb::before { content: ""; position: absolute; top: 0; right: 25%; left: 25%; height: 3px; background: color-mix(in srgb, var(--c) 45%, #fff); }
.smn { border: 2px solid color-mix(in srgb, var(--c) 40%, #fff); border-radius: 14px; padding: 10px 12px; background: color-mix(in srgb, var(--c) 6%, #fff); position: relative; break-inside: avoid; }
.smn::before { content: ""; position: absolute; top: -14px; left: 50%; width: 3px; height: 14px; background: color-mix(in srgb, var(--c) 45%, #fff); }
.smn b { display: block; color: var(--c); font-size: 15.5px; margin-bottom: 4px; }
.smk { display: flex; flex-wrap: wrap; gap: 5px; } .smk span { background: #fff; border: 1.5px solid color-mix(in srgb, var(--c) 30%, #fff); border-radius: 999px; padding: 2px 10px; font-size: 13px; }
.scards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 16px 18px 6px; }
.sc { border: 2px dashed color-mix(in srgb, var(--c) 55%, #fff); border-radius: 12px; display: grid; grid-template-rows: auto 1fr; break-inside: avoid; min-height: 78px; }
.sc b { display: block; background: color-mix(in srgb, var(--c) 10%, #fff); color: var(--c); padding: 8px 10px; text-align: center; border-bottom: 2px dashed color-mix(in srgb, var(--c) 55%, #fff); border-radius: 10px 10px 0 0; }
.sc span { padding: 8px 10px; text-align: center; font-size: 14px; display: flex; align-items: center; justify-content: center; }
@media (max-width: 680px) { .smb, .scards { grid-template-columns: 1fr; } .smb::before { display: none; } .smn::before { display: none; } .scmp { overflow-x: auto; } }
@media print { .noprint-hide { display: none; } .scmp thead th, .sc b, .smc { -webkit-print-color-adjust: exact; print-color-adjust: exact; } .smb, .scards { grid-template-columns: 1fr 1fr !important; } .smb::before, .smn::before { display: block !important; } .scmp { overflow: visible !important; } }
.qe-h .qe-conv{font:inherit;font-size:12px;font-weight:700;padding:4px 6px;border:1px solid var(--line);border-radius:8px;background:#fff;max-width:112px}
.qe.fold .qe-conv{display:none}

/* تبسيط واجهة صانع الاختبارات: الخيارات المتقدمة مطوية */
.mk-more { margin: 8px 0; border: 1px dashed #BFD3D0; border-radius: 12px; padding: 0 12px; background: #FBFDFC; }
.mk-more > summary, .prev-adv > summary { cursor: pointer; font-weight: 800; font-size: 13.5px; color: var(--b1, #155066); padding: 10px 0; list-style: none; }
.mk-more > summary::before, .prev-adv > summary::before { content: "＋ "; } .mk-more[open] > summary::before, .prev-adv[open] > summary::before { content: "− "; }
.mk-more[open] { padding-bottom: 10px; } .mk-more[open] > summary { padding-bottom: 6px; }
.mk-more.inl { display: inline-block; margin: 0; vertical-align: top; } .mk-more.inl[open] { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.mk-more.inl > summary { padding: 6px 0; }
.prev-adv { display: contents; }
.prev-adv > summary { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 12.5px; }
.prev-adv[open] { display: flex; flex-wrap: wrap; gap: 6px 12px; flex-basis: 100%; }
details.ag > summary.ag-sum { cursor: pointer; font-weight: 800; font-size: 1.1rem; list-style: none; } details.ag > summary small { display: block; font-weight: 500; color: #5E6B6E; margin-top: 4px; }
details.ag:not([open]) > summary::after { content: " ▾"; } details.ag[open] > summary::after { content: " ▴"; }
@media print { .mk-more, details.ag { display: none !important; } }

/* ── تنسيق نافذة «الباقات وتفعيل الكود» ── */
.ma-redeem { background: #F4F9F8; border: 1px solid #D5E3E1; border-radius: 16px; padding: 14px; margin-bottom: 14px; }
.ma-redeem > b { font-size: 15px; color: var(--b1); margin-bottom: 10px; }
.ma-redeem .ma-row { display: flex !important; flex-direction: row !important; align-items: stretch; gap: 8px; margin: 0; }
.ma-redeem .ma-row input { flex: 1 1 auto; min-width: 0; height: 46px; letter-spacing: 1px; font-weight: 700; background: #fff; border-color: #C9DCD8; margin: 0; }
.ma-redeem .ma-row .btn { flex: 0 0 auto; height: 46px; padding: 0 22px; margin: 0; border-radius: 12px; white-space: nowrap; }
.ma-redeem .ma-msg { display: block; min-height: 0; margin: 8px 2px 0; font-size: 13px; }
.ma-redeem .ma-mut { margin: 4px 0 10px; }
.ma-bal { background: #fff; border: 1px dashed #C9DCD8; border-radius: 12px; padding: 10px 12px; margin-bottom: 12px; }
.ma-sec { display: flex; align-items: center; gap: 8px; margin: 18px 0 10px; font-size: 16px; }
.ma-sec::after { content: ''; flex: 1; height: 1px; background: #D5E3E1; }
.ma-grid { gap: 12px; }
.ma-pkg { padding: 16px 14px; border-radius: 18px; background: #fff; gap: 6px; }
.ma-pkg .ma-pi { width: 48px; height: 48px; border-radius: 50%; background: #E9F5F3; color: #1d6f63; display: flex; align-items: center; justify-content: center; margin-bottom: 4px; font-size: 0; }
.ma-pkg .ma-pi svg { width: 24px; height: 24px; }
.ma-pkg b { font-size: 16px; }
.ma-pkg .ma-pr { font-size: 13px; }
.ma-pkg .ma-pr span { font-size: 26px; }
.ma-pkg ul { width: 100%; padding: 0; margin: 6px 0 10px; border-top: 1px solid #EEF3F2; padding-top: 10px; list-style: none !important; }
.ma-pkg ul li { list-style: none !important; padding: 4px 0; line-height: 1.6; }
.ma-pkg ul li::before { content: '✓'; display: inline-block; width: 18px; color: var(--g1); font-weight: 900; }
.ma-pkg .ma-bb { width: 100%; margin-top: auto; }
.ma-pkg .ma-bb .btn { width: 100%; justify-content: center; }
.ma-pkg.hl { border-width: 2px; }
.ma-note { font-size: 13px; line-height: 1.7; }
