/* TMG by THO - واجهات المرحلة الأولى.
   المرجع الوحيد للشكل: TMG_Brand_Guidelines.pdf و TMG_Colors_Fonts.txt.
   الألوان الخمسة معرّفة هنا مرة واحدة بأسماء الدليل، ولا يُكتب لون خارجها في أي ملف.
   كل درجة أفتح أو أغمق مشتقة من هذه الخمسة بالمزج (color-mix)، لا قيمة لون جديدة. */

:root{
  --brand-black: #050000;      /* Black - RGB 5 0 0 */
  --brand-gold: #F5B700;       /* الذهبي الوحيد (Pantone 3514 C). ملغى نهائياً: BF9B30 و8A6D16 و7F6414. نصاً على الغامق فقط، وعلى الفاتح تعبئة أو شريط */
  --brand-white: #FFFFFF;      /* White */
}

/* مشتقات من الألوان الخمسة فقط (شفافية للحدود والنص الثانوي والخلفيات الهادئة). */
:root{
  --ink: var(--brand-black);
  --ink-2: color-mix(in srgb, var(--brand-black) 72%, transparent);
  --ink-3: color-mix(in srgb, var(--brand-black) 55%, transparent);
  --line: color-mix(in srgb, var(--brand-black) 13%, transparent);
  --line-strong: color-mix(in srgb, var(--brand-black) 28%, transparent);
  --wash: color-mix(in srgb, var(--brand-black) 4%, var(--brand-white));
  --wash-gold: color-mix(in srgb, var(--brand-gold) 10%, var(--brand-white));
  --on-dark-2: color-mix(in srgb, var(--brand-white) 72%, transparent);
  --on-dark-line: color-mix(in srgb, var(--brand-white) 18%, transparent);
  --veil: color-mix(in srgb, var(--brand-black) 55%, transparent);
  --radius: 3px;
  --font-ar: 'TMG Cairo', sans-serif;
  --font-en: 'TMG Serif', serif;          /* Liberation Serif: البديل المطابق لـ Times New Roman */
  --font-mono: 'TMG Playfair', serif;     /* Playfair Display لحروف TMG فقط */
}

/* الخطوط محلية من 1_Brand_Kit/Fonts، لا من خدمة خارجية. */
@font-face{ font-family:'TMG Cairo'; src:url('assets/fonts/Cairo.ttf') format('truetype'); font-weight:200 1000; font-display:swap; }
@font-face{ font-family:'TMG Serif'; src:url('assets/fonts/LiberationSerif-Regular.ttf') format('truetype'); font-weight:400; font-display:swap; }
@font-face{ font-family:'TMG Serif'; src:url('assets/fonts/LiberationSerif-Bold.ttf') format('truetype'); font-weight:700; font-display:swap; }
@font-face{ font-family:'TMG Playfair'; src:url('assets/fonts/PlayfairDisplay.ttf') format('truetype'); font-weight:400 900; font-display:swap; }
/* أيقونات الواجهة: الخط المحلي الموجود أصلاً في المنصة (public/vendor/fonts). */
@font-face{ font-family:'Material Symbols Outlined'; src:url('/vendor/fonts/material-symbols-outlined.woff2') format('woff2'); font-weight:100 700; font-display:block; }

*{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; }
body{
  margin:0; background:var(--brand-white); color:var(--ink);
  font-family:var(--font-ar); font-weight:400; font-size:15.5px; line-height:1.75;
  -webkit-font-smoothing:antialiased; overflow-x:hidden;
}
html[lang="en"] body{ font-family:var(--font-en); font-size:16.5px; line-height:1.6; }
html[lang="en"] .ar-only{ display:none !important; }
html[lang="ar"] .en-only{ display:none !important; }
a{ color:inherit; }
img{ max-width:100%; }
button,input,select,textarea{ font:inherit; color:inherit; }
h1,h2,h3,h4{ margin:0; font-weight:600; line-height:1.3; }
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3{ font-weight:700; }
p{ margin:0 0 .8em; }
small,.cap{ font-weight:300; font-size:13px; color:var(--ink-2); }
.mi{ font-family:'Material Symbols Outlined'; font-weight:400; font-style:normal; font-size:20px; line-height:1; display:inline-block; vertical-align:middle; font-feature-settings:'liga'; -webkit-font-feature-settings:'liga'; user-select:none; }
:focus-visible{ outline:2px solid var(--brand-black); outline-offset:2px; }
.dark :focus-visible{ outline-color:var(--brand-gold); }
.wrap{ max-width:1160px; margin:0 auto; padding:0 24px; }
.sr{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
@media (prefers-reduced-motion: reduce){ *{ transition:none !important; animation:none !important; } }

/* ---------- عناوين بنمط الدليل: سطر صغير بحروف متباعدة ثم عنوان ثم خط ذهبي قصير ---------- */
.eyebrow{ font-family:var(--font-en); font-size:12.5px; letter-spacing:.32em; text-transform:uppercase; color:var(--brand-black); display:block; margin-bottom:10px; }
.dark .eyebrow{ color:var(--brand-gold); }
/* السطر الصغير لاتيني دائماً: يُعزل اتجاهه حتى لا تنقلب الأرقام في الصفحة العربية */
.eyebrow{ direction:ltr; unicode-bidi:isolate; }
html[dir=rtl] .eyebrow{ text-align:right; }
.center .eyebrow{ text-align:center !important; }
.h-display{ font-size:clamp(30px, 4.6vw, 52px); font-weight:600; line-height:1.2; }
.h-sec{ font-size:clamp(24px, 3vw, 34px); }
.rule{ display:block; width:96px; height:2px; background:var(--brand-gold); margin:16px 0 22px; border:0; }
.center .rule{ margin-inline:auto; }
.lead{ font-size:17.5px; color:var(--ink-2); max-width:680px; }
.dark .lead{ color:var(--on-dark-2); }
.serif{ font-family:var(--font-en); }

/* ---------- الأسطح ---------- */
.dark{ background:var(--brand-black); color:var(--brand-white); }
.dark small,.dark .cap{ color:var(--on-dark-2); }
.pat{ position:relative; isolation:isolate; }
.pat::before{ content:''; position:absolute; inset:0; z-index:-1; background-repeat:repeat; background-size:280px; opacity:.2; pointer-events:none; }
.pat-p1::before{ background-image:url('assets/patterns/tmg-p1-lens-grid-black-gold-tile.png'); }
.pat-p2::before{ background-image:url('assets/patterns/tmg-p2-signature-lines-black-gold-tile.png'); opacity:.3; }
.pat-p3::before{ background-image:url('assets/patterns/tmg-p3-monogram-black-gold-tile.png'); opacity:.35; }
.pat-p4::before{ background-image:url('assets/patterns/tmg-p4-guests-black-gold-tile.png'); opacity:.16; }
.pat-p3-light::before{ background-image:url('assets/patterns/tmg-p3-monogram-white-gold-tile.png'); opacity:.45; }
.section{ padding:72px 0; }
.section + .section{ border-top:1px solid var(--line); }
.wash{ background:var(--wash); }

/* ---------- الأزرار ---------- */
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:10px 20px; border-radius:var(--radius); border:1.5px solid transparent; font-weight:600; font-size:15px; text-decoration:none; cursor:pointer; transition:background .15s, color .15s, border-color .15s; white-space:nowrap; }
.btn .mi{ font-size:19px; }
.btn-black{ background:var(--brand-black); color:var(--brand-white); }
.btn-black:hover{ background:color-mix(in srgb, var(--brand-black) 82%, var(--brand-white)); }
.btn-gold{ background:var(--brand-gold); color:var(--brand-black); }
.btn-gold:hover{ background:var(--brand-gold); }
.btn-line{ background:transparent; color:var(--ink); border-color:var(--line-strong); }
.btn-line:hover{ border-color:var(--brand-black); }
.dark .btn-line{ color:var(--brand-white); border-color:var(--on-dark-line); }
.dark .btn-line:hover{ border-color:var(--brand-white); }
.btn-text{ background:none; border:0; color:var(--brand-black); padding:6px 4px; min-height:auto; text-decoration:underline; text-underline-offset:4px; }
.dark .btn-text{ color:var(--brand-gold); }
.btn-sm{ min-height:36px; padding:6px 14px; font-size:13.5px; }
.btn-block{ width:100%; }
.btn[disabled],.btn.is-disabled{ opacity:.4; cursor:not-allowed; }
.btn-row{ display:flex; flex-wrap:wrap; gap:10px; align-items:center; }

/* ---------- حالات بلا ألوان جديدة: تعبئة سوداء، إطار ذهبي، تعبئة ذهبية، رمادي من الأسود ---------- */
.st{ display:inline-flex; align-items:center; gap:5px; padding:2px 10px 3px; border-radius:2px; font-size:12.5px; font-weight:600; line-height:1.6; white-space:nowrap; border:1px solid var(--line-strong); color:var(--ink); background:var(--brand-white); }
.st .mi{ font-size:15px; }
.st-ok{ background:var(--brand-black); color:var(--brand-white); border-color:var(--brand-black); }
.st-wait{ border-color:var(--brand-gold); color:var(--brand-black); background:var(--wash-gold); }
.st-alert{ background:var(--brand-gold); border-color:var(--brand-gold); color:var(--brand-black); }
.st-muted{ background:var(--wash); color:var(--ink-2); border-color:var(--line); }
.st-off{ color:var(--ink-3); border-style:dashed; text-decoration:line-through; text-decoration-color:var(--ink-3); }
.dark .st{ background:transparent; color:var(--brand-white); border-color:var(--on-dark-line); }

/* ---------- البطاقات والجداول ---------- */
.card{ background:var(--brand-white); border:1px solid var(--line); border-radius:var(--radius); padding:22px; }
.card-head{ display:flex; align-items:flex-start; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-bottom:12px; }
.card h3{ font-size:18px; }
.card-gold{ border-top:3px solid var(--brand-gold); }
.grid{ display:grid; gap:18px; }
.g2{ grid-template-columns:repeat(2, minmax(0,1fr)); }
.g3{ grid-template-columns:repeat(3, minmax(0,1fr)); }
.g4{ grid-template-columns:repeat(4, minmax(0,1fr)); }
@media (max-width:900px){ .g3,.g4{ grid-template-columns:repeat(2, minmax(0,1fr)); } }
@media (max-width:620px){ .g2,.g3,.g4{ grid-template-columns:minmax(0,1fr); } }
.kv{ display:grid; grid-template-columns:minmax(120px, 38%) 1fr; gap:6px 16px; margin:0; }
.kv dt{ color:var(--ink-2); font-size:14px; }
.kv dd{ margin:0; font-weight:600; overflow-wrap:anywhere; }
.tbl-wrap{ overflow-x:auto; -webkit-overflow-scrolling:touch; border:1px solid var(--line); border-radius:var(--radius); }
table.tbl{ width:100%; border-collapse:collapse; font-size:14px; min-width:640px; }
.tbl th{ text-align:start; font-weight:600; font-size:12.5px; color:var(--ink-2); padding:10px 12px; background:var(--wash); border-bottom:1px solid var(--line); white-space:nowrap; }
.tbl td{ padding:11px 12px; border-bottom:1px solid var(--line); vertical-align:middle; }
.tbl tr:last-child td{ border-bottom:0; }
.tbl tr.row-link{ cursor:pointer; }
.tbl tr.row-link:hover td{ background:var(--wash); }
.num{ font-variant-numeric:tabular-nums; white-space:nowrap; }
.muted{ color:var(--ink-2); }
.tiny{ font-size:12.5px; color:var(--ink-2); font-weight:300; }
.divider{ height:1px; background:var(--line); margin:18px 0; border:0; }
.stack > * + *{ margin-top:14px; }
.flex{ display:flex; gap:12px; align-items:center; flex-wrap:wrap; }
.between{ justify-content:space-between; }
.empty{ padding:28px; text-align:center; color:var(--ink-2); border:1px dashed var(--line-strong); border-radius:var(--radius); }

/* تنبيه ثابت ومكان محجوز لمدخل ناقص */
.note{ display:flex; gap:12px; align-items:flex-start; padding:14px 16px; border-radius:var(--radius); border:1px solid var(--line); background:var(--wash); font-size:14.5px; }
.note .mi{ color:var(--brand-black); margin-top:2px; }
.note-gold{ border-color:var(--brand-gold); background:var(--wash-gold); }
.note-strong{ background:var(--brand-black); color:var(--brand-white); border-color:var(--brand-black); }
.note-strong .mi{ color:var(--brand-gold); }
.placeholder{ border:1.5px dashed var(--brand-gold); background:var(--wash-gold); padding:14px 16px; border-radius:var(--radius); font-size:14px; }
.placeholder b{ color:var(--brand-black); }
.dark .placeholder{ background:transparent; color:var(--on-dark-2); }
.dark .placeholder b{ color:var(--brand-gold); }

/* ---------- النماذج ---------- */
.field{ display:flex; flex-direction:column; gap:6px; }
.field > label,.lbl{ font-weight:600; font-size:14px; }
.field .hint{ font-size:12.5px; color:var(--ink-2); font-weight:300; }
.input, select.input, textarea.input{ width:100%; min-height:44px; padding:9px 12px; border:1px solid var(--line-strong); border-radius:var(--radius); background:var(--brand-white); }
textarea.input{ min-height:96px; resize:vertical; }
.input:focus{ outline:2px solid var(--brand-black); outline-offset:0; border-color:var(--brand-black); }
.input.err{ border-color:var(--brand-black); border-width:2px; }
.err-msg{ font-size:13px; font-weight:600; display:flex; gap:6px; align-items:center; }
.err-msg .mi{ font-size:17px; color:var(--brand-black); }
.choice{ display:flex; gap:10px; align-items:flex-start; padding:14px; border:1px solid var(--line-strong); border-radius:var(--radius); cursor:pointer; background:var(--brand-white); }
.choice:has(input:checked){ border-color:var(--brand-black); box-shadow:inset 0 0 0 1px var(--brand-black); }
.choice input{ margin-top:5px; accent-color:var(--brand-black); }
.checks{ display:flex; flex-wrap:wrap; gap:8px; }
.check{ display:inline-flex; gap:8px; align-items:center; padding:7px 12px; border:1px solid var(--line-strong); border-radius:var(--radius); cursor:pointer; font-size:14px; }
.check:has(input:checked){ border-color:var(--brand-black); background:var(--wash); }
.check input{ accent-color:var(--brand-black); }
input[type=checkbox],input[type=radio]{ accent-color:var(--brand-black); width:17px; height:17px; }
.file-pick{ display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.file-pick .fname{ font-size:13px; color:var(--ink-2); }

/* ---------- شريط المراجعة (أداة مراجعة فقط، ليس جزءاً من الواجهة النهائية) ---------- */
.review-bar{ position:sticky; top:0; z-index:60; background:var(--brand-black); color:var(--brand-white); border-bottom:2px solid var(--brand-gold); font-size:13px; }
.review-bar .wrap{ display:flex; align-items:center; gap:10px; min-height:44px; flex-wrap:wrap; padding-block:6px; max-width:none; }
.review-bar .tag{ font-family:var(--font-en); letter-spacing:.24em; text-transform:uppercase; color:var(--brand-gold); font-size:11px; }
.review-bar .roles{ display:flex; gap:4px; flex-wrap:wrap; }
.review-bar button{ background:transparent; border:1px solid var(--on-dark-line); color:var(--brand-white); padding:3px 12px; border-radius:2px; cursor:pointer; font-size:13px; min-height:30px; }
.review-bar button[aria-pressed=true]{ background:var(--brand-gold); color:var(--brand-black); border-color:var(--brand-gold); font-weight:600; }
.review-bar select{ background:var(--brand-black); color:var(--brand-white); border:1px solid var(--on-dark-line); border-radius:2px; min-height:30px; font-size:13px; }
.review-bar .spacer{ flex:1; }

/* ---------- رأس موقع TMG ---------- */
.site-head{ background:var(--brand-black); color:var(--brand-white); position:sticky; top:44px; z-index:50; border-bottom:1px solid var(--on-dark-line); }
.site-head .wrap{ display:flex; align-items:center; gap:20px; min-height:76px; }
.brand-link{ display:inline-flex; padding:8px 0; flex:none; }
.brand-link img{ height:46px; width:auto; display:block; }
.site-nav{ display:flex; gap:4px; flex:1; flex-wrap:wrap; }
.site-nav a{ text-decoration:none; padding:8px 10px; color:var(--on-dark-2); font-size:14.5px; border-bottom:2px solid transparent; }
.site-nav a:hover,.site-nav a[aria-current=page]{ color:var(--brand-white); border-bottom-color:var(--brand-gold); }
.head-actions{ display:flex; gap:8px; align-items:center; }
.lang-btn{ background:none; border:1px solid var(--on-dark-line); color:var(--brand-white); border-radius:2px; min-height:36px; padding:0 12px; cursor:pointer; font-family:var(--font-en); }
.menu-btn{ display:none; }
@media (max-width:1020px){
  .site-nav{ display:none; position:absolute; inset-inline:0; top:100%; background:var(--brand-black); flex-direction:column; padding:8px 24px 18px; border-bottom:2px solid var(--brand-gold); }
  .site-nav.open{ display:flex; }
  .menu-btn{ display:inline-flex; }
  .head-actions .btn-gold{ display:none; }
}

/* ---------- الواجهة الأولى ---------- */
.hero{ padding:96px 0 88px; }
.hero .h-display{ max-width:780px; }
.hero .btn-row{ margin-top:28px; }
.page-hero{ padding:64px 0 54px; }
.video-slot{ aspect-ratio:16/9; border:1px solid var(--on-dark-line); display:grid; place-items:center; text-align:center; padding:20px; color:var(--on-dark-2); background:var(--brand-black); }
.video-slot .mi{ font-size:48px; color:var(--brand-gold); }
.steps-line{ counter-reset:s; display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:0; }
.steps-line li{ list-style:none; padding:0 18px 0 0; border-inline-start:1px solid var(--line); padding-inline:18px; }
.steps-line li::before{ counter-increment:s; content:counter(s, decimal-leading-zero); font-family:var(--font-en); color:var(--brand-black); letter-spacing:.2em; display:block; margin-bottom:6px; }
@media (max-width:820px){ .steps-line{ grid-template-columns:1fr 1fr; row-gap:24px; } }
@media (max-width:520px){ .steps-line{ grid-template-columns:1fr; } }
.plan{ display:flex; flex-direction:column; gap:12px; }
.plan .price{ font-size:34px; font-weight:700; line-height:1.1; }
.plan .price small{ font-size:14px; }
.plan ul{ margin:0; padding-inline-start:18px; color:var(--ink-2); }
.plan.featured{ border:1.5px solid var(--brand-black); }
.faq details{ border-bottom:1px solid var(--line); padding:14px 0; }
.faq summary{ cursor:pointer; font-weight:600; list-style:none; display:flex; justify-content:space-between; gap:12px; }
.faq summary::after{ content:'+'; color:var(--brand-black); font-size:20px; line-height:1; }
.faq details[open] summary::after{ content:'–'; }
.faq details p{ margin-top:10px; color:var(--ink-2); }

.site-foot{ background:var(--brand-black); color:var(--on-dark-2); padding:48px 0 28px; font-size:14px; }
.site-foot .cols{ display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:28px; }
.site-foot a{ text-decoration:none; color:var(--on-dark-2); display:block; padding:3px 0; }
.site-foot a:hover{ color:var(--brand-white); }
.site-foot .base{ margin-top:28px; padding-top:18px; border-top:1px solid var(--on-dark-line); display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; font-family:var(--font-en); letter-spacing:.18em; font-size:11.5px; text-transform:uppercase; }
@media (max-width:760px){ .site-foot .cols{ grid-template-columns:1fr; } }

/* ---------- مسار الطلب ---------- */
.wizard{ display:grid; grid-template-columns:minmax(0,1fr) 340px; gap:28px; align-items:start; }
@media (max-width:980px){ .wizard{ grid-template-columns:minmax(0,1fr); } .summary{ position:static; } }
.stepper{ display:flex; gap:0; margin-bottom:26px; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; }
.stepper a{ flex:1; display:flex; gap:8px; align-items:center; padding:10px 12px; text-decoration:none; font-size:14px; color:var(--ink-2); border-inline-end:1px solid var(--line); min-width:0; }
.stepper a:last-child{ border-inline-end:0; }
.stepper b{ font-family:var(--font-en); color:var(--brand-black); }
.stepper a[aria-current=step]{ background:var(--brand-black); color:var(--brand-white); }
.stepper a[aria-current=step] b{ color:var(--brand-gold); }
.stepper a.done{ color:var(--ink); }
@media (max-width:620px){ .stepper span.lbl-txt{ display:none; } .stepper a{ justify-content:center; } }
.summary{ position:sticky; top:140px; }
.sum-line{ display:flex; justify-content:space-between; gap:10px; padding:7px 0; border-bottom:1px solid var(--line); font-size:14px; }
.sum-line.total{ border-bottom:0; font-size:18px; font-weight:700; padding-top:12px; }
.fac-card{ border:1px solid var(--line-strong); border-radius:var(--radius); }
.fac-card > header{ display:flex; justify-content:space-between; align-items:center; gap:10px; padding:12px 16px; background:var(--wash); border-bottom:1px solid var(--line); }
.fac-card > .body{ padding:18px 16px; }

/* ---------- واجهات الحساب والفريق والمعتمِد ---------- */
.shell{ display:grid; grid-template-columns:264px minmax(0,1fr); min-height:calc(100vh - 44px); }
.side{ background:var(--brand-black); color:var(--brand-white); padding:14px 12px; position:sticky; top:44px; height:calc(100vh - 44px); overflow-y:auto; }
.side .brand-link{ padding:4px 10px 10px; }
.side .brand-link img{ height:40px; }
.side .who{ padding:8px 10px; border-top:1px solid var(--on-dark-line); border-bottom:1px solid var(--on-dark-line); margin-bottom:6px; font-size:13.5px; }
.side .who b{ display:block; font-weight:600; }
.side nav a{ display:flex; gap:10px; align-items:center; padding:6px 10px; border-radius:2px; text-decoration:none; color:var(--on-dark-2); font-size:14.5px; line-height:1.35; border-inline-start:2px solid transparent; }
/* a long name wraps onto a second line, never clipped (item 1, 28 Nov 2026) */
.side nav a > span:not(.badge):not(.mi){ flex:1 1 auto; min-width:0; overflow-wrap:anywhere; text-align:start; }
.side nav a:hover{ color:var(--brand-white); }
.side nav a[aria-current=page]{ color:var(--brand-white); background:color-mix(in srgb, var(--brand-white) 8%, transparent); border-inline-start-color:var(--brand-gold); }
.side nav a .mi{ font-size:19px; }
.side nav .badge{ margin-inline-start:auto; background:var(--brand-gold); color:var(--brand-black); font-size:11.5px; font-weight:700; border-radius:2px; padding:0 6px; }
.side .grp{ font-family:var(--font-en); letter-spacing:.24em; font-size:10.5px; text-transform:uppercase; color:var(--brand-gold); padding:10px 10px 4px; }
.main{ padding:28px 32px 64px; min-width:0; }
.topline{ display:flex; justify-content:space-between; align-items:flex-start; gap:16px; flex-wrap:wrap; margin-bottom:22px; padding-bottom:16px; border-bottom:1px solid var(--line); }
.topline h1{ font-size:26px; }
.kpi{ padding:18px; border:1px solid var(--line); border-radius:var(--radius); }
.kpi b{ display:block; font-size:28px; font-weight:700; line-height:1.2; }
.kpi span{ font-size:13.5px; color:var(--ink-2); }
.tabs{ display:flex; gap:0; border-bottom:1px solid var(--line); margin-bottom:18px; overflow-x:auto; }
.tabs button{ background:none; border:0; border-bottom:2px solid transparent; padding:10px 14px; cursor:pointer; white-space:nowrap; color:var(--ink-2); font-size:14.5px; }
.tabs button[aria-selected=true]{ color:var(--ink); border-bottom-color:var(--brand-gold); font-weight:600; }
.track{ display:grid; grid-template-columns:repeat(5, minmax(0,1fr)); gap:4px; margin-top:12px; }
.track div{ font-size:12px; padding-top:8px; border-top:3px solid var(--line); color:var(--ink-3); line-height:1.4; }
.track div.done{ border-top-color:var(--brand-black); color:var(--ink-2); }
.track div.now{ border-top-color:var(--brand-gold); color:var(--ink); font-weight:600; }
.locked{ text-align:center; padding:28px 18px; border:1.5px dashed var(--line-strong); border-radius:var(--radius); background:var(--wash); }
.locked .mi{ font-size:40px; color:var(--brand-black); }
.chat{ display:flex; flex-direction:column; gap:10px; }
.bubble{ max-width:78%; padding:10px 14px; border-radius:var(--radius); border:1px solid var(--line); background:var(--brand-white); }
.bubble.mine{ align-self:flex-end; background:var(--brand-black); color:var(--brand-white); border-color:var(--brand-black); }
.bubble.mine .tiny{ color:var(--on-dark-2); }
.stars{ display:flex; gap:6px; }
.stars label{ display:grid; place-items:center; width:44px; height:44px; border:1px solid var(--line-strong); border-radius:var(--radius); cursor:pointer; font-weight:700; }
.stars label:has(input:checked){ background:var(--brand-black); color:var(--brand-white); border-color:var(--brand-black); }
.stars input{ position:absolute; opacity:0; width:1px; height:1px; }
.drawer-veil{ position:fixed; inset:0; background:var(--veil); z-index:80; display:flex; justify-content:flex-end; }
.drawer{ background:var(--brand-white); width:min(560px, 100%); height:100%; overflow-y:auto; padding:24px; border-inline-start:3px solid var(--brand-gold); }
html[dir=rtl] .drawer-veil{ justify-content:flex-start; }
.drawer .close{ float:inline-end; }
@media (max-width:900px){
  .shell{ grid-template-columns:minmax(0,1fr); }
  .side{ position:static; height:auto; padding:12px 14px; }
  .side .who,.side .grp{ display:none; }
  .side nav{ display:flex; overflow-x:auto; gap:2px; }
  .side nav a{ white-space:nowrap; border-inline-start:0; border-bottom:2px solid transparent; }
  .side nav a[aria-current=page]{ border-bottom-color:var(--brand-gold); }
  .main{ padding:20px 16px 48px; }
}

/* ---------- بوابة المفتش (جوال) ---------- */
.mobile{ max-width:460px; margin:0 auto; min-height:calc(100vh - 44px); border-inline:1px solid var(--line); display:flex; flex-direction:column; background:var(--brand-white); }
.m-top{ background:var(--brand-black); color:var(--brand-white); padding:10px 16px; display:flex; align-items:center; gap:10px; position:sticky; top:44px; z-index:20; }
.m-top img{ height:34px; width:auto; }
.m-top h1{ font-size:16.5px; flex:1; }
.m-top .back{ color:var(--brand-white); text-decoration:none; display:inline-flex; }
.m-body{ padding:16px; flex:1; padding-bottom:90px; }
.m-nav{ position:sticky; bottom:0; display:grid; grid-template-columns:repeat(4, 1fr); background:var(--brand-black); border-top:2px solid var(--brand-gold); }
.m-nav a{ display:flex; flex-direction:column; align-items:center; gap:2px; padding:8px 4px 10px; color:var(--on-dark-2); text-decoration:none; font-size:12px; }
.m-nav a[aria-current=page]{ color:var(--brand-gold); }
.task{ display:block; text-decoration:none; padding:14px; border:1px solid var(--line); border-radius:var(--radius); }
.task + .task{ margin-top:10px; }
.cond{ display:flex; gap:10px; align-items:flex-start; padding:10px 0; border-bottom:1px solid var(--line); font-size:14.5px; }
.cond .mi{ font-size:20px; }
.cond.ok .mi{ color:var(--brand-black); }
.cond.no .mi{ color:var(--brand-black); }

/* ---------- صفحة الدفع التجريبية ---------- */
.paybox{ max-width:520px; margin:40px auto; }
.pay-method{ display:grid; grid-template-columns:repeat(2,1fr); gap:10px; }

/* على الجوال يلتف شريط المراجعة أكثر من سطر، فلا يبقى ثابتاً */
@media (max-width:760px){
  .review-bar{ position:static; }
  .site-head,.m-top{ top:0; }
  .main .grid[style*="grid-template-columns"]{ grid-template-columns:minmax(0,1fr) !important; }
}

/* ---------- تنبيه عابر ---------- */
.toast{ position:fixed; bottom:22px; inset-inline-start:50%; transform:translateX(-50%); z-index:100; background:var(--brand-black); color:var(--brand-white); padding:12px 18px; border-radius:var(--radius); border-inline-start:3px solid var(--brand-gold); font-size:14.5px; max-width:min(560px, calc(100vw - 32px)); }
html[dir=rtl] .toast{ transform:translateX(50%); }

/* ---------- الوضع الحي: لا شريط مراجعة، فلا إزاحة للرؤوس الثابتة ---------- */
body.live .site-head, body.live .m-top { top:0; }
body.live .side { top:0; height:100vh; }
/* on a phone the dark header is as tall as its content, never the whole screen (item 1, 28 Nov 2026) */
@media (max-width:900px){ body.live .side { position:static; height:auto; } body.live .shell { grid-template-rows:auto 1fr; } }
/* Next round item 10 (29 Nov 2026): on a short desktop screen (1280x800 and the like) the whole team menu, its last items and
   the account box, fits without scrolling: tighter spacing only below 860px of height, so 1280x900 and phones are unchanged. */
@media (min-width:901px) and (max-height:860px){
  .side{ padding:10px 12px; }
  .side .brand-link{ padding:2px 10px 6px; }
  .side .brand-link img{ height:34px; }
  .side .who{ padding:6px 10px; margin-bottom:4px; }
  .side nav a{ padding:3px 10px; font-size:14px; line-height:1.3; }
  .side nav a .mi{ font-size:18px; }
  .side .grp{ padding:6px 10px 2px; }
}
body.live .shell, body.live .mobile { min-height:100vh; }
.acct{ display:flex; align-items:center; gap:8px; }
.sig-pad{ width:100%; height:150px; border:1px dashed var(--line-strong); border-radius:var(--radius); touch-action:none; background:var(--brand-white); }

/* الأدلة: الطباعة إلى PDF تُظهر نص الدليل وحده */
.guide code{ direction:ltr; unicode-bidi:isolate; font-size:.9em; }
@media print{
  body *{ visibility:hidden; }
  .guide, .guide *{ visibility:visible; }
  .guide{ position:absolute; inset:0 auto auto 0; width:100%; padding:0 12mm; }
  .no-print{ display:none !important; }
}

/* المرحلة الثانية: شهادة الموظف النجم (أسود وذهبي #F5B700، والذهبي نصاً على الأسود فقط) وموضع نموذج ميسر */
.cert{ background:var(--brand-black); color:var(--brand-white); border-radius:var(--radius); padding:14px; -webkit-print-color-adjust:exact; print-color-adjust:exact; }
.cert-in{ border:1.5px solid var(--brand-gold); outline:1px solid var(--brand-gold); outline-offset:-8px; padding:44px 28px; text-align:center; display:grid; gap:10px; justify-items:center; }
.cert h2{ color:var(--brand-gold); font-size:32px; font-weight:700; margin:4px 0; }
.cert p{ margin:0; color:var(--on-dark-2); }
.cert .cert-name{ font-size:30px; font-weight:700; color:var(--brand-white); border-bottom:1px solid var(--brand-gold); padding:0 24px 8px; }
.cert .cert-lead{ max-width:560px; }
.cert-foot{ display:flex; gap:22px; flex-wrap:wrap; justify-content:center; margin-top:18px; font-size:13px; color:var(--brand-gold); }
.moyasar-slot{ display:grid; justify-items:center; gap:6px; padding:34px 16px; border:1.5px dashed var(--brand-gold); border-radius:var(--radius); background:var(--wash-gold); text-align:center; }
.moyasar-slot .mi{ font-size:30px; color:var(--brand-black); }

/* =====================================================================================
   مظهر الموقع للزائر (اعتُمد 23 نوفمبر 2026، المرجع: design/README.md و design/artboards).
   كل القواعد هنا محصورة داخل .vs (غلاف siteShell) فلا تتأثر شاشات العميل والفريق والمفتش.
   الألوان من جدول الرموز في design/README.md. الذهبي #F5B700 وحده: تعبئة وشريط ونقاط، ونص على الغامق فقط، وعلى الفاتح النص أسود #050000.
   ===================================================================================== */
:root{
  --v-black:#050000; --v-cream:#F5F1E8; --v-card:#161212; --v-line:#2E2726;
  --v-gold:#F5B700;          /* تعبئة: أزرار وبطاقة مميزة وشريط وملخص */
  --v-sec-d:#B8B0A8; --v-sec-l:#5C5550;   /* نص ثانوي على الداكن وعلى الفاتح */
  --v-border-l:#E3DED3; --v-wash:#F7F5F0; --v-cell-d:#1F1A17; --v-dot:#F5B700;
  --v-r:8px;
}
.vs{ background:var(--v-cream); color:var(--v-black); font-family:var(--font-ar); }
.vs a{ color:inherit; }
.vs :focus-visible{ outline:3px solid var(--v-black); outline-offset:2px; }
.vs .v-dark :focus-visible, .vs .site-head :focus-visible, .vs .site-foot :focus-visible, .vs .v-gold :focus-visible{ outline-color:var(--v-gold); }
.vs .v-gold :focus-visible{ outline-color:var(--v-black); }

/* ---- الرأس ---- */
.vs .site-head{ background:var(--v-black); border-bottom:0; }
.vs .site-head .wrap{ max-width:1200px; padding:0 32px; min-height:84px; }
.vs .site-nav{ gap:22px; justify-content:center; }
.vs .site-nav a{ color:#fff; font-size:14px; padding:8px 0; border-bottom:2px solid transparent; }
.vs .site-nav a:hover{ color:var(--v-gold); border-bottom-color:transparent; }
.vs .site-nav a[aria-current=page]{ color:var(--v-gold); font-weight:700; border-bottom-color:transparent; }
.vs .head-actions .btn-gold{ border-radius:6px; min-height:42px; padding:10px 20px; font-size:14px; }
.vs .head-actions .btn-line{ border-color:var(--v-line); color:#fff; border-radius:6px; }
@media (max-width:1020px){
  .vs .site-nav{ background:var(--v-black); border-bottom:3px solid var(--v-gold); gap:0; align-items:stretch; }
  .vs .site-nav a{ padding:12px 0; border-bottom:1px solid var(--v-line); }
}

/* ---- أزرار وحقول عامة داخل الموقع ---- */
.vs .btn{ border-radius:var(--v-r); min-height:48px; font-weight:700; padding:12px 24px; }
.vs .btn-sm{ min-height:40px; padding:8px 16px; }
.vs .btn-gold{ background:var(--v-gold); color:var(--v-black); border-color:var(--v-gold); }
.vs .btn-gold:hover{ background:var(--v-black); color:var(--v-gold); border-color:var(--v-gold); }
.vs .btn-black{ background:var(--v-black); color:#fff; border-color:var(--v-black); }
.vs .btn-black:hover{ background:var(--v-gold); color:var(--v-black); border-color:var(--v-gold); }
.vs .btn-line{ color:var(--v-black); border:1px solid var(--v-black); background:transparent; }
.vs .btn-line:hover{ background:var(--v-black); color:#fff; }
.vs .v-dark .btn-line{ color:#fff; border-color:var(--v-line); }
.vs .v-dark .btn-line:hover{ border-color:#fff; background:transparent; }
.vs .btn-text{ color:var(--v-black); }
.vs .v-dark .btn-text{ color:var(--v-gold); }
.vs .input, .vs select.input, .vs textarea.input{ border-radius:var(--v-r); border:1px solid var(--v-black); background:#fff; min-height:48px; }
.vs .input:focus{ outline:3px solid var(--v-black); outline-offset:1px; border-color:var(--v-black); }
.vs .input.err{ border:2px solid var(--v-black); background:var(--v-wash); }
.vs .field > label, .vs .lbl{ font-weight:700; font-size:14px; }
.vs .card{ background:#fff; border:1px solid var(--v-border-l); border-radius:var(--v-r); padding:24px; }
.vs .card-gold{ border-top:10px solid var(--v-gold); }
.vs .card h3{ font-size:20px; }
.vs .choice, .vs .check{ border-radius:var(--v-r); border:1px solid var(--v-border-l); background:#fff; }
.vs .choice:has(input:checked), .vs .check:has(input:checked){ border:2px solid var(--v-black); background:var(--v-wash); box-shadow:none; }
.vs .note{ border-radius:var(--v-r); background:#fff; border:1px solid var(--v-border-l); color:var(--v-black); }
.vs .note-gold{ border:1px solid var(--v-border-l); background:#fff; }
.vs .note .mi{ color:var(--v-black); }
.vs .note-strong{ background:var(--v-black); color:#fff; border-color:var(--v-black); }
.vs .note-strong .mi{ color:var(--v-gold); }
.vs .placeholder{ border:2px dashed var(--v-gold); border-radius:var(--v-r); background:#fff; }
.vs .placeholder b{ color:var(--v-black); }
.vs .tabs{ border-bottom:1px solid var(--v-black); }
.vs .tabs button{ color:var(--v-sec-l); font-weight:600; border-radius:var(--v-r) var(--v-r) 0 0; }
.vs .tabs button[aria-selected=true]{ color:var(--v-black); border-bottom:3px solid var(--v-gold); font-weight:700; }
.vs .kv dt{ color:var(--v-sec-l); }
.vs .tbl-wrap{ border-radius:var(--v-r); border-color:var(--v-border-l); background:#fff; }
.vs .tbl th{ background:var(--v-wash); color:var(--v-sec-l); }
.vs .tbl td, .vs .tbl th{ border-color:var(--v-border-l); }
.vs .muted, .vs .tiny, .vs .lead{ color:var(--v-sec-l); }
.vs .v-dark .muted, .vs .v-dark .tiny, .vs .v-dark .lead{ color:var(--v-sec-d); }
.vs .empty{ border-radius:var(--v-r); }
.vs .err-msg .mi{ color:var(--v-black); }
.vs .faq details{ border-bottom:1px solid var(--v-border-l); }
.vs .faq summary::after{ color:var(--v-black); }
.vs .faq details p{ color:var(--v-sec-l); }

/* ---- الأنماط المعتمدة ---- */
/* سطر إنجليزي صغير فوق كل عنوان: Arial عريض بحروف كبيرة ذهبي */
.vs .v-ey{ display:block; direction:ltr; unicode-bidi:isolate; text-align:right; font-family:Arial,Helvetica,sans-serif; font-weight:700; font-size:13px; letter-spacing:.04em; text-transform:uppercase; color:var(--v-black); }
html[dir=ltr] .vs .v-ey{ text-align:left; }
.vs .v-dark .v-ey, .vs .v-ey.on-dark{ color:var(--v-gold); }
.vs .v-gold .v-ey{ color:var(--v-black); }
/* على الفاتح النص أسود، ومعه شريط ذهبي صغير بجانب العنوان */
.vs .v-ey::before{ content:''; display:inline-block; width:22px; height:3px; background:var(--v-gold); vertical-align:middle; margin-inline-end:8px; }
.vs .v-dark .v-ey::before, .vs .v-ey.on-dark::before, .vs .v-gold .v-ey::before{ display:none; }
.vs .v-sec{ padding:72px 0; }
.vs .v-in{ max-width:1200px; margin:0 auto; padding:0 32px; }
.vs .v-dark{ background:var(--v-black); color:#fff; }
.vs .v-cream{ background:var(--v-cream); color:var(--v-black); }
.vs .v-white{ background:#fff; color:var(--v-black); }
.vs .v-gold{ background:var(--v-gold); color:var(--v-black); }
.vs .v-top{ border-top:1px solid var(--v-line); }
.vs .v-split{ display:grid; grid-template-columns:5fr 7fr; gap:56px; align-items:center; }
.vs .v-head{ margin-bottom:32px; }
.vs .v-hrow{ display:flex; gap:16px; align-items:baseline; }
.vs .v-hrow h2, .vs .v-hrow h1{ margin:0; font-size:36px; line-height:1.35; font-weight:700; }
.vs .v-n{ font-family:Arial,Helvetica,sans-serif; font-weight:700; font-size:44px; line-height:1; color:var(--v-gold); direction:ltr; }
.vs .v-cream .v-n, .vs .v-white .v-n{ color:var(--v-black); border-bottom:4px solid var(--v-gold); padding-bottom:4px; display:inline-block; }
.vs .v-lead{ font-size:18px; line-height:32px; margin:20px 0 0; }
.vs .v-dark .v-lead{ color:var(--v-sec-d); }
/* هيرو: المحتوى | شريط ذهبي 14px | لوحة الصورة */
.vs .v-hero{ display:flex; min-height:640px; background:var(--v-black); color:#fff; }
.vs .v-hero-main{ flex:7; padding:72px 64px; display:flex; flex-direction:column; justify-content:center; gap:18px; min-width:0; }
.vs .v-hero-main h1{ margin:0; font-size:54px; line-height:1.4; font-weight:700; }
.vs .v-hero-main p{ margin:0; font-size:18px; line-height:32px; color:var(--v-sec-d); max-width:620px; }
.vs .v-stripe{ width:14px; background:var(--v-gold); flex:none; }
.vs .v-hero-side{ flex:5; display:flex; flex-direction:column; min-width:0; }
.vs .v-img{ background-color:var(--v-card); background-size:cover; background-position:center; min-height:260px; border-radius:0; }
.vs .v-hero-side .v-img{ flex:1; min-height:460px; }
.vs .v-trust{ padding:28px 40px; background:var(--v-black); }
.vs .v-trust p{ margin:8px 0 0; font-size:24px; font-weight:700; line-height:1.5; }
.vs .v-trust small{ display:block; font-size:15px; color:var(--v-sec-d); font-weight:400; }
.vs .v-frame{ border-radius:var(--v-r); overflow:hidden; background:var(--v-black); }
.vs .v-btns{ display:flex; gap:12px; flex-wrap:wrap; align-items:center; margin-top:10px; }
.vs .v-btns .btn{ padding:16px 32px; }
.vs .v-btns .v-link{ color:var(--v-gold); padding:16px 12px; text-decoration:none; font-weight:600; }
.vs .v-btns .v-link:hover{ color:#fff; text-decoration:underline; }
/* بطاقات داكنة، وواحدة ذهبية للأهم */
.vs .v-cards{ display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:16px; }
.vs .v-card{ border-radius:var(--v-r); padding:22px 24px; min-height:120px; background:var(--v-card); border:1px solid var(--v-line); color:#fff; }
.vs .v-card .t{ display:flex; justify-content:space-between; align-items:flex-start; gap:12px; }
.vs .v-card b{ font-size:19px; }
.vs .v-card .i{ font-family:Arial,Helvetica,sans-serif; font-weight:700; font-size:16px; color:var(--v-gold); direction:ltr; }
.vs .v-card p{ margin:10px 0 0; font-size:14px; line-height:24px; color:var(--v-sec-d); }
.vs .v-card.hl{ background:var(--v-gold); border-color:var(--v-gold); color:var(--v-black); }
.vs .v-card.hl .i{ color:var(--v-black); }
.vs .v-card.hl p{ color:var(--v-line); }
/* خط زمني: دوائر ذهبية والأخيرة ممتلئة */
.vs .v-tl{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:40px; }
.vs .v-tl li{ position:relative; display:flex; gap:24px; align-items:center; }
.vs .v-tl .who{ display:flex; gap:16px; align-items:center; width:380px; flex:none; }
.vs .v-dot{ width:56px; height:56px; border-radius:9999px; border:3px solid var(--v-gold); background:var(--v-black); color:var(--v-gold); display:flex; align-items:center; justify-content:center; font-family:Arial,Helvetica,sans-serif; font-weight:700; font-size:16px; flex:none; direction:ltr; }
.vs .v-tl li:last-child .v-dot, .vs .v-dot.fill{ background:var(--v-gold); color:var(--v-black); }
.vs .v-tl .who b{ font-size:17px; }
.vs .v-tl .who small{ display:block; font-size:14px; color:var(--v-sec-d); line-height:1.6; font-weight:400; }
.vs .v-tl li:not(:last-child)::after{ content:''; position:absolute; inset-inline-start:26px; top:56px; width:3px; height:40px; background:var(--v-gold); }
.vs .v-tl .pill{ flex:1; display:flex; justify-content:space-between; align-items:center; gap:12px; padding:18px 24px; border-radius:var(--v-r); background:var(--v-card); border:1px solid var(--v-line); }
.vs .v-tl .pill b{ font-size:18px; }
.vs .v-tl li:last-child .pill{ background:var(--v-gold); border-color:var(--v-gold); color:var(--v-black); }
.vs .v-tl li:last-child .pill .v-ey{ color:var(--v-black); }
.vs .v-tl.cols{ display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:28px 32px; }
.vs .v-tl.cols li{ align-items:flex-start; gap:14px; }
.vs .v-tl.cols li::after{ display:none; }
.vs .v-tl.cols .v-dot{ width:44px; height:44px; font-size:14px; }
.vs .v-tl.cols b{ font-size:17px; }
/* شريط الملخص: ذهبي أو أسود */
.vs .v-strip{ border-radius:var(--v-r); padding:20px 28px; text-align:center; font-size:17px; font-weight:700; line-height:1.9; background:var(--v-gold); color:var(--v-black); }
.vs .v-strip.black{ background:var(--v-black); color:#fff; }
.vs .v-cta{ display:flex; justify-content:space-between; align-items:center; gap:24px; flex-wrap:wrap; padding:44px 0; }
.vs .v-cta h2{ margin:0; font-size:30px; }
.vs .v-cta .btn{ padding:16px 40px; }
/* الباقات: تقويم 12 شهراً ونقطة ذهبية لكل زيارة */
.vs .v-cal{ display:grid; grid-template-columns:repeat(12, minmax(0,1fr)); gap:3px; }
.vs .v-cal span{ height:26px; background:#fff; border:1px solid var(--v-border-l); display:flex; align-items:center; justify-content:center; }
.vs .v-cal span.off{ background:var(--v-wash); }
.vs .v-cal i{ width:10px; height:10px; border-radius:9999px; background:var(--v-dot); display:block; }
.vs .v-cal.md span{ height:30px; } .vs .v-cal.md i{ width:12px; height:12px; }
.vs .v-cal.lg span{ height:44px; } .vs .v-cal.lg i{ width:18px; height:18px; }
.vs .v-calhead{ display:grid; grid-template-columns:repeat(12, minmax(0,1fr)); gap:3px; font-size:11px; color:var(--v-sec-l); text-align:center; }
.vs .v-dk .v-cal span, .vs .v-plan.dk .v-cal span{ background:var(--v-cell-d); border-color:var(--v-line); }
.vs .v-plan.dk .v-cal span.off{ background:var(--v-black); }
.vs .v-plans{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:20px; }
.vs .v-plan{ border-radius:var(--v-r); overflow:hidden; background:#fff; color:var(--v-black); border:1px solid var(--v-border-l); display:flex; flex-direction:column; }
.vs .v-plan .bar{ height:10px; background:var(--v-gold); }
.vs .v-plan .in{ padding:24px; display:flex; flex-direction:column; gap:14px; flex:1; }
.vs .v-plan .nm{ display:flex; justify-content:space-between; align-items:center; }
.vs .v-plan .nm b{ font-size:22px; }
.vs .v-plan .nm .i{ font-family:Arial,Helvetica,sans-serif; font-weight:700; font-size:16px; color:var(--v-black); direction:ltr; }
.vs .v-plan .pr{ margin:0; font-size:34px; font-weight:700; }
.vs .v-plan .pr small{ font-size:13px; font-weight:400; color:var(--v-sec-l); }
.vs .v-plan .sub{ margin:0; font-size:14px; color:var(--v-sec-l); }
.vs .v-plan.dk{ background:var(--v-black); color:#fff; border-color:var(--v-black); }
.vs .v-plan.dk .nm .i{ color:var(--v-gold); }
.vs .v-plan.dk .pr small, .vs .v-plan.dk .sub{ color:var(--v-sec-d); }
.vs .v-plan .two{ border-top:1px solid var(--v-border-l); padding-top:14px; display:flex; justify-content:space-between; align-items:flex-end; gap:12px; }
.vs .v-plan.dk .two{ border-top-color:var(--v-line); }
.vs .v-plan .two small{ display:block; font-size:12px; color:var(--v-sec-l); }
.vs .v-plan.dk .two small{ color:var(--v-sec-d); }
.vs .v-plan .two b{ font-size:30px; }
.vs .v-plan .two .pv{ text-align:start; }
.vs .v-plan .two .pv b{ font-size:20px; color:var(--v-black); }
.vs .v-plan.dk .two .pv b{ color:var(--v-gold); }
.vs .v-plan .btn{ margin-top:auto; width:100%; }
.vs .v-plan.dk .btn-line{ color:#fff; border-color:#fff; }
.vs .v-plan.dk .btn-gold{ }
.vs .v-box{ background:#fff; border:1px solid var(--v-border-l); border-radius:var(--v-r); padding:18px 24px; line-height:1.9; }
/* صفحة بشريط عنوان داكن */
.vs .v-band{ background:var(--v-black); color:#fff; }
.vs .v-band .v-in{ padding-top:28px; padding-bottom:28px; display:flex; justify-content:space-between; align-items:center; gap:20px; }
.vs .v-band h1{ margin:0; font-size:44px; line-height:1.3; font-weight:700; }
.vs .v-band .v-n{ font-size:52px; }
.vs .v-page{ display:flex; background:var(--v-cream); }
.vs .v-page-main{ flex:8; padding:48px 40px 48px 32px; display:flex; flex-direction:column; gap:28px; min-width:0; }
.vs .v-page-side{ flex:3; display:flex; flex-direction:column; background:var(--v-black); color:#fff; min-width:0; }
.vs .v-page-side .v-img{ flex:1; min-height:620px; }
.vs .v-page-side .cta{ padding:24px 28px; display:flex; flex-direction:column; gap:10px; }
.vs .v-page-side .cta b{ font-size:22px; line-height:1.55; }
.vs .v-page-side .cta span.s{ color:var(--v-sec-d); }
.vs .v-page-main h2{ margin:0 0 10px; font-size:32px; line-height:1.5; }
.vs .v-faqs details{ border-top:1px solid var(--v-border-l); padding:16px 0; }
.vs .v-faqs summary{ font-size:16px; font-weight:700; cursor:pointer; }
.vs .v-faqs details p{ margin:8px 0 0; font-size:14.5px; line-height:26px; color:var(--v-sec-l); }
.vs .v-dashed{ border-radius:var(--v-r); border:2px dashed var(--v-gold); background:#fff; padding:28px; }
.vs .v-dashed h3{ margin:8px 0; font-size:22px; }
.vs .v-two{ display:grid; grid-template-columns:1fr 1fr; gap:32px; align-items:start; }
.vs .v-cover{ height:300px; border-radius:var(--v-r); background-color:var(--v-card); background-size:cover; background-position:center; }
/* مسار الطلب: الخطوات | شريط ذهبي | ملخص داكن */
.vs .v-order{ display:flex; background:var(--v-cream); }
.vs .v-order-main{ flex:8; padding:44px 40px 44px 32px; display:flex; flex-direction:column; gap:26px; min-width:0; }
.vs .v-order-side{ flex:4; background:var(--v-black); color:#fff; padding:44px 32px; display:flex; flex-direction:column; gap:14px; min-width:0; }
.vs .v-order-side h2{ margin:0; font-size:26px; }
.vs .v-steps{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:10px; }
.vs .v-steps a{ display:block; padding:12px 16px; border-radius:var(--v-r); background:#fff; border:1px solid var(--v-border-l); text-decoration:none; color:var(--v-black); font-size:14px; }
.vs .v-steps b{ font-weight:700; }
.vs .v-steps .n{ font-family:Arial,sans-serif; font-weight:700; font-size:12px; color:var(--v-black); direction:ltr; display:block; }
.vs .v-steps a[aria-current=step]{ background:var(--v-gold); border-color:var(--v-gold); }
.vs .v-steps a[aria-current=step] .n{ color:var(--v-black); }
.vs .v-steps a:hover{ border-color:var(--v-black); }
.vs .v-sum{ display:flex; justify-content:space-between; gap:12px; font-size:15px; }
.vs .v-sum small{ display:block; font-size:13px; color:var(--v-sec-d); }
.vs .v-sum.ln{ border-top:1px solid var(--v-line); padding-top:12px; }
.vs .v-total{ background:var(--v-gold); color:var(--v-black); border-radius:var(--v-r); padding:16px 18px; display:flex; justify-content:space-between; font-size:22px; font-weight:700; }
.vs .v-order-side .fine{ margin:0; font-size:12px; color:var(--v-sec-d); }
.vs .v-order-side .v-img{ margin-top:auto; min-height:220px; border-radius:var(--v-r); }
.vs .v-purpose{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.vs .v-purpose label{ display:flex; gap:14px; padding:24px; border-radius:var(--v-r); cursor:pointer; background:var(--v-black); color:#fff; border:2px solid var(--v-black); }
.vs .v-purpose label .d{ font-size:14px; line-height:24px; color:var(--v-sec-d); }
.vs .v-purpose label .e{ font-family:Arial,sans-serif; font-size:12px; font-weight:700; color:var(--v-gold); direction:ltr; }
.vs .v-purpose label:has(input:checked){ background:var(--v-gold); color:var(--v-black); border-color:var(--v-gold); }
.vs .v-purpose label:has(input:checked) .d{ color:var(--v-black); }
.vs .v-purpose label:has(input:checked) .e{ color:var(--v-black); }
.vs .v-purpose input{ width:20px; height:20px; margin-top:4px; accent-color:var(--v-gold); }
.vs .v-purpose label:has(input:checked) input{ accent-color:var(--v-black); }
.vs .v-purpose label:has(input:focus-visible){ outline:3px solid var(--v-black); outline-offset:3px; }
.vs .v-chips{ list-style:none; margin:10px 0 0; padding:0; display:flex; gap:8px; flex-wrap:wrap; }
.vs .v-chips li{ padding:8px 14px; border-radius:6px; background:var(--v-card); color:#fff; font-size:13px; }
.vs .v-planrow{ display:grid; grid-template-columns:24px 150px minmax(0,1fr) 90px; gap:16px; align-items:center; padding:14px 20px; border-radius:var(--v-r); background:#fff; border:1px solid var(--v-border-l); cursor:pointer; }
.vs .v-planrow input{ width:20px; height:20px; accent-color:var(--v-black); }
.vs .v-planrow b.p{ text-align:start; font-size:20px; }
.vs .v-planrow small{ display:block; font-size:12px; color:var(--v-sec-l); }
.vs .v-planrow:has(input:checked){ background:var(--v-black); color:#fff; border-color:var(--v-black); }
.vs .v-planrow:has(input:checked) small{ color:var(--v-sec-d); }
.vs .v-planrow:has(input:checked) input{ accent-color:var(--v-gold); }
.vs .v-planrow:has(input:checked) .v-cal span{ background:var(--v-cell-d); border-color:var(--v-line); }
.vs .v-planrow:has(input:checked) .v-cal span.off{ background:var(--v-black); }
.vs .v-planrow:has(input:focus-visible){ outline:3px solid var(--v-black); outline-offset:3px; }
.vs .v-ai{ display:flex; gap:12px; align-items:center; padding:18px 22px; border-radius:var(--v-r); border:2px dashed var(--v-gold); background:#fff; cursor:pointer; }
.vs .v-ai input{ width:20px; height:20px; accent-color:var(--v-black); }
.vs .v-ai .pr{ color:var(--v-black); font-weight:700; }
.vs .v-order .fac-card{ background:#fff; border-radius:var(--v-r); border-color:var(--v-border-l); overflow:hidden; }
.vs .v-order .fac-card > header{ background:var(--v-wash); }
.vs .v-order .wizard{ display:block; }
.vs .v-secH{ margin:0; font-size:28px; line-height:1.4; }
.vs .v-sep{ display:flex; gap:10px; align-items:center; }
/* الجوال */
@media (max-width:900px){
  .vs .v-hero, .vs .v-page, .vs .v-order{ flex-direction:column; }
  .vs .v-stripe{ width:auto; height:14px; }
  .vs .v-hero-main, .vs .v-page-main, .vs .v-order-main{ padding:40px 20px; }
  .vs .v-hero-main h1{ font-size:36px; }
  .vs .v-hero-side .v-img, .vs .v-page-side .v-img{ min-height:260px; }
  .vs .v-split, .vs .v-two{ grid-template-columns:minmax(0,1fr); gap:28px; }
  .vs .v-cards{ grid-template-columns:repeat(2, minmax(0,1fr)); }
  .vs .v-plans{ grid-template-columns:minmax(0,1fr); }
  .vs .v-tl .who{ width:auto; flex:1; }
  .vs .v-tl li{ flex-wrap:wrap; }
  .vs .v-tl .pill{ flex:1 1 100%; }
  .vs .v-tl.cols{ grid-template-columns:minmax(0,1fr); }
  .vs .v-order-side{ padding:32px 20px; }
  .vs .v-purpose{ grid-template-columns:minmax(0,1fr); }
  .vs .v-steps{ grid-template-columns:repeat(2, minmax(0,1fr)); }
  .vs .v-in{ padding:0 20px; }
  .vs .v-sec{ padding:48px 0; }
  .vs .v-hrow h2, .vs .v-hrow h1{ font-size:28px; }
  .vs .v-n{ font-size:34px; }
  .vs .v-band h1{ font-size:32px; }
  .vs .site-head .wrap{ padding:0 20px; }
}
@media (max-width:560px){
  .vs .v-cards{ grid-template-columns:minmax(0,1fr); }
  .vs .v-planrow{ grid-template-columns:24px minmax(0,1fr) auto; }
  .vs .v-planrow .v-cal{ grid-column:1 / -1; order:5; }
  .vs .v-trust{ padding:24px 20px; }
  .vs .v-cta{ padding:32px 0; }
  .vs .v-cta .btn, .vs .v-btns .btn{ width:100%; }
}

/* ---- صفحات الموقع التي تستعمل الأصناف القديمة: تُسحب إلى المظهر المعتمد بلا تغيير محتواها ---- */
.vs .eyebrow{ font-family:Arial,Helvetica,sans-serif; font-weight:700; font-size:13px; letter-spacing:.04em; color:var(--v-black); margin-bottom:6px; }
.vs .dark .eyebrow, .vs .v-dark .eyebrow{ color:var(--v-gold); }
.vs .rule{ display:none; }
.vs .pat::before{ display:none; }
.vs .dark{ background:var(--v-black); color:#fff; }
.vs .page-hero{ padding:36px 0 32px; }
.vs .page-hero .wrap{ max-width:1200px; padding:0 32px; }
.vs .h-display{ font-size:44px; line-height:1.35; font-weight:700; }
.vs .h-sec{ font-size:32px; font-weight:700; }
.vs .lead{ font-size:17px; line-height:30px; }
.vs .dark .lead{ color:var(--v-sec-d); }
.vs .section{ padding:56px 0; background:var(--v-cream); }
.vs .section + .section{ border-top:0; }
.vs .section.wash{ background:#fff; }
.vs .section .wrap{ max-width:1200px; padding:0 32px; }
.vs .video-slot{ display:none; }
.vs .steps-line li{ border-inline-start:1px solid var(--v-border-l); }
.vs .steps-line li::before{ color:var(--v-black); font-family:Arial,sans-serif; font-weight:700; letter-spacing:.04em; }
.vs .site-foot{ background:var(--v-black); color:var(--v-sec-d); padding:40px 0 24px; }
.vs .site-foot .cols, .vs .site-foot .base{ max-width:1180px; margin-inline:auto; padding-inline:24px; }
.vs .site-foot a{ color:#fff; }
.vs .site-foot a:hover{ color:var(--v-gold); }
.vs .site-foot .base{ border-top:1px solid var(--v-line); font-size:12px; letter-spacing:0; }
.vs .site-foot .legal-line{ max-width:1180px; margin-inline:auto !important; padding-inline:24px; }
.vs .site-foot .wrap{ max-width:none; padding:0; }
.vs .stepper{ display:none; }
@media (max-width:900px){ .vs .page-hero .wrap, .vs .section .wrap{ padding:0 20px; } .vs .h-display{ font-size:32px; } }

.vs .v-reportmock{ background:#fff; color:var(--v-black); border-radius:var(--v-r); overflow:hidden; }
.vs .v-reportmock .bar{ height:10px; background:var(--v-gold); }
.vs .v-reportmock .body{ padding:24px; display:grid; grid-template-columns:160px minmax(0,1fr); gap:24px; }
.vs .v-reportmock .score{ border:1px solid var(--v-border-l); border-radius:var(--v-r); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; padding:16px; }
.vs .v-reportmock .score small{ font-size:12px; color:var(--v-sec-l); }
.vs .v-reportmock .score b{ font-family:Arial,sans-serif; font-size:48px; color:var(--v-black); }
.vs .v-reportmock .lines{ display:flex; flex-direction:column; gap:10px; font-size:14px; }
.vs .v-reportmock .lines span{ height:12px; border-radius:4px; background:var(--v-border-l); }
.vs .v-reportmock .lines span.l{ background:var(--v-cream); border:1px solid var(--v-border-l); width:90%; }
@media (max-width:560px){ .vs .v-reportmock .body{ grid-template-columns:minmax(0,1fr); } }

.vs .v-planrow .v-calhead{ display:grid; grid-template-columns:repeat(12, minmax(0,1fr)); gap:3px; }
@media (max-width:560px){ .vs .v-planrow .v-calhead{ display:none; } }
.vs .v-order .card{ padding:24px; }
.vs .v-order .card h2{ font-size:22px; }
.vs .v-order .grid.g3, .vs .v-order .grid.g2{ gap:14px; }

.vs .v-order h1{ font-weight:700; }
.vs .v-band h1{ font-weight:700; }
.vs .v-faqs summary{ list-style:none; display:flex; justify-content:space-between; gap:12px; }
.vs .v-faqs summary::after{ content:'+'; color:var(--v-black); font-size:22px; line-height:1; }
.vs .v-faqs details[open] summary::after{ content:'–'; }

.vs .v-plans.tight{ gap:16px; }
.vs .v-plans.tight .in{ padding:26px; }
@media (max-width:900px){ .vs .v-plans.tight{ grid-template-columns:minmax(0,1fr); } }

/* ---------- خيارات الإرسال والدخول الموحد (الخطوة 3 وصفحة الدخول) ---------- */
.vs .v-opt{display:flex;gap:10px;align-items:center;padding:10px 12px;border:1px solid var(--v-line,#2E2726);border-radius:8px;cursor:pointer}
.vs .v-opt input{accent-color:#F5B700;width:18px;height:18px}
.vs .v-opt:has(input:checked){border-color:#F5B700;box-shadow:inset 0 0 0 1px #F5B700}
.vs .v-opt:has(input:disabled){opacity:.55;cursor:not-allowed}
.vs .sso-row{display:grid;gap:10px;margin:4px 0 14px}
.vs .sso-btn{display:flex;gap:10px;align-items:center;justify-content:center;width:100%;min-height:46px;border-radius:8px;border:1px solid #2E2726;background:#fff;color:#050000;font:600 15px Cairo,sans-serif;cursor:pointer;text-decoration:none}
.vs .sso-btn:hover{border-color:#F5B700}
.vs .sso-btn svg{width:20px;height:20px;flex:none}
.vs .sso-or{display:flex;align-items:center;gap:12px;color:#5C5550;font-size:13px;margin:2px 0}
.vs .sso-or::before,.vs .sso-or::after{content:"";flex:1;height:1px;background:currentColor;opacity:.35}

/* ---------- شاشة المدونة للفريق (خارج .vs) ---------- */
.shell .v-opt{display:flex;gap:10px;align-items:center;padding:8px 12px;border:1px solid var(--line);border-radius:8px;cursor:pointer}
.shell .v-opt input{accent-color:#F5B700;width:18px;height:18px}
.shell .v-opt:has(input:checked){border-color:#F5B700;box-shadow:inset 0 0 0 1px #F5B700}
.blog-prev{line-height:1.9}.blog-prev h2,.blog-prev h3{margin:1em 0 .3em}.blog-prev img{max-width:100%}
.blog-prev blockquote{margin:1em 0;padding:4px 14px;border-inline-start:4px solid #F5B700;color:#5C5550}

/* inspector header tools: language and sign-out (pre-launch review, live site) */
.m-tools{ display:flex; gap:6px; flex:none; }
.m-tools .btn{ min-height:40px; min-width:40px; padding-inline:10px; }

.vs .v-cards.two{ grid-template-columns:repeat(2,minmax(0,1fr)); }
@media (max-width:560px){ .vs .v-cards.two{ grid-template-columns:1fr; } }

/* Phones, English only: the English logo is wider than the Arabic one and pushed the header 10px past a 390px
   screen. A slightly smaller logo and gap keep it inside. */
@media (max-width:420px){ html[lang="en"] .site-head .wrap{ gap:8px; } html[lang="en"] .brand-link img{ height:40px; } }

/* Supplier page: on a phone the IBAN breaks inside its column instead of running past the screen; one click
   selects all of it, and a copy keeps it whole (the break is only visual). */
.vs .kv .iban{ white-space:normal; overflow-wrap:anywhere; user-select:all; }

/* لوحات بلا صور حتى تتوفر صور حقيقية مرخّصة (قرار المالك 26 نوفمبر 2026، المراجعة البصرية 6.1): النص في وسط اللوحة */
.vs .v-hero-side.v-text, .vs .v-page-side.v-text{ justify-content:center; }
.vs .v-hero-side.v-text .v-trust{ padding:48px 40px; }
.vs .v-hero-side.v-text .v-trust p{ font-size:28px; }
@media (max-width:900px){ .vs .v-hero-side.v-text .v-trust{ padding:28px 20px; } .vs .v-hero-side.v-text .v-trust p{ font-size:22px; } }

/* The site logo (owner, 27 Nov 2026): the brand kit's vector files, the Arabic logo on Arabic pages and the
   Hotels Inspection wordmark on English pages (siteLogo() in js/core.js). Brand guidelines, page 9: the full logo at
   least 120 px wide on screens, and one lens height of empty space on every side; the lens is 0.27 of the logo's
   height in both files. Widths: Arabic = height x 2.77, wordmark = height x 3.21. */
.vs .site-brand{ --logo-h:52px; display:inline-flex; flex:none; padding:calc(var(--logo-h) * .27); margin-inline-start:calc(var(--logo-h) * -.27); }
/* The outer side of the clear space lies over the page's own side margin (20 px or more, always empty), so the logo
   stays aligned with the content as before and the space around it stays empty. */
html[lang="en"] .vs .site-brand{ --logo-h:44px; }
.vs .site-brand img.site-logo{ height:var(--logo-h); width:auto; max-width:none; display:block; }
.vs .site-brand-foot{ --logo-h:60px; }
html[lang="en"] .vs .site-brand-foot{ --logo-h:52px; }
@media (max-width:640px){
  html[lang="ar"] .vs .site-brand{ --logo-h:46px; }
  html[lang="en"] .vs .site-brand{ --logo-h:40px; }
}
/* The clear space makes the header about 25 px wider: on a phone the header items sit closer, in both languages, as
   the English header already did, so nothing is pushed off the screen. */
@media (max-width:420px){ .vs .site-head .wrap{ gap:8px; } }

/* TMG strategy (27 Nov 2026): the main message is the home headline, the earlier headline follows it; the one
   sentence about the ministry under the licence, in the secondary text colour (no gold text on light). */
.vs .v-hero-main .v-hero-sub{ margin:4px 0 14px; font-size:22px; font-weight:700; line-height:1.5; color:var(--v-cream, #F5F1E8); }
.vs .v-trust .v-trust-note, .vs .v-hero-side.v-text .v-trust p.v-trust-note{ margin-top:14px; font-size:15px; font-weight:400; line-height:1.7; color:var(--v-sec-d); }
@media (max-width:620px){ .vs .v-hero-main .v-hero-sub{ font-size:18px; } }

/* خدماتنا (TMG strategy, 27 Nov 2026): four cards, the hotels card gold; the buttons under the text; the line of the
   custom programme; one button for any other request. */
.vs .v-svc .v-card{ display:flex; flex-direction:column; }
.vs .v-svc .v-svc-note{ font-size:13px; font-weight:700; }
.vs .v-svc .v-svc-btns{ margin-top:auto; padding-top:16px; display:flex; flex-wrap:wrap; gap:8px; }
.vs .v-svc .v-card:not(.hl) .btn-line{ color:#fff; border-color:#fff; }
.vs .v-svc-other{ margin-top:20px; display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; }
/* the request form's hidden field (a person never fills it; a robot does) */
.v-hp{ position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap; border:0; }   /* hidden in place: an offset would make a right-to-left page scroll sideways */
/* who inspects (TMG strategy, item 4): a black strip, white text, the gold icon (gold on dark only) */
.vs .v-insp-trust{ display:flex; align-items:center; gap:10px; margin:28px 0; }
.vs .v-insp-trust .mi{ color:var(--v-gold); }
.vs .v-insp-join{ margin:28px 0 0; }

/* صفحة المنشأة (البند 1): منتقي الموقع على الخريطة */
.map-pick{ position:relative; height:320px; border:1px solid var(--line); border-radius:8px; overflow:hidden; background:#E9E4D8; cursor:crosshair; touch-action:none; user-select:none; }
.map-pick .map-tiles img{ position:absolute; width:256px; height:256px; max-width:none; pointer-events:none; }
.map-pick .map-pin{ position:absolute; width:18px; height:18px; margin:-18px 0 0 -9px; border-radius:50% 50% 50% 0; transform:rotate(-45deg); background:#050000; border:3px solid #F5B700; pointer-events:none; }
.map-pick .map-zoom{ position:absolute; top:8px; inset-inline-end:8px; display:flex; flex-direction:column; gap:4px; }
.map-pick .map-zoom .btn{ background:#fff; min-width:34px; }
.map-pick .map-attr{ position:absolute; bottom:4px; inset-inline-start:6px; font-size:11px; background:rgba(255,255,255,.8); padding:1px 5px; border-radius:4px; direction:ltr; }
