/*
 * ============================================================================
 *  site.css  -  تنسيق الموقع التعريفي لنظام AI-ENG PMO: طاولة رسم هندسية بخطوط ذهبية رفيعة، فاتح وغامق، عربي وإنجليزي
 *  EN: AI-ENG PMO website styles: an engineering drafting-table look with fine gold lines, light and dark, RTL and LTR
 * ----------------------------------------------------------------------------
 *  الرموز في :root وتُعاد للغامق في [data-theme=dark]؛ الأشرطة الداكنة (الأرقام، التواصل، التذييل) تعيد تعريف الرموز محلياً.
 *  الألوان الدلالية (قاعدة 8): --sem-full أخضر = سليم/مكتمل، --sem-partial ذهبي = جزئي، --sem-none أحمر = خرق - لا تُستعمل للزينة.
 *  لا تدرّج لوني إطلاقاً؛ الشبكة الهندسية نقش SVG. الخصائص منطقية (inline-start/end) فتعمل الصفحة بالاتجاهين.
 *  لا تباعد أحرف على نص عربي (يكسر الوصل) - التباعد للأحرف اللاتينية والأرقام (mono) فقط.
 * ============================================================================
 */

/* ---------- 1) الرموز ---------- */
:root {
  --f-display: 'Readex Pro', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --f-body: 'IBM Plex Sans Arabic', 'Readex Pro', system-ui, sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;

  --bg: #F4F1E8;
  --surface: #FFFFFF;
  --surface-2: #ECE7DA;
  --surface-3: #E3DDCD;
  --ink: #15140F;
  --ink-2: #4A473D;
  --ink-3: #77736A;
  --line: #DDD6C6;
  --line-2: #C8BFAA;
  --gold: #C9A227;
  --gold-ink: #87680C;
  --sem-full: #0B7A3E;
  --sem-partial: #A57F0E;
  --sem-none: #B42E24;
  --sem-full-bg: #E3F1E8;
  --sem-partial-bg: #F6EDCF;
  --sem-none-bg: #F8E3E0;
  --wa: #25D366;
  --grid-a: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cpath d='M48 .5H.5V48' fill='none' stroke='%2315140F' stroke-opacity='.055'/%3E%3C/svg%3E");
  --grid-b: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cpath d='M240 .5H.5V240' fill='none' stroke='%2315140F' stroke-opacity='.09'/%3E%3C/svg%3E");
  --shadow: 0 1px 0 rgba(21, 20, 15, .03), 0 10px 30px -18px rgba(40, 32, 10, .28);
  --shadow-lg: 0 1px 0 rgba(21, 20, 15, .04), 0 30px 60px -30px rgba(40, 32, 10, .38);
  --radius: 16px;
  --hdr: 68px;
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #0E0E0C;
  --surface: #171714;
  --surface-2: #121210;
  --surface-3: #201F1B;
  --ink: #F0EDE4;
  --ink-2: #BDB8AA;
  --ink-3: #8C887B;
  --line: #2A2924;
  --line-2: #3B3931;
  --gold: #D4AF37;
  --gold-ink: #E2C35B;
  --sem-full: #3DB574;
  --sem-partial: #DDB43C;
  --sem-none: #EE5B4F;
  --sem-full-bg: #12281B;
  --sem-partial-bg: #2A2410;
  --sem-none-bg: #2E1512;
  --grid-a: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cpath d='M48 .5H.5V48' fill='none' stroke='%23F0EDE4' stroke-opacity='.04'/%3E%3C/svg%3E");
  --grid-b: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cpath d='M240 .5H.5V240' fill='none' stroke='%23F0EDE4' stroke-opacity='.075'/%3E%3C/svg%3E");
  --shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 12px 30px -18px rgba(0, 0, 0, .7);
  --shadow-lg: 0 1px 0 rgba(0, 0, 0, .4), 0 30px 60px -28px rgba(0, 0, 0, .85);
  color-scheme: dark;
}

/* الأشرطة الداكنة في المظهرين: تعيد تعريف الرموز محلياً فتعمل المكونات داخلها كما هي */
.stats-band, .sec.contact, .footer {
  --bg: #0B0B09;
  --surface: #161613;
  --surface-2: #1C1B18;
  --surface-3: #25241F;
  --ink: #F0EDE4;
  --ink-2: #BDB8AA;
  --ink-3: #8C887B;
  --line: #2A2924;
  --line-2: #3B3931;
  --gold-ink: #E2C35B;
  --sem-full: #3DB574;
  --sem-full-bg: #12281B;
  background: var(--bg);
  color: var(--ink);
  color-scheme: dark;
}

/* ---------- 2) الأساس ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 12px); -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.75 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  -webkit-user-select: none;
  user-select: none;
}
input, textarea, select, .allow-copy { -webkit-user-select: text; user-select: text; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; line-height: 1.3; margin: 0; }
p { margin: 0; }
.mono { font-family: var(--f-mono); font-feature-settings: 'tnum' 1; }
.num { font-variant-numeric: tabular-nums; font-weight: 600; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--gold); color: #15140F; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- 3) الأزرار والشارات ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 18px; border-radius: 10px; border: 1px solid transparent;
  font: 600 15px/1.2 var(--f-body); text-decoration: none; cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.btn .bi { font-size: 1.05em; }
.btn-gold { background: var(--gold); color: #15140F; }
.btn-gold:hover { background: #D8B23A; }
.btn-wa { background: var(--ink); color: var(--bg); }
.btn-wa .bi { color: var(--wa); }
.btn-wa:hover { background: var(--ink-2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--surface-3); }
.btn-sm { padding: 7px 12px; font-size: 13.5px; border-radius: 8px; }
.btn-lg { padding: 16px 26px; font-size: 17px; border-radius: 12px; }

.badge-sem {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px;
  font: 600 12px/1.5 var(--f-body); border: 1px solid; white-space: nowrap;
}
.badge-sem .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.badge-sem.sem-full { color: var(--sem-full); background: var(--sem-full-bg); border-color: color-mix(in srgb, var(--sem-full) 35%, transparent); }
.badge-sem.sem-partial { color: var(--sem-partial); background: var(--sem-partial-bg); border-color: color-mix(in srgb, var(--sem-partial) 40%, transparent); }
.badge-sem.sem-none { color: var(--sem-none); background: var(--sem-none-bg); border-color: color-mix(in srgb, var(--sem-none) 35%, transparent); }
.badge-sem.sem-idle { color: var(--ink-3); background: var(--surface-2); border-color: var(--line); }
.sem-full { --sem: var(--sem-full); }
.sem-partial { --sem: var(--sem-partial); }
.sem-none { --sem: var(--sem-none); }

.pill {
  padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent;
  color: var(--ink-2); font: 500 13px/1.4 var(--f-body); cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.pill:hover { border-color: var(--ink-3); color: var(--ink); }
.pill.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.icon-btn {
  width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 10px;
  border: 1px solid var(--line); background: transparent; color: var(--ink-2); cursor: pointer;
  font: 600 14px/1 var(--f-body); transition: border-color .15s, color .15s, background-color .15s;
}
.icon-btn:hover { border-color: var(--line-2); color: var(--ink); background: var(--surface); }
.icon-btn .bi { font-size: 17px; }

/* زر الاستماع (القارئ الصوتي) */
.tts {
  width: 30px; height: 30px; display: inline-grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); cursor: pointer; flex: none;
  transition: background-color .15s, color .15s, border-color .15s;
}
.tts:hover { color: var(--ink); border-color: var(--gold); }
.tts.playing { background: var(--gold); color: #15140F; border-color: var(--gold); }
.tts .bi { font-size: 14px; }
.tts-item { float: inline-start; margin-inline-end: 10px; margin-top: 2px; width: 28px; height: 28px; }
[dir="rtl"] .tts-item { float: right; }
[dir="ltr"] .tts-item { float: left; }
.reading { outline: 2px dashed color-mix(in srgb, var(--gold) 70%, transparent); outline-offset: 6px; border-radius: 8px; }

/* بطاقات */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card-in { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.lbl { display: block; font: 500 12.5px/1.5 var(--f-body); color: var(--ink-3); margin-bottom: 6px; }
.rule-note {
  display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; line-height: 1.75; color: var(--ink-3);
  margin-top: 14px; padding: 10px 12px; border: 1px dashed var(--line-2); border-radius: 10px;
}
.rule-note .bi { color: var(--gold-ink); margin-top: 3px; }

/* ---------- 4) الهيدر والقائمة ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50; height: var(--hdr);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.topbar.scrolled { border-bottom-color: var(--line); }
.topbar::after {
  content: ''; position: absolute; bottom: -1px; inset-inline-start: 0; height: 2px;
  width: calc(var(--p, 0) * 100%); background: var(--gold); pointer-events: none;
}
.topbar-in { height: 100%; display: flex; align-items: center; gap: 18px; }
.brand { display: inline-flex; text-decoration: none; flex: none; }
.logo-img { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.logo-img img { height: 28px; width: auto; }
.logo-sub { font: 500 8.5px/1 var(--f-mono); letter-spacing: .2em; color: var(--gold-ink); white-space: nowrap; }
html:not([data-theme="dark"]) .brand .logo-dark { display: none; }
[data-theme="dark"] .brand .logo-light { display: none; }
/* كلمة العلامة AI-ENG داخل عنوان كبير: صورة الشعار بارتفاع السطر (em) فتكبر مع خط العنوان، وأسفلها على خط الكتابة */
.wordmark { display: inline-flex; vertical-align: -.15em; line-height: 0; margin-inline: .12em; direction: ltr; }
.wordmark img { height: 1.06em; width: auto; }
html:not([data-theme="dark"]) .wordmark .logo-dark { display: none; }
[data-theme="dark"] .wordmark .logo-light { display: none; }

.nav { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.nav-group { position: relative; }
.nav-g {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 11px; border-radius: 8px; border: 0;
  background: transparent; color: var(--ink-2); font: 500 14.5px/1.2 var(--f-body); cursor: pointer; position: relative;
}
.nav-g .bi { font-size: 11px; transition: transform .2s; }
.nav-g:hover, .nav-g[aria-expanded="true"] { background: var(--surface-3); color: var(--ink); }
.nav-g[aria-expanded="true"] .bi { transform: rotate(180deg); }
.nav-group.active > .nav-g { color: var(--ink); }
.nav-group.active > .nav-g::after { content: ''; position: absolute; bottom: 1px; inset-inline: 11px; height: 2px; background: var(--gold); border-radius: 2px; }
.nav-menu {
  position: absolute; top: calc(100% + 8px); inset-inline-start: 0; min-width: 230px; display: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 6px; box-shadow: var(--shadow-lg); z-index: 5;
}
.nav-g[aria-expanded="true"] + .nav-menu { display: block; }
.nav-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; text-decoration: none; color: var(--ink-2); font-size: 14.5px; }
.nav-menu a:hover { background: var(--surface-2); color: var(--ink); }
.nav-menu a.active { color: var(--gold-ink); }
.nav-menu .n { font-size: 11px; color: var(--ink-3); letter-spacing: .05em; }
.nav-contact { padding: 8px 12px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 14.5px; color: var(--ink); }
.nav-contact:hover { background: var(--surface-3); }
@media (hover: hover) and (min-width: 1101px) {
  .nav-group:hover > .nav-menu { display: block; }
  .nav-group:hover > .nav-g .bi { transform: rotate(180deg); }
  .nav-menu::before { content: ''; position: absolute; inset-inline: 0; top: -10px; height: 10px; }
}
.tools { display: flex; align-items: center; gap: 8px; flex: none; }
.burger { display: none; }

/* ---------- 5) الخيط الذهبي الجانبي ---------- */
.thread-rail { position: fixed; inset-inline-start: 26px; top: calc(var(--hdr) + 48px); bottom: 48px; width: 14px; z-index: 30; display: none; }
.rail-line, .rail-fill { position: absolute; inset-inline-start: 6px; top: 0; width: 2px; border-radius: 2px; }
.rail-line { bottom: 0; background: var(--line-2); }
.rail-fill { height: calc(var(--p, 0) * 100%); background: var(--gold); }
.rail-ms { position: absolute; top: calc(var(--at, 0) * 100%); inset-inline-start: 0; width: 14px; height: 14px; transform: translateY(-50%); text-decoration: none; }
.rail-ms::before { content: ''; position: absolute; inset: 2px; transform: rotate(45deg); border: 2px solid var(--line-2); background: var(--bg); transition: background-color .25s, border-color .25s, box-shadow .25s; }
.rail-ms.past::before { background: var(--gold); border-color: var(--gold); }
.rail-ms.active::before { box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 28%, transparent); }
.rail-ms span { display: none; }
.rail-ms b {
  position: absolute; inset-inline-start: 24px; top: 50%; transform: translateY(-50%); white-space: nowrap;
  font: 500 12px/1 var(--f-body); color: var(--ink); background: var(--surface); border: 1px solid var(--line);
  padding: 5px 9px; border-radius: 6px; opacity: 0; pointer-events: none; transition: opacity .2s;
}
.rail-ms:hover b, .rail-ms.active b { opacity: 1; }
.rail-ms.active b { color: var(--gold-ink); }
@media (min-width: 1380px) { .thread-rail { display: block; } }

/* ---------- 6) الواجهة ---------- */
.hero {
  position: relative; overflow: hidden; padding: 56px 0 80px;
  background-color: var(--bg); background-image: var(--grid-b), var(--grid-a);
  border-bottom: 1px solid var(--line);
}
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-art .arc { fill: none; stroke: var(--gold); stroke-opacity: .35; stroke-width: 1; stroke-dasharray: 3 7; transform-box: fill-box; transform-origin: center; animation: spin 140s linear infinite; }
.hero-art .arc[style*="--i:1"] { animation-direction: reverse; animation-duration: 110s; }
.hero-art .axis { stroke: var(--line-2); stroke-width: 1; }
.hero-art .tick { stroke: var(--ink-3); stroke-opacity: .55; stroke-width: 1; }
.hero-art .dimline { stroke: var(--gold); stroke-opacity: .7; stroke-width: 1; }
.hero-art .dimtext { font: 500 11px var(--f-mono); fill: var(--ink-3); text-anchor: middle; letter-spacing: .2em; }
.hero-art .thread-line { fill: none; stroke: var(--gold); stroke-opacity: .75; stroke-width: 1.5; stroke-dasharray: 1500; stroke-dashoffset: 1500; animation: draw 3.4s .3s cubic-bezier(.6, .1, .2, 1) forwards; }
.hero-art .ms { fill: var(--bg); stroke: var(--gold); stroke-width: 2; opacity: 0; animation: fadeIn .5s forwards; animation-delay: calc(1s + var(--i) * .6s); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-in {
  position: relative; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  grid-template-areas: "top top" "copy board"; column-gap: 48px; row-gap: 34px; align-items: center;
}
.hero-top { grid-area: top; }
.hero-copy { grid-area: copy; }
.hero-board { grid-area: board; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; font: 500 13.5px/1.4 var(--f-body); color: var(--gold-ink); margin-bottom: 18px; }
.diamond { width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); display: inline-block; flex: none; }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 4.6rem); line-height: 1.14; font-weight: 600; }
.hero h1 .l1, .hero h1 .l2 { display: block; }
.hero h1 .l2 { color: var(--ink-3); font-weight: 400; }
.hero h1 em, .sec-head h2 em { font-style: normal; color: var(--gold-ink); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: .2em; text-decoration-skip-ink: none; }
:lang(en) .hero h1 { letter-spacing: -.02em; }
.hero .lead { font-size: clamp(1.02rem, 1.25vw, 1.12rem); line-height: 1.9; color: var(--ink-2); max-width: 62ch; }
.badges { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.badges li {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; font-size: 13.5px; line-height: 1.4;
  border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 75%, transparent); color: var(--ink-2);
}
.badges .bi { color: var(--gold-ink); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* لوحة المحفظة الحية */
.board { position: relative; background: var(--surface); border: 1px solid var(--line-2); border-radius: 18px; padding: 18px 18px 14px; box-shadow: var(--shadow-lg); font-size: 13px; }
.board::before { content: ''; position: absolute; inset: 6px; border: 1px dashed var(--line); border-radius: 13px; pointer-events: none; }
.board > * { position: relative; }
.board-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.board-head strong { display: block; font: 600 16px/1.3 var(--f-display); }
.board-head .sub { display: block; color: var(--ink-3); font-size: 12.5px; }
.board-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.live { display: inline-flex; align-items: center; gap: 7px; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; color: var(--gold-ink); border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent); }
.live .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 color-mix(in srgb, var(--gold) 60%, transparent); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.month { font-size: 12px; color: var(--ink-3); }
.month b { color: var(--ink); font-size: 12.5px; }
.b-cols, .b-row, .b-axis-row, .today-lane { display: grid; grid-template-columns: minmax(112px, 1.3fr) minmax(0, 3fr) 40px 40px 70px; gap: 10px; align-items: center; }
.b-cols { font-size: 11.5px; color: var(--ink-3); padding-bottom: 4px; }
.b-cols span:nth-child(n+3) { text-align: center; }
.gantt-axis { display: grid; grid-template-columns: repeat(12, 1fr); font: 500 10px/1.6 var(--f-mono); color: var(--ink-3); text-align: center; border-bottom: 1px dashed var(--line-2); }
.b-rows { position: relative; }
.b-row { padding: 8px 0; border-bottom: 1px solid var(--line); }
.b-row:last-of-type { border-bottom: 0; }
.b-name { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.b-name .code { font-size: 10.5px; color: var(--gold-ink); letter-spacing: .03em; }
.b-name .nm { font-size: 12px; line-height: 1.35; color: var(--ink); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.b-gantt { position: relative; height: 24px; border-radius: 4px; background: var(--surface-2); }
.g-plan { position: absolute; top: 6px; bottom: 6px; border: 1.5px solid var(--ink-3); border-radius: 4px; overflow: hidden; }
.g-done { position: absolute; inset-block: 0; inset-inline-start: 0; background: var(--ink); opacity: .82; transition: width .9s cubic-bezier(.4, 0, .2, 1); }
.g-ms { position: absolute; top: 50%; width: 10px; height: 10px; margin-top: -5px; transform: rotate(45deg); background: var(--ink); border: 2px solid var(--surface); }
.g-gate { position: absolute; top: -3px; bottom: -3px; width: 0; border-inline-start: 1.5px dashed var(--ink-3); }
.g-gate::after { content: ''; position: absolute; top: -3px; inset-inline-start: -5.5px; width: 8px; height: 8px; transform: rotate(45deg); background: var(--surface); border: 1.5px solid var(--ink-2); }
.b-row .k { text-align: center; font-size: 12px; }
.k.sem-partial, .mono.sem-partial { color: var(--sem-partial); }
.k.sem-none, .mono.sem-none { color: var(--sem-none); }
.mono.sem-full { color: var(--sem-full); }
.rag { display: flex; justify-content: center; }
.rag .badge-sem { padding: 2px 8px; font-size: 11px; }
.today-lane { position: absolute; inset: 0; pointer-events: none; }
.g-today { grid-column: 2; grid-row: 1; align-self: stretch; position: relative; inset-inline-start: var(--x, 50%); width: 2px; margin-inline-start: -1px; background: var(--gold); transition: inset-inline-start .9s cubic-bezier(.4, 0, .2, 1); }
.g-today::before { content: ''; position: absolute; top: -6px; inset-inline-start: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.board-foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.aeng-bar-stack { display: flex; gap: 2px; height: 10px; border-radius: 999px; overflow: hidden; background: var(--surface-2); }
.aeng-bar-stack i { display: block; height: 100%; flex-basis: 0; transition: flex-grow .7s ease; background: var(--sem); }
.mix-legend { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 8px; font-size: 12px; color: var(--ink-2); }
.mix-legend span { display: inline-flex; align-items: center; gap: 5px; }
.mix-legend .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sem); }
.mix-legend b { color: var(--ink); }
.exc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.exc-list li { display: flex; gap: 8px; align-items: flex-start; padding: 7px 10px; border-radius: 8px; font-size: 12.5px; line-height: 1.55; background: var(--surface-2); }
.exc-list li.sem-none { background: var(--sem-none-bg); }
.exc-list li.sem-full { background: var(--sem-full-bg); }
.exc-list .bi { color: var(--sem, var(--ink-3)); margin-top: 2px; }
.board-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; font-size: 11.5px; color: var(--ink-3); }
.board-legend span { display: inline-flex; align-items: center; gap: 6px; }
.board-legend i { display: inline-block; flex: none; }
.lg-plan i { width: 16px; height: 9px; border: 1.5px solid var(--ink-3); border-radius: 2px; }
.lg-done i { width: 16px; height: 9px; background: var(--ink); opacity: .82; border-radius: 2px; }
.lg-ms i { width: 8px; height: 8px; background: var(--ink); transform: rotate(45deg); }
.lg-gate i { width: 8px; height: 8px; border: 1.5px solid var(--ink-2); transform: rotate(45deg); }
.lg-today i { width: 2px; height: 12px; background: var(--gold); }
.board-note { display: flex; gap: 6px; align-items: flex-start; margin-top: 8px; font-size: 11.5px; line-height: 1.65; color: var(--ink-3); }
.board-note .bi { margin-top: 2px; }

/* ---------- 7) شريط الأرقام ---------- */
.stats-band { border-block: 1px solid var(--line); }
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.stats li { padding: 28px 18px; border-inline-start: 1px solid var(--line); }
.stats li:first-child { border-inline-start: 0; }
.stats b { display: block; font-size: clamp(2rem, 3.3vw, 2.8rem); line-height: 1; font-weight: 600; color: var(--gold-ink); }
.stats span { display: block; margin-top: 10px; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }

/* ---------- 8) الأقسام ---------- */
.sec { padding: 104px 0; position: relative; }
.sec.alt { background: var(--surface-2); border-block: 1px solid var(--line); }
.sec-head { max-width: 820px; margin-bottom: 44px; }
.kicker { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font: 600 14px/1.4 var(--f-body); color: var(--gold-ink); }
.wbs { font: 500 11px/1 var(--f-mono); letter-spacing: .08em; padding: 5px 8px; border: 1px solid color-mix(in srgb, var(--gold) 55%, transparent); border-radius: 6px; color: var(--gold-ink); }
.sec-head h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); line-height: 1.28; margin: 14px 0 0; }
:lang(en) .sec-head h2 { letter-spacing: -.015em; }
.sec-head .lead { margin-top: 16px; font-size: 1.07rem; line-height: 1.95; color: var(--ink-2); }
.dim { display: block; position: relative; width: 140px; height: 10px; margin-top: 24px; border-bottom: 1px solid var(--gold); }
.dim::before, .dim::after { content: ''; position: absolute; bottom: -5px; width: 1px; height: 10px; background: var(--gold); }
.dim::before { inset-inline-start: 0; }
.dim::after { inset-inline-end: 0; }
.sub-title { font-size: 1.3rem; margin: 48px 0 18px; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--d, 0) * 70ms); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 9) الخيط الذهبي ---------- */
.th-stage { position: relative; padding: 4px 0 0; }
.th-chain { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.th-line { position: absolute; top: 33px; inset-inline: 10%; height: 2px; background: var(--gold); }
.th-pulses { position: absolute; top: 29px; inset-inline: 10%; height: 10px; pointer-events: none; }
.th-pulses i { position: absolute; top: 0; width: 10px; height: 10px; margin-inline-start: -5px; border-radius: 50%; animation: 4.4s linear infinite; animation-delay: var(--dl); }
.th-pulses .up { background: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 25%, transparent); animation-name: flowUp; }
.th-pulses .down { background: var(--bg); border: 2px solid var(--ink-2); animation-name: flowDown; animation-duration: 5.2s; }
@keyframes flowUp { from { inset-inline-start: 100%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } to { inset-inline-start: 0%; opacity: 0; } }
@keyframes flowDown { from { inset-inline-start: 0%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } to { inset-inline-start: 100%; opacity: 0; } }
.th-node { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; background: none; border: 0; padding: 0 4px; cursor: pointer; color: var(--ink-2); font: 600 14.5px/1.35 var(--f-body); text-align: center; }
.th-dot { width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--line-2); font-size: 23px; color: var(--ink-2); transition: background-color .25s, border-color .25s, color .25s, box-shadow .25s, transform .25s; }
.th-node:hover .th-dot { border-color: var(--gold); transform: translateY(-2px); }
.th-node.on { color: var(--ink); }
.th-node.on .th-dot { background: var(--gold); border-color: var(--gold); color: #15140F; box-shadow: 0 0 0 7px color-mix(in srgb, var(--gold) 20%, transparent); }
.th-key { display: flex; justify-content: center; gap: 22px; margin-top: 16px; font-size: 12.5px; color: var(--ink-3); }
.th-key span { display: inline-flex; align-items: center; gap: 7px; }
.th-key i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.th-key .up i { background: var(--gold); }
.th-key .down i { border: 2px solid var(--ink-2); }
.th-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px; margin-top: 30px; align-items: start; }
.th-detail header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.th-ico, .cap-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--gold-ink); font-size: 20px; border: 1px solid var(--line); flex: none; }
.th-detail h3 { font-size: 1.35rem; }
.th-detail dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 12px 18px; margin: 0; }
.th-detail dt { display: flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--ink-3); }
.th-detail dt.up .bi { color: var(--gold-ink); }
.th-detail dd { margin: 0; line-height: 1.7; }
.rollup h3 { display: flex; align-items: center; gap: 8px; font-size: 1.1rem; margin-bottom: 8px; }
.rollup h3 .bi { color: var(--gold-ink); }
.ru-items { list-style: none; margin: 0; padding: 0; }
.ru-items li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.tag { font-size: 11px; padding: 2px 8px; border-radius: 6px; background: var(--surface-2); color: var(--ink-3); }
.ru-items b, .ru-sum b { font-size: 14px; }
.ru-sum { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto auto; gap: 10px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--line-2); font-size: 14px; }
.ru-sum.minor { border-top-style: dashed; border-top-color: var(--line); color: var(--ink-2); }
.ru-sum .op { color: var(--gold-ink); font-weight: 600; }
.ru-sum.total { border-top: 2px solid var(--ink); }
.ru-sum.total .nm { font-weight: 600; }
.ru-sum.total b { font-size: 24px; color: var(--gold-ink); }
.ru-sum small { color: var(--ink-3); font-size: 12px; }
.ru-note { margin-top: 10px; font-size: 12.5px; line-height: 1.75; color: var(--ink-3); }

/* ---------- 10) البوابات ---------- */
.lc-track { list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.lc-stage { position: relative; padding: 16px 14px 14px; border-top: 4px solid var(--line-2); display: flex; flex-direction: column; gap: 4px; }
.lc-stage + .lc-stage { border-inline-start: 1px dashed var(--line); }
.lc-stage.past { border-top-color: var(--sem-full); }
.lc-stage.now { border-top-color: var(--sem-partial); background: color-mix(in srgb, var(--sem-partial-bg) 60%, transparent); }
.lc-num { font-size: 12px; color: var(--ink-3); }
.lc-stage.past .lc-num { color: var(--sem-full); }
.lc-stage.now .lc-num { color: var(--sem-partial); }
.lc-name { font: 600 14px/1.45 var(--f-body); color: var(--ink); }
.lc-dur { font-size: 12px; color: var(--ink-3); }
.lc-gate { position: absolute; top: -10px; inset-inline-end: -8px; width: 16px; height: 16px; z-index: 2; }
.lc-gate i { position: absolute; inset: 1px; transform: rotate(45deg); background: var(--bg); border: 2px solid var(--gold); }
.lc-stage.past .lc-gate i { background: var(--gold); }
.lc-gate.none { display: none; }
.lc-cond { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; font-size: 11.5px; line-height: 1.45; color: var(--sem-partial); font-weight: 600; }
.gs-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.gs-head h3 { display: flex; align-items: center; gap: 9px; font-size: 1.25rem; }
.gs-head h3 .bi { color: var(--gold-ink); }
.gs-head .sub { margin-top: 4px; font-size: 13.5px; color: var(--ink-3); line-height: 1.6; }
.gs-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 22px; }
.gs-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.gs-step { display: grid; grid-template-columns: 26px 38px minmax(0, 1fr); gap: 8px 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); transition: border-color .2s, box-shadow .2s, opacity .2s; }
.gs-step.active { border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 16%, transparent); }
.gs-step.idle { opacity: .62; }
.gs-n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); font-size: 12px; }
.gs-ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); color: var(--ink-2); font-size: 17px; }
.gs-who { font-weight: 600; font-size: 14.5px; }
.gs-step > :nth-child(4) { grid-column: 3; justify-self: start; }
.gs-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.act-ok { background: var(--sem-full); color: #fff; }
.act-cond { background: var(--sem-partial); color: #15140F; }
.act-no { background: transparent; color: var(--sem-none); border-color: color-mix(in srgb, var(--sem-none) 55%, transparent); }
.act-no:hover { background: var(--sem-none-bg); }
.gs-wait { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-3); }
.gs-outcome { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); }
.gs-outcome .lbl { margin: 0; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; }
.gs-outcome strong { font: 600 1.2rem/1.3 var(--f-display); }
.gs-outcome.sem-full { background: var(--sem-full-bg); border-color: color-mix(in srgb, var(--sem-full) 40%, transparent); }
.gs-outcome.sem-partial { background: var(--sem-partial-bg); border-color: color-mix(in srgb, var(--sem-partial) 45%, transparent); }
.gs-outcome.sem-none { background: var(--sem-none-bg); border-color: color-mix(in srgb, var(--sem-none) 40%, transparent); }
.gs-outcome[class*="sem-"] strong { color: var(--sem, var(--ink)); }
.gs-effect { margin: 10px 0 18px; color: var(--ink-2); line-height: 1.85; font-size: 14.5px; }
.gs-log-wrap h4 { display: flex; align-items: center; gap: 7px; font: 600 13.5px/1.4 var(--f-body); color: var(--ink-3); }
.gs-log { list-style: none; margin: 8px 0 0; padding: 0; border: 1px solid var(--line); border-radius: 10px; max-height: 236px; overflow: auto; background: var(--surface); }
.gs-log li { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto auto; gap: 8px; align-items: center; padding: 9px 12px; border-bottom: 1px solid var(--line); font-size: 13px; }
.gs-log li:last-child { border-bottom: 0; }
.gs-log .tm { font-size: 11.5px; color: var(--ink-3); }
.gs-log .who { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gs-log li > .bi:first-of-type { color: var(--ink-3); }
.gs-log li b { color: var(--sem, var(--ink)); font-size: 12.5px; }
.gs-log .bi-lock-fill { color: var(--ink-3); font-size: 11px; }

/* ---------- 11) خطوط الأساس ---------- */
.baseline { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px; align-items: start; }
.bl-left { display: grid; gap: 14px; }
.baseline h4 { display: flex; align-items: center; gap: 8px; font: 600 15px/1.4 var(--f-body); margin: 0 0 12px; }
.baseline h4 .bi { color: var(--gold-ink); }
.bl-cur { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; }
.bl-cur dt { color: var(--ink-3); font-size: 13.5px; }
.bl-cur dd { margin: 0; font-weight: 600; font-size: 14px; text-align: end; }
.cr-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) 118px; gap: 10px; align-items: center; margin: 8px 0; }
.cr-row .lbl { margin: 0; }
.cr-row output { text-align: end; font-size: 13px; font-weight: 600; }
.cr-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.bl-max { margin-top: 10px; font-size: 12.5px; color: var(--sem-partial); }
.bl-axis { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-3); border-bottom: 1px solid var(--line); padding: 0 0 4px 0; margin: 0 0 10px; margin-inline-start: 44px; margin-inline-end: 76px; }
.bl-bars { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.bl-bars li { display: grid; grid-template-columns: 34px minmax(0, 1fr) 66px; gap: 10px; align-items: center; }
.bl-bars .v { font-size: 12px; font-weight: 600; color: var(--ink-3); }
.bl-bars li.cur .v { color: var(--ink); }
.bl-lane { position: relative; height: 16px; border-radius: 4px; background: var(--surface-2); }
.bl-bar { position: absolute; top: 3px; bottom: 3px; border-radius: 3px; background: var(--ink-3); opacity: .5; transition: width .6s ease; }
.bl-bars li.cur .bl-bar { background: var(--ink); opacity: 1; }
.bl-end { position: absolute; top: -3px; bottom: -3px; width: 2px; margin-inline-start: -1px; background: var(--gold); }
.bl-bars .tag { display: inline-flex; align-items: center; gap: 4px; justify-self: start; }
.bl-bars li.cur .tag { color: var(--gold-ink); background: color-mix(in srgb, var(--gold) 14%, transparent); }
.bl-crs { list-style: none; margin: 0 0 18px; padding: 12px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 6px; font-size: 13px; color: var(--ink-2); }
.bl-crs li { display: flex; gap: 8px; align-items: flex-start; }
.bl-crs .bi { color: var(--gold-ink); margin-top: 2px; }
.bl-snap { margin: 0; padding: 14px 16px; border-radius: 10px; background: #12110E; color: #E9E4D6; border: 1px solid #2A2924; font-size: 12.5px; line-height: 1.75; direction: ltr; text-align: left; overflow: auto; white-space: pre; }

/* ---------- 12) القيمة المكتسبة ---------- */
.evm { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 20px; align-items: start; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 18px; }
.presets .lbl { margin: 0 0 0; margin-inline-end: 4px; }
.evm-fields { display: grid; gap: 14px; }
.evm-field label { display: flex; justify-content: space-between; gap: 8px; font-size: 13.5px; color: var(--ink-2); margin-bottom: 2px; }
.evm-field output { font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.evm-field.tol { padding-top: 10px; border-top: 1px dashed var(--line); }
.evm-field.tol + .evm-field.tol { padding-top: 0; border-top: 0; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 24px; background: transparent; cursor: pointer; margin: 0; accent-color: var(--gold); }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: var(--line-2); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -7px; border-radius: 50%; background: var(--gold); border: 3px solid var(--surface); box-shadow: 0 0 0 1px var(--gold), 0 2px 6px rgba(0, 0, 0, .2); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: var(--line-2); }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--gold); border: 3px solid var(--surface); box-shadow: 0 0 0 1px var(--gold); }
.vbars { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line); display: grid; gap: 8px; }
.vbar { display: grid; grid-template-columns: 30px minmax(0, 1fr) 64px; gap: 10px; align-items: center; font-size: 12px; }
.vbar > b { text-align: end; }
.vbar .track { height: 10px; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
.vbar .track i { display: block; height: 100%; transition: width .45s ease; }
.vb-pv .track i { background: var(--ink-3); opacity: .55; }
.vb-ev .track i { background: var(--ink); }
.vb-ac .track i { background: var(--ink-2); opacity: .8; }
.evm-out { display: grid; gap: 12px; }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kpi { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; }
.kpi .lbl { align-self: stretch; text-align: start; }
.gauge { width: 100%; max-width: 210px; overflow: visible; }
.g-band { fill: none; stroke-width: 13; stroke: var(--sem); }
.g-tick { stroke: var(--ink); stroke-width: 2; }
.g-tick-l { font: 500 10px var(--f-mono); fill: var(--ink-3); text-anchor: middle; }
.g-needle { stroke: var(--ink); stroke-width: 3; stroke-linecap: round; transform-box: view-box; transform-origin: 100px 100px; transition: transform .7s cubic-bezier(.3, 1.35, .5, 1), opacity .3s; }
.g-hub { fill: var(--ink); }
.big { font-size: 2rem; font-weight: 600; line-height: 1.1; }
.kpi .sub { font-size: 12.5px; color: var(--ink-3); min-height: 1.6em; }
.formula { margin-top: 6px; font-size: 11.5px; color: var(--ink-3); background: var(--surface-2); padding: 3px 8px; border-radius: 6px; direction: ltr; unicode-bidi: isolate; }
.spend .sp-track { position: relative; height: 12px; border-radius: 6px; background: var(--surface-2); margin: 10px 0 6px; }
.sp-fill { position: absolute; inset-block: 0; inset-inline-start: 0; border-radius: 6px; transition: width .45s ease, background-color .3s; background: var(--sem); }
.sp-fill.neutral { background: var(--ink-2); }
.sp-tol { position: absolute; inset: 0; pointer-events: none; }
.sp-tol::before, .sp-tol::after { content: ''; position: absolute; top: -5px; bottom: -5px; width: 2px; }
.sp-tol::before { inset-inline-start: var(--a); background: var(--ink); }
.sp-tol::after { inset-inline-start: var(--b); background: var(--sem-none); }
.spend > b { font-size: 15px; }
.rag-out .rag-big { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--sem) 40%, transparent); color: var(--sem); }
.rag-big.sem-full { background: var(--sem-full-bg); }
.rag-big.sem-partial { background: var(--sem-partial-bg); }
.rag-big.sem-none { background: var(--sem-none-bg); }
.rag-big .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--sem); }
.rag-big strong { font: 600 1.25rem/1.2 var(--f-display); }
.rag-big .mono { font-size: 11px; letter-spacing: .08em; opacity: .8; }
.rag-out .why { margin-top: 8px; font-size: 13.5px; color: var(--ink-2); }

/* ---------- 13) المخاطر ---------- */
.risk { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 20px; align-items: start; }
.rm-axes { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 12px; }
.rm-axes span { display: inline-flex; align-items: center; gap: 5px; }
[dir="ltr"] .ax-i .bi { transform: scaleX(-1); }
.rm-grid { display: grid; grid-template-columns: minmax(78px, auto) repeat(5, minmax(0, 1fr)); gap: 6px; }
.rm-ylab { display: flex; align-items: center; justify-content: flex-end; text-align: end; padding-inline-end: 6px; font-size: 11.5px; line-height: 1.3; color: var(--ink-3); }
.rm-xlab { text-align: center; font-size: 11.5px; line-height: 1.3; color: var(--ink-3); padding-top: 4px; }
.rm-cell { aspect-ratio: 1.3; min-height: 40px; border-radius: 8px; border: 1px solid color-mix(in srgb, var(--sem) 35%, transparent); color: var(--sem); font: 600 15px/1 var(--f-mono); cursor: pointer; transition: transform .15s, box-shadow .15s; }
.rm-cell.sem-full { background: var(--sem-full-bg); }
.rm-cell.sem-partial { background: var(--sem-partial-bg); }
.rm-cell.sem-none { background: var(--sem-none-bg); }
.rm-cell:hover { transform: scale(1.06); }
.rm-cell.on { box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--ink); transform: scale(1.06); }
.rm-side { display: grid; gap: 14px; }
.rm-pick { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ink-3); }
.rm-score { display: flex; align-items: center; gap: 14px; }
.rm-score > b { font-size: 2.6rem; line-height: 1; min-width: 70px; text-align: center; color: var(--sem); }
.rm-score > div { display: grid; gap: 6px; justify-items: start; font-size: 14px; }
.rm-detail .act { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; color: var(--ink-2); font-size: 14px; line-height: 1.75; }
.rm-detail .act .bi { color: var(--gold-ink); margin-top: 3px; }
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 13.5px; color: var(--ink-2); position: relative; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch i { position: relative; width: 38px; height: 22px; border-radius: 999px; background: var(--line-2); transition: background-color .2s; flex: none; }
.switch i::after { content: ''; position: absolute; top: 3px; inset-inline-start: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: inset-inline-start .2s; }
.switch input:checked + i { background: var(--gold); }
.switch input:checked + i::after { inset-inline-start: 19px; }
.switch input:focus-visible + i { outline: 2px solid var(--gold); outline-offset: 2px; }
.issue h4 { display: flex; align-items: center; gap: 8px; font: 600 15px/1.4 var(--f-body); margin-bottom: 6px; }
.issue h4 .bi { color: var(--gold-ink); }
.iss-row { display: grid; grid-template-columns: 104px minmax(0, 1fr) auto; gap: 10px; align-items: center; margin: 10px 0; }
.iss-row .lbl { margin: 0; }
.iss-row .pills { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.iss-row output { font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.iss-verdict { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }
.iss-verdict .why { font-size: 12.5px; color: var(--ink-3); }

/* ---------- 14) القدرات / لمن / ذكاء يومي / الأدلة ---------- */
.cap-grid, .aud-grid, .smart-grid, .guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cap { transition: transform .25s ease, border-color .25s ease; }
.cap:hover { transform: translateY(-3px); border-color: var(--line-2); }
.cap header { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; gap: 4px 12px; align-items: center; margin-bottom: 14px; }
.cap header .cap-ico { grid-row: span 2; }
.cap h3 { font-size: 1.12rem; }
.cap header .badge-sem { justify-self: start; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ticks li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.ticks .bi { color: var(--gold-ink); margin-top: 3px; }
.aud h3, .smart h3 { display: flex; align-items: center; gap: 10px; font-size: 1.12rem; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.aud h3 > .bi { color: var(--gold-ink); }
.aud ul { list-style: none; margin: 0; padding: 0; }
.aud li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.aud li:last-child { border-bottom: 0; padding-bottom: 0; }
.r-ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); color: var(--gold-ink); }
.aud strong, .sm-item strong { display: block; font-weight: 600; font-size: 14.5px; }
.aud li span, .sm-item span { display: block; font-size: 13.5px; line-height: 1.65; color: var(--ink-2); }
.sm-item { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.sm-item:last-child { border-bottom: 0; padding-bottom: 0; }
.sm-item > .bi { color: var(--gold-ink); font-size: 17px; margin-top: 1px; }
.guide { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; padding: 18px; }
.guide h4 { font: 600 15px/1.4 var(--f-body); margin-bottom: 4px; }
.guide p { font-size: 13.5px; line-height: 1.65; color: var(--ink-2); }

/* ---------- 15) الجداول ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { padding: 14px 16px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--line); line-height: 1.6; }
thead th { font-size: 13px; font-weight: 600; color: var(--ink-3); background: var(--surface-2); }
thead th.us { color: var(--gold-ink); }
tbody th { font-weight: 600; width: 22%; }
tbody tr:last-child > * { border-bottom: 0; }
td .bi { margin-inline-end: 8px; }
.cmp td.us { color: var(--ink); font-weight: 500; background: color-mix(in srgb, var(--gold) 5%, transparent); }
.cmp td.us .bi { color: var(--sem-full); }
.cmp td.them { color: var(--ink-3); }
.cmp td.them .bi { color: var(--sem-none); opacity: .8; }
.mono-ish { font-size: 13.5px; color: var(--ink-2); }
:lang(en) .mono-ish { font-family: var(--f-mono); font-size: 13px; }
.honest { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 8px 14px; border-radius: 999px; border: 1px dashed var(--gold); color: var(--gold-ink); font-size: 13.5px; font-weight: 600; }

/* ---------- 16) خارطة الطريق ---------- */
.road { list-style: none; margin: 0; padding: 0; position: relative; max-width: 880px; }
.road::before { content: ''; position: absolute; top: 12px; bottom: 12px; inset-inline-start: 19px; width: 2px; background: var(--line-2); }
.road-item { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 18px; }
.road-ms { position: relative; z-index: 1; width: 40px; height: 40px; margin-top: 8px; display: grid; place-items: center; border-radius: 12px; background: var(--surface); border: 2px solid var(--line-2); color: var(--ink-3); font-size: 16px; }
.st-done .road-ms { background: var(--sem-full); border-color: var(--sem-full); color: #fff; }
.st-partial .road-ms { border-color: var(--sem-partial); color: var(--sem-partial); }
.road-body { padding: 12px 0 18px; border-bottom: 1px dashed var(--line); }
.road-item:last-child .road-body { border-bottom: 0; }
.road-body header { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.road-body h3 { font-size: 1.08rem; }
.road-body p { margin-top: 6px; color: var(--ink-2); font-size: 14.5px; line-height: 1.75; }
.st-soon .road-body h3 { color: var(--ink-2); }

/* ---------- 17) الأسئلة ---------- */
.faq-list { max-width: 900px; display: grid; gap: 10px; }
.faq { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 0 18px; transition: border-color .2s; }
.faq[open] { border-color: var(--line-2); }
.faq summary { list-style: none; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 16px 0; cursor: pointer; font-weight: 600; font-size: 15.5px; line-height: 1.55; }
.faq summary::-webkit-details-marker { display: none; }
.faq .qn { font-size: 11.5px; color: var(--gold-ink); }
.faq summary .bi { color: var(--ink-3); transition: transform .25s; }
.faq[open] summary .bi { transform: rotate(45deg); }
.faq p { margin: 0 0 18px; color: var(--ink-2); line-height: 1.9; }

/* ---------- 18) التواصل والتذييل ---------- */
.sec.contact { padding: 112px 0; background-image: var(--grid-b); }
[data-theme] .sec.contact { --grid-b: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cpath d='M240 .5H.5V240' fill='none' stroke='%23F0EDE4' stroke-opacity='.06'/%3E%3C/svg%3E"); }
.contact-panel { max-width: 820px; margin-inline: auto; text-align: center; }
.contact .sec-head { margin-inline: auto; margin-bottom: 30px; }
.contact .kicker { justify-content: center; }
.contact .dim { margin-inline: auto; }
.contact-actions { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.contact .btn-wa { background: #F0EDE4; color: #12110E; }
.contact .btn-wa:hover { background: #FFFFFF; }
.contact .num { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; font-size: 1.25rem; font-weight: 600; }
.footer { padding: 56px 0 28px; border-top: 1px solid var(--line); }
.foot-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr); gap: 40px; }
.foot-brand .logo-img img { height: 34px; }
.foot-brand p { margin-top: 14px; font-size: 14px; line-height: 1.75; color: var(--ink-2); max-width: 42ch; }
.foot-brand .fam { color: var(--gold-ink); font-weight: 600; font-size: 13px; margin-top: 8px; }
.foot-nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.foot-nav h4 { font: 600 13px/1.4 var(--f-body); color: var(--ink-3); margin-bottom: 8px; }
.foot-nav a { display: block; padding: 4px 0; font-size: 14px; color: var(--ink-2); text-decoration: none; }
.foot-nav a:hover { color: var(--gold-ink); }
.foot-base { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 20px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.foot-base .note { display: inline-flex; align-items: center; gap: 6px; }
.to-top { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); text-decoration: none; }
.to-top:hover { color: var(--gold-ink); }
.wa-float {
  position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 60; width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: var(--wa); font-size: 25px; text-decoration: none;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 35%, transparent), var(--shadow-lg); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.07); }

/* ---------- 19) الشاشات الأصغر ---------- */
@media (max-width: 1100px) {
  .burger { display: inline-grid; }
  .nav {
    display: none; position: fixed; top: var(--hdr); inset-inline: 0; max-height: calc(100vh - var(--hdr)); overflow: auto;
    flex-direction: column; align-items: stretch; gap: 6px; padding: 14px 16px 22px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
  }
  .nav.open { display: flex; }
  .nav-g { pointer-events: none; padding: 6px 4px 2px; font-size: 12.5px; color: var(--ink-3); }
  .nav-g .bi { display: none; }
  .nav-group.active > .nav-g::after { display: none; }
  .nav-menu { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-width: 0; padding: 0; border: 0; box-shadow: none; background: transparent; }
  .nav-contact { margin-top: 6px; border: 1px solid var(--line-2); text-align: center; }
  .hero-in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "top" "copy" "board"; row-gap: 28px; }
  .hero { padding-top: 40px; }
}
@media (max-width: 980px) {
  .sec { padding: 84px 0; }
  .th-grid, .gs-grid, .evm, .risk, .baseline { grid-template-columns: minmax(0, 1fr); }
  .cap-grid, .aud-grid, .smart-grid, .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats li:nth-child(4) { border-inline-start: 0; }
  .stats li:nth-child(n+4) { border-top: 1px solid var(--line); }
  .foot-in { grid-template-columns: minmax(0, 1fr); }
  .lc-track { grid-template-columns: minmax(0, 1fr); }
  .lc-stage { border-top: 0; border-inline-start: 4px solid var(--line-2); padding: 10px 16px; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
  .lc-stage + .lc-stage { border-inline-start: 4px solid var(--line-2); border-top: 1px dashed var(--line); }
  .lc-stage.past, .lc-stage.past + .lc-stage.past { border-inline-start-color: var(--sem-full); }
  .lc-stage.now, .lc-stage + .lc-stage.now { border-inline-start-color: var(--sem-partial); }
  .lc-gate { top: auto; bottom: -9px; inset-inline-end: auto; inset-inline-start: -10px; }
}
@media (max-width: 720px) {
  .cmp thead, .map thead { display: none; }
  .cmp tr, .map tr { display: block; padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .cmp tbody tr:last-child, .map tbody tr:last-child { border-bottom: 0; }
  .cmp th, .cmp td, .map th, .map td { display: block; width: auto; padding: 4px 0; border: 0; }
  .cmp td::before, .map td::before { content: attr(data-h); display: block; font: 600 11.5px/1.5 var(--f-body); color: var(--ink-3); }
  .foot-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .th-chain { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .th-line { top: 0; bottom: 0; inset-inline: auto; inset-inline-start: 33px; width: 2px; height: auto; }
  .th-pulses { display: none; }
  .th-node { flex-direction: row; text-align: start; gap: 14px; }
  .th-dot { width: 54px; height: 54px; margin-inline-start: 6px; font-size: 20px; }
}
@media (max-width: 640px) {
  .wrap { padding-inline: 16px; }
  :root { --hdr: 60px; }
  .sec { padding: 68px 0; }
  .cap-grid, .aud-grid, .smart-grid, .guide-grid, .kpis { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats li { border-inline-start: 0 !important; border-top: 1px solid var(--line); padding: 20px 8px; }
  .stats li:nth-child(odd) { border-inline-end: 1px solid var(--line); }
  .stats li:nth-child(-n+2) { border-top: 0; }
  #headerWa span, #sfxBtn { display: none; }
  .tools { gap: 6px; }
  .topbar-in { gap: 10px; }
  .icon-btn { width: 34px; height: 34px; }
  #headerWa { padding: 7px 10px; }
  .brand .logo-sub { display: none; }
  .logo-img img { height: 24px; }
  .board { padding: 14px 12px 12px; }
  .b-cols, .b-row, .b-axis-row, .today-lane { grid-template-columns: 74px minmax(0, 1fr) 34px 34px 46px; gap: 6px; }
  .b-name .nm { display: none; }
  .rag .badge-sem { font-size: 0; gap: 0; padding: 4px; }
  .rag .badge-sem .dot { width: 9px; height: 9px; }
  .board-foot { grid-template-columns: minmax(0, 1fr); }
  .gantt-axis span:nth-child(even) { visibility: hidden; }
  .rm-grid { grid-template-columns: 64px repeat(5, minmax(0, 1fr)); gap: 4px; }
  .rm-ylab, .rm-xlab { font-size: 10px; }
  .cr-row, .iss-row { grid-template-columns: minmax(0, 1fr) auto; }
  .cr-row input, .iss-row input { grid-column: 1 / -1; grid-row: 2; }
  .iss-row .pills { grid-column: 1 / -1; }
  .bl-axis { margin-inline-end: 72px; }
  .gs-head { flex-direction: column; }
  .wa-float { width: 48px; height: 48px; font-size: 22px; bottom: 16px; inset-inline-end: 16px; }
  .foot-nav { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

/* ---------- 19-ب) جولة الشاشات: مسرح داكن دائماً + دليل فصول بخيط ذهبي (لا تدرّج - ألوان مصمتة) ---------- */
.tour { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.tour-stage {
  --t-bg: #0B0B09; --t-panel: #161613; --t-line: #2A2924; --t-line2: #3B3931; --t-ink: #F0EDE4; --t-ink2: #BDB8AA; --t-gold: #D4AF37;
  border-radius: 18px; overflow: hidden; background: var(--t-bg); border: 1px solid var(--t-line2); box-shadow: var(--shadow-lg);
  outline: 1px solid color-mix(in srgb, var(--gold) 40%, transparent); outline-offset: 6px; color: var(--t-ink);
}
.tour-screen { position: relative; aspect-ratio: 16 / 9; background: var(--t-bg); }
.tour-video { display: block; width: 100%; height: 100%; background: var(--t-bg); }
.tour-big {
  position: absolute; inset-inline: 0; bottom: 11%; margin-inline: auto; height: 60px; width: max-content; padding: 0 26px 0 20px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 10px; border: 2px solid var(--t-gold); background: rgba(11, 11, 9, .82); color: var(--t-ink);
  font: 600 17px/1 var(--f-display); cursor: pointer; transition: transform .2s, background-color .2s;
}
.tour-big .bi { font-size: 30px; color: var(--t-gold); }
.tour-big:hover { transform: scale(1.04); background: rgba(11, 11, 9, .94); }
.tour-big[hidden] { display: none; }
.tour-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 12px 16px; border-top: 1px solid var(--t-line); background: var(--t-panel); }
.tour-now { display: flex; align-items: center; gap: 8px; flex: 1 1 auto; min-width: 0; font-size: 14px; color: var(--t-ink2); }
.tour-now strong { color: var(--t-ink); font: 600 15px/1.3 var(--f-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tour-now-n { color: var(--t-gold); font-size: 13px; padding: 2px 6px; border: 1px solid var(--t-line2); border-radius: 6px; }
.tour-live { width: 8px; height: 8px; border-radius: 50%; background: var(--t-line2); flex: none; }
#tour.playing .tour-live { background: var(--t-gold); animation: tourPulse 1.6s ease-in-out infinite; }
@keyframes tourPulse { 50% { box-shadow: 0 0 0 6px rgba(212, 175, 55, .18); } }
.tour-langs { display: inline-flex; align-items: center; gap: 6px; color: var(--t-ink2); }
.tour-langs .pill { border-color: var(--t-line2); color: var(--t-ink2); }
.tour-langs .pill:hover { border-color: var(--t-ink2); color: var(--t-ink); }
.tour-langs .pill.on { background: var(--t-gold); border-color: var(--t-gold); color: #15140F; }
.tour-dur { font-size: 13px; color: var(--t-ink2); }

.tour-guide { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 16px; box-shadow: var(--shadow); }
.tour-guide-h { display: flex; align-items: center; gap: 8px; font: 600 15px/1.3 var(--f-display); color: var(--gold-ink); margin: 2px 4px 12px; }
.tour-steps { list-style: none; margin: 0; padding: 0; position: relative; }
.tour-steps::before { content: ''; position: absolute; top: 22px; bottom: 22px; inset-inline-start: 31px; width: 2px; background: var(--line); }
.tour-step { position: relative; border-radius: 12px; overflow: hidden; }
.tour-step + .tour-step { margin-top: 4px; }
.tour-step-btn {
  position: relative; z-index: 1; width: 100%; display: grid; grid-template-columns: 22px 36px minmax(0, 1fr) auto; gap: 8px; align-items: start;
  padding: 10px 10px; border: 1px solid transparent; border-radius: 12px; background: transparent; text-align: start; cursor: pointer;
  transition: background-color .15s, border-color .15s;
}
.tour-step-btn:hover { background: var(--surface-2); border-color: var(--line); }
.tour-step-n { font-size: 11px; color: var(--ink-3); padding-top: 9px; }
.tour-step-ic {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 16px;
  background: var(--surface); border: 1px solid var(--line-2); color: var(--ink-2); transition: background-color .2s, color .2s, border-color .2s;
}
.tour-step-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding-top: 1px; }
.tour-step-t { font: 600 15px/1.35 var(--f-display); color: var(--ink); }
.tour-step-d { font-size: 13px; line-height: 1.6; color: var(--ink-3); display: none; }
.tour-time { font-size: 12px; color: var(--ink-3); padding-top: 9px; }
.tour-step-fill { position: absolute; inset-inline-start: 0; bottom: 0; height: 3px; width: calc(var(--k) * 100%); background: var(--gold); }
.tour-step.past .tour-step-ic { background: var(--surface-2); border-color: var(--gold); color: var(--gold-ink); }
.tour-step.past .tour-step-fill { opacity: .35; }
.tour-step.on .tour-step-btn { background: var(--surface-2); border-color: color-mix(in srgb, var(--gold) 60%, transparent); }
.tour-step.on .tour-step-ic { background: var(--gold); border-color: var(--gold); color: #15140F; }
.tour-step.on .tour-step-n, .tour-step.on .tour-time { color: var(--gold-ink); }
.tour-step.on .tour-step-d { display: block; }

.tour-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 28px; }
.tour-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tour-facts li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: 14px; color: var(--ink-2); }
.tour-facts .bi { color: var(--gold-ink); }

@media (max-width: 1100px) { .tour { grid-template-columns: 1fr; } .tour-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 12px; } .tour-steps::before { display: none; } .tour-step + .tour-step { margin-top: 0; } }
@media (max-width: 640px) {
  .tour-steps { grid-template-columns: 1fr; }
  .tour-big { width: 40px; height: 40px; padding: 0; justify-content: center; bottom: 5%; }
  .tour-big span { display: none; }
  .tour-big .bi { font-size: 22px; margin-inline-start: 2px; }
  .tour-bar { gap: 10px; padding: 10px 12px; }
  .tour-dur { display: none; }
  .tour-foot .btn { width: 100%; justify-content: center; }
}

/* ---------- 20) تقليل الحركة والطباعة ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-art .thread-line { stroke-dashoffset: 0; }
  .hero-art .ms { opacity: 1; }
  .th-pulses { display: none; }
}
@media print {
  .topbar, .thread-rail, .wa-float, .tts, .film-host { display: none !important; }
  .reveal { opacity: 1; transform: none; }
  .sec { padding: 32px 0; break-inside: avoid; }
}
