/* ═══════════════════════════════════════════════════════════════════════
   منصة مكسب — صفحة التقديم العام (apply.html)
   ═══════════════════════════════════════════════════════════════════════ */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{font-size:16px}
body{
  font-family:'IBM Plex Sans Arabic','Segoe UI',Tahoma,sans-serif;
  background:#0b1a3a;color:#f4efe2;direction:rtl;
  min-height:100vh;min-height:100dvh;overflow-x:hidden;
  background-image:
    radial-gradient(ellipse 60% 40% at 20% 10%,rgba(200,162,74,.06),transparent),
    radial-gradient(ellipse 50% 50% at 80% 90%,rgba(63,193,196,.05),transparent);
}

/* ── الحاوية ── */
.app{width:100%;max-width:none;margin:0;padding:clamp(16px,2.5vw,48px);position:relative;min-height:100vh;min-height:100dvh}

/* ── الشريط العلوي ── */
.topbar{
  display:flex;align-items:center;gap:8px;padding:8px 0;
  border-bottom:1px solid rgba(200,162,74,.15);margin-bottom:14px;
}
.topbar svg{width:32px;height:32px;flex-shrink:0}
.topbar .t1{font-size:12pt;font-weight:900;color:#F7ECC8;line-height:1.2}
.topbar .t2{font-size:5.5pt;font-weight:600;color:rgba(249,246,239,.45);letter-spacing:.1em;direction:ltr}

/* ── عداد الخطوات (شريط تقدم فخم) ── */
.steps-bar{display:flex;flex-direction:column;gap:7px;margin-bottom:16px}
.steps-track{display:flex;align-items:center;justify-content:center;gap:5px;direction:ltr}
.step-dot{
  height:6px;border-radius:3px;flex:0 0 8px;background:rgba(249,246,239,.1);
  transition:flex-basis .55s cubic-bezier(.22,1,.36,1),background .4s ease,box-shadow .4s ease;
}
.step-dot.done{background:linear-gradient(90deg,#B08D3C,#8A6D2C);box-shadow:0 0 8px rgba(200,162,74,.3)}
.step-dot.active{flex:0 0 34px;background:linear-gradient(90deg,#1d6bc4,#6db8ff);box-shadow:0 0 12px rgba(29,107,196,.45)}
.step-label{text-align:center;font-size:8pt;font-weight:700;color:rgba(249,246,239,.42)}
.step-label b{color:#F7ECC8}
.step-label .pct{color:#5ee8a0;font-weight:900}

/* البنر المرفق لصفحة وظائف البطاقة؛ الزر المرسوم فوقه منطقة تفاعلية حقيقية. */
.card-job-banner{position:relative;width:100%;margin:0 0 18px;border-radius:16px;overflow:hidden;background:#092a4c;box-shadow:0 10px 26px #061a3240}
.card-job-banner-stage{position:relative;width:100%;aspect-ratio:1569/457;touch-action:pan-y;overflow:hidden}
.card-job-banner-stage>img{display:block;width:100%;height:100%;object-fit:cover}
.card-job-banner-pager{position:absolute;left:50%;bottom:0;transform:translateX(-50%);z-index:3;display:flex;direction:ltr;align-items:center}
.card-job-banner-dot{display:grid;place-items:center;width:28px;height:32px;padding:0;border:0;border-radius:50%;background:transparent;cursor:pointer}
.card-job-banner-dot::after{content:'';width:7px;height:7px;border:1px solid #18334d;border-radius:50%;background:#fff;box-shadow:0 1px 4px #061a3280}
.card-job-banner-dot[aria-pressed="true"]::after{background:#e9c66d}
.card-job-banner-dot:focus-visible{outline:2px solid #fff;outline-offset:-2px}
.card-job-banner-info[hidden]{display:none!important}
.card-job-banner-info>summary{position:absolute;left:4.5%;top:0;margin-top:19.4%;width:25%;aspect-ratio:4/1;min-height:32px;cursor:pointer;list-style:none;border-radius:999px}
.card-job-banner-info>summary::-webkit-details-marker{display:none}
.card-job-banner-info>summary:focus-visible{outline:3px solid #fff;outline-offset:2px}
.card-job-banner-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
/* موشن قصير عند فتح التفاصيل، لا يعيق استخدام الصفحة أو الفلاتر. */
.card-job-banner-info[open]>summary{box-shadow:0 0 0 3px #fff8,0 0 20px #f4c85eaa;animation:banner-button-glow .6s ease-out both}
.card-job-banner-copy{position:relative;display:flex;align-items:center;gap:14px;padding:16px 18px;color:#f4f7fb;font-size:14px;line-height:1.8;text-align:right;background:linear-gradient(120deg,#153b60,#0a2644);border-top:1px solid #d2ad6080;overflow:hidden;transform-origin:top}
.card-job-banner-info[open] .card-job-banner-copy{animation:banner-reveal .48s cubic-bezier(.2,.75,.25,1) both}
.card-job-banner-copy::before{content:'';position:absolute;top:0;right:0;width:100%;height:2px;background:linear-gradient(90deg,transparent,#e8c56d,transparent);transform-origin:right}
.card-job-banner-info[open] .card-job-banner-copy::before{animation:banner-line .65s ease-out both}
.card-job-banner-motion-icon{position:relative;flex:none;width:44px;height:44px;display:grid;place-items:center;color:#f0cc77;border:1px solid #e8c56d77;border-radius:14px;background:#ffffff10;box-shadow:0 5px 16px #00162944}
.card-job-banner-motion-icon svg{width:25px;height:25px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.card-job-banner-info[open] .card-job-banner-motion-icon{animation:banner-icon .65s cubic-bezier(.18,.8,.25,1) both}
.card-job-banner-copy-text{flex:1;min-width:0}
.card-job-banner-copy-text strong{display:block;color:#f3ce79;font-size:15px;margin-bottom:2px}
.card-job-banner-copy-text p{margin:0}
.card-job-banner-motion-icon::after{content:'';position:absolute;inset:-5px;border:1px solid #f2ce75;border-radius:18px;opacity:0;pointer-events:none}
.card-job-banner-info[open] .card-job-banner-motion-icon::after{animation:banner-ring .9s ease-out .25s both}
.card-job-banner-journey{display:flex;align-items:center;gap:5px;margin-top:10px;flex-wrap:wrap}
.card-job-banner-step{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border:1px solid #e8c56d55;border-radius:99px;background:#ffffff0d;color:#f6dfaa;font-size:11px;line-height:1.5;font-weight:800}
.card-job-banner-step b{display:grid;place-items:center;width:16px;height:16px;border-radius:50%;background:#e8c56d;color:#102e4e;font-size:10px}
.card-job-banner-arrow{color:#d7b85f;font-size:14px;line-height:1}
.card-job-banner-info[open] .card-job-banner-step,.card-job-banner-info[open] .card-job-banner-arrow{animation:banner-step .48s cubic-bezier(.15,.8,.2,1) both}
.card-job-banner-info[open] .card-job-banner-journey>*:nth-child(2){animation-delay:.10s}
.card-job-banner-info[open] .card-job-banner-journey>*:nth-child(3){animation-delay:.18s}
.card-job-banner-info[open] .card-job-banner-journey>*:nth-child(4){animation-delay:.26s}
.card-job-banner-info[open] .card-job-banner-journey>*:nth-child(5){animation-delay:.34s}
.card-job-banner-copy::after{content:'';position:absolute;inset:-40% auto -40% -30%;width:20%;background:linear-gradient(90deg,transparent,#ffffff18,transparent);transform:translateX(-100%) skewX(-18deg);pointer-events:none}
.card-job-banner-info[open] .card-job-banner-copy::after{animation:banner-sweep .85s ease-out .12s both}
.card-job-banner-stage>img.banner-slide-in{animation:banner-slide-in .34s ease-out both}
@keyframes banner-ring{0%{opacity:.8;transform:scale(.8)}100%{opacity:0;transform:scale(1.35)}}
@keyframes banner-step{from{opacity:0;transform:translateY(9px) scale(.88)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes banner-sweep{to{transform:translateX(800%) skewX(-18deg)}}
@keyframes banner-slide-in{from{opacity:.65;transform:scale(1.015)}to{opacity:1;transform:scale(1)}}
@keyframes banner-reveal{from{opacity:0;transform:translateY(-12px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes banner-icon{from{opacity:0;transform:translateY(9px) rotate(-12deg) scale(.8)}to{opacity:1;transform:translateY(0) rotate(0) scale(1)}}
@keyframes banner-line{from{transform:scaleX(0);opacity:0}to{transform:scaleX(1);opacity:1}}
@keyframes banner-button-glow{from{box-shadow:0 0 0 0 #f9df9c99}to{box-shadow:0 0 0 3px #fff8,0 0 20px #f4c85eaa}}
@media(max-width:480px){.card-job-banner{border-radius:12px;margin-bottom:14px}.card-job-banner-copy{font-size:13px;gap:10px;padding:13px 14px}.card-job-banner-copy-text strong{font-size:14px}.card-job-banner-motion-icon{width:38px;height:38px;border-radius:12px}}
@media(prefers-reduced-motion:reduce){.card-job-banner-info[open]>summary,.card-job-banner-info[open] .card-job-banner-copy,.card-job-banner-info[open] .card-job-banner-copy::before,.card-job-banner-info[open] .card-job-banner-motion-icon,.card-job-banner-info[open] .card-job-banner-motion-icon::after,.card-job-banner-info[open] .card-job-banner-copy::after,.card-job-banner-info[open] .card-job-banner-step,.card-job-banner-info[open] .card-job-banner-arrow,.card-job-banner-stage>img.banner-slide-in{animation:none!important}}

/* ── نظام الصفحات ── */
.pages-wrap{position:relative;overflow:hidden}
.page{
  display:none;position:absolute;inset:0;
  transition:transform .58s cubic-bezier(.22,1,.36,1),opacity .42s ease;
  opacity:0;pointer-events:none;will-change:transform,opacity;
}
.page.active{
  display:block;position:relative;opacity:1;pointer-events:auto;
  transform:translateX(0) scale(1);
}
.page.active .card,.page.active .section-title,.page.active .chances-bar,.page.active .filter-row,.page.active #jobs-list{
  animation:contentArrive .48s cubic-bezier(.22,1,.36,1) both;
}
.page.active .section-title{animation-delay:.04s}
.page.active .filter-row{animation-delay:.08s}
.page.active #jobs-list{animation-delay:.12s}
@keyframes contentArrive{from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}
/* اتجاه الانتقال */
.page.slide-in-right{transform:translateX(100%);opacity:0}
.page.slide-in-left{transform:translateX(-100%);opacity:0}
.page.slide-out-right{transform:translateX(100%);opacity:0}
.page.slide-out-left{transform:translateX(-100%);opacity:0}

/* ── حركات الترحيب ── */
.anim-zoom{animation:aZoom .85s cubic-bezier(.22,1,.36,1) both}
.anim-zoom.anim-glow{animation:aZoom .85s cubic-bezier(.22,1,.36,1) both,aGlow 2.5s ease-in-out .85s infinite}
.anim-slide-r{animation:aSlideR .8s cubic-bezier(.22,1,.36,1) .18s both}
.anim-slide-l-zoom{animation:aSlideLZoom .82s cubic-bezier(.22,1,.36,1) .38s both}
.anim-fade-up{animation:aFadeUp .6s cubic-bezier(.22,1,.36,1) .58s both}
.anim-fade-up2{animation:aFadeUp .6s cubic-bezier(.22,1,.36,1) .78s both}
.anim-glow{animation:aGlow 2.5s ease-in-out infinite}
@keyframes aZoom{0%{opacity:0;transform:scale(.55)}65%{opacity:1;transform:scale(1.08)}100%{opacity:1;transform:scale(1)}}
@keyframes aSlideR{0%{opacity:0;transform:translateX(-42px) scale(.94)}75%{opacity:1;transform:translateX(4px) scale(1.015)}100%{opacity:1;transform:translateX(0) scale(1)}}
@keyframes aSlideLZoom{0%{opacity:0;transform:translateX(42px) scale(.82)}70%{opacity:1;transform:translateX(-4px) scale(1.04)}100%{opacity:1;transform:translateX(0) scale(1)}}
@keyframes aFadeUp{from{opacity:0;transform:translateY(18px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes aGlow{0%,100%{filter:drop-shadow(0 0 6px rgba(200,162,74,.25))}50%{filter:drop-shadow(0 0 18px rgba(200,162,74,.55))}}

/* ── بطاقة ── */
.card{
  background:rgba(255,255,255,.04);border:1px solid rgba(200,162,74,.15);
  border-radius:14px;padding:16px;margin-bottom:14px;
  position:relative;overflow:hidden;
}
/* وهج ذهبي خفيف يمرّ على البطاقة عند دخول الخطوة */
.card::after{
  content:'';position:absolute;top:0;bottom:0;width:45%;left:-70%;pointer-events:none;
  background:linear-gradient(100deg,transparent,rgba(200,162,74,.09),transparent);
  transform:skewX(-18deg);
}
.page.active .card::after{animation:cardSheen 1.5s cubic-bezier(.4,0,.2,1) .1s both}
@keyframes cardSheen{0%{left:-70%}100%{left:130%}}
/* أبناء البطاقة يظهرون واحداً بعد الآخر */
.page.active .card>*{animation:childIn .5s cubic-bezier(.22,1,.36,1) both}
.page.active .card>*:nth-child(1){animation-delay:.06s}
.page.active .card>*:nth-child(2){animation-delay:.12s}
.page.active .card>*:nth-child(3){animation-delay:.18s}
.page.active .card>*:nth-child(4){animation-delay:.24s}
.page.active .card>*:nth-child(5){animation-delay:.3s}
.page.active .card>*:nth-child(6){animation-delay:.36s}
@keyframes childIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}

/* ── الترحيب ── */
.welcome{text-align:center;padding-top:36px}
.welcome .emblem{width:85px;height:85px;margin:0 auto 14px;display:block}
.welcome h1{font-size:19pt;font-weight:900;color:#F7ECC8;margin-bottom:5px}
.welcome .sub{font-size:10.5pt;color:rgba(249,246,239,.6);margin-bottom:20px;line-height:1.8}
.gold-line{height:1px;background:linear-gradient(90deg,transparent,#B08D3C 50%,transparent);margin:14px auto;width:75%}

/* ── الأزرار ── */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  padding:12px 24px;border-radius:11px;font-family:inherit;font-size:11.5pt;
  font-weight:800;border:none;cursor:pointer;transition:all .2s;width:100%;
  text-decoration:none;position:relative;overflow:hidden;
}
.btn::after{content:'';position:absolute;inset:0;background:rgba(255,255,255,.08);opacity:0;transition:opacity .2s}
.btn:hover::after{opacity:1}
.btn:active{transform:scale(.97)}
.btn-primary{background:linear-gradient(135deg,#1d6bc4,#1455a0);color:#fff;box-shadow:0 3px 16px rgba(29,107,196,.3)}
.btn-success{background:linear-gradient(135deg,#1e9e55,#188045);color:#fff;box-shadow:0 3px 16px rgba(34,160,91,.3)}
.btn-danger{background:linear-gradient(135deg,#d03030,#b01818);color:#fff;box-shadow:0 3px 12px rgba(217,53,53,.25)}
.btn-outline{background:transparent;border:1.5px solid rgba(200,162,74,.35);color:#F7ECC8}
.btn-sm{padding:10px 18px;font-size:10.5pt;border-radius:10px}
.btn:disabled{opacity:.4;cursor:not-allowed;transform:none!important}
.btn:disabled::after{display:none}
.btn-block{width:100%}
.btn-row{display:flex;gap:8px;margin-top:12px}
.btn-row .btn{flex:1}

/* ── النماذج ── */
.form-group{margin-bottom:14px}
.form-group label{display:block;font-size:9.5pt;font-weight:700;color:#F7ECC8;margin-bottom:4px}
.form-group label .req{color:#f08080;margin-right:2px}
.form-group input,.form-group select{
  width:100%;padding:12px 12px;border-radius:10px;font-family:inherit;font-size:11pt;
  background:rgba(255,255,255,.06);border:1.5px solid rgba(200,162,74,.2);
  color:#f4efe2;direction:rtl;transition:all .25s;-webkit-appearance:none;
}
.form-group input:focus,.form-group select:focus{
  outline:none;border-color:#1d6bc4;box-shadow:0 0 0 3px rgba(29,107,196,.15);
  background:rgba(255,255,255,.09);
}
.form-group input::placeholder{color:rgba(249,246,239,.25)}
.form-group select option{background:#16294d;color:#f4efe2}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.form-row3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px}

/* ── مقياس رقم الهاتف (11 رقم) ── */
.phone-meter{display:flex;align-items:center;gap:8px;margin-top:8px;direction:ltr}
.phone-meter .pc-num{font:900 12pt 'IBM Plex Sans Arabic',sans-serif;color:#F7ECC8;min-width:20px;text-align:center;transition:color .3s}
.phone-meter .pc-of{font:700 8pt 'IBM Plex Sans Arabic',sans-serif;color:rgba(249,246,239,.35)}
.phone-meter .pc-track{flex:1;height:5px;border-radius:3px;background:rgba(249,246,239,.1);overflow:hidden}
.phone-meter .pc-track i{display:block;height:100%;width:0;border-radius:3px;transition:width .3s cubic-bezier(.22,1,.36,1),background .3s;background:linear-gradient(90deg,#1d6bc4,#6db8ff)}
.phone-meter.done .pc-num{color:#5ee8a0}
.phone-meter.done .pc-track i{background:linear-gradient(90deg,#1e9e55,#5ee8a0)}
.phone-meter .pc-state{font:700 8pt 'IBM Plex Sans Arabic',sans-serif;color:#f0c060;min-width:44px;text-align:center}
.phone-meter.done .pc-state{color:#5ee8a0}
.phone-meter .pc-state.bad{color:#f08080}
.dob-meter{margin-top:8px;font:700 8pt 'IBM Plex Sans Arabic',sans-serif;color:rgba(249,246,239,.4);text-align:center;min-height:1.4em}

/* ── العنوان ── */
.section-title{
  font-size:12pt;font-weight:900;color:#F7ECC8;margin-bottom:12px;
  display:flex;align-items:center;gap:7px;
}
.section-title::before{content:'';width:3px;height:16px;background:#B08D3C;border-radius:2px;flex-shrink:0}

/* ── عداد الفرص ── */
.chances-bar{
  display:flex;align-items:center;justify-content:center;gap:8px;
  padding:9px 12px;border-radius:10px;margin-bottom:12px;font-size:9.5pt;font-weight:700;
}
.chances-bar.has2{background:rgba(34,160,91,.1);border:1px solid rgba(34,160,91,.2);color:#5ee8a0}
.chances-bar.has1{background:rgba(230,160,30,.1);border:1px solid rgba(230,160,30,.2);color:#f0c060}
.chances-bar.has0{background:rgba(217,53,53,.1);border:1px solid rgba(217,53,53,.2);color:#f08080}
.chip-dot{width:9px;height:9px;border-radius:50%;display:inline-block}
.chip-dot.on{background:#5ee8a0}.chip-dot.off{background:#f08080}

/* ── الفلتر ── */
.filter-row{
  display:flex;gap:5px;overflow-x:auto;padding-bottom:6px;margin-bottom:10px;
  scrollbar-width:none;-webkit-overflow-scrolling:touch;
}
.filter-row::-webkit-scrollbar{display:none}
.filter-chip{
  padding:6px 12px;border-radius:16px;font-size:9pt;font-weight:700;
  background:rgba(255,255,255,.04);border:1.5px solid rgba(200,162,74,.15);
  color:rgba(249,246,239,.5);cursor:pointer;white-space:nowrap;transition:all .25s;flex-shrink:0;
}
.filter-chip.active{background:rgba(29,107,196,.15);border-color:rgba(29,107,196,.5);color:#6db8ff}
.filter-chip:hover{border-color:rgba(200,162,74,.35)}

.job-filters{padding:16px;margin-bottom:16px;border:1px solid #B08D3C45;border-radius:16px;background:#ffffff05;}
.jf-top{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:12px}.jf-top b{font-size:12pt;color:#ecd89d}.jf-top p{font-size:8pt;line-height:1.8;color:#bec9dc;margin:4px 0 0;max-width:390px}
.jf-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.jf-grid>div{min-width:0}.job-filters label{display:block;font-size:9pt;color:#e8e9ee;margin:0 0 5px}.job-filters input:not([type=checkbox]),.job-filters select{width:100%;min-height:44px;box-sizing:border-box;background:#10223d;color:#f9f6ef;border:1px solid #58657a;border-radius:9px;padding:9px;font:inherit;font-size:10pt}.job-filters input::placeholder{color:#9caac1}.job-filters input:focus,.job-filters select:focus{outline:2px solid #d8b65c;outline-offset:2px}.job-filters option{background:#10223d;color:#fff}.jf-advanced{margin-top:12px;border-top:1px solid #ffffff15;padding-top:10px}.jf-advanced summary{cursor:pointer;color:#dbc587;font-size:9pt;padding:5px 0}.jf-advanced .jf-grid{margin-top:10px}.jf-bottom{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-top:12px}.job-filters .jf-check{display:flex;align-items:center;gap:6px;margin:0;font-size:9pt}.jf-check input{width:18px;height:18px;accent-color:#B08D3C}.job-filters #jobs-count{font-size:9pt;color:#c9d4e5;border-top:1px solid #ffffff12;padding-top:10px;margin-top:12px}.job-filters #jf-error{color:#ffb7ad;font-size:9pt}.job-filters .btn{white-space:normal}.job-remove{margin-inline-start:5px;background:none;border:1px solid #B08D3C70;border-radius:6px;color:#ead9ae;font:inherit;font-size:8pt;cursor:pointer}
@media(max-width:420px){.jf-grid{grid-template-columns:1fr}.jf-top{flex-wrap:wrap}.job-filters{padding:12px}.jf-bottom .btn{width:100%}}

/* ── بطاقة الوظيفة ── */
.job-card{
  background:rgba(255,255,255,.035);border:1px solid rgba(200,162,74,.1);
  border-radius:12px;padding:12px;margin-bottom:9px;transition:all .25s;
}
.job-card:hover{border-color:rgba(200,162,74,.3);background:rgba(255,255,255,.05)}
.job-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}
.job-head .title{font-size:11.5pt;font-weight:800;color:#f4efe2}
.job-head .badge{
  padding:3px 7px;border-radius:6px;font-size:7.5pt;font-weight:700;white-space:nowrap;
}
.badge-open{background:rgba(34,160,91,.12);color:#5ee8a0;border:1px solid rgba(34,160,91,.2)}
.job-grid{display:grid;grid-template-columns:1fr 1fr;gap:4px 8px;margin-bottom:8px}
.job-item{display:flex;align-items:baseline;gap:4px}
.job-item .k{font-size:7.5pt;color:rgba(249,246,239,.4);white-space:nowrap}
.job-item .v{font-size:9.5pt;font-weight:700;color:#f4efe2}
.job-category{display:inline-flex;align-items:center;gap:5px;color:#F7ECC8;font-size:8pt;margin:-2px 0 7px}
.job-details{margin:8px 0;padding:10px;border-radius:10px;background:rgba(29,107,196,.08);border:1px solid rgba(29,107,196,.18);font-size:9pt;line-height:1.8;color:rgba(249,246,239,.78)}
.job-details[hidden]{display:none}.job-details ul{padding-inline-start:20px;margin:4px 0 0}.job-actions{display:flex;gap:8px;margin-top:9px}.job-actions .btn{flex:1}

/* ── اختيار الجنس ── */
.gender-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.gender-opt{
  padding:16px;border-radius:12px;text-align:center;cursor:pointer;
  background:rgba(255,255,255,.03);border:2px solid rgba(200,162,74,.12);
  transition:all .3s;font-size:11pt;font-weight:800;color:rgba(249,246,239,.5);
}
.gender-opt:hover{border-color:rgba(200,162,74,.35);background:rgba(255,255,255,.05)}
.gender-opt.selected{border-color:#1d6bc4;background:rgba(29,107,196,.12);color:#6db8ff}
.gender-opt .icon{font-size:24pt;display:block;margin-bottom:4px}

/* ── نافذة التأكيد ── */
/* ══════════════════════════════════════════════════════════════
   الاستمارة — ورقة A4 واحدة، فخمة ومهنية (تُطبع كاملة بصفحة واحدة)
   القياسات بالمليمتر حتى يبقى التخطيط ثابتاً في الطباعة:
   رأس 17مم + شريط البطاقة 27مم + 6 أقسام ≈ 200مم < 281مم المتاحة
   ══════════════════════════════════════════════════════════════ */
.form-sheet{
  background:#fff;color:#20180a;border-radius:14px;overflow:hidden;
  font-family:'Cairo','Segoe UI',Tahoma,sans-serif;direction:rtl;
  box-shadow:0 8px 30px rgba(0,0,0,.3);
}
.fs-head{
  background:linear-gradient(135deg,#0f1f3d,#1d3a6e 55%,#16294d);color:#f4efe2;
  min-height:20mm;padding:7px 14px;display:flex;justify-content:space-between;align-items:center;
  border-bottom:1.2mm solid #B08D3C;
  box-shadow:inset 0 -1.1mm 0 rgba(255,255,255,.06);
}
.fs-head .brand{display:flex;align-items:center;gap:8px}
.fs-head .brand svg{width:36px;height:36px}
.fs-head .brand .n1{font-size:14pt;font-weight:900;color:#F7ECC8;line-height:1.15}
.fs-head .brand .n2{font-size:4.8pt;color:rgba(249,246,239,.55);letter-spacing:.13em;direction:ltr}
.fs-head .ttl{font-size:13pt;font-weight:900;color:#f7f0dc;line-height:1.2}
.fs-head .ttl2{font-size:4.8pt;color:rgba(249,246,239,.5);letter-spacing:.18em;direction:ltr;text-align:left}
.fs-body{padding:8px 13px 9px}

/* ── شريط البطاقة: باركود + أرقامها ── */
.fs-meta{display:flex;gap:9px;align-items:stretch;margin-bottom:5px}
.fs-qr{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;
  min-width:31mm;padding:5px 6px;background:#fdfcf7;border:1.2px solid #B08D3C;border-radius:9px;
}
.fs-qr .box{padding:2px;background:#fff;border-radius:3px;line-height:0}
.fs-qr .cap{font-size:6.4pt;font-weight:900;color:#16294d;direction:ltr;letter-spacing:.03em}
.fs-qr .cap2{font-size:4.6pt;color:#8d7c50}
.fs-fields{flex:1;display:grid;grid-template-columns:1fr 1fr;gap:0 9px;align-content:start}
.fs-f{padding:1.2px 0;min-width:0}
.fs-f .k{font-size:6.1pt;font-weight:700;color:#8d7c50;line-height:1.2}
.fs-f .v{font-size:8.5pt;font-weight:800;color:#16294d;line-height:1.3;overflow-wrap:anywhere}
.fs-qr-note{
  grid-column:1/-1;font-size:6pt;line-height:1.55;color:#6b5320;background:#fdf9ee;
  border:1px dashed #B08D3C;border-radius:4px;padding:2.5px 6px;margin-top:3px;text-align:center;
}

/* ── عنوان قسم ── */
.fs-h3{
  display:flex;align-items:center;gap:5px;margin:5px 0 2.5px;
  font-size:9pt;font-weight:900;color:#16294d;
  padding-bottom:2px;border-bottom:1px solid #e3d7b4;
}
.fs-h3::before{content:'';width:2.4mm;height:2.4mm;background:linear-gradient(135deg,#F7ECC8,#a8781a);
  border-radius:50%;flex-shrink:0}
.fs-h3 .en{font-size:4.6pt;color:#a89a78;font-weight:700;letter-spacing:.1em;direction:ltr;margin-inline-start:auto}

/* ── جدول بيانات بصفوف مهنية ── */
.fs-tbl{
  display:grid;grid-template-columns:1fr 1fr;
  border:1px solid #ece2c8;border-radius:7px;overflow:hidden;
}
.fs-td{
  display:flex;align-items:baseline;gap:5px;min-width:0;
  padding:3.4px 8px;border-bottom:1px solid #f2ead6;background:#fff;
}
.fs-tbl .fs-td:nth-child(4n+1),.fs-tbl .fs-td:nth-child(4n+2){background:#fbf8f0}
.fs-td:last-child,.fs-td:nth-last-child(2){border-bottom:0}
.fs-td .k{font-size:6.1pt;font-weight:700;color:#8d7c50;white-space:nowrap}
.fs-td .v{flex:1;font-size:8.5pt;font-weight:800;color:#16294d;line-height:1.35;overflow-wrap:anywhere}
.fs-td.wide{grid-column:1/-1}
.fs-td.mono .v{direction:ltr;text-align:right}

/* ── صندوق صاحب العمل ── */
.fs-emp{
  border:1.2px solid #d9c489;border-radius:8px;background:#fdfaf1;
  padding:5px 8px 6px;margin-top:4px;
}
.fs-emp-hd{
  display:flex;align-items:center;gap:5px;margin-bottom:4px;padding-bottom:3px;
  font-size:8.4pt;font-weight:900;color:#8A6D2C;border-bottom:1px solid #e6d7ae;
}
.fs-emp .fs-tbl{border-color:#efe4c8;background:transparent}
.fs-emp .fs-td{background:transparent!important;border-bottom-color:#efe4c8}

/* ── الشروط: شرائح مرتبة ── */
.fs-terms{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:2px 8px}
.fs-terms li{font-size:6.4pt;line-height:1.55;color:#3a2f14;padding-inline-start:9px;position:relative}
.fs-terms li::before{content:'★';position:absolute;inset-inline-start:0;top:0;color:#B08D3C;font-size:5pt}

/* ── تعليمات صاحب العمل ── */
.fs-emp-box{
  background:linear-gradient(135deg,#16294d,#102243);color:#f4efe2;
  border-radius:8px;padding:5px 8px;margin-top:5px;
  display:flex;gap:10px;align-items:flex-start;
}
.fs-emp-box h5{margin:0;font-size:7.8pt;color:#F7ECC8;white-space:nowrap;line-height:1.6}
.fs-emp-box ol{
  margin:0;padding-inline-start:12px;font-size:6.1pt;line-height:1.7;
  columns:2;column-gap:12px;flex:1;
}
.fs-emp-box b{color:#F7ECC8}

/* ── التوقيعات ── */
.fs-sign{display:grid;grid-template-columns:1fr 1fr 1fr;gap:9px;margin-top:6px}
.fs-sign .s{text-align:center;font-size:6.9pt;font-weight:800;color:#16294d}
.fs-sign .l{border-bottom:1px dotted #8d7c50;height:10mm;margin-bottom:1mm}

/* ── التذييل ── */
.fs-foot{
  margin-top:5px;padding-top:3px;border-top:2px solid #16294d;
  font-size:5.8pt;color:#6b5320;text-align:center;line-height:1.6;
}

/* ── التنبيهات ── */
.alert{padding:10px 14px;border-radius:10px;font-size:9.5pt;margin-bottom:10px;line-height:1.8;display:flex;align-items:flex-start;gap:8px}
.alert-error{background:rgba(217,53,53,.1);border:1px solid rgba(217,53,53,.2);color:#f08080}
.alert-info{background:rgba(29,107,196,.1);border:1px solid rgba(29,107,196,.2);color:#6db8ff}
.alert .ico{font-size:14pt;flex-shrink:0;line-height:1}
.alert .msg{flex:1}

/* ── حالات الحقول ── */
.form-group input.valid,.form-group select.valid{
  border-color:#1e9e55!important;box-shadow:0 0 0 2px rgba(34,160,91,.15)!important;
}
.form-group input.invalid,.form-group select.invalid{
  border-color:#d03030!important;box-shadow:0 0 0 2px rgba(217,53,53,.15)!important;
  animation:shake .4s ease;
}
@keyframes shake{0%,100%{transform:translateX(0)}20%{transform:translateX(-4px)}40%{transform:translateX(4px)}60%{transform:translateX(-3px)}80%{transform:translateX(3px)}}
.hint{font-size:8pt;color:rgba(249,246,239,.4);margin-top:3px;display:none}
.hint.show{display:block}

/* ── تأثير الضغط على الأزرار ── */
.btn-click{animation:btnPop .3s cubic-bezier(.22,1,.36,1)}
@keyframes btnPop{0%{transform:scale(1)}40%{transform:scale(.93)}100%{transform:scale(1)}}
.btn.loading-state{pointer-events:none;opacity:.7}
.btn.loading-state::before{
  content:'';display:inline-block;width:16px;height:16px;
  border:2.5px solid rgba(255,255,255,.3);border-top-color:#fff;
  border-radius:50%;animation:spin .5s linear infinite;margin-inline-end:4px;
}

/* ── التحميل ── */
.spinner{display:inline-block;width:18px;height:18px;border:2.5px solid rgba(249,246,239,.12);
  border-top-color:#F7ECC8;border-radius:50%;animation:spin .5s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.loading{text-align:center;padding:50px 16px}
.loading .spinner{width:28px;height:28px;margin-bottom:12px}
.loading p{font-size:10pt;color:rgba(249,246,239,.45)}

.footer{text-align:center;padding:14px 0;font-size:7pt;color:rgba(249,246,239,.25);margin-top:12px}
/* ═══════════════════════════════════════════════════════════════════════
   اختيار الوظيفة — البطاقة المختارة تتوهّج بذهبي مع علامة صح
   ═══════════════════════════════════════════════════════════════════════ */
.job-card{position:relative;cursor:pointer}
.job-card.is-done{cursor:default;opacity:.72}
.job-card.selected{
  border:2px solid #e8c766;background:linear-gradient(180deg,rgba(232,199,102,.32),rgba(200,162,74,.16));
  box-shadow:0 0 0 2px rgba(232,199,102,.75),0 10px 32px rgba(232,199,102,.38);
  transform:translateY(-2px);
}
.job-card.selected .job-title,.job-card.selected h3{color:#f7e3a1;}
.job-card .pick-mark{
  position:absolute;top:-9px;inset-inline-start:-9px;width:30px;height:30px;border-radius:50%;
  display:none;place-items:center;font-size:13pt;font-weight:900;color:#0b1a3a;
  background:linear-gradient(135deg,#f2e2ac,#B08D3C);box-shadow:0 4px 14px rgba(200,162,74,.45);
}
.job-card.selected .pick-mark{display:grid;animation:pickPop .5s cubic-bezier(.22,1.4,.36,1) both}
@keyframes pickPop{0%{transform:scale(0) rotate(-40deg);opacity:0}60%{transform:scale(1.25) rotate(6deg);opacity:1}100%{transform:scale(1) rotate(0)}}
.page.active #jobs-list .job-card{animation:jobIn .5s cubic-bezier(.22,1,.36,1) both}
@keyframes jobIn{from{opacity:0;transform:translateY(16px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}

/* تذييل قائمة الوظائف: المختار + زر التالي */
.jobs-foot{margin-top:10px}
.jobs-hint{
  font-size:8.5pt;font-weight:700;color:rgba(249,246,239,.5);text-align:center;
  padding:9px 12px;border-radius:10px;background:rgba(255,255,255,.03);
  border:1px dashed rgba(200,162,74,.25);margin-bottom:10px;transition:all .3s;
}
.jobs-hint.picked{color:#F7ECC8;background:rgba(200,162,74,.08);border-style:solid;border-color:rgba(200,162,74,.4)}
.jobs-hint .warn{color:#f0c060}
.jobs-hint b{color:#F7ECC8}

/* ═══════════════════════════════════════════════════════════════════════
   صفحة المراجعة قبل الإتمام
   ═══════════════════════════════════════════════════════════════════════ */
.rv-card{
  background:linear-gradient(180deg,rgba(22,41,77,.75),rgba(13,31,66,.7));
  border:1px solid rgba(200,162,74,.22);border-radius:16px;padding:16px;margin-bottom:14px;
  position:relative;overflow:hidden;
}
.rv-top{display:flex;gap:10px;align-items:center;padding-bottom:12px;border-bottom:1px solid rgba(200,162,74,.18);margin-bottom:12px}
.rv-ic{
  width:44px;height:44px;flex:none;border-radius:12px;display:grid;place-items:center;font-size:18pt;
  background:linear-gradient(135deg,rgba(29,107,196,.3),rgba(200,162,74,.18));border:1px solid rgba(200,162,74,.3);
}
.rv-t{font-size:12pt;font-weight:900;color:#F7ECC8;line-height:1.4}
.rv-s{font-size:8pt;color:rgba(249,246,239,.5);margin-top:2px;line-height:1.6}
.rv-head{
  font-size:9.5pt;font-weight:900;color:#F7ECC8;margin:14px 0 8px;
  display:flex;align-items:center;gap:6px;
}
.rv-head:first-of-type{margin-top:0}
.rv-sub{font-size:9pt;font-weight:800;color:#6db8ff;margin:10px 0 4px;padding-inline-start:9px;border-inline-start:2px solid rgba(29,107,196,.5)}
.rv-head::before{content:'';width:3px;height:14px;background:#B08D3C;border-radius:2px;flex:none}
.rv-row{
  display:flex;align-items:center;gap:8px;padding:7px 0;border-bottom:1px dashed rgba(249,246,239,.07);
  animation:rvIn .45s cubic-bezier(.22,1,.36,1) both;
}
@keyframes rvIn{from{opacity:0;transform:translateX(-10px)}to{opacity:1;transform:translateX(0)}}
.rv-row:last-child{border-bottom:0}
.rv-k{font-size:8.5pt;color:rgba(249,246,239,.45);flex:0 0 78px}
.rv-v{font-size:10pt;font-weight:800;color:#f4efe2;flex:1;line-height:1.6;word-break:break-word}
.rv-v.mono{letter-spacing:.04em}
.rv-edit{
  flex:none;font:700 7.5pt 'IBM Plex Sans Arabic',sans-serif;color:#6db8ff;background:rgba(29,107,196,.14);
  border:1px solid rgba(29,107,196,.35);border-radius:8px;padding:4px 9px;cursor:pointer;transition:all .2s;
}
.rv-edit:hover{background:rgba(29,107,196,.25)}
.rv-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.rv-chip{
  font-size:8pt;font-weight:800;padding:5px 10px;border-radius:8px;
  background:rgba(200,162,74,.1);border:1px solid rgba(200,162,74,.28);color:#F7ECC8;
}
.rv-chip.ok{background:rgba(34,160,91,.12);border-color:rgba(34,160,91,.3);color:#5ee8a0}
.rv-note{
  font-size:8pt;line-height:1.9;color:rgba(249,246,239,.5);margin-top:12px;
  background:rgba(255,255,255,.03);border-radius:10px;padding:10px 12px;
}
.rv-note b{color:#F7ECC8}
.rv-warn-move{animation:shake .45s ease}

/* ═══════════════════════════════════════════════════════════════════════
   نجاح الإتمام — علامة صح مرسومة + وميض ذهبي
   ═══════════════════════════════════════════════════════════════════════ */
.ok-hero{position:relative;text-align:center;padding:20px 14px 8px;overflow:hidden}
.ok-check{
  width:78px;height:78px;margin:0 auto 12px;border-radius:50%;position:relative;display:grid;place-items:center;
  background:radial-gradient(circle at 35% 30%,rgba(94,232,160,.25),rgba(34,160,91,.06));
  border:2px solid rgba(94,232,160,.5);box-shadow:0 0 26px rgba(94,232,160,.25);
  animation:okPop .7s cubic-bezier(.22,1.4,.36,1) both;
}
@keyframes okPop{0%{transform:scale(.4);opacity:0}60%{transform:scale(1.12)}100%{transform:scale(1);opacity:1}}
.ok-check svg{width:40px;height:40px;fill:none;stroke:#5ee8a0;stroke-width:3.2;stroke-linecap:round;stroke-linejoin:round}
.ok-check svg path{stroke-dasharray:44;stroke-dashoffset:44;animation:okDraw .65s cubic-bezier(.65,0,.35,1) .3s forwards}
@keyframes okDraw{to{stroke-dashoffset:0}}
.ok-check::before,.ok-check::after{
  content:'';position:absolute;inset:-2px;border-radius:50%;border:2px solid rgba(94,232,160,.45);
  animation:okRing 1.8s ease-out .35s infinite;
}
.ok-check::after{animation-delay:1.1s}
@keyframes okRing{0%{transform:scale(.92);opacity:.75}100%{transform:scale(1.65);opacity:0}}
.ok-title{font-size:14pt;font-weight:900;color:#5ee8a0;margin-bottom:4px}
.ok-sub{font-size:9pt;color:rgba(249,246,239,.6);line-height:1.9}
.ok-sub b{color:#F7ECC8}
.spark{
  position:absolute;top:52px;left:50%;width:7px;height:7px;border-radius:50%;pointer-events:none;
  background:linear-gradient(135deg,#f2e2ac,#B08D3C);opacity:0;
  animation:sparkFly 1.5s cubic-bezier(.2,.7,.3,1) forwards;
}
@keyframes sparkFly{
  0%{opacity:0;transform:translate(0,0) scale(.3)}
  18%{opacity:1}
  100%{opacity:0;transform:translate(var(--dx),var(--dy)) scale(.9)}
}
/* ظهور الاستمارة بعد النجاح */
.form-sheet{animation:sheetUp .7s cubic-bezier(.22,1,.36,1) .25s both}
@keyframes sheetUp{from{opacity:0;transform:translateY(26px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
.result-actions{display:flex;flex-direction:column;gap:8px;margin-top:12px}
.result-actions .btn{width:100%}
.btn-ghost-gold{background:rgba(200,162,74,.08);border:1.5px solid rgba(200,162,74,.4);color:#F7ECC8}

/* ولمعة تمرّ على الأزرار المهمّة */
.btn-shine::before{
  content:'';position:absolute;top:0;bottom:0;width:42%;left:-70%;pointer-events:none;
  background:linear-gradient(100deg,transparent,rgba(255,255,255,.32),transparent);
  transform:skewX(-18deg);animation:btnShine 2.8s ease-in-out infinite;
}
@keyframes btnShine{0%{left:-70%}55%{left:125%}100%{left:125%}}

/* أقسام A4 المستقلة: واضحة بالألوان وكذلك بالطباعة بالأبيض والأسود. */
.form-sheet .fs-body{padding:4mm 5mm;}
.form-sheet .fs-section{margin-top:3mm;border:.3mm solid #cbd4df;border-radius:2mm;overflow:hidden;break-inside:avoid;page-break-inside:avoid;}
.form-sheet .fs-section .fs-h3{margin:0;padding:2mm 3mm;background:#eef2f7;border-bottom:.25mm solid #cbd4df;font-size:11pt;line-height:1.4;gap:2mm;}
.form-sheet .fs-section .fs-h3::before{display:none;}
.fs-section-no{display:inline-flex;align-items:center;justify-content:center;width:6mm;height:6mm;border:.25mm solid currentColor;border-radius:1mm;font:700 8pt 'Segoe UI',sans-serif;direction:ltr;flex:none;}
.form-sheet .fs-customer{border-inline-start:1mm solid #16294d;}
.form-sheet .fs-job{border-inline-start:1mm solid #ac7d27;}
.form-sheet .fs-job .fs-h3{background:#faf5e9;}
.form-sheet .fs-employer{border-inline-start:1mm solid #356b6a;}
.form-sheet .fs-employer .fs-h3{background:#edf5f3;color:#254f50;}
.form-sheet .fs-section .fs-tbl{border:0;border-radius:0;padding:1mm 2mm;}
.form-sheet .fs-section .fs-td{display:block;padding:1.5mm 2mm;background:#fff;border-bottom:.2mm solid #e4e8ed;}
.form-sheet .fs-section .fs-td .k{display:block;font-size:7.5pt;color:#596575;line-height:1.5;}
.form-sheet .fs-section .fs-td .v{display:block;font-size:10pt;color:#142640;line-height:1.65;white-space:pre-wrap;}
.form-sheet .fs-section .fs-td.mono .v{unicode-bidi:isolate;font-variant-numeric:tabular-nums;}
.form-sheet .fs-section .fs-h3 .en{font-size:6pt;color:#596575;}
.form-sheet .fs-meta .fs-f .k{font-size:7pt;color:#596575;}
.form-sheet .fs-meta .fs-f .v{font-size:9pt;line-height:1.5;}
.form-sheet .fs-terms li{font-size:7.5pt;line-height:1.7;}
.form-sheet .fs-emp-box{background:#f4f6f9;color:#25364d;border:.25mm solid #cbd4df;padding:2.5mm 3mm;margin-top:3mm;}
.form-sheet .fs-emp-box h5,.form-sheet .fs-emp-box b{color:#16294d;}
.form-sheet .fs-emp-box ol{font-size:7.2pt;line-height:1.7;}

/* Full-screen card journey. Screen rules never alter the A4 printing contract. */
@media screen {
  body{font-size:16px;line-height:1.7;background-color:#0b1730}
  .topbar{padding:4px 0 20px;gap:14px;margin-bottom:20px}.topbar svg{width:46px;height:46px}.topbar .t1{font-size:clamp(20px,2vw,28px)}.topbar .t2{font-size:11px;color:#b5c2d9;letter-spacing:.08em}
  .steps-bar{padding:18px 24px;border:1px solid #ffffff16;border-radius:16px;background:#ffffff04;margin-bottom:24px}.steps-track{gap:8px}.step-dot{flex:1 1 0;height:7px}.step-dot.active{flex:1.4 1 0}.step-label{font-size:16px;color:#c2ccdd}
  .pages-wrap{overflow:clip}.page{min-width:0}.page.active{min-height:calc(100dvh - 240px)}
  .profile-card{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(28px,5vw,90px);align-items:center;min-height:calc(100dvh - 340px);padding:clamp(24px,4vw,64px);border-radius:24px;background:linear-gradient(135deg,#162b4b,#10203b);border-color:#ffffff1c;box-shadow:0 20px 70px #00000020}
  .step-intro{padding-inline-end:clamp(16px,3vw,48px);border-inline-end:1px solid #B08D3C38}.step-eyebrow{display:inline-block;font-size:14px;font-weight:800;color:#e6c878;margin-bottom:18px;letter-spacing:.03em}.step-intro h1,.step-intro h2{font-size:clamp(28px,3vw,44px);line-height:1.6;color:#faf5e8;margin-bottom:14px}.step-intro p{font-size:18px;line-height:2;color:#c5d0e2}.step-assurance{font-size:14px;color:#e3cb95;border-top:1px solid #ffffff15;padding-top:20px;margin-top:28px}
  .step-fields{min-width:0}.section-title{font-size:22px;margin-bottom:20px}.section-title::before{height:24px;width:4px}.form-group{margin-bottom:22px}.form-group label{font-size:16px;color:#ead7a7;margin-bottom:10px}.form-group input,.form-group select{min-height:58px;font-size:18px!important;background:#0b1b32;border-color:#63738c;color:#fff;padding:14px 16px}.form-group input::placeholder{color:#a5b1c6}.form-group select:disabled{opacity:.65}.form-row3{gap:14px;grid-template-columns:repeat(3,minmax(0,1fr))}.form-row{grid-template-columns:repeat(2,minmax(0,1fr))}.form-row3 .form-group{min-width:0}
  .btn{min-height:52px;font-size:17px}.btn-row{gap:16px;margin-top:22px}.btn-row .btn{min-width:0}.btn:focus-visible,.gender-opt:focus-visible,.job-remove:focus-visible{outline:3px solid #e6c878;outline-offset:4px}.gender-opt{font-size:20px;padding:30px 16px;min-height:160px}.gender-opt .icon{font-size:42px}.phone-meter .pc-of,.phone-meter .pc-state,.dob-meter{font-size:14px}.phone-meter .pc-num{font-size:20px}
  .welcome{min-height:calc(100dvh - 150px);display:grid;align-content:center;justify-items:center;padding:40px 24px;border:1px solid #ffffff18;border-radius:24px;background:linear-gradient(140deg,#162b4b,#0d1e37)}.welcome .emblem{width:120px;height:120px}.welcome h1{font-size:clamp(28px,3.5vw,48px)}.welcome .sub{font-size:20px;color:#c5d0e2}.welcome .anim-fade-up2{width:min(100%,600px)}.welcome .gold-line{width:100%;margin:24px 0}#welcome-status{font-size:16px!important;margin-bottom:20px}
  .job-filters{padding:24px;border-radius:20px;background:#122540;border-color:#ffffff25}.jf-top{align-items:center;gap:24px}.jf-top b{font-size:24px}.jf-top p{font-size:16px;max-width:none;color:#c5d0e2}.jf-top>.btn{width:auto;flex-shrink:0}.jf-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.jf-primary{grid-template-columns:minmax(220px,2fr) repeat(4,minmax(0,1fr))}.job-filters label{font-size:15px;margin-bottom:9px}.job-filters input:not([type=checkbox]),.job-filters select{min-height:52px;font-size:16px;padding:12px}.job-filters select:disabled{opacity:1;color:#90dfb4;border-color:#417b65;background:#13362f}.jf-note{font-size:14px;color:#b7c6da;margin-top:14px}.jf-advanced{margin-top:18px;padding-top:16px}.jf-advanced summary{font-size:16px}.jf-bottom{gap:20px;margin-top:20px}.jf-bottom>.btn{width:auto}.job-filters .jf-check{font-size:16px;gap:10px}.jf-check input{width:22px;height:22px}.job-filters #jobs-count{font-size:16px;margin-top:20px;padding-top:16px}.job-filters #jf-error{font-size:16px}
  #jobs-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,325px),1fr));gap:20px;align-items:start;padding:10px 3px}.job-card{min-width:0;padding:24px;margin:0;border-radius:18px;border-color:#ffffff25;background:#142640;display:flex;flex-direction:column;overflow-wrap:anywhere}.job-head{align-items:flex-start;gap:12px}.job-head .title{font-size:21px;line-height:1.7;flex:1;min-width:0}.job-head .badge{font-size:13px;white-space:normal;flex:none;max-width:100px}.job-category{font-size:14px;flex-wrap:wrap;margin:8px 0 18px}.job-grid{grid-template-columns:1fr;gap:12px}.job-item{gap:10px}.job-item .k{font-size:15px;min-width:65px;color:#aebdd2}.job-item .v{font-size:17px;min-width:0}.job-details{font-size:16px}.job-actions{margin-top:22px;flex-wrap:wrap}.job-actions .btn{font-size:16px;padding:12px;min-width:100px}.chances-bar{font-size:17px;padding:16px 20px;flex-wrap:wrap;justify-content:flex-start}.jobs-hint{font-size:16px;text-align:start;padding:20px;line-height:2}.job-remove{font-size:14px;min-height:44px;padding:6px 12px}.jobs-foot{margin-top:24px}
  .rv-card{padding:clamp(22px,3vw,48px);border-radius:24px}.rv-top{padding-bottom:24px;margin-bottom:24px}.rv-t{font-size:26px}.rv-s{font-size:16px;color:#becbe0}.rv-head{font-size:21px;margin-top:32px}.rv-sub{font-size:18px;margin-top:24px}.rv-row{padding:16px 0;gap:20px}.rv-k{font-size:16px;flex-basis:180px;color:#b9c6db}.rv-v{font-size:19px;min-width:0}.rv-edit{font-size:15px;min-height:44px;padding:10px 18px}.rv-chip,.rv-note{font-size:16px}.rv-chip{padding:10px 16px}.rv-note{padding:20px}.ok-title{font-size:28px}.ok-sub{font-size:17px}.result-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:16px;margin-top:24px}
  #result-content>.form-sheet{margin-top:24px}#result-content .fs-head{padding:22px}#result-content .fs-body{padding:20px}#result-content .fs-head .n1,#result-content .fs-head .ttl{font-size:24px}#result-content .fs-head .n2,#result-content .fs-head .ttl2,#result-content .fs-qr .cap2{font-size:12px}#result-content .fs-meta{gap:24px}#result-content .fs-f .k,#result-content .fs-section .fs-td .k{font-size:15px;line-height:1.8}#result-content .fs-f .v,#result-content .fs-section .fs-td .v{font-size:18px;line-height:1.8}#result-content .fs-section .fs-h3{font-size:20px}#result-content .fs-qr-note,#result-content .fs-notes,#result-content .fs-foot{font-size:14px;line-height:1.9}
  .footer{font-size:14px;color:#a5b4cc;padding-top:24px}.loading{min-height:65dvh;display:grid;align-content:center;justify-items:center;gap:16px}.loading p{font-size:18px;color:#c5d0e2}#error-msg{font-size:18px!important}.alert{font-size:16px}
  @media(max-width:1100px){.jf-primary{grid-template-columns:repeat(3,minmax(0,1fr))}.jf-search{grid-column:span 2}.jf-grid:not(.jf-primary){grid-template-columns:repeat(2,minmax(0,1fr))}}
  @media(max-width:760px){.app{padding:16px}.profile-card{grid-template-columns:1fr;gap:28px;padding:24px;min-height:calc(100dvh - 330px)}.step-intro{border-inline-end:0;border-bottom:1px solid #B08D3C38;padding:0 0 24px}.step-intro h1,.step-intro h2{font-size:28px}.step-intro p{font-size:16px}.step-eyebrow{margin-bottom:10px}.step-assurance{display:none}.topbar .t2{font-size:10px;letter-spacing:0}.steps-bar{padding:16px}.welcome{padding:32px 20px}.job-filters{padding:20px}.jf-top{align-items:flex-start;flex-wrap:wrap}.jf-primary,.jf-grid:not(.jf-primary){grid-template-columns:repeat(2,minmax(0,1fr))}.jf-top>.btn{width:100%}.jf-search{grid-column:1/-1}.jf-bottom>.btn{width:100%}.rv-row{gap:10px;flex-wrap:wrap}.rv-k{flex-basis:100%;font-size:15px}.rv-v{font-size:18px}.rv-t{font-size:22px}.rv-top{align-items:flex-start}.rv-edit{padding:8px 12px}.form-group input,.form-group select{font-size:16px!important}.form-row3{gap:8px}.form-row3 select{padding:12px 7px}.form-row3 label{font-size:14px}#result-content .fs-meta{flex-wrap:wrap}#result-content .fs-fields{flex-basis:100%;grid-template-columns:repeat(2,minmax(0,1fr))}#result-content .fs-head{flex-wrap:wrap;gap:14px}#result-content .fs-f .v,#result-content .fs-section .fs-td .v{font-size:16px}}
  @media(max-width:420px){.app{padding:12px}.profile-card{padding:20px}.jf-primary,.jf-grid:not(.jf-primary){grid-template-columns:1fr}.jf-search{grid-column:auto}.job-card{padding:20px}.job-head{flex-wrap:wrap}.btn-row{gap:10px}.btn-row .btn{padding:12px 10px;font-size:16px}.topbar .t1{font-size:20px}}
}

@media print{.form-sheet .fs-section{break-inside:avoid;page-break-inside:avoid;}}


/* Journey polish: restrained motion, clear stage identity and locked-owner state. */
[hidden]{display:none!important}
@media screen {
  .app{isolation:isolate}.topbar{position:relative}.topbar::after{content:'رحلتك إلى فرصة جديدة';margin-inline-start:auto;font-size:14px;color:#b6c8df;border:1px solid #b5cae125;padding:8px 16px;border-radius:999px;background:#ffffff05}
  .step-intro h1,.step-intro h2{letter-spacing:-.03em}.step-eyebrow{padding:6px 12px;border:1px solid #d7b96535;border-radius:8px;background:#d7b96509}.profile-card{box-shadow:0 16px 56px #00000024,inset 0 1px 0 #ffffff0c}.profile-card::after{display:none}.step-fields{padding:clamp(8px,1.4vw,24px);background:#07162b30;border:1px solid #ffffff0a;border-radius:18px}.form-group label{transition:color .2s}.form-group:focus-within label{color:#fff2c6}.form-group input:focus,.form-group select:focus{border-color:#7aaef5;box-shadow:0 0 0 4px #659cf01f}.btn-primary{background:linear-gradient(120deg,#2379d4,#1858a2);box-shadow:0 8px 24px #0a6dd52b}.btn:not(:disabled):hover{filter:brightness(1.09)}.btn:not(:disabled):active{transform:translateY(1px) scale(.99)}
  .identity-notice{padding:18px 22px;margin-bottom:20px;border:1px solid #d9bd724f;border-inline-start:4px solid #dfc27c;border-radius:14px;background:linear-gradient(110deg,#d0b46512,#182b43);color:#f2dfb3;font-size:16px;line-height:1.9}.profile-locked .step-dot:nth-child(-n+5){display:none}.profile-locked .steps-bar{border-color:#dcc27c30}.profile-locked .rv-top{border-color:#dcc27c40}.profile-locked #btn-jobs-next{flex-basis:100%}
  .job-card{transition:border-color .2s,box-shadow .2s,background .2s,translate .2s}.job-card:hover{translate:0 -3px;box-shadow:0 14px 32px #00000024}.job-card.selected{border-color:#f1d99c;box-shadow:0 0 0 1px #f1d99c80,0 14px 34px #B08D3C20}.job-filters:focus-within{border-color:#B08D3C65}.page.active .job-filters{animation:stageReveal .4s both}.page.active .step-intro{animation:stageReveal .5s both}.page.active .step-fields{animation:stageReveal .5s .08s both}.page.active #jobs-list .job-card{animation-duration:.4s}.page.active #jobs-list .job-card:nth-child(2){animation-delay:.04s}.page.active #jobs-list .job-card:nth-child(3){animation-delay:.08s}.page.active #jobs-list .job-card:nth-child(n+4){animation-delay:.12s}
  @keyframes stageReveal{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
  @media(max-width:760px){.topbar::after{display:none}.step-fields{padding:16px}.profile-card{padding:20px;gap:22px}.identity-notice{padding:16px;font-size:16px}.step-intro p{line-height:1.9}.step-intro{padding-bottom:20px}}
  @media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.job-card:hover{translate:none}}
}


/* Welcome navigation and per-opportunity print controls. */
.mk-platform-link{display:flex;align-items:center;justify-content:center;min-height:48px;width:min(100%,330px);margin:12px auto 0;padding:10px 16px;position:relative;z-index:2;border:1px solid #d2b46c;border-radius:13px;background:linear-gradient(135deg,#f4d681,#d5aa47);color:#132b4a;box-shadow:0 7px 20px #081b3259;text-decoration:none;font-weight:900}
.mk-platform-link:focus-visible,.cs-print:focus-visible{outline:3px solid #b08d3c;outline-offset:3px}
.welcome-details-message{position:relative;z-index:2;margin:8px 0 0;color:#fff;font-weight:800;line-height:1.8}
.cs-print{grid-column:1/-1;justify-self:start;min-height:44px;padding:8px 14px;border:1px solid #b08d3c;border-radius:10px;background:#16294d;color:#fff;font:800 13px/1.6 "IBM Plex Sans Arabic",sans-serif;cursor:pointer}
.cs-print:disabled{opacity:.55;cursor:not-allowed}.cs-detail-extra{grid-column:1/-1;color:#23354e;font-size:13px;line-height:1.8;overflow-wrap:anywhere}.cs-detail-error{color:#a02828}
@media screen{#chance-print-root{position:absolute;top:0;left:0;width:210mm;clip-path:inset(100%);pointer-events:none}}
@media print{
 body.chance-printing #result-content .form-sheet,body.chance-printing #result-content .form-sheet *{visibility:hidden!important}
 body.chance-printing #app,body.chance-printing #job-modal{display:none!important}
 body.chance-printing #chance-print-root{display:block!important;position:static;width:100%;background:#fff;clip-path:none!important}
 body.chance-printing #chance-print-root .form-sheet,body.chance-printing #chance-print-root .form-sheet *{visibility:visible!important}
 body.chance-printing #chance-print-root .form-sheet{width:100%;max-width:100%;margin:0;box-shadow:none;border-radius:0;overflow:visible}
 body.chance-printing #chance-print-root .form-sheet + .form-sheet{break-before:page;page-break-before:always}
}
/* ═══ تفاصيل البطاقة: زر في شاشة الترحيب + نافذة أنيقة ═══ */
.welcome-details{width:min(100%,600px);margin-top:12px}
@supports not (display:grid){.welcome-details{display:block}}
.btn-card-details{
  display:flex;align-items:center;justify-content:center;gap:10px;width:100%;
  min-height:56px;padding:12px 20px;cursor:pointer;
  font:800 17px/1.5 'IBM Plex Sans Arabic','Segoe UI',Tahoma,sans-serif;
  color:#f2dca3;background:#132a48;border:1px solid #d8ba6b4d;border-radius:14px;
  transition:background .2s,border-color .2s,box-shadow .2s;
}
.btn-card-details:hover{border-color:#e2c77f;background:#1a3457}
.btn-card-details:focus-visible{outline:3px solid #e2c77f;outline-offset:4px}
.btn-card-details svg{flex:none;color:#F7ECC8}
.bcd-count{
  font-size:12.5px;font-weight:700;color:#0f2440;background:#F7ECC8;
  border-radius:999px;padding:2px 10px;white-space:nowrap
}
.card-sheet{position:fixed;inset:0;z-index:120;display:grid;place-items:center;padding:18px}
.card-sheet[hidden]{display:none}
.card-sheet-veil{position:absolute;inset:0;background:rgba(4,10,24,.72);backdrop-filter:blur(3px)}
.card-sheet-box{
  position:relative;width:min(560px,100%);max-height:min(88vh,720px);display:flex;flex-direction:column;
  background:linear-gradient(160deg,#132a48,#0d1e37);color:#f4efe2;border:1px solid #d8ba6b40;
  border-radius:20px;box-shadow:0 30px 70px -30px rgba(0,0,0,.75);
  animation:csIn .24s cubic-bezier(.22,1,.36,1) both;overflow:hidden
}
@keyframes csIn{from{opacity:0;transform:translateY(10px) scale(.99)}to{opacity:1;transform:none}}
.card-sheet-head{
  display:flex;align-items:center;gap:12px;padding:16px 18px;border-bottom:1px solid #ffffff14;
  background:linear-gradient(135deg,#17325a,#122745)
}
.cs-emblem{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#0c1d33;border:1px solid #d8ba6b3d;flex:none}
.cs-title{flex:1 1 auto;min-width:0}
.cs-title h2{margin:0;font-size:16.5px;font-weight:900;color:#fff}
.cs-title p{margin:2px 0 0;font-size:12px;color:#a9b8d2;letter-spacing:.1em}
.cs-chip{font-size:11.5px;font-weight:800;padding:4px 10px;border-radius:999px;white-space:nowrap}
.cs-chip.is-ok{color:#9be8b8;background:#1f8f4e29;border:1px solid #1f8f4e5c}
.cs-chip.is-warn{color:#f2dca3;background:#c8871a29;border:1px solid #c8871a5c}
.cs-close{
  width:36px;height:36px;flex:none;border-radius:10px;cursor:pointer;font-size:22px;line-height:1;
  color:#cfdbef;background:#ffffff10;border:1px solid #ffffff26
}
.cs-close:hover{background:#ffffff1f;color:#fff}
.cs-close:focus-visible{outline:2px solid #e2c77f;outline-offset:2px}
.card-sheet-body{padding:16px 18px;overflow-y:auto}
.cs-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px 14px}
.cs-f{background:#ffffff08;border:1px solid #ffffff12;border-radius:11px;padding:9px 12px;min-width:0}
.cs-f span{display:block;font-size:11px;font-weight:700;color:#93a3bf;margin-bottom:3px}
.cs-f b{display:block;font-size:13.5px;font-weight:800;color:#f4efe2;word-break:break-word}
.cs-sub{margin:16px 0 8px;font-size:13px;font-weight:900;color:#F7ECC8;display:flex;align-items:center;gap:7px}
.cs-sub::before{content:'';width:4px;height:14px;border-radius:2px;background:#B08D3C}
.cs-chances{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.cs-chance{
  display:grid;grid-template-columns:78px minmax(0,1fr) auto;align-items:center;gap:10px;
  background:#ffffff08;border:1px solid #ffffff12;border-radius:11px;padding:10px 12px
}
.cs-chance-no{font-size:11.5px;font-weight:800;color:#93a3bf}
.cs-chance-job{font-size:13px;font-weight:700;color:#f4efe2;min-width:0;word-break:break-word}
.cs-chance-job b{font-size:11.5px;color:#c5d0e2;font-weight:700}
.cs-chance-state{font-size:11px;font-weight:800;padding:3px 9px;border-radius:999px;white-space:nowrap}
.cs-chance.is-open .cs-chance-state{color:#9be8b8;background:#1f8f4e29;border:1px solid #1f8f4e4d}
.cs-chance.is-live .cs-chance-state{color:#f2dca3;background:#c8871a29;border:1px solid #c8871a4d}
.cs-chance.is-done .cs-chance-state{color:#9be8b8;background:#1f8f4e33;border:1px solid #1f8f4e66}
.cs-chance.is-closed .cs-chance-state{color:#f3b0ad;background:#a8322f29;border:1px solid #a8322f5c}
.cs-note{margin:14px 0 0;font-size:11.5px;line-height:1.9;color:#93a3bf;border-top:1px dashed #ffffff14;padding-top:10px}
.card-sheet-foot{
  display:flex;gap:10px;padding:14px 18px;border-top:1px solid #ffffff14;background:#0e2038
}
.card-sheet-foot .btn{flex:1 1 auto;min-height:48px;font-weight:800;display:inline-flex;align-items:center;justify-content:center}
.btn-sheet-close{
  flex:0 0 auto;min-height:48px;padding:0 20px;cursor:pointer;border-radius:12px;
  font:800 14px 'IBM Plex Sans Arabic',sans-serif;color:#cfdbef;background:#ffffff0f;border:1px solid #ffffff26
}
.btn-sheet-close:hover{background:#ffffff1f;color:#fff}
.btn-sheet-close:focus-visible{outline:2px solid #e2c77f;outline-offset:2px}
@media (max-width:560px){
  .cs-grid{grid-template-columns:1fr}
  .cs-chance{grid-template-columns:1fr auto;row-gap:4px}
  .cs-chance-no{grid-column:1/-1}
  .card-sheet{padding:10px}
  .card-sheet-box{max-height:92vh;border-radius:16px}
  .card-sheet-foot{flex-direction:column-reverse}
  .btn-sheet-close{width:100%}
}
@media (prefers-reduced-motion:reduce){
  .card-sheet-box{animation:none}
}
/* Large navigation below the fields; keyboard docking is progressive enhancement. */
@media screen {
  .profile-page > .btn-row .btn,.jobs-foot > .btn-row .btn,#pg-review > .btn-row .btn{min-height:52px;font-size:16px;font-weight:900;padding:12px 20px;border-radius:14px}
  #keyboard-navigation{position:fixed;inset-inline:12px;z-index:1000;padding:12px 12px calc(12px + env(safe-area-inset-bottom,0px));border:1px solid #8298ba55;border-radius:20px 20px 0 0;background:#10213bf5;box-shadow:0 -8px 32px #00000040;backdrop-filter:blur(16px)}
  #keyboard-navigation .btn-row{margin:0!important;gap:12px}
  #keyboard-navigation .btn{min-height:60px;padding:14px 12px;font-size:19px;font-weight:900;border-radius:13px;touch-action:manipulation}
  .keyboard-navigation-open .app{padding-bottom:calc(var(--keyboard-nav-height,88px) + 24px)}
  @media(max-width:420px){.profile-page > .btn-row .btn,.jobs-foot > .btn-row .btn,#pg-review > .btn-row .btn{min-height:50px;font-size:15px;padding:12px 14px}}
}
@media print{#keyboard-navigation{display:none!important}}

/* Screen-only horizontal layout; printed forms and all application rules stay unchanged. */
@media screen {
 .topbar svg,.btn>svg,.rv-ic{flex-shrink:0}
 .steps-bar{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px}
 .steps-track{flex:1 1 160px;justify-content:flex-start}.step-label{flex:0 1 auto;margin:0}
 .rv-row{flex-wrap:wrap;align-items:baseline;gap:8px 18px}.rv-k{flex:0 1 150px;line-height:1.8}.rv-v{flex:1 1 220px;min-width:0}.rv-edit{flex:0 0 auto}
 .btn{white-space:normal;line-height:1.7}.rv-chips{align-items:center}.rv-chip{display:inline-flex;align-items:center;gap:8px}
 .form-sheet .fs-section .fs-td{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 12px}
 .form-sheet .fs-section .fs-td .k{flex:0 1 110px}.form-sheet .fs-section .fs-td .v{flex:1 1 150px;min-width:0}
 @media(max-width:760px){.rv-k{flex:0 1 90px}.rv-v{flex:1 1 140px}.rv-row{gap:8px 12px}.rv-edit{margin-inline-start:auto}}
}
@media screen and (prefers-reduced-motion:no-preference){.rv-edit{transition:background .2s,border-color .2s,box-shadow .2s}.anim-zoom.anim-glow{animation-iteration-count:1,1}}

/* ── الطباعة: استمارة A4 وحدها بلا واجهة ── */
@media print{
  @page{size:A4;margin:8mm}
  html,body{background:#fff!important;padding:0!important;margin:0!important;height:auto!important}
  body *{visibility:hidden!important}
  /* كل استمارة ورقة A4 مستقلة — تُطبع كلها إن اختار الزبون وظيفتين */
  #result-content .form-sheet,#result-content .form-sheet *{visibility:visible!important}
  #result-content .form-sheet{
    position:static;inset:auto;width:100%;max-width:100%;margin:0 0 6mm;
    box-shadow:none;border-radius:0;overflow:visible;
    break-after:auto;page-break-after:auto;
  }
  #result-content .form-sheet + .form-sheet{break-before:page;page-break-before:always}
  /* الورقة فقط تُطبع: بلا هيرو النجاح وبلا أزرار الصفحة وبلا بقية الصفحات */
  #pg-result > :not(#result-content),#result-content .ok-hero{display:none!important}
  #app,#pages-wrap,.page,#pg-result,#result-content{padding:0!important;margin:0!important;border:0!important;min-height:0!important;background:none!important}
  .page:not(#pg-result),#result-content > *:not(.form-sheet),.topbar,.steps-bar,.footer{display:none!important}
  /* منع انقسام أي قسم بين صفحتين — الاستمارة كلها صفحة واحدة A4 */
  .form-sheet,.fs-head,.fs-meta,.fs-tbl,.fs-emp,.fs-terms,.fs-emp-box,.fs-sign,.fs-foot{break-inside:avoid;page-break-inside:avoid}
  .fs-td,.fs-f,.fs-tr{break-inside:avoid;page-break-inside:avoid}
  .form-sheet{print-color-adjust:exact;-webkit-print-color-adjust:exact}
}

/* ═══════════════════════════════════════════════════════════════════════════
   الواجهة الفاخرة — فلتر الوظائف وبطاقاتها (2026-10-24)
   نيون تركوازي + ذهب على لازورد داكن · البطاقة المختارة ترتفع فوق البقية
   ═══════════════════════════════════════════════════════════════════════════ */
:root{
  --lux-navy:#071426;
  --lux-navy-2:#0b1d33;
  --lux-navy-3:#0f2742;
  --lux-gold:#ffd977;
  --lux-gold-2:#8A6D2C;
  --lux-gold-3:#a8842f;
  --lux-neon:#38e8d4;
  --lux-neon-2:#7ff8ec;
  --lux-line:rgba(110,231,168,.22);
  --lux-line-soft:rgba(255,255,255,.08);
}

/* ─── لوحة الفلترة ─── */
.job-filters{
  position:relative; isolation:isolate; overflow:hidden;
  padding:22px 22px 18px; border-radius:22px; margin-bottom:20px;
  border:1px solid var(--lux-line);
  background:
    radial-gradient(120% 150% at 100% 0%, rgba(56,232,212,.12), transparent 55%),
    radial-gradient(90% 130% at 0% 0%, rgba(110,231,168,.13), transparent 60%),
    linear-gradient(160deg, #0a1729, #0c2038 55%, #0a1729);
  box-shadow:
    0 30px 70px -42px rgba(0,0,0,.95),
    inset 0 1px 0 rgba(255,255,255,.06);
}
/* خط ذهبي علوي + هالة نيون في الزاوية */
.job-filters::before{
  content:''; position:absolute; inset-inline:18%; top:0; height:2px; border-radius:2px;
  background:linear-gradient(90deg,transparent,var(--lux-gold),var(--lux-neon),transparent);
  opacity:.85;
}
.job-filters::after{
  content:''; position:absolute; z-index:-1; width:220px; height:220px; border-radius:50%;
  inset-inline-end:-70px; top:-90px; pointer-events:none;
  background:radial-gradient(circle, rgba(56,232,212,.20), transparent 68%);
}
.job-filters:focus-within{ border-color:rgba(110,231,168,.42); box-shadow:0 0 0 1px rgba(110,231,168,.25),0 30px 70px -42px rgba(0,0,0,.95); }

/* رأس اللوحة */
.jf-top{ align-items:center; gap:16px; margin-bottom:18px; }
.jf-top > div:first-child{ position:relative; padding-inline-start:0; }
.jf-top b{
  display:inline-flex; align-items:center; gap:9px; font-size:15pt; letter-spacing:-.2px;
  color:#fff; text-shadow:0 0 22px rgba(110,231,168,.35);
}
.jf-top b::before{
  content:''; width:30px; height:30px; border-radius:10px; flex:none;
  background:linear-gradient(140deg,var(--lux-gold),var(--lux-gold-3));
  box-shadow:0 6px 16px -6px rgba(110,231,168,.8), inset 0 1px 0 rgba(255,255,255,.5);
}
.jf-top p{ color:#a9bad4; font-size:11.5pt; line-height:1.85; margin:6px 0 0; max-width:52ch; }
.jf-top .btn{
  background:transparent; border:1px solid rgba(110,231,168,.42); color:var(--lux-gold);
  border-radius:11px; font-weight:800; min-height:42px; padding:8px 16px;
  transition:background .18s,border-color .18s,box-shadow .18s;
}
.jf-top .btn:hover{ background:rgba(110,231,168,.12); border-color:var(--lux-gold); box-shadow:0 0 18px -4px rgba(110,231,168,.55); }

/* شبكة الحقول */
.jf-grid{ gap:14px; }
.jf-primary{ grid-template-columns:minmax(240px,1.6fr) repeat(3,minmax(0,1fr)); }
.job-filters label{
  font-size:11pt; font-weight:800; color:#cfdcf0; margin:0 0 7px; letter-spacing:.1px;
}
.job-filters input:not([type=checkbox]), .job-filters select{
  min-height:50px; border-radius:13px; padding:10px 14px; font-size:12pt; font-weight:600;
  color:#f7fbff; border:1px solid rgba(255,255,255,.14);
  background:linear-gradient(180deg, rgba(9,24,42,.95), rgba(12,32,56,.95));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
  transition:border-color .16s, box-shadow .16s, background .16s;
}
.job-filters input::placeholder{ color:#7d8dab; font-weight:500; }
.job-filters input:hover, .job-filters select:hover{ border-color:rgba(110,231,168,.4); }
.job-filters input:focus, .job-filters select:focus{
  outline:none; border-color:var(--lux-gold);
  box-shadow:0 0 0 3px rgba(110,231,168,.18), 0 0 22px -6px rgba(56,232,212,.5);
}
.job-filters option{ background:#0b1d33; color:#f7fbff; }
.job-filters select:disabled{
  opacity:1; color:#9ff3d6; border-color:rgba(56,232,212,.35);
  background:linear-gradient(180deg, rgba(10,40,38,.9), rgba(8,30,32,.9));
}

/* فلاتر متقدمة */
.jf-advanced{
  margin-top:16px; padding:14px 16px; border-radius:14px;
  border:1px dashed rgba(110,231,168,.26); background:rgba(255,255,255,.02);
}
.jf-advanced[open]{ border-style:solid; border-color:rgba(110,231,168,.34); background:rgba(255,255,255,.035); }
.jf-advanced summary{
  cursor:pointer; font-size:11pt; font-weight:800; color:var(--lux-gold); padding:2px 0;
  list-style:none; display:flex; align-items:center; gap:8px;
}
.jf-advanced summary::-webkit-details-marker{ display:none; }
.jf-advanced summary::before{
  content:''; width:8px; height:8px; border-radius:2px; background:var(--lux-neon);
  box-shadow:0 0 10px rgba(56,232,212,.9); transition:transform .2s;
}
.jf-advanced[open] summary::before{ transform:rotate(45deg); }
.jf-advanced .jf-grid{ margin-top:14px; }

/* سطر الأدوات */
.jf-bottom{ gap:14px; margin-top:16px; align-items:center; }
.jf-bottom > .btn{
  border-radius:12px; min-height:44px; font-weight:800;
  border:1px solid rgba(56,232,212,.4); color:var(--lux-neon-2);
  background:linear-gradient(180deg, rgba(13,44,52,.9), rgba(9,30,40,.9));
  transition:box-shadow .18s, border-color .18s, transform .18s;
}
.jf-bottom > .btn:hover{ border-color:var(--lux-neon); box-shadow:0 0 22px -6px rgba(56,232,212,.7); transform:translateY(-1px); }
.job-filters .jf-check{
  gap:9px; font-size:11pt; font-weight:700; color:#cfdcf0;
  border:1px solid rgba(255,255,255,.1); border-radius:11px; padding:8px 13px;
  background:rgba(255,255,255,.03);
}
.jf-check input{ width:20px; height:20px; accent-color:var(--lux-gold); }

/* عدّاد النتائج كشارة نيون */
.job-filters #jobs-count{
  display:inline-flex; align-items:center; gap:8px; width:auto;
  font-size:11pt; font-weight:800; color:#d7f7f1;
  border:1px solid rgba(56,232,212,.32); border-radius:999px;
  padding:7px 16px; margin-top:16px; background:rgba(56,232,212,.09);
  box-shadow:0 0 20px -8px rgba(56,232,212,.6);
}
.job-filters #jobs-count::before{
  content:''; width:8px; height:8px; border-radius:50%; background:var(--lux-neon);
  box-shadow:0 0 8px var(--lux-neon);
}
.job-filters #jf-error{ color:#ffb0a6; font-size:11pt; margin-top:10px; }

/* ─── بطاقات الوظائف ─── */
#jobs-list{
  display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));
  gap:20px; align-items:start; padding:16px 4px 26px; overflow:visible;
}
#jobs-list .job-card{
  position:relative; isolation:isolate; overflow:hidden;
  padding:18px; border-radius:18px; margin:0;
  border:1px solid rgba(110,231,168,.16);
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(56,232,212,.07), transparent 58%),
    linear-gradient(165deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  box-shadow:0 18px 40px -32px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.05);
  transition:transform .26s cubic-bezier(.22,1,.36,1), box-shadow .26s, border-color .26s, background .26s;
  z-index:1;
}
#jobs-list .job-card::before{
  content:''; position:absolute; inset-inline:0; top:0; height:3px;
  background:linear-gradient(90deg,var(--lux-gold),var(--lux-neon));
  opacity:.55; transition:opacity .25s;
}
#jobs-list .job-card:hover{
  transform:translateY(-4px); border-color:rgba(110,231,168,.42);
  box-shadow:0 26px 50px -28px rgba(0,0,0,.95), 0 0 26px -12px rgba(110,231,168,.55);
  z-index:2;
}
#jobs-list .job-card:hover::before{ opacity:1; }

/* العنوان والشارات */
#jobs-list .job-head{ align-items:flex-start; gap:12px; margin-bottom:10px; }
#jobs-list .job-head .title{
  font-size:13.5pt; font-weight:900; color:#fff; line-height:1.55; letter-spacing:-.2px;
}
#jobs-list .job-head .badge{
  border-radius:999px; padding:5px 11px; font-size:9pt; font-weight:800;
  border:1px solid rgba(56,232,212,.4); color:#b6f7ee; background:rgba(56,232,212,.12);
}
#jobs-list .job-category{
  font-size:10pt; font-weight:700; color:var(--lux-gold); opacity:.9; margin:2px 0 14px;
}
#jobs-list .job-grid{ gap:9px; }
#jobs-list .job-item{
  padding:9px 12px; border-radius:11px; border:1px solid rgba(255,255,255,.07);
  background:rgba(255,255,255,.03);
}
#jobs-list .job-item .k{ font-size:10pt; color:#93a6c2; font-weight:700; }
#jobs-list .job-item .v{ font-size:11pt; color:#eef4ff; font-weight:800; }
#jobs-list .job-actions{ gap:9px; margin-top:16px; }
#jobs-list .job-actions .btn{
  border-radius:11px; min-height:44px; font-weight:800; font-size:11pt;
  border:1px solid rgba(110,231,168,.3); color:#f4e9c8; background:rgba(255,255,255,.04);
  transition:border-color .18s, background .18s, box-shadow .18s;
}
#jobs-list .job-actions .btn:hover{ border-color:var(--lux-gold); background:rgba(110,231,168,.1); }
#jobs-list .job-actions .btn-primary{
  background:linear-gradient(140deg,var(--lux-gold),var(--lux-gold-2));
  color:#20180a; border-color:transparent; box-shadow:0 10px 24px -14px rgba(110,231,168,.9);
}
#jobs-list .job-actions .btn-primary:hover{ box-shadow:0 14px 30px -12px rgba(110,231,168,.95); }
#jobs-list .job-actions .btn-success{
  background:linear-gradient(140deg,#4ff0d6,#12b39c); color:#04211d; border-color:transparent;
  box-shadow:0 10px 24px -14px rgba(56,232,212,.9);
}

/* ═══ البطاقة المختارة: ترتفع فوق بقية الوظائف ═══ */
#jobs-list .job-card.selected{
  z-index:9; transform:translateY(-10px) scale(1.018);
  border-color:var(--lux-gold);
  background:
    radial-gradient(120% 110% at 100% 0%, rgba(110,231,168,.22), transparent 60%),
    radial-gradient(90% 110% at 0% 100%, rgba(56,232,212,.16), transparent 62%),
    linear-gradient(165deg,#122a45,#0d2138);
  box-shadow:
    0 0 0 1px rgba(255,217,119,.95),
    0 0 30px -4px rgba(110,231,168,.5),
    0 0 60px -16px rgba(56,232,212,.45),
    0 34px 60px -24px rgba(0,0,0,.95);
}
#jobs-list .job-card.selected::before{ height:4px; opacity:1; }
#jobs-list .job-card.selected .job-head .title{ color:#fff5d6; text-shadow:0 0 18px rgba(110,231,168,.45); }
#jobs-list .job-card.selected .job-item{ border-color:rgba(110,231,168,.22); background:rgba(110,231,168,.06); }
#jobs-list .job-card.selected .job-item .v{ color:#fff; }
#jobs-list .job-card .pick-mark{
  top:-13px; inset-inline-start:-13px; width:34px; height:34px; font-size:15pt;
  background:linear-gradient(145deg,#d1fae5,var(--lux-gold-2));
  color:#1c1508; border:1px solid rgba(255,255,255,.6);
  box-shadow:0 8px 20px -6px rgba(110,231,168,.9), 0 0 0 4px rgba(110,231,168,.14);
}
/* توهّج ناعم أسفل البطاقة المختارة */
#jobs-list .job-card.selected::after{
  content:''; position:absolute; inset:auto 12% -14px 12%; height:22px; border-radius:50%;
  background:radial-gradient(ellipse at center, rgba(110,231,168,.5), transparent 70%);
  filter:blur(9px); z-index:-1;
}

/* ═══════════════════════════════════════════════════════════════════════════
   شريط الفلترة + بطاقات الوظائف — إعادة ترتيب احترافية (2026-10-24)
   ---------------------------------------------------------------------------
   مبادئ التصميم المطبّقة:
   • شبكة واحدة ثابتة: كل عنصر تحكّم 44px ارتفاعاً، 12px نصف قطر، أيقونة يمينه.
   • تسلسل بصري: بحث (أوسع) ← فلاتر رئيسية ← زر «فلاتر» ذهبي ← تصفير أيقوني.
   • شرائح فلاتر نشطة قابلة للإزالة بدل فوضى قيم مبثوثة في الحقول.
   • البطاقة: صورة + عنوان + كود/تخصص + حالة، ثم شبكة بيانات بأيقونات،
     ثم سطر أجر مميّز، ثم أزرار إجراء بعرض متساوٍ.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ───────────────────────── شريط الفلترة ───────────────────────── */
.job-filters.jf-compact{
  padding:10px; border-radius:16px; margin-bottom:14px;
  border:1px solid rgba(110,231,168,.20);
  background:linear-gradient(160deg, rgba(10,23,41,.92), rgba(13,32,56,.92));
  box-shadow:0 18px 40px -34px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.05);
}
.jf-bar{
  display:flex; align-items:center; gap:8px; flex-wrap:wrap;
}
.jf-bar .jf-search{ position:relative; flex:1 1 240px; min-width:0; }
.jf-bar .jf-field{ position:relative; flex:0 1 168px; min-width:130px; }
.jf-bar .jf-field-status{ flex:0 1 150px; }

/* الأيقونة داخل الحقل */
.jf-ic{
  position:absolute; inset-inline-start:12px; top:50%; transform:translateY(-50%);
  width:16px; height:16px; color:#8ea3c0; pointer-events:none; z-index:1;
}
.jf-bar .jf-search input,
.jf-bar .jf-field select{
  width:100%; box-sizing:border-box; min-height:44px; padding:9px 13px;
  padding-inline-start:36px; border-radius:12px; font-size:10.5pt; font-weight:700;
  color:#f5f9ff; border:1px solid rgba(255,255,255,.13);
  background:linear-gradient(180deg, rgba(9,22,39,.96), rgba(12,31,54,.96));
  transition:border-color .16s, box-shadow .16s, background .16s;
  appearance:none; -webkit-appearance:none;
}
.jf-bar .jf-field select{
  background-image:
    linear-gradient(45deg, transparent 50%, #8ea3c0 50%),
    linear-gradient(135deg, #8ea3c0 50%, transparent 50%);
  background-position:
    calc(0% + 14px) calc(50% + 1px),
    calc(0% + 19px) calc(50% + 1px);
  background-size:5px 5px, 5px 5px;
  background-repeat:no-repeat;
  padding-inline-end:34px;
}
[dir="rtl"] .jf-bar .jf-field select{ background-position: 14px calc(50% + 1px), 19px calc(50% + 1px); }
.jf-bar input::placeholder{ color:#7f90ad; font-weight:600; }
.jf-bar input:hover, .jf-bar select:hover{ border-color:rgba(110,231,168,.42); }
.jf-bar input:focus, .jf-bar select:focus{
  outline:none; border-color:var(--lux-gold);
  box-shadow:0 0 0 3px rgba(110,231,168,.16);
}
.jf-bar select:disabled{
  color:#9ff0d8; border-color:rgba(56,232,212,.30);
  background:linear-gradient(180deg, rgba(9,38,36,.9), rgba(8,28,30,.9));
}
.jf-bar select:disabled + .jf-ic{ color:#5fd7c4; }
.jf-sr{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden;
  clip:rect(0 0 0 0); white-space:nowrap; border:0;
}

/* زر «فلاتر» */
.jf-more{
  display:inline-flex; align-items:center; gap:7px; flex:none;
  min-height:44px; padding:0 14px; cursor:pointer; border-radius:12px;
  font:inherit; font-size:10.5pt; font-weight:800;
  color:var(--lux-gold); border:1px solid rgba(110,231,168,.36);
  background:rgba(110,231,168,.07);
  transition:background .16s, border-color .16s, box-shadow .16s, color .16s;
}
.jf-more svg{ width:16px; height:16px; flex:none; }
.jf-more:hover{ background:rgba(110,231,168,.14); border-color:var(--lux-gold); }
.jf-more[aria-expanded="true"]{ background:rgba(110,231,168,.18); box-shadow:0 0 18px -7px rgba(110,231,168,.8); }
.jf-more.has-filters{ color:#1e1708; background:linear-gradient(140deg,var(--lux-gold),var(--lux-gold-2)); border-color:transparent; }
.jf-more:focus-visible{ outline:2px solid var(--lux-gold); outline-offset:2px; }
.jf-badge{
  min-width:19px; height:19px; padding:0 5px; border-radius:999px;
  display:inline-grid; place-items:center; font-size:9pt; font-weight:900;
  background:#1e1708; color:var(--lux-gold);
}

/* زر التصفير */
.jf-reset{
  flex:none; width:44px; height:44px; display:inline-grid; place-items:center;
  border-radius:12px; cursor:pointer; color:#b9c8de;
  border:1px solid rgba(255,255,255,.13); background:rgba(255,255,255,.04);
  transition:color .16s, border-color .16s, background .16s;
}
.jf-reset svg{ width:17px; height:17px; }
.jf-reset:hover{ color:var(--lux-gold); border-color:rgba(110,231,168,.5); background:rgba(110,231,168,.08); }
.jf-reset:focus-visible{ outline:2px solid var(--lux-gold); outline-offset:2px; }

/* ── شرائح الفلاتر النشطة ── */
.jf-chips{
  display:flex; flex-wrap:wrap; gap:7px; margin-top:10px;
  padding-top:10px; border-top:1px solid rgba(255,255,255,.07);
}
.jf-chip{
  display:inline-flex; align-items:center; gap:7px; cursor:pointer;
  padding:5px 6px 5px 11px; border-radius:999px; font:inherit; font-size:9.5pt; font-weight:800;
  color:#ffe9b6; background:rgba(110,231,168,.12);
  border:1px solid rgba(110,231,168,.30);
  transition:background .16s, border-color .16s;
}
.jf-chip:hover{ background:rgba(110,231,168,.2); border-color:var(--lux-gold); }
.jf-chip-x{
  display:grid; place-items:center; width:17px; height:17px; border-radius:50%;
  font-size:12px; line-height:1; background:rgba(0,0,0,.28); color:#ffe9b6;
}
.jf-chip:hover .jf-chip-x{ background:#1e1708; color:var(--lux-gold); }
.jf-chip:focus-visible{ outline:2px solid var(--lux-gold); outline-offset:2px; }

/* ── لوحة الفلاتر المتقدمة ── */
.jf-panel[hidden]{ display:none; }
.jf-panel{
  margin-top:12px; padding:14px; border-radius:14px;
  border:1px solid rgba(110,231,168,.18); background:rgba(255,255,255,.025);
  animation:jfPanelIn .2s cubic-bezier(.22,1,.36,1) both;
}
@keyframes jfPanelIn{ from{opacity:0; transform:translateY(-4px)} to{opacity:1; transform:none} }
.jf-panel-head{
  display:flex; align-items:baseline; justify-content:space-between; gap:10px;
  flex-wrap:wrap; margin-bottom:12px;
}
.jf-panel-title{
  display:inline-flex; align-items:center; gap:7px;
  font-size:10.5pt; font-weight:900; color:var(--lux-gold);
}
.jf-panel-title svg{ width:16px; height:16px; }
.jf-panel-hint{ font-size:9pt; color:#8a9cb8; font-weight:600; }
.jf-panel .jf-grid{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:11px; }
.jf-cell{ min-width:0; }
.jf-cell label{
  display:block; margin:0 0 6px; font-size:9.5pt; font-weight:800; color:#c8d6ea;
}
.jf-panel input:not([type=checkbox]), .jf-panel select{
  width:100%; box-sizing:border-box; min-height:42px; padding:8px 12px;
  border-radius:11px; font:inherit; font-size:10.5pt; font-weight:700;
  color:#f5f9ff; border:1px solid rgba(255,255,255,.13);
  background:linear-gradient(180deg, rgba(9,22,39,.96), rgba(12,31,54,.96));
  transition:border-color .16s, box-shadow .16s;
}
.jf-panel input:focus, .jf-panel select:focus{
  outline:none; border-color:var(--lux-gold); box-shadow:0 0 0 3px rgba(110,231,168,.16);
}
.jf-panel input::placeholder{ color:#7f90ad; font-weight:600; }
.jf-panel-foot{
  display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap;
  margin-top:13px; padding-top:13px; border-top:1px solid rgba(255,255,255,.08);
}
.jf-panel-foot .btn{
  display:inline-flex; align-items:center; gap:7px; min-height:40px;
  font-size:10pt; border-radius:11px; padding:0 14px;
  color:#bff5ea; border-color:rgba(56,232,212,.35); background:rgba(56,232,212,.07);
}
.jf-panel-foot .btn:hover{ border-color:var(--lux-neon); background:rgba(56,232,212,.13); }
.jf-check{
  display:inline-flex; align-items:center; gap:8px; margin:0; cursor:pointer;
  font-size:10pt; font-weight:800; color:#cfdcf0;
  padding:7px 12px; border-radius:11px;
  border:1px solid rgba(255,255,255,.1); background:rgba(255,255,255,.03);
}
.jf-check input{ width:18px; height:18px; accent-color:var(--lux-gold); }

/* ── سطر النتائج ── */
.jf-meta{
  display:flex; align-items:center; gap:10px; flex-wrap:wrap;
  margin-top:10px; padding-top:9px; border-top:1px solid rgba(255,255,255,.07);
}
.jf-meta .jf-note{ margin:0; font-size:9pt; color:#8397b4; font-weight:600; }
.job-filters #jobs-count{
  margin:0; margin-inline-start:auto; padding:4px 12px; border-radius:999px;
  display:inline-flex; align-items:center; gap:6px;
  font-size:9.5pt; font-weight:800; color:#d6f6f0;
  border:1px solid rgba(56,232,212,.28); background:rgba(56,232,212,.09);
}
.job-filters #jobs-count b{ color:#fff; font-weight:900; }
.jf-dot{ opacity:.4; }
.job-filters #jf-error{ margin:0; font-size:9.5pt; color:#ffb0a6; }

/* ───────────────────────── بطاقة الوظيفة ───────────────────────── */
#jobs-list{ gap:16px; padding:10px 2px 22px; align-items:start; }

#jobs-list .job-card{
  position:relative; isolation:isolate; display:flex; flex-direction:column;
  padding:0; border-radius:18px; overflow:hidden;
  border:1px solid rgba(110,231,168,.16);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(56,232,212,.07), transparent 58%),
    linear-gradient(170deg, #102640, #0c1d33);
  box-shadow:0 16px 36px -30px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.05);
  transition:transform .26s cubic-bezier(.22,1,.36,1), box-shadow .26s, border-color .26s;
  z-index:1;
}
#jobs-list .job-card::before{
  content:''; position:absolute; inset-inline:0; top:0; height:3px;
  background:linear-gradient(90deg, var(--lux-gold), var(--lux-neon));
  opacity:.6; transition:opacity .25s;
}
#jobs-list .job-card:hover{
  transform:translateY(-4px); border-color:rgba(110,231,168,.42); z-index:3;
  box-shadow:0 26px 50px -30px rgba(0,0,0,.95), 0 0 26px -14px rgba(110,231,168,.6);
}
#jobs-list .job-card:hover::before{ opacity:1; }

/* رأس البطاقة */
#jobs-list .job-head{
  display:flex; align-items:flex-start; gap:12px;
  padding:15px 16px 12px; margin:0;
}
/* ═══ مصغّرة صورة الوظيفة — نفس إطار الموقع (10:7) بلا حواف بيضاء ═══════════
   كانت مربّعة ٥٨px بخلفية بيضاء وإطار، فتبدو مختلفة عن صورة البطاقة في الموقع.
   الآن: ٧٢×٥٠ (10:7) بتعبئة ضبابية خلف الصورة، فلا فراغ ولا قصّ ولا حدود. */
.job-thumb{
  position:relative; flex:none; width:72px; aspect-ratio:10 / 7; height:auto;
  border-radius:10px; overflow:hidden; background:#0e2138;
  border:1px solid rgba(110,231,168,.28);
  box-shadow:0 10px 20px -14px rgba(0,0,0,.9);
}
.job-thumb::before{
  content:''; position:absolute; inset:-8%; z-index:0; pointer-events:none;
  background-image:none; background-size:cover; background-position:center;
  filter:blur(10px) saturate(1.1) brightness(.85); opacity:.85; transform:scale(1.1);
}
.job-thumb.has-img::before{background-image:var(--img, none)}
.job-thumb:not(.has-img){background:linear-gradient(90deg,#142b47 25%,#29445f 45%,#142b47 65%);background-size:220% 100%;animation:jobImageLoading 1.3s ease-in-out infinite}
@keyframes jobImageLoading{0%{background-position:130% 0}100%{background-position:-130% 0}}
@media(prefers-reduced-motion:reduce){.job-thumb:not(.has-img){animation:none}}
.job-thumb img{
  position:relative; z-index:1; width:100%; height:100%;
  object-fit:contain; object-position:center; display:block;
}
.job-id{ flex:1 1 auto; min-width:0; }
#jobs-list .title{
  margin:0 0 7px; font-size:12.5pt; font-weight:900; line-height:1.5;
  color:#fff; letter-spacing:-.2px; overflow-wrap:anywhere;
}
.job-tags{ display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
.job-code, .job-cat{
  display:inline-flex; align-items:center; height:22px; padding:0 9px;
  border-radius:7px; font-size:8.8pt; font-weight:800; white-space:nowrap;
}
.job-code{
  font-family:'IBM Plex Mono', ui-monospace, Menlo, monospace; letter-spacing:.06em;
  color:#a6f4e9; background:rgba(56,232,212,.12); border:1px solid rgba(56,232,212,.32);
  direction:ltr;
}
.job-cat{ color:#ffdf9f; background:rgba(110,231,168,.1); border:1px solid rgba(110,231,168,.3); }

/* شارة الحالة أعلى البطاقة */
.job-state{
  flex:none; display:inline-flex; align-items:center; gap:5px;
  height:26px; padding:0 10px; border-radius:999px;
  font-size:8.8pt; font-weight:900; white-space:nowrap;
}
.job-state.is-open{ color:#b7f7ec; background:rgba(56,232,212,.13); border:1px solid rgba(56,232,212,.38); }
.job-state.is-picked{ color:#1e1708; background:linear-gradient(140deg,var(--lux-gold),var(--lux-gold-2)); border:1px solid transparent; }
.job-state.is-done{ color:#bcd8c6; background:rgba(31,143,78,.16); border:1px solid rgba(31,143,78,.4); }

/* جسم البطاقة: شبكة بيانات + سطر أجر */
#jobs-list .job-body{ padding:0 16px 14px; margin:0; }
.job-meta{
  display:grid; grid-template-columns:1fr 1fr; gap:8px; margin:0;
}
.jm{
  display:flex; align-items:center; gap:8px; min-width:0;
  padding:8px 10px; border-radius:10px;
  background:rgba(255,255,255,.035); border:1px solid rgba(255,255,255,.07);
}
.jm-ic{ width:15px; height:15px; flex:none; color:var(--lux-gold); opacity:.95; }
.jm-v{
  font-size:9.8pt; font-weight:800; color:#e6eefb; min-width:0;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.job-pay{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  margin-top:10px; padding:10px 12px; border-radius:11px;
  background:linear-gradient(120deg, rgba(110,231,168,.13), rgba(56,232,212,.08));
  border:1px solid rgba(110,231,168,.26);
}
.job-pay-k{
  display:inline-flex; align-items:center; gap:7px;
  font-size:9.2pt; font-weight:800; color:#f2dcae;
}
.job-pay-k .jm-ic{ color:#ffd977; }
.job-pay-v{
  font-size:11pt; font-weight:900; color:#ffd977; letter-spacing:.2px;
  text-shadow:0 0 16px rgba(110,231,168,.35); white-space:nowrap;
}

/* التفاصيل */
.job-details{
  margin:0 16px 12px; padding:11px 13px; border-radius:11px;
  background:rgba(0,0,0,.22); border:1px solid rgba(255,255,255,.07);
  font-size:9.8pt; line-height:1.9; color:#cfdcee;
}
.job-details b{ color:#ffe4a3; }
.job-details ul{ margin:6px 0 0; padding-inline-start:18px; }

/* أزرار الإجراء */
#jobs-list .job-actions{
  display:flex; gap:8px; align-items:center; flex-wrap:wrap;
  margin:0; margin-top:auto; padding:12px 16px;
  border-top:1px solid rgba(110,231,168,.12);
  background:rgba(0,0,0,.16);
}
#jobs-list .job-actions .btn{
  flex:1 1 auto; min-height:42px; border-radius:11px;
  font-size:9.8pt; font-weight:900; padding:0 12px;
  display:inline-flex; align-items:center; justify-content:center; gap:6px;
}
#jobs-list .job-actions .job-details-btn{
  flex:0 0 auto; color:#dbe6f7; border-color:rgba(255,255,255,.16);
  background:rgba(255,255,255,.04);
}
#jobs-list .job-actions .job-details-btn:hover{ border-color:rgba(110,231,168,.5); color:#ffe9b6; }
#jobs-list .job-actions .btn-primary{
  background:linear-gradient(140deg,var(--lux-gold),var(--lux-gold-2)); color:#20180a; border-color:transparent;
  box-shadow:0 10px 22px -16px rgba(110,231,168,.95);
}
#jobs-list .job-actions .btn-success{
  background:linear-gradient(140deg,#4ff0d6,#12b39c); color:#04211d; border-color:transparent;
  box-shadow:0 10px 22px -16px rgba(56,232,212,.95);
}
#jobs-list .job-actions .btn-outline{ color:#dbe6f7; border-color:rgba(255,255,255,.16); background:transparent; }
#jobs-list .job-actions .btn:disabled{ opacity:.5; }

/* علامة الاختيار */
#jobs-list .pick-mark{
  top:-11px; inset-inline-start:-11px; width:32px; height:32px; font-size:14pt;
  background:linear-gradient(145deg,#d1fae5,var(--lux-gold-2)); color:#1c1508;
  border:1px solid rgba(255,255,255,.55);
  box-shadow:0 8px 18px -8px rgba(110,231,168,.9), 0 0 0 4px rgba(110,231,168,.12);
}

/* ───────────────────────── استجابة ───────────────────────── */
@media (max-width: 1024px){
  .jf-bar .jf-search{ flex:1 1 100%; }
  .jf-bar .jf-field{ flex:1 1 calc(50% - 4px); }
  .jf-bar .jf-field-status{ flex:1 1 100%; }
  .jf-panel .jf-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 640px){
  .job-filters.jf-compact{ padding:9px; border-radius:14px; }
  .jf-bar{ gap:7px; }
  .jf-bar .jf-field{ flex:1 1 calc(50% - 4px); min-width:0; }
  .jf-bar .jf-field-status{ display:none; }      /* الحالة ثابتة «متاحة» أصلاً */
  .jf-more{ flex:1 1 auto; justify-content:center; padding:0 10px; }
  .jf-reset{ width:44px; }
  .jf-panel .jf-grid{ grid-template-columns:1fr; }
  .jf-meta .jf-note{ display:none; }
  .jf-meta{margin:0;padding:0;border:0}
  .job-filters #jobs-count{ margin-inline-start:0; }
  #jobs-list{ grid-template-columns:1fr; }
  .job-meta{ grid-template-columns:1fr; }
  #jobs-list .job-head{ padding:13px 13px 10px; }
  #jobs-list .job-body{ padding:0 13px 12px; }
  #jobs-list .job-actions{ padding:11px 13px; }
  #jobs-list .job-actions .btn{ flex:1 1 100%; }
  #jobs-list .job-actions .job-details-btn{ flex:1 1 100%; }
  .job-thumb{ width:60px; border-radius:9px; }
  #jobs-list .title{ font-size:11.5pt; }
}
@media (prefers-reduced-motion: reduce){
  .jf-panel{ animation:none; }
  #jobs-list .job-card:hover{ transform:none; }
}

/* ═══ تأثير «البورتريه»: المختارة تبرز أمام البقية، والبقية تُغبَّش وتُعتَّم ═══
   يعتمد على صنف .has-focus يُضاف إلى #jobs-list من renderJobs() عند وجود اختيار.
   الطبقات: المختارة z-index 20 فوق طبقة تعتيم + blur على البقية، فتظهر وحدها
   حادّة وواضحة كأنها في بؤرة العدسة. */
#jobs-list{ position:relative; transition:filter .3s ease; }

#jobs-list .job-card{
  transition:transform .34s cubic-bezier(.22,1,.36,1), box-shadow .34s,
             border-color .34s, opacity .3s, filter .3s, background .3s;
  will-change:transform,filter;
}

/* البقية: تعتيم + غباش بورتريه + تصغير طفيف */
#jobs-list.has-focus .job-card:not(.selected){
  opacity:.42;
  filter:blur(2.2px) saturate(.55) brightness(.78);
  transform:scale(.975);
  pointer-events:none;      /* لا نقرة على المُغبَّش حتى يُلغى الاختيار */
}
#jobs-list.has-focus .job-card:not(.selected) .job-actions{ opacity:.5; }

/* المختارة: تبرز للأمام وتكبر وتتوهّج بحدّة كاملة */
#jobs-list.has-focus .job-card.selected{
  z-index:20;
  transform:translateY(-12px) scale(1.055);
  filter:blur(0) saturate(1.08) brightness(1.04);
  opacity:1;
  border-color:var(--lux-gold);
  background:
    radial-gradient(120% 110% at 100% 0%, rgba(110,231,168,.26), transparent 58%),
    radial-gradient(90% 120% at 0% 100%, rgba(56,232,212,.20), transparent 62%),
    linear-gradient(165deg,#16324f,#0f2338);
  box-shadow:
    0 0 0 2px rgba(255,217,119,.95),
    0 0 36px 0 rgba(110,231,168,.45),
    0 0 90px -10px rgba(56,232,212,.42),
    0 40px 80px -26px rgba(0,0,0,.95);
}
#jobs-list.has-focus .job-card.selected::before{ height:5px; opacity:1; }
#jobs-list.has-focus .job-card.selected .job-head .title{
  font-size:15pt; color:#fff8e3; text-shadow:0 0 22px rgba(110,231,168,.6);
}
#jobs-list.has-focus .job-card.selected .job-item{
  border-color:rgba(110,231,168,.3); background:rgba(110,231,168,.08);
}
#jobs-list.has-focus .job-card.selected .pick-mark{ transform:scale(1.15); }

/* غطاء تعتيم خفيف خلف المختارة يزيد بروزها (لا يعيق النقر) */
#jobs-list.has-focus::before{
  content:''; position:absolute; inset:0; z-index:10; pointer-events:none;
  background:radial-gradient(ellipse 70% 60% at 50% 30%, transparent 40%, rgba(4,10,20,.35));
  border-radius:16px;
  animation:luxVeilIn .3s ease-out both;
}
@keyframes luxVeilIn{ from{opacity:0} to{opacity:1} }

/* شارة صغيرة أعلى المختارة: «الوظيفة المختارة — فرصة ١» */
#jobs-list .job-card.selected .job-head::before{
  content:'★ مختارة لإحدى فرصك';
  position:absolute; top:-14px; inset-inline-end:14px;
  font-size:9.5pt; font-weight:800; color:#20180a; white-space:nowrap;
  padding:4px 12px; border-radius:999px;
  background:linear-gradient(140deg,#d1fae5,#8A6D2C);
  box-shadow:0 8px 20px -8px rgba(110,231,168,.9);
  animation:pickPop .45s cubic-bezier(.22,1.4,.36,1) both;
}
#jobs-list .job-card .job-head{ position:relative; }

/* ─── استجابة ─── */
@media (max-width:1100px){
  .jf-primary{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .jf-search{ grid-column:1/-1; }
}
@media (max-width:760px){
  .job-filters{ padding:18px 16px 16px; border-radius:18px; }
  .jf-top{ flex-wrap:wrap; gap:12px; }
  .jf-top b{ font-size:13pt; }
  .jf-primary{ grid-template-columns:1fr; }
  .jf-top > .btn{ width:100%; }
  #jobs-list{ grid-template-columns:1fr; gap:16px; }
  #jobs-list .job-head .title{ font-size:12.5pt; }
  /* على الهاتف: ارتفاع أقل كي لا تخرج البطاقة عن الإطار */
  #jobs-list .job-card.selected{ transform:translateY(-6px) scale(1.008); }
  #jobs-list.has-focus .job-card.selected{ transform:translateY(-8px) scale(1.02); }
  #jobs-list.has-focus .job-card.selected .job-head .title{ font-size:13pt; }
  #jobs-list.has-focus .job-card:not(.selected){ filter:blur(1.8px) brightness(.75); opacity:.5; }
}
@media (prefers-reduced-motion:reduce){
  #jobs-list .job-card,
  #jobs-list .job-card.selected,
  #jobs-list.has-focus .job-card.selected{ transform:none; }
  #jobs-list.has-focus::before{ animation:none; }
  /* يبقى التعتيم والغباش لأنهما وظيفة بصرية لا حركة */
}


/* ═══════════════════════════════════════════════════════════════════════════
   2026-10-27 — الهوية الفاتحة (كريمي + كحلي + ذهب) لكل صفحات التقديم
   ---------------------------------------------------------------------------
   تُطبَّق على الشاشة فقط (لا تمسّ عقد الطباعة A4): خلفية كريمية، بطاقة بيضاء،
   حقول بلون أزرق فاتح، أزرار كحلية بحدود ذهبية، وموجات زخرفية أعلى/أسفل.
   ═══════════════════════════════════════════════════════════════════════════ */
@media screen {
  :root{
    --ap-cream:#ffffff; --ap-cream-2:#f4f7f9;
    --ap-navy:#12305c; --ap-navy-2:#0d2247; --ap-navy-3:#1b4480;
    --ap-gold:#B08D3C; --ap-gold-2:#E3C479; --ap-gold-soft:#f0e2bd;
    --ap-ink:#16294a; --ap-muted:#6a7891;
    --ap-field:#e9eefb; --ap-field-line:#d8e2ec;
    --ap-card:#ffffff; --ap-line:#e4eaef;
  }

  /* ── الخلفية الكريمية + موجات زخرفية ── */
  body{
    background-color:#ffffff !important;
    background-image:
      radial-gradient(1000px 380px at 12% -6%, rgba(18,48,92,.10), transparent 70%),
      radial-gradient(820px 320px at 92% 4%, rgba(200,162,74,.14), transparent 72%),
      linear-gradient(180deg,#ffffff 0%,#ffffff 45%,#ffffff 100%) !important;
    color:var(--ap-ink) !important;
  }
  body::before, body::after{
    content:''; position:fixed; inset-inline:0; z-index:0; pointer-events:none;
    background-repeat:no-repeat; background-size:100% 100%; opacity:.9;
  }
  body::before{
    inset-block-start:0; height:190px;
    background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 190' preserveAspectRatio='none'><path d='M0 0h1200v96c-150 42-330 62-600 62S150 138 0 96z' fill='%2312305c'/><path d='M0 96c150 42 330 62 600 62s450-20 600-62v14c-150 44-330 64-600 64S150 154 0 110z' fill='%23C8A24A' opacity='.55'/></svg>");
  }
  body::after{
    inset-block-end:0; height:150px;
    background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 150' preserveAspectRatio='none'><path d='M0 150h1200v-52c-150-40-330-58-600-58S150 58 0 98z' fill='%2312305c'/><path d='M0 98c150-40 330-58 600-58s450 18 600 58v-12c-150-42-330-60-600-60S150 44 0 86z' fill='%23C8A24A' opacity='.5'/></svg>");
  }
  .app{position:relative; z-index:1}

  /* ── الشريط العلوي: كحلي بحدود ذهبية ── */
  .topbar{
    background:linear-gradient(120deg,var(--ap-navy-2),var(--ap-navy) 55%,var(--ap-navy-3));
    border:1px solid rgba(200,162,74,.45); border-radius:18px;
    padding:14px 20px !important; margin-bottom:20px !important;
    box-shadow:0 12px 30px rgba(13,34,71,.22);
  }
  .topbar svg{color:var(--ap-gold-2) !important}
  .topbar .t1{color:#fff !important}
  .topbar .t2{color:rgba(255,255,255,.62) !important}

  /* ── شريط التقدم: بطاقة فاتحة + نسبة داخل كبسولة ── */
  .steps-bar{
    padding:14px 18px !important; border:1px solid var(--ap-line) !important;
    border-radius:16px !important; background:#ffffff !important;
    box-shadow:0 8px 22px rgba(18,48,92,.07); margin-bottom:20px !important;
  }
  .steps-track{gap:9px; justify-content:flex-start}
  .step-dot{flex:0 0 26px; height:8px; border-radius:99px; background:#dfe6f3 !important; box-shadow:none !important}
  .step-dot.done{background:linear-gradient(90deg,var(--ap-gold),var(--ap-gold-2)) !important}
  .step-dot.active{flex:0 0 44px; background:linear-gradient(90deg,var(--ap-gold),var(--ap-gold-2)) !important; box-shadow:0 0 0 3px rgba(200,162,74,.18) !important}
  .step-label{color:var(--ap-muted) !important; font-weight:800}
  .step-label b{color:var(--ap-navy) !important}
  .step-label .pct{
    display:inline-block; margin-inline-start:6px; padding:3px 10px; border-radius:99px;
    background:var(--ap-field); color:var(--ap-navy) !important; font-weight:900;
    border:1px solid var(--ap-field-line); font-size:.92em;
  }

  /* ── البطاقة البيضاء لكل خطوة ── */
  .profile-card{
    background:linear-gradient(160deg,#ffffff,#ffffff) !important;
    border:1px solid var(--ap-line) !important; border-radius:22px !important;
    box-shadow:0 18px 50px rgba(18,48,92,.10) !important;
  }
  .step-intro{border-inline-end:1px solid var(--ap-line) !important}
  .step-eyebrow{
    display:inline-block; padding:6px 13px; border-radius:99px;
    background:var(--ap-field); border:1px solid var(--ap-field-line);
    color:var(--ap-navy) !important; font-weight:900 !important; letter-spacing:.02em;
  }
  .step-intro h1, .step-intro h2{
    color:var(--ap-navy) !important; position:relative;
    padding-inline-start:16px;
  }
  .step-intro h1::before, .step-intro h2::before{
    content:''; position:absolute; inset-inline-start:0; inset-block:0.32em;
    width:5px; border-radius:99px;
    background:linear-gradient(180deg,var(--ap-gold),var(--ap-gold-2));
  }
  .step-intro p{color:var(--ap-muted) !important}
  .step-assurance{
    color:#8A6D2C !important; border-top:1px solid var(--ap-line) !important;
  }
  .section-title{color:var(--ap-navy) !important}
  .section-title::before{background:linear-gradient(180deg,var(--ap-gold),var(--ap-gold-2)) !important}

  /* ── الحقول: أزرق فاتح + نص كحلي + حدود ذهبية عند التركيز ── */
  .form-group label{color:var(--ap-navy) !important}
  .form-group label .req{color:#c0392b !important}
  .form-group input, .form-group select{
    background:var(--ap-field) !important; border:1.5px solid var(--ap-field-line) !important;
    color:var(--ap-ink) !important; border-radius:12px !important;
  }
  .form-group input::placeholder{color:#93a3bd !important}
  .form-group input:focus, .form-group select:focus{
    border-color:var(--ap-gold) !important; background:#f3f6ff !important;
    box-shadow:0 0 0 4px rgba(200,162,74,.16) !important;
  }
  .form-group select option{background:#fff !important; color:var(--ap-ink) !important}
  .form-group input.valid, .form-group select.valid{border-color:#1f8f4e !important}
  .form-group input.invalid, .form-group select.invalid{border-color:#c0392b !important}

  /* ── الأزرار: كحلي أساسي بحدود ذهبية، والثانوي أبيض ── */
  .btn{border-radius:13px !important}
  .btn-primary{
    background:linear-gradient(135deg,var(--ap-navy),var(--ap-navy-3)) !important;
    color:#fff !important; border:1.5px solid rgba(200,162,74,.55) !important;
    box-shadow:0 10px 24px rgba(13,34,71,.28) !important;
  }
  .btn-primary:hover{background:linear-gradient(135deg,var(--ap-navy-3),var(--ap-navy)) !important}
  .btn-outline{
    background:#ffffff !important; border:1.5px solid var(--ap-navy) !important;
    color:var(--ap-navy) !important; box-shadow:0 4px 14px rgba(18,48,92,.08) !important;
  }
  .btn-outline:hover{background:var(--ap-field) !important}
  .btn:focus-visible{outline:3px solid var(--ap-gold) !important; outline-offset:3px}

  /* ── الترحيب ── */
  .mk-screen{background:var(--ap-cream) !important}
  #welcome-status{color:#8A6D2C !important}
  .btn-card-details{
    background:#ffffff !important; border:1.5px solid var(--ap-field-line) !important;
    color:var(--ap-navy) !important;
  }
  .btn-card-details:hover{background:var(--ap-field) !important; border-color:var(--ap-gold) !important}

  /* ── فلاتر الوظائف وبطاقاتها ── */
  .job-filters{
    background:#ffffff !important; border:1px solid var(--ap-line) !important;
    box-shadow:0 8px 24px rgba(18,48,92,.07);
  }
  .jf-top b{color:var(--ap-navy) !important}
  .jf-top p{color:var(--ap-muted) !important}
  .job-filters label{color:var(--ap-navy) !important}
  .job-filters input:not([type=checkbox]), .job-filters select{
    background:var(--ap-field) !important; border:1px solid var(--ap-field-line) !important;
    color:var(--ap-ink) !important;
  }
  .job-filters input::placeholder{color:#93a3bd !important}
  .job-filters option{background:#fff !important; color:var(--ap-ink) !important}
  .job-filters #jobs-count{color:var(--ap-muted) !important; border-top-color:var(--ap-line) !important}
  .jf-note, .jf-advanced summary{color:var(--ap-muted) !important}
  .jf-advanced{border-top-color:var(--ap-line) !important}
  .job-card{
    background:#ffffff !important; border:1px solid var(--ap-line) !important;
    box-shadow:0 10px 26px rgba(18,48,92,.08) !important;
  }
  .job-card.selected{border-color:var(--ap-gold) !important; box-shadow:0 0 0 2px rgba(200,162,74,.35),0 14px 30px rgba(18,48,92,.12) !important}
  .job-head .title{color:var(--ap-navy) !important}
  .job-item .k{color:var(--ap-muted) !important}
  .job-item .v{color:var(--ap-ink) !important}
  .chances-bar{
    background:var(--ap-field) !important; border:1px solid var(--ap-field-line) !important;
    color:var(--ap-navy) !important; border-radius:14px;
  }
  .jobs-hint{color:var(--ap-muted) !important; background:#ffffff !important; border-radius:14px}
  .job-remove{background:#fff !important; color:var(--ap-navy) !important; border-color:var(--ap-field-line) !important}

  /* ── المراجعة والنتيجة ── */
  .rv-card{background:#ffffff !important; border:1px solid var(--ap-line) !important; box-shadow:0 16px 44px rgba(18,48,92,.10) !important}
  .rv-t{color:var(--ap-navy) !important}
  .rv-s, .rv-k{color:var(--ap-muted) !important}
  .rv-v{color:var(--ap-ink) !important}
  .rv-head, .rv-sub{color:var(--ap-navy) !important}
  .rv-row{border-color:var(--ap-line) !important}
  .rv-chip{background:var(--ap-field) !important; color:var(--ap-navy) !important; border-color:var(--ap-field-line) !important}
  .rv-note{background:var(--ap-cream-2) !important; color:#8A6D2C !important}
  .rv-edit{background:#fff !important; color:var(--ap-navy) !important; border-color:var(--ap-field-line) !important}
  .ok-title{color:var(--ap-navy) !important}
  .ok-sub{color:var(--ap-muted) !important}

  /* ── الجنس والهاتف والتنبيهات والتحميل والتذييل ── */
  .gender-opt{
    background:#ffffff !important; border:1.5px solid var(--ap-field-line) !important;
    color:var(--ap-navy) !important;
  }
  .gender-opt.selected, .gender-opt[aria-pressed=true]{
    background:var(--ap-field) !important; border-color:var(--ap-gold) !important;
    box-shadow:0 0 0 3px rgba(200,162,74,.18) !important;
  }
  .phone-meter{color:var(--ap-muted) !important}
  .phone-meter .pc-num{color:var(--ap-navy) !important}
  .alert{background:#fff7ea !important; border:1px solid var(--ap-gold-soft) !important; color:#8A6D2C !important}
  .loading p{color:var(--ap-muted) !important}
  #error-msg{color:#b02a2a !important}
  .footer{color:#8a94a6 !important}
  .card-sheet-box{background:#ffffff !important; border:1px solid var(--ap-line) !important; color:var(--ap-ink) !important}
  .card-sheet-head{background:linear-gradient(120deg,var(--ap-navy-2),var(--ap-navy)) !important; color:#fff !important; border-radius:18px 18px 0 0}

  @media(max-width:760px){
    body::before{height:130px}
    body::after{height:100px}
    .topbar{border-radius:14px; padding:12px 14px !important}
    .step-intro{border-inline-end:0 !important; border-bottom:1px solid var(--ap-line) !important}
  }
}

  /* ── تنبيه «البيانات مثبتة» (كان تدرّجاً داكناً) ── */
  .identity-notice, .profile-locked .identity-notice{
    background:#FFFFFF !important;
    border:1px solid #E8DDC4 !important;
    border-inline-start:4px solid #1B4480 !important;
    color:#12305C !important; border-radius:14px !important;
  }
  .identity-notice b, .identity-notice strong{color:#0D2247 !important}

  /* ── بطاقات الوظائف: نصوص واضحة على الأبيض ── */
  .job-card .job-head .title{color:var(--ap-navy) !important}
  .job-category, .job-category span{color:#8A6D2C !important}
  .job-head .badge{
    background:var(--ap-field) !important; color:var(--ap-navy) !important;
    border:1px solid var(--ap-field-line) !important; border-radius:999px !important;
    padding:4px 12px !important; font-weight:900 !important;
  }
  .job-head .badge.ok{background:#ffffff !important; color:#1a6b3f !important; border-color:#bfe0cb !important}
  .job-head .badge.warn{background:#ffffff !important; color:#8A6D2C !important; border-color:var(--ap-gold-soft) !important}
  .job-head .badge.muted{background:#eef1f7 !important; color:#5a6880 !important; border-color:#dbe2ee !important}
  .job-item .k{color:var(--ap-muted) !important}
  .job-item .v{color:var(--ap-ink) !important; font-weight:800}
  .job-details{color:var(--ap-muted) !important}
  .job-actions .btn-outline{background:#fff !important}
  .job-actions .btn-primary{
    background:linear-gradient(135deg,var(--ap-navy),var(--ap-navy-3)) !important;
    color:#fff !important; border:1.5px solid rgba(200,162,74,.55) !important;
  }
  .job-remove{color:#8a3a2c !important; border-color:#eccfc9 !important}

  /* ── شريط «متبقي لك» ── */
  .chances-bar{background:var(--ap-field) !important; border:1px solid var(--ap-field-line) !important; color:var(--ap-navy) !important}
  .chances-bar b{color:var(--ap-navy) !important}

  /* ── زرّ «تصفير/Filters» ── */
  .job-filters .btn-outline, .jf-bottom .btn-outline, #jf-reset{
    background:#fff !important; border:1.5px solid var(--ap-navy) !important; color:var(--ap-navy) !important;
  }
  .job-filters #jf-error{color:#b02a2a !important}

  /* ── الجنس / الهاتف / بطاقة المراجعة ── */
  .gender-opt .icon{color:var(--ap-gold) !important}
  .phone-meter .pc-num{color:var(--ap-navy) !important}
  .phone-meter .pc-state{color:var(--ap-muted) !important}
  .rv-chip{background:var(--ap-field) !important; color:var(--ap-navy) !important}
  .ok-title, .ok-sub{color:var(--ap-navy) !important}


  /* ── محتوى كروت الوظائف: نصوص كحلية على أبيض (كانت بيضاء فوق خلفية داكنة) ── */
  #jobs-list .title, .job-head .title{color:var(--ap-navy) !important}
  .job-tags .job-code{
    color:#0f6d63 !important; background:#ffffff !important;
    border:1px solid #b8e2da !important; border-radius:8px !important;
  }
  .job-tags .job-cat{
    color:#8A6D2C !important; background:#ffffff !important;
    border:1px solid var(--ap-gold-soft) !important; border-radius:8px !important;
  }
  .job-state.is-open{color:#1d6b4f !important; background:#e8f7f0 !important; border:1px solid #b9e4d1 !important}
  .job-state.is-picked{color:#1c1405 !important; background:linear-gradient(140deg,var(--ap-gold),var(--ap-gold-2)) !important; border-color:transparent !important}
  .job-state.is-done{color:#4a5568 !important; background:#eef1f7 !important; border:1px solid #dbe2ee !important}
  #jobs-list .jm, .job-meta .jm{
    background:#f4f7fd !important; border:1px solid #e2e9f6 !important; color:var(--ap-ink) !important;
  }
  .jm .k, .jm .v, .jm span, .jm b{color:var(--ap-ink) !important}
  .jm svg, .jm .ic{color:var(--ap-gold) !important}
  #jobs-list .job-body{background:transparent !important}
  .job-pay, .job-salary{color:var(--ap-navy) !important}
  .job-pay b, .job-salary b{color:var(--ap-navy) !important}
  #jobs-list .job-details, #jobs-list .jobs-hint{color:var(--ap-muted) !important}
  #jobs-list .job-actions .btn-outline{background:#fff !important; border-color:var(--ap-navy) !important; color:var(--ap-navy) !important}
  #jobs-list .job-actions .btn-primary{
    background:linear-gradient(135deg,var(--ap-navy),var(--ap-navy-3)) !important;
    color:#fff !important; border:1.5px solid rgba(200,162,74,.5) !important;
  }
  .pick-mark{background:var(--ap-gold) !important; color:#1c1405 !important; border-color:#fff !important}
  .job-card.selected{border-color:var(--ap-gold) !important; box-shadow:0 0 0 2px rgba(200,162,74,.35),0 16px 34px rgba(18,48,92,.14) !important}
  /* بطاقة الوظيفة: إطار داخلي فاتح */
  #jobs-list .job-card::before{opacity:0 !important}
  #jobs-list .job-card{background:#ffffff !important}


  /* ── سطر الأجر داخل بطاقة الوظيفة + منطقة الأزرار ── */
  #jobs-list .job-pay, #jobs-list .job-pay-row, #jobs-list .job-salary{
    background:#ffffff !important; border:1px solid var(--ap-gold-soft) !important;
    color:#8A6D2C !important; border-radius:12px !important;
  }
  #jobs-list .job-pay *, #jobs-list .job-pay-row *, #jobs-list .job-salary *{
    color:#8A6D2C !important;
  }
  #jobs-list .job-pay b, #jobs-list .job-pay-row b, #jobs-list .job-salary b{
    color:#6b4f14 !important; font-weight:900 !important;
  }
  #jobs-list .job-actions{
    background:#f5f7f9 !important; border-top:1px solid var(--ap-line) !important;
    padding:14px 16px !important; margin:0 !important;
  }
  #jobs-list .job-actions .btn{min-height:52px}
  #jobs-list .job-actions .btn-outline{border-width:1.5px !important}

/* ═══════════════════════════════════════════════════════════════════════════
   2026-10-27 · المطابقة الحرفية لصور التصميم
   شاشة الترحيب + شاشات الخطوات — كريمي · كحلي · ذهب
   مع خلفية موجيّة تتنفّس، انتقالات هادئة، وضغط أزرار محسوس
   ═══════════════════════════════════════════════════════════════════════════ */
@media screen{

  /* ── 1) الرموز والخلفية ─────────────────────────────────────────────── */
  :root{
    --ap-cream:#ffffff; --ap-cream-2:#f4f7f9; --ap-cream-3:#ffffff;
    /* كحلي «منصة مكسب» #16304F وذهبه #C8A24A والأخضران #94D183 / #1F8F96 */
    --ap-navy:#16304F; --ap-navy-2:#0D2247; --ap-navy-3:#12305C;
    --ap-gold:#B08D3C; --ap-gold-2:#E3C479; --ap-gold-3:#9d7a2c; --ap-gold-soft:#f0e2bd;
    --mk-gold:#C8A24A; --mk-gold-2:#E3C479;
    --mk-green:#94D183; --mk-teal:#1F8F96;
    --ap-ink:#16294a; --ap-muted:#6c7a92;
    --ap-field:#e9eefb; --ap-field-2:#f4f7ff; --ap-field-line:#d3def2;
    --ap-card:#ffffff; --ap-line:#e4eaef;
    --ap-ease:cubic-bezier(.22,1,.36,1);
    --ap-sh-1:0 6px 18px rgba(18,48,92,.07);
    --ap-sh-2:0 16px 44px rgba(18,48,92,.10);
    --ap-sh-3:0 26px 66px rgba(18,48,92,.15);
    --fld-h:54px;
  }
  html{scroll-behavior:smooth}
  body{
    position:relative;   /* مثبّت للموجات: الأعلى في رأس المستند والأسفل في آخره */
    background-color:var(--ap-cream)!important;
    background-image:
      radial-gradient(760px 320px at 4% -4%,rgba(18,48,92,.13),transparent 72%),
      radial-gradient(900px 400px at 96% -10%,rgba(200,162,74,.22),transparent 72%),
      linear-gradient(180deg,#ffffff 0%,#ffffff 48%,#ffffff 100%)!important;
    color:var(--ap-ink)!important;
    -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
  }
  /* موجات أعلى الصفحة وأسفلها — نفس انحناء الصور، بتفاعل بطيء جداً */
  body::before,body::after{
    content:'';position:absolute;inset-inline:0;z-index:0;pointer-events:none;
    background-repeat:no-repeat;background-size:100% 100%;will-change:transform;
  }
  body::before{
    inset-block-start:0;height:clamp(148px,24vw,214px);
    background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 200' preserveAspectRatio='none'><path d='M0 0h1200v90c-165 45-350 67-600 67S165 135 0 90z' fill='%2312305c'/><path d='M0 0h1200v70c-165 39-350 57-600 57S165 109 0 70z' fill='%230c2247' opacity='.9'/><path d='M0 90c165 45 350 67 600 67s435-22 600-67v11c-165 47-350 69-600 69S165 149 0 101z' fill='%23C8A24A'/><path d='M0 101c165 47 350 69 600 69s435-22 600-69v9c-165 49-350 71-600 71S165 160 0 110z' fill='%23ffffff' opacity='.8'/></svg>");
    animation:apWaveTop 18s ease-in-out infinite alternate;
  }
  body::after{
    inset-block-end:0;height:clamp(104px,17vw,158px);
    background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 160' preserveAspectRatio='none'><path d='M0 160h1200v-52c-165-40-350-59-600-59S165 68 0 108z' fill='%2312305c'/><path d='M0 160h1200v-32c-165-36-350-53-600-53S165 92 0 128z' fill='%230c2247' opacity='.9'/><path d='M0 108c165-40 350-59 600-59s435 19 600 59v-11c-165-42-350-61-600-61S165 55 0 97z' fill='%23C8A24A'/><path d='M0 97c165-42 350-61 600-61s435 19 600 61v-9c-165-44-350-63-600-63S165 46 0 88z' fill='%23ffffff' opacity='.8'/></svg>");
    animation:apWaveBottom 18s ease-in-out infinite alternate;
  }
  @keyframes apWaveTop{from{transform:translate3d(0,0,0)}to{transform:translate3d(0,-7px,0)}}
  @keyframes apWaveBottom{from{transform:translate3d(0,0,0)}to{transform:translate3d(0,7px,0)}}

  /* ── 2) الحاوية والشريط العلوي ──────────────────────────────────────── */
  .app{
    width:100%;max-width:1120px;margin-inline:auto;
    padding:clamp(14px,2.4vw,40px) clamp(14px,2.6vw,40px) clamp(116px,17vw,168px);
    position:relative;z-index:1;
  }
  .topbar{
    background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;
    padding:clamp(2px,1vw,8px) 2px 0!important;margin-bottom:clamp(12px,2.6vw,20px)!important;gap:12px!important;
    width:100%;max-width:760px;margin-inline:auto!important;align-items:center!important;
  }
  .topbar svg{
    width:clamp(56px,15vw,72px)!important;height:auto!important;max-height:60px;flex:none;
    filter:drop-shadow(0 6px 16px rgba(0,0,0,.35));
  }
  /* بلاطة أيقونة التطبيق — نفس شكل الشعار في الصورة (كحلي بزوايا مستديرة) */
  .mk-tile{
    display:inline-grid;place-items:center;flex:none;
    width:var(--tile,56px);height:var(--tile,56px);
    border-radius:calc(var(--tile,56px) * .26);
    background:#16304F;
    box-shadow:0 10px 24px rgba(4,18,28,.35),inset 0 1px 0 rgba(255,255,255,.06);
  }
  .mk-tile svg{display:block;width:100%;height:100%;border-radius:inherit}
  .mk-tile-light{background:#fff;box-shadow:0 8px 20px rgba(4,18,28,.28),inset 0 0 0 1px rgba(1,47,62,.08)}
  .topbar .tb-logo{--tile:clamp(46px,12vw,56px)}
  .topbar .t1{
    color:#fff!important;font-size:clamp(17px,2.3vw,22px)!important;
    letter-spacing:-.01em;text-shadow:0 2px 12px rgba(0,0,0,.22);
  }
  .topbar .t2{
    color:rgba(255,255,255,.74)!important;font-size:clamp(10px,1.35vw,12px)!important;
    letter-spacing:.02em!important;direction:rtl!important;text-align:start;font-weight:700!important;
  }
  .topbar::after{
    content:'فرصتك لمستقبل أفضل'!important;
    color:#f7e9c6!important;border:1px solid rgba(255,255,255,.24)!important;
    background:rgba(255,255,255,.09)!important;border-radius:999px!important;
    padding:7px 16px!important;font-size:clamp(10px,1.4vw,13px)!important;font-weight:800!important;
    backdrop-filter:blur(4px);
  }
  @media(max-width:640px){.topbar::after{display:none!important}}

  /* ── 3) شاشة الترحيب «منصة مكسب» — موبايل أولاً (مطابقة الملصق) ──── */

  /* إطار الشاشة: بعرض الجوال على الهاتف، وعمود أنيق متمركز على الكمبيوتر */
  .mk-screen{
    position:relative;width:100%;max-width:640px;margin-inline:auto;
    background:var(--ap-cream);overflow:hidden;
    border-radius:0;
  }
  @media(min-width:641px){
    .mk-screen{
      border-radius:28px;border:1px solid rgba(200,162,74,.35);
      box-shadow:0 34px 90px rgba(13,34,71,.24);
    }
  }

  /* If the browser keeps its desktop viewport despite the meta setting, the
     landing page should at least use the available width and avoid four tiny columns. */
  html.phone-viewport-fallback .app{zoom:var(--phone-fit,1)}
  html.phone-wide-viewport .mk-screen{max-width:none;border:0;border-radius:0;box-shadow:none}
  html.phone-wide-viewport .mk-feats{grid-template-columns:repeat(2,minmax(0,1fr))}

  /* شريط علوي كحلي: هوية المنصة */
  .mk-top{
    display:flex;align-items:center;justify-content:space-between;gap:14px;
    background:linear-gradient(120deg,#14335c,#0c2145 70%,#0a1b39);
    padding:10px 16px;text-align:start;
    border-block-end:1px solid rgba(200,162,74,.35);
  }
  .mk-top-logo{--tile:clamp(38px,10vw,46px)}
  .mk-top-logo svg{display:block;width:100%;height:auto}
  .mk-top-t{min-width:0;text-align:start}
  .mk-top-t b{
    display:block;color:#fff;font-size:clamp(12px,3.2vw,14px);font-weight:900;
    letter-spacing:.01em;line-height:1.5;
  }
  .mk-top-t span{
    display:block;color:rgba(246,231,196,.72);font-size:clamp(9.5px,2.6vw,11px);
    font-weight:700;line-height:1.6;
  }

  /* الواجهة: صورة بغداد + الشعار + الوعد + زر البدء */
  .mk-hero{
    position:relative;isolation:isolate;overflow:hidden;
    display:flex;flex-direction:column;align-items:center;text-align:center;
    padding:clamp(16px,4.4vw,28px) clamp(16px,4.6vw,30px) clamp(74px,19vw,116px);
    background-color:#12294d;
    background-image:url("../img/mkseb-hero-m.webp");
    background-size:cover;background-position:center 42%;background-repeat:no-repeat;
  }
  @media(min-width:641px){
    .mk-hero{background-image:url("../img/mkseb-hero.webp");background-position:center 46%}
  }
  /* تعتيم متدرّج لقراءة النص فوق الصورة */
  .mk-hero-veil{
    position:absolute;inset:0;z-index:-1;
    background:
      linear-gradient(180deg,rgba(9,26,52,.55) 0%,rgba(9,26,52,.10) 24%,rgba(9,26,52,.34) 56%,rgba(9,26,52,.52) 100%),
      radial-gradient(78% 52% at 50% 62%,rgba(8,22,44,.62),rgba(8,22,44,0) 72%);
  }
  /* زاوية كحلية متدرّجة تنعم بلا حدود حادة (كما في الملصق) */
  .mk-hero::before{
    content:'';position:absolute;z-index:-1;inset-block-start:0;left:0;
    width:min(88%,430px);height:min(70%,360px);pointer-events:none;
    background:radial-gradient(118% 118% at 0% 0%,
      rgba(10,26,50,.94) 0%,
      rgba(10,26,50,.74) 34%,
      rgba(10,26,50,.34) 58%,
      rgba(10,26,50,.10) 76%,
      rgba(10,26,50,0) 88%);
  }

  /* الموجة الكريمية أسفل الصورة + خط ذهبي رفيع */
  .mk-sweep{
    position:absolute;inset-inline:0;inset-block-end:-1px;width:100%;height:clamp(110px,26vw,168px);
    z-index:-1;display:block;pointer-events:none;
  }

  /* الشعار */
  .mk-logo{
    position:relative;display:block;margin:2px auto 10px;
    --tile:clamp(96px,25vw,124px);
    filter:drop-shadow(0 16px 30px rgba(4,18,28,.45));
  }
  .mk-logo .mk-tile{display:grid;width:var(--tile);height:var(--tile);margin-inline:auto}
  .mk-logo::after{
    content:'';position:absolute;inset:-12% -18%;z-index:-1;border-radius:50%;
    background:radial-gradient(circle,rgba(200,162,74,.30),rgba(200,162,74,0) 66%);
    animation:mkHalo 6.5s ease-in-out infinite;
  }
  @keyframes mkHalo{0%,100%{opacity:.55;transform:scale(.97)}50%{opacity:.95;transform:scale(1.05)}}

  .mk-hero h1{
    margin:2px 0 0;font-size:clamp(24px,6.8vw,34px);font-weight:900;line-height:1.4;
    color:#fff;letter-spacing:-.01em;
    text-shadow:0 6px 26px rgba(4,14,30,.62),0 1px 3px rgba(4,14,30,.5);
  }
  .mk-hero h1 b{
    background:linear-gradient(100deg,#E8D089,#C8A24A 55%,#8A6D2C);
    -webkit-background-clip:text;background-clip:text;color:transparent;
    -webkit-text-fill-color:transparent;
  }
  .mk-tag{
    margin:2px 0 0;font-size:clamp(13px,3.6vw,16px);font-weight:800;
    color:#f7e9c6;line-height:1.7;text-shadow:0 4px 18px rgba(4,14,30,.6);
  }
  .mk-desc{
    margin:clamp(10px,2.6vw,16px) auto 0;max-width:32ch;
    font-size:clamp(12px,3.3vw,14px);line-height:2;font-weight:700;
    color:rgba(255,255,255,.96);text-shadow:0 3px 16px rgba(4,14,30,.6);
  }
  #welcome-status{
    min-height:0;margin:6px 0 0;font-size:clamp(10.5px,2.9vw,12.5px);font-weight:800;
    color:#f7e2ab;text-shadow:0 2px 10px rgba(6,18,36,.5);
  }
  #welcome-status:empty{display:none}

  /* زر البدء: كبسولة كحلية بإطار ذهبي (كما في الملصق) */
  .mk-cta{position:relative;z-index:2;width:100%;margin:clamp(16px,4vw,24px) 0 0}
  .mk-cta .btn{
    width:min(100%,330px);margin-inline:auto;min-height:clamp(52px,13vw,56px);
    border-radius:999px!important;
    font-size:clamp(15px,4vw,17px)!important;font-weight:900!important;gap:10px!important;
    background:linear-gradient(135deg,#E8D089,#C8A24A 55%,#8A6D2C)!important;
    color:#241A05!important;
    border:2px solid rgba(255,255,255,.55)!important;
    box-shadow:
      0 16px 34px rgba(21,128,61,.34),
      0 0 0 4px rgba(200,162,74,.14),
      inset 0 1px 0 rgba(255,255,255,.45)!important;
    transition:transform .22s var(--ap-ease),box-shadow .28s ease,filter .28s ease!important;
  }
  .mk-cta .btn svg{transition:transform .3s var(--ap-ease);opacity:.95}
  .mk-cta .btn:hover{transform:translateY(-2px);filter:brightness(1.06)}
  .mk-cta .btn:hover svg{transform:translateX(4px)}
  .mk-cta .btn:active{transform:translateY(1px) scale(.984)!important;box-shadow:0 6px 16px rgba(5,16,34,.4)!important}

  /* تفاصيل البطاقة (تظهر بعد قراءة البطاقة فقط) */
  .welcome-details{width:min(100%,330px);margin-top:12px;position:relative;z-index:2}
  .btn-card-details{
    background:rgba(255,253,248,.94)!important;border:1.5px solid rgba(200,162,74,.7)!important;
    color:var(--ap-navy)!important;border-radius:16px!important;
    min-height:54px!important;font-size:clamp(12.5px,3.2vw,14px)!important;font-weight:900!important;
    box-shadow:0 10px 24px rgba(6,18,36,.3)!important;
    backdrop-filter:blur(4px);
    transition:transform .2s var(--ap-ease),box-shadow .24s ease,background-color .24s ease!important;
  }
  .btn-card-details:hover{background:#fff!important;transform:translateY(-1px)}
  .btn-card-details:active{transform:translateY(1px) scale(.988)!important}
  .btn-card-details svg{color:#8A6D2C!important}
  .bcd-count{
    background:#ffffff!important;color:#8A6D2C!important;border:1px solid var(--ap-gold-soft)!important;
    border-radius:999px!important;padding:3px 11px!important;font-size:.86em!important;font-weight:900!important;
  }

  /* فاصل «خطوة بسيطة .. وباب جديد لفرصك» على الكريمي */
  .mk-sep{
    display:flex;align-items:center;gap:12px;
    background:var(--ap-cream);padding:clamp(6px,2vw,14px) clamp(16px,5vw,30px) 0;
  }
  .mk-sep::before,.mk-sep::after{
    content:'';flex:1;height:1px;
    background:linear-gradient(90deg,transparent,rgba(21,128,61,.65),transparent);
  }
  .mk-sep span{
    font-size:clamp(10px,2.8vw,12.5px);font-weight:800;color:#9a7833;
    white-space:nowrap;letter-spacing:.01em;
  }

  /* لماذا مكسب؟ */
  .mk-why{
    background:var(--ap-cream);padding:clamp(16px,4.6vw,28px) clamp(14px,4.6vw,30px) clamp(22px,5vw,34px);
    text-align:center;
  }
  .mk-why-t{
    display:flex;align-items:center;justify-content:center;gap:clamp(10px,3vw,18px);
    margin:0;font-size:clamp(19px,5.4vw,26px);font-weight:900;color:var(--ap-navy);line-height:1.5;
  }
  .mk-why-t::before,.mk-why-t::after{
    content:'';width:clamp(26px,9vw,58px);height:1.5px;border-radius:2px;
    background:linear-gradient(90deg,transparent,rgba(21,128,61,.85));
  }
  .mk-why-t::after{background:linear-gradient(90deg,rgba(21,128,61,.85),transparent)}
  .mk-why-s{
    margin:4px 0 clamp(14px,4vw,22px);font-size:clamp(11.5px,3.1vw,13.5px);
    font-weight:800;color:#8a7448;
  }
  .mk-feats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(10px,3vw,16px)}
  .mk-feat{
    position:relative;display:grid;justify-items:center;gap:6px;text-align:center;
    padding:clamp(10px,3vw,16px) clamp(6px,2vw,12px);
  }
  .mk-feat-ic{
    display:grid;place-items:center;width:clamp(44px,12vw,54px);height:clamp(44px,12vw,54px);
    border-radius:clamp(12px,3.4vw,16px);
    background:linear-gradient(160deg,#ffffff,#f9f1de);
    border:1px solid rgba(200,162,74,.45);color:var(--ap-navy);
    box-shadow:0 6px 16px rgba(120,92,36,.10);
  }
  .mk-feat-ic svg{width:clamp(22px,6vw,26px);height:clamp(22px,6vw,26px)}
  .mk-feat b{
    font-size:clamp(12px,3.3vw,14px);font-weight:900;color:var(--ap-navy);line-height:1.5;
  }
  .mk-feat i{
    font-style:normal;font-size:clamp(10px,2.8vw,12px);line-height:1.85;
    color:#7d7259;font-weight:700;
  }
  /* فواصل ذهبية رفيعة بين البطاقات (كما في الملصق) */
  @media(min-width:720px){
    .mk-feats{grid-template-columns:repeat(4,minmax(0,1fr))}
    .mk-feat + .mk-feat::before{
      content:'';position:absolute;inset-block:12%;inset-inline-start:0;width:1px;
      background:linear-gradient(180deg,transparent,rgba(200,162,74,.55),transparent);
    }
  }
  @media(max-width:719px){
    .mk-feat:nth-child(n+3){border-top:1px solid rgba(200,162,74,.28);padding-top:clamp(12px,3.4vw,18px)}
  }

  /* خاتمة كحلية بموجة ذهبية (كما في الملصق) */
  .mk-end{position:relative;background:var(--ap-cream);padding-top:clamp(28px,7vw,44px)}
  .mk-end-wave{display:block;width:100%;height:clamp(52px,13vw,84px)}
  .mk-end-in{
    background:linear-gradient(180deg,#0d2247,#0a1b39);
    padding:clamp(14px,3.6vw,20px) 16px clamp(20px,5vw,30px);
    text-align:center;font-size:clamp(10.5px,2.8vw,12.5px);font-weight:700;
    color:rgba(247,233,198,.82);letter-spacing:.01em;
  }

  /* على شاشة الترحيب: موجات الصفحة العامة تختفي (للترحيب تركيبته الخاصة) */
  body[data-step="0"]::before,body[data-step="0"]::after{display:none!important}
  body[data-step="0"] .app{padding-block:0!important;padding-inline:0!important}
  body[data-step="0"] .footer{display:none!important}

  .mk-anim{animation:mkRise .6s var(--ap-ease) both}
  @keyframes mkRise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}

  /* ظهور متتالٍ لبطاقات المزايا عند الوصول إليها (انسيابي لا مفاجئ) */
  .mk-feat.mk-wait{opacity:0;transform:translateY(16px)}
  .mk-feat.mk-wait.mk-in{animation:mkFeatIn .62s var(--ap-ease) forwards}
  .mk-feat.mk-wait:nth-child(2).mk-in{animation-delay:.07s}
  .mk-feat.mk-wait:nth-child(3).mk-in{animation-delay:.14s}
  .mk-feat.mk-wait:nth-child(4).mk-in{animation-delay:.21s}
  @keyframes mkFeatIn{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
  @media(prefers-reduced-motion:reduce){
    .mk-feat.mk-wait{opacity:1!important;transform:none!important;animation:none!important}
  }

  /* ── 4) شريط التقدّم ───────────────────────────────────────────────── */
  .steps-bar{
    flex-direction:column!important;align-items:stretch!important;gap:10px!important;
    width:100%;max-width:760px;margin-inline:auto!important;
    background:#ffffff!important;border:1px solid var(--ap-line)!important;border-radius:18px!important;
    padding:14px 16px!important;box-shadow:var(--ap-sh-1)!important;
    margin-bottom:clamp(14px,3vw,20px)!important;
  }
  .steps-track{gap:7px!important;justify-content:flex-start!important;direction:ltr;flex:1 1 auto!important}
  .step-dot{
    flex:1 1 0!important;height:7px!important;border-radius:99px!important;
    background:#e3e9f4!important;box-shadow:none!important;
    transition:background .5s var(--ap-ease),box-shadow .5s ease,flex-basis .5s var(--ap-ease)!important;
  }
  .step-dot.done{background:linear-gradient(90deg,var(--mk-teal),var(--mk-green))!important}
  .step-dot.active{
    background:linear-gradient(90deg,var(--mk-gold),var(--mk-gold-2))!important;
    box-shadow:0 0 0 3px rgba(200,162,74,.22)!important;
  }
  .step-label{
    display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:6px!important;
    text-align:start!important;margin:0!important;
    font-size:clamp(11.5px,3vw,13.5px)!important;font-weight:800!important;color:var(--ap-muted)!important;
  }
  .step-label b{color:var(--ap-navy)!important;font-weight:900}
  .step-label .pct{
    margin-inline-start:auto!important;padding:3px 12px!important;border-radius:999px!important;
    background:var(--ap-field)!important;border:1px solid var(--ap-field-line)!important;
    color:var(--ap-navy)!important;font-weight:900!important;font-size:.94em!important;
  }

  /* ── 5) بطاقة الخطوة ───────────────────────────────────────────────── */
  .profile-card{
    display:grid!important;grid-template-columns:1fr!important;gap:0!important;
    align-items:start!important;min-height:0!important;
    padding:clamp(18px,4vw,28px)!important;
    background:#ffffff!important;border:1px solid var(--ap-line)!important;border-radius:24px!important;
    box-shadow:var(--ap-sh-2)!important;position:relative;overflow:hidden;
    max-width:760px;margin-inline:auto;width:100%;
  }
  .profile-card::before{
    content:'';position:absolute;inset-block-start:0;inset-inline-start:0;width:100%;height:4px;
    background:linear-gradient(90deg,var(--ap-gold),var(--ap-gold-2) 40%,rgba(200,162,74,0));
  }
  .profile-card::after{display:none!important}
  .step-intro{
    border:0!important;padding:0 0 16px!important;margin:0!important;
  }
  .step-eyebrow{
    display:inline-block;margin-bottom:10px!important;padding:5px 12px!important;
    border-radius:999px!important;background:var(--ap-field)!important;
    border:1px solid var(--ap-field-line)!important;color:var(--ap-navy)!important;
    font-size:clamp(10px,2.7vw,12px)!important;font-weight:900!important;letter-spacing:.02em;
  }
  .step-intro h1,.step-intro h2{
    padding:0!important;font-size:clamp(19px,4.6vw,25px)!important;line-height:1.5!important;
    color:var(--ap-navy)!important;margin:0 0 8px!important;letter-spacing:-.01em;
  }
  .step-intro h1::before,.step-intro h2::before{display:none!important}
  .step-intro p{
    font-size:clamp(12px,3.1vw,14px)!important;line-height:1.95!important;
    color:var(--ap-muted)!important;margin:0!important;
  }
  .step-assurance{
    display:none!important;
  }
  .step-fields{padding:0!important;background:transparent!important;border:0!important;border-radius:0!important}
  .section-title{
    font-size:clamp(14px,3.6vw,17px)!important;font-weight:900!important;
    color:var(--ap-navy)!important;gap:9px!important;margin-bottom:12px!important;
  }
  .section-title::before{
    width:4px!important;height:20px!important;border-radius:99px!important;
    background:linear-gradient(180deg,var(--ap-gold),var(--ap-gold-2))!important;
  }

  /* ── 6) الحقول: أزرق فاتح + أيقونة داخل الحقل ───────────────────────── */
  .form-group{margin-bottom:16px!important}
  .form-group label{
    display:block!important;font-size:clamp(12px,3vw,13.5px)!important;font-weight:800!important;
    color:var(--ap-navy)!important;margin-bottom:7px!important;
    transition:color .2s ease;
  }
  .form-group:focus-within label{color:var(--ap-navy-3)!important}
  .form-group input,.form-group select{
    width:100%;min-height:var(--fld-h)!important;
    padding:13px 15px!important;border-radius:14px!important;
    font-size:clamp(14px,3.4vw,15px)!important;font-weight:700;
    background:var(--ap-field)!important;border:1.5px solid var(--ap-field-line)!important;
    color:var(--ap-ink)!important;
    transition:border-color .24s ease,box-shadow .24s ease,background-color .24s ease!important;
  }
  .form-group input::placeholder{color:#9aa9c1!important;font-weight:600}
  .form-group input:focus,.form-group select:focus{
    background:#f7faff!important;border-color:var(--ap-gold)!important;
    box-shadow:0 0 0 4px rgba(200,162,74,.16)!important;outline:none!important;
  }
  .form-group input.valid,.form-group select.valid{
    border-color:#1f8f4e!important;box-shadow:0 0 0 4px rgba(31,143,78,.12)!important;
  }
  .form-group input.invalid,.form-group select.invalid{
    border-color:#c0392b!important;box-shadow:0 0 0 4px rgba(192,57,43,.12)!important;
  }
  /* الأيقونة داخل الحقل */
  .fld{position:relative}
  .fld-ic{
    position:absolute;inset-inline-start:15px;inset-block-start:calc((var(--fld-h) - 20px)/2);
    width:20px;height:20px;color:var(--ap-gold-3);opacity:.85;pointer-events:none;
    transition:color .24s ease,opacity .24s ease;
  }
  .fld input{padding-inline-start:47px!important}
  .fld:focus-within .fld-ic{color:var(--ap-navy);opacity:1}
  .phone-meter{margin-top:10px!important;gap:9px!important}
  .phone-meter .pc-num{color:var(--ap-navy)!important;font-size:clamp(12px,3vw,14px)!important}
  .phone-meter .pc-of{color:var(--ap-muted)!important;font-size:.78em!important}
  .phone-meter .pc-track{height:6px!important;border-radius:99px!important;background:#dde5f2!important}
  .phone-meter .pc-track i{background:linear-gradient(90deg,var(--ap-navy-3),var(--ap-gold))!important;border-radius:99px!important}
  .phone-meter .pc-state{color:var(--ap-muted)!important;font-size:.8em!important}
  .phone-meter .pc-state.bad{color:#b02a2a!important}

  /* ── 7) الأزرار: ضغط محسوس وحركة هادئة ─────────────────────────────── */
  .btn{
    min-height:54px!important;border-radius:14px!important;
    font-size:clamp(13.5px,3.4vw,15px)!important;font-weight:900!important;
    transition:transform .2s var(--ap-ease),box-shadow .26s ease,filter .26s ease,
               background-color .26s ease,border-color .26s ease!important;
    will-change:transform;
  }
  .btn-primary{
    background:linear-gradient(135deg,var(--ap-navy-2),var(--ap-navy) 48%,var(--ap-navy-3))!important;
    color:#fff!important;border:1px solid rgba(200,162,74,.5)!important;
    box-shadow:0 10px 24px rgba(13,34,71,.22),inset 0 1px 0 rgba(255,255,255,.14)!important;
  }
  .btn-outline{
    background:#ffffff!important;border:1.5px solid var(--ap-navy)!important;
    color:var(--ap-navy)!important;box-shadow:0 5px 16px rgba(18,48,92,.07)!important;
  }
  .btn:not(:disabled):hover{transform:translateY(-1.5px);filter:brightness(1.02)}
  .btn-primary:not(:disabled):hover{box-shadow:0 16px 30px rgba(13,34,71,.28)!important}
  .btn-outline:not(:disabled):hover{background:var(--ap-field)!important}
  .btn:not(:disabled):active{
    transform:translateY(1px) scale(.986)!important;
    box-shadow:0 3px 10px rgba(13,34,71,.2)!important;filter:brightness(.99);
  }
  .btn:disabled{opacity:.45!important;box-shadow:none!important}
  .btn:focus-visible,.btn-card-details:focus-visible,.gender-opt:focus-visible,.job-card:focus-visible{
    outline:3px solid var(--ap-gold)!important;outline-offset:3px;
  }
  .btn-row{gap:10px!important;margin-top:16px!important}
  .btn-row .btn{flex:1 1 0!important}
  .page:not(#pg-jobs) > .btn-row{width:100%;max-width:760px;margin-inline:auto}
  @media(max-width:640px){
    .page .btn-row{flex-direction:column-reverse!important}
    .page .btn-row .btn{width:100%!important;flex:0 0 auto!important}
  }

  /* ── 8) التذييل ────────────────────────────────────────────────────── */
  .footer{
    margin-top:clamp(18px,3vw,28px)!important;padding:12px 0 0!important;
    text-align:center;font-size:clamp(10.5px,2.8vw,12.5px)!important;font-weight:700;
    color:#7b8698!important;letter-spacing:.02em;
    border-top:1px solid rgba(200,162,74,.28);
    max-width:820px;margin-inline:auto;
  }

  /* ── 9) موجات الضغط (Ripple) ───────────────────────────────────────── */
  .btn,.btn-card-details,.gender-opt,.jf-more,.mk-feat{overflow:hidden}
  .ap-rp{
    position:absolute;width:140px;height:140px;border-radius:50%;pointer-events:none;z-index:0;
    transform:translate(-50%,-50%) scale(0);
    background:radial-gradient(circle,rgba(255,255,255,.4),rgba(255,255,255,0) 68%);
    animation:apRipple .62s var(--ap-ease) forwards;
  }
  .btn-outline .ap-rp,.btn-card-details .ap-rp,.gender-opt .ap-rp,.mk-feat .ap-rp{
    background:radial-gradient(circle,rgba(200,162,74,.42),rgba(200,162,74,0) 68%);
  }
  @keyframes apRipple{
    from{opacity:.85;transform:translate(-50%,-50%) scale(0)}
    to{opacity:0;transform:translate(-50%,-50%) scale(1.15)}
  }

  /* ── 10) صفحة الوظائف: فلاترها على الخلفية الفاتحة ─────────────────── */
  .jf-ic{color:var(--ap-gold-3)!important;opacity:.95}
  .jf-bar input::placeholder{color:#8494ad!important}
  /* هالة النيون التركوازية القديمة تُلغى على الخلفية الفاتحة */
  .job-filters::after{display:none!important}
  .job-filters::before{
    background:linear-gradient(90deg,transparent,var(--ap-gold),transparent)!important;
    opacity:.9!important;
  }
  .job-filters:focus-within{
    border-color:rgba(200,162,74,.55)!important;
    box-shadow:0 10px 30px rgba(18,48,92,.10)!important;
  }
  .jf-more{
    color:var(--ap-navy)!important;border:1.5px solid var(--ap-navy)!important;
    background:#ffffff!important;box-shadow:0 4px 14px rgba(18,48,92,.07)!important;
    transition:transform .2s var(--ap-ease),background-color .24s ease,border-color .24s ease!important;
  }
  .jf-more:hover{background:var(--ap-field)!important;border-color:var(--ap-gold)!important}
  .jf-more[aria-expanded="true"]{background:var(--ap-field)!important;box-shadow:0 0 0 3px rgba(200,162,74,.16)!important}
  .jf-more.has-filters{background:linear-gradient(140deg,var(--ap-gold),var(--ap-gold-2))!important;color:#1c1405!important;border-color:transparent!important}
  .jf-more:not(:disabled):active{transform:translateY(1px) scale(.985)}
  .jf-badge{background:var(--ap-navy)!important;color:#fff!important}
  .jf-reset{
    color:var(--ap-navy)!important;border:1.5px solid var(--ap-field-line)!important;
    background:#ffffff!important;
  }
  .jf-reset:hover{color:var(--ap-gold-3)!important;border-color:var(--ap-gold)!important;background:var(--ap-field)!important}
  .jf-chips{border-top:1px solid var(--ap-line)!important}
  .jf-chip{color:#8A6D2C!important;background:#ffffff!important;border:1px solid var(--ap-gold-soft)!important}
  .jf-chip:hover{background:#ffffff!important;border-color:var(--ap-gold)!important}
  .jf-chip-x{background:rgba(122,95,33,.14)!important;color:#8A6D2C!important}
  .jf-chip:hover .jf-chip-x{background:var(--ap-gold)!important;color:#fff!important}
  .jf-panel{
    background:#ffffff!important;border:1px solid var(--ap-line)!important;border-radius:16px!important;
  }
  .jf-panel-title{color:var(--ap-navy)!important}
  .jf-panel-hint{color:var(--ap-muted)!important}
  .jf-cell label{color:var(--ap-navy)!important}
  .jf-panel input::placeholder{color:#93a3bd!important}
  .jf-panel-foot{border-top:1px solid var(--ap-line)!important}
  .jf-panel-foot .btn{
    color:var(--ap-navy)!important;border:1.5px solid var(--ap-navy)!important;
    background:#ffffff!important;
  }
  .job-filters .jf-check{color:var(--ap-navy)!important;font-weight:800}
  .chances-bar.has2{background:#ffffff!important;border-color:#bfe0cb!important;color:#1a6b3f!important}
  .chances-bar.has1{background:#ffffff!important;border-color:var(--ap-gold-soft)!important;color:#8A6D2C!important}
  .chances-bar.has0{background:#fdecea!important;border-color:#f2c8c2!important;color:#a3341f!important}
  .chances-bar.has2 b,.chances-bar.has1 b,.chances-bar.has0 b{color:inherit!important}
  .job-filters #jobs-count{
    color:var(--ap-navy)!important;background:var(--ap-field)!important;
    border:1px solid var(--ap-field-line)!important;box-shadow:none!important;
    border-top:1px solid var(--ap-field-line)!important;
  }
  .job-filters #jobs-count::before{background:var(--ap-gold)!important;box-shadow:none!important}
  .job-filters #jobs-count b{color:var(--ap-navy)!important}
  .jf-meta .jf-note{color:var(--ap-muted)!important}
  #jobs-empty{
    color:var(--ap-muted)!important;background:#ffffff!important;
    border:1px dashed var(--ap-line)!important;border-radius:18px!important;padding:26px 18px!important;
  }
  #jobs-empty p{color:var(--ap-muted)!important;font-weight:700;line-height:1.9}
  .jobs-hint{border:1px dashed rgba(200,162,74,.45)!important}
  .jobs-hint.picked{background:#ffffff!important;color:#8A6D2C!important;border-style:solid!important}
  .jobs-hint b{color:#6b4f14!important}

  /* شاشة الوظائف تبقى بعرض الصفحة الكامل */
  body[data-step="6"] .steps-bar{max-width:none!important}
  body[data-step="6"] .page > .btn-row{max-width:none!important}

  /* ── 11) لمسات أخيرة ───────────────────────────────────────────────── */
  #welcome-status:empty{min-height:0!important;margin:0!important}
  .topbar{border-radius:0!important}

  @media(prefers-reduced-motion:reduce){
    body::before,body::after,.mk-logo::after{animation:none!important}
    .ap-rp{display:none!important}
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   2026-10-27 · حيوية الصفحات (ترحيب + خطوات الإدخال)
   ألوان حيّة · إطارات متدرّجة · حركات ناعمة · ولوحة أزرار لا تقفز مع الكيبورد
   ═══════════════════════════════════════════════════════════════════════════ */
@media screen{

  /* ── 1) خلفية حيّة: هالات ملوّنة تسبح ببطء خلف المحتوى ───────────────── */
  body[data-step]:not([data-step="0"]) .app::before,
  body[data-step]:not([data-step="0"]) .app::after{
    content:'';position:fixed;z-index:0;pointer-events:none;border-radius:50%;
    width:min(74vw,520px);aspect-ratio:1;filter:blur(6px);
    animation:apFloat 16s ease-in-out infinite alternate;
  }
  body[data-step]:not([data-step="0"]) .app::before{
    inset-block-start:4%;inset-inline-start:-16%;
    background:radial-gradient(circle,rgba(200,162,74,.16),rgba(200,162,74,0) 68%);
  }
  body[data-step]:not([data-step="0"]) .app::after{
    inset-block-end:-6%;inset-inline-end:-18%;animation-delay:-6s;
    background:radial-gradient(circle,rgba(1,47,62,.16),rgba(1,47,62,0) 68%);
  }
  @keyframes apFloat{
    from{transform:translate3d(0,0,0) scale(1)}
    to{transform:translate3d(16px,-22px,0) scale(1.08)}
  }

  /* ── 2) بطاقة الخطوة: شريط ألوان أعلى + إطار متدرّج + دخول ناعم ─────── */
  .profile-card{
    border:1.5px solid transparent!important;
    background:
      linear-gradient(#ffffff,#ffffff) padding-box,
      linear-gradient(135deg,rgba(1,47,62,.55),rgba(200,162,74,.75) 45%,rgba(63,177,144,.5)) border-box!important;
    box-shadow:0 22px 54px rgba(1,47,62,.13),0 2px 0 rgba(255,255,255,.9) inset!important;
    overflow:hidden;
  }
  .profile-card::before{
    height:6px!important;
    background:linear-gradient(90deg,#16304F,#12305C 28%,#C8A24A 58%,#94D183 84%,#1F8F96)!important;
    background-size:220% 100%!important;
    animation:apRibbon 9s linear infinite;
  }
  @keyframes apRibbon{from{background-position:0% 0}to{background-position:220% 0}}

  /* عنوان الخطوة: شريحة ذهبية صغيرة تحت العنوان */
  .step-intro h2{position:relative;padding-block-end:9px}
  .step-intro h2::after{
    content:'';position:absolute;inset-block-end:0;inset-inline-start:0;
    width:56px;height:4px;border-radius:99px;
    background:linear-gradient(90deg,#C8A24A,rgba(200,162,74,0));
  }
  .step-eyebrow{
    background:linear-gradient(135deg,#eef4ff,#e6f6ef)!important;
    border-color:#cfe0f5!important;
    box-shadow:0 2px 6px rgba(1,47,62,.06);
  }
  .section-title::before{
    width:5px!important;height:22px!important;
    background:linear-gradient(180deg,#C8A24A,#1F8F96)!important;
    box-shadow:0 2px 8px rgba(200,162,74,.35);
  }

  /* ── 3) الحقول: إطار متدرّج، أيقونة في كبسولة، ورفع خفيف عند التركيز ── */
  .form-group{position:relative}
  .form-group label{
    display:flex!important;align-items:center;gap:6px;
    letter-spacing:.01em;
  }
  .form-group label .req{font-size:1.05em;line-height:1}
  .fld{
    position:relative;border-radius:16px;
    transition:transform .22s var(--ap-ease),filter .22s ease;
  }
  .form-group input,.form-group select{
    border-radius:14px!important;
    background:linear-gradient(180deg,#eef3fd,#e8eefb)!important;
    border:1.5px solid #cfdcf0!important;
    box-shadow:0 1px 0 #fff inset,0 1px 3px rgba(1,47,62,.04);
  }
  .fld input,.fld select{padding-inline-start:50px!important}
  .fld-ic{
    inset-inline-start:14px;width:24px;height:24px;padding:3px;box-sizing:content-box;
    border-radius:9px;background:#ffffff;border:1px solid rgba(200,162,74,.45);
    color:#8A6D2C!important;opacity:1!important;
    box-shadow:0 2px 6px rgba(1,47,62,.06);
    transition:background .22s ease,border-color .22s ease,color .22s ease,transform .22s var(--ap-ease)!important;
  }
  .fld:focus-within .fld-ic{
    background:#16304F;border-color:#16304F;color:#C8A24A!important;transform:scale(1.04);
  }
  .form-group input:focus,.form-group select:focus{
    background:#fbfdff!important;
    border-color:#C8A24A!important;
    box-shadow:0 0 0 4px rgba(200,162,74,.2),0 10px 22px rgba(1,47,62,.08)!important;
  }
  .fld:focus-within{transform:translateY(-2px)}
  .form-group select:disabled{
    background:#f3f5f8!important;border-color:#e3e8f0!important;
    color:#9aa6b8!important;cursor:not-allowed;
  }
  .form-group select:disabled + .fld-ic{opacity:.55!important}
  .form-group input.valid,.form-group select.valid{
    border-color:#1F8F96!important;
    box-shadow:0 0 0 4px rgba(63,177,144,.14)!important;
  }
  .form-group input.invalid,.form-group select.invalid{
    border-color:#c0392b!important;box-shadow:0 0 0 4px rgba(192,57,43,.13)!important;
  }

  /* ── 4) الأزرار: كحلي بحدود ذهبية + لمعة تمرّ + رفع/ضغط محسوس ───────── */
  .btn{position:relative;overflow:hidden;isolation:isolate}
  .btn-primary{
    background:linear-gradient(135deg,#12305C,#16304F 55%,#0D2247)!important;
    border:1.5px solid rgba(200,162,74,.85)!important;
    box-shadow:0 12px 26px rgba(1,47,62,.3),inset 0 1px 0 rgba(255,255,255,.16)!important;
  }
  .btn-primary::before{
    content:'';position:absolute;inset-block:0;inset-inline-start:-60%;width:45%;z-index:-1;
    background:linear-gradient(100deg,transparent,rgba(255,255,255,.28),transparent);
    transform:skewX(-18deg);
    animation:apShine 4.6s ease-in-out infinite;
  }
  @keyframes apShine{
    0%,72%{inset-inline-start:-60%}
    92%,100%{inset-inline-start:130%}
  }
  .btn-outline{
    background:#ffffff!important;
    border:1.5px solid #cfdcf0!important;
    color:#16304F!important;
    box-shadow:0 6px 16px rgba(1,47,62,.07)!important;
  }
  .btn-outline:hover{border-color:#C8A24A!important;background:#fffaf0!important}
  .btn:not(:disabled):hover{transform:translateY(-2px)}
  .btn-primary:not(:disabled):hover{box-shadow:0 18px 34px rgba(1,47,62,.34)!important}

  /* ── 5) الجنس: بطاقتان ملوّنتان بعلامة اختيار ────────────────────────── */
  .gender-grid{gap:12px!important}
  .gender-opt{
    position:relative;border-radius:18px!important;
    background:linear-gradient(160deg,#ffffff,#f7f9fb)!important;
    border:1.5px solid #d7e3f5!important;
    transition:transform .22s var(--ap-ease),box-shadow .24s ease,border-color .24s ease,background .24s ease!important;
  }
  .gender-opt:hover{transform:translateY(-2px);border-color:#C8A24A!important;box-shadow:0 12px 26px rgba(1,47,62,.1)}
  .gender-opt.selected{
    background:linear-gradient(160deg,#ffffff,#e6f2ff)!important;
    border-color:#1F8F96!important;
    box-shadow:0 0 0 3px rgba(63,177,144,.18),0 12px 26px rgba(1,47,62,.1)!important;
  }
  .gender-opt.selected::after{
    content:'✓';position:absolute;inset-block-start:8px;inset-inline-start:10px;
    width:22px;height:22px;display:grid;place-items:center;border-radius:50%;
    background:#1F8F96;color:#fff;font-size:12px;font-weight:900;
    box-shadow:0 4px 10px rgba(63,177,144,.45);
    animation:apPop .3s var(--ap-ease) both;
  }
  @keyframes apPop{from{transform:scale(0)}to{transform:scale(1)}}
  .gender-opt .icon{
    display:grid!important;place-items:center;
    width:62px;height:62px;margin:0 auto 10px!important;
    background:linear-gradient(145deg,#ffffff,#ffeeb8);
    border:1px solid rgba(200,162,74,.55);border-radius:18px;
    box-shadow:0 6px 14px rgba(200,162,74,.22);
    font-size:0!important;line-height:0;
    transition:transform .24s var(--ap-ease),background .24s ease,border-color .24s ease,box-shadow .24s ease;
  }
  .gender-opt .icon svg{width:32px;height:32px;color:#8A6D2C}
  .gender-opt.selected .icon{
    background:linear-gradient(145deg,#eaf9f3,#d9f2e8);
    border-color:rgba(63,177,144,.6);
    box-shadow:0 8px 18px rgba(63,177,144,.24);
    transform:scale(1.06);
  }
  .gender-opt.selected .icon svg{color:#1f6f5b}
  .gender-opt{font-size:19px!important;font-weight:900!important}
  .gender-opt.selected{color:#0e3a2f!important}

  /* ── 6) شريط التقدّم: تعبئة متحركة + توهّج ذهبي ──────────────────────── */
  .steps-bar{border-color:#e6dcc6!important;box-shadow:0 10px 26px rgba(1,47,62,.08)!important}
  .step-dot{
    transition:background .5s var(--ap-ease),box-shadow .5s ease,transform .35s var(--ap-ease)!important;
  }
  .step-dot.done{box-shadow:0 0 10px rgba(63,177,144,.4)!important}
  .step-dot.active{animation:apDot 2.6s ease-in-out infinite}
  @keyframes apDot{
    0%,100%{box-shadow:0 0 0 3px rgba(200,162,74,.18)}
    50%{box-shadow:0 0 0 6px rgba(200,162,74,.10)}
  }
  .step-label .pct{
    background:linear-gradient(135deg,#ffffff,#F2E2AC)!important;
    border-color:#f2d98a!important;color:#8A6D2C!important;
    box-shadow:0 2px 8px rgba(200,162,74,.2);
  }

  /* ── 7) شاشة الترحيب: حركة أوضح للشعار والزر ─────────────────────────── */
  .mk-logo{animation:mkFloat 5.5s ease-in-out infinite}
  @keyframes mkFloat{
    0%,100%{transform:translateY(0)}
    50%{transform:translateY(-7px)}
  }
  .mk-logo .mk-tile{box-shadow:0 22px 40px rgba(1,47,62,.4),0 0 0 6px rgba(200,162,74,.14),inset 0 1px 0 rgba(255,255,255,.1)}
  .mk-cta .btn{border-width:2px!important;animation:mkBreath 3.6s ease-in-out infinite}
  @keyframes mkBreath{
    0%,100%{box-shadow:0 16px 34px rgba(5,16,34,.42),0 0 0 4px rgba(200,162,74,.12),inset 0 1px 0 rgba(255,255,255,.22)}
    50%{box-shadow:0 20px 40px rgba(21,128,61,.42),0 0 0 8px rgba(200,162,74,.10),inset 0 1px 0 rgba(255,255,255,.5)}
  }
  /* كلمة «مكسب»: أخضر نيون واضح مع هالة خفيفة (بلا تدرّج يشوّش القراءة) */
  .mk-hero h1 b{
    background:none!important;
    -webkit-background-clip:initial!important;background-clip:initial!important;
    -webkit-text-fill-color:#E3C479!important;
    color:#E3C479!important;
    text-shadow:0 0 18px rgba(200,162,74,.55),0 4px 18px rgba(4,14,30,.5);
    animation:none!important;
  }
  @media(prefers-reduced-motion:reduce){
    .mk-cta .btn,.mk-hero h1 b{animation:none!important}
  }
  .mk-feat{
    border:1.5px solid transparent!important;
    background:linear-gradient(#ffffff,#ffffff) padding-box,
               linear-gradient(150deg,rgba(200,162,74,.55),rgba(63,177,144,.28)) border-box!important;
    transition:transform .26s var(--ap-ease),box-shadow .26s ease!important;
  }
  .mk-feat:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(1,47,62,.1)}
  .mk-feat-ic{
    background:linear-gradient(150deg,#fff8e6,#ffffff)!important;
    border-color:rgba(200,162,74,.5)!important;
  }
  /* لكل ميزة لونها من هوية الشعار (ذهب · أخضر · تركوازي · كحلي) */
  .mk-feat:nth-child(1) .mk-feat-ic{
    background:linear-gradient(150deg,#fff6d8,#ffe9a8)!important;
    border-color:rgba(200,162,74,.6)!important;color:#8A6D2C!important;
  }
  .mk-feat:nth-child(2) .mk-feat-ic{
    background:linear-gradient(150deg,#eef9e9,#d7f0cd)!important;
    border-color:rgba(148,209,131,.75)!important;color:#3f7a2c!important;
  }
  .mk-feat:nth-child(3) .mk-feat-ic{
    background:linear-gradient(150deg,#e8f8f3,#cdeee4)!important;
    border-color:rgba(63,177,144,.65)!important;color:#1f6f5b!important;
  }
  .mk-feat:nth-child(4) .mk-feat-ic{
    background:linear-gradient(150deg,#e9f0fa,#d3e2f6)!important;
    border-color:rgba(1,47,62,.32)!important;color:#16304F!important;
  }
  .mk-feat{
    border-width:1px!important;border-radius:18px!important;
    padding:clamp(12px,3.2vw,18px) clamp(8px,2.4vw,14px)!important;
    box-shadow:0 8px 20px rgba(1,47,62,.05)!important;
  }
  .mk-feat:nth-child(1){background:linear-gradient(#ffffff,#ffffff) padding-box,linear-gradient(150deg,rgba(200,162,74,.42),rgba(200,162,74,.08)) border-box!important}
  .mk-feat:nth-child(2){background:linear-gradient(#ffffff,#ffffff) padding-box,linear-gradient(150deg,rgba(148,209,131,.55),rgba(148,209,131,.10)) border-box!important}
  .mk-feat:nth-child(3){background:linear-gradient(#ffffff,#ffffff) padding-box,linear-gradient(150deg,rgba(63,177,144,.55),rgba(63,177,144,.10)) border-box!important}
  .mk-feat:nth-child(4){background:linear-gradient(#ffffff,#ffffff) padding-box,linear-gradient(150deg,rgba(1,47,62,.28),rgba(200,162,74,.16)) border-box!important}

  /* ── 8) لوحة الأزرار مع الكيبورد: لا قفزة، ولا اختفاء ───────────────── */
  /* البطاقة لا تتمدّد مع ارتفاع نافذة العرض المتغيّر (كان سبب الطفرة) */
  .page.active{min-height:0!important}
  body.keyboard-navigation-open .page.active{min-height:0!important}
  #keyboard-navigation{
    inset-inline:0!important;
    left:0;right:0;
    padding:10px clamp(12px,4vw,20px) calc(10px + env(safe-area-inset-bottom,0px))!important;
    border:0!important;border-block-start:1.5px solid rgba(200,162,74,.55)!important;
    border-radius:18px 18px 0 0!important;
    background:linear-gradient(180deg,rgba(255,253,248,.97),rgba(251,247,236,.99))!important;
    box-shadow:0 -14px 34px rgba(1,47,62,.16)!important;
    backdrop-filter:blur(10px)!important;
    animation:apDockUp .24s var(--ap-ease) both;
  }
  @keyframes apDockUp{from{transform:translateY(100%)}to{transform:translateY(0)}}
  #keyboard-navigation .btn-row{
    margin:0 auto!important;gap:10px!important;
    flex-direction:row!important;          /* على الشاشات الكبيرة */
    width:100%;max-width:760px;
  }
  #keyboard-navigation .btn{min-height:56px!important;padding:13px 14px!important;font-size:16px!important;border-radius:14px!important}
  /* على الجوال: نفس ترتيب الصفحة تماماً (التالي فوق، رجوع تحته) فلا يحدث قفز */
  @media(max-width:640px){
    #keyboard-navigation .btn-row{flex-direction:column-reverse!important}
    #keyboard-navigation .btn{width:100%!important;flex:0 0 auto!important}
  }
  /* مساحة سفلية محفوظة فلا يتغطّى آخر حقل عند فتح الكيبورد */
  body.keyboard-navigation-open .app{padding-block-end:calc(var(--keyboard-nav-height,96px) + 28px)!important}
  html{scroll-padding-block-end:calc(var(--keyboard-nav-height,0px) + 24px)}

  /* ── 9) لمسات: تركيز واضح بلون الهوية ────────────────────────────────── */
  .btn:focus-visible,.btn-card-details:focus-visible,.gender-opt:focus-visible,
  .job-card:focus-visible,.mk-feat:focus-visible{
    outline:3px solid #C8A24A!important;outline-offset:3px;
  }

  @media(prefers-reduced-motion:reduce){
    body[data-step] .app::before,body[data-step] .app::after,
    .mk-logo,.btn-primary::before,.step-dot.active,.profile-card::before{animation:none!important}
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   2026-10-27 · توحيد صفحات المعلومات (تناسق لوني كامل) + بطاقة الوظيفة المختارة
   ═══════════════════════════════════════════════════════════════════════════ */
@media screen{

  /* ── 1) نظام ألوان واحد: كحلي · ذهب · كريمي · أخضر (لا ألوان باهتة متضاربة) ── */
  :root{
    --ui-ink:#0d2f3d;          /* نص أساسي */
    --ui-label:#12404f;        /* عنوان الحقل */
    --ui-muted:#6b7f8b;        /* نص ثانوي */
    --ui-line:#e3dcc9;         /* حدود دافئة */
    --ui-field:#f1f5f9;        /* خلفية الحقل */
    --ui-field-line:#d5e0ea;   /* حد الحقل */
    --ui-cream:#ffffff;
    --ui-cream-2:#f4f7f9;
    --ui-gold:#B08D3C;
    --ui-gold-2:#C8A24A;
    --ui-green:#1F8F96;
    --ui-green-soft:#e9f7f1;
    --ui-red:#b3392b;
    --ui-red-soft:#fdeeeb;
    --ui-radius:16px;
    --ui-gap:14px;
  }

  /* الحقول: مقاس وحدّ وخلفية واحدة في كل الخطوات */
  .form-group{margin-bottom:var(--ui-gap)!important}
  .form-group label{
    color:var(--ui-label)!important;font-size:13px!important;font-weight:800!important;
    letter-spacing:0;margin-bottom:7px!important;
  }
  .form-group input,.form-group select{
    background:var(--ui-field)!important;border:1.5px solid var(--ui-field-line)!important;
    color:var(--ui-ink)!important;border-radius:14px!important;
    font-size:15px!important;font-weight:700!important;
  }
  .form-group input::placeholder{color:#93a1ad!important}
  .form-group select:disabled{background:#f6f7f8!important;color:#9aa7b3!important;border-color:#e6e9ec!important}

  /* العناوين الفرعية والفقرة التعريفية */
  .section-title{
    color:var(--ui-ink)!important;font-size:15px!important;font-weight:900!important;
    margin-bottom:12px!important;gap:8px!important;
  }
  .section-title::before{width:4px!important;height:18px!important;border-radius:2px!important;
    background:linear-gradient(180deg,var(--ui-gold-2),var(--ui-green))!important}
  .step-intro p{color:var(--ui-muted)!important;font-size:13.5px!important;line-height:1.95!important}
  .step-eyebrow{
    background:var(--ui-cream-2)!important;border:1px solid var(--ui-line)!important;
    color:var(--ui-label)!important;font-size:11.5px!important;font-weight:800!important;
    padding:5px 12px!important;border-radius:999px!important;letter-spacing:.01em;
  }

  /* ── 2) التنبيهات: شكل واحد لكل الحالات (لا إيموجي يكسر الشكل) ───────── */
  .alert{
    display:flex!important;align-items:flex-start;gap:10px;
    padding:12px 14px!important;border-radius:14px!important;
    font-size:13px!important;line-height:1.85!important;font-weight:700;
    margin-bottom:10px;border-inline-start-width:4px!important;border-inline-start-style:solid!important;
  }
  .alert .ico{display:grid;place-items:center;width:22px;height:22px;flex:none;margin-top:1px}
  .alert .ico svg{width:20px;height:20px}
  .alert .msg{flex:1;min-width:0}
  .alert-error{
    background:var(--ui-red-soft)!important;border:1px solid #f3cfc8!important;
    border-inline-start-color:var(--ui-red)!important;color:#8f2c1f!important;
  }
  .alert-error .ico svg{color:var(--ui-red)}
  .alert-info{
    background:#eef6fb!important;border:1px solid #cfe6f2!important;
    border-inline-start-color:#2d7fa8!important;color:#1d5b78!important;
  }
  .alert-info .ico svg{color:#2d7fa8}

  /* بطاقة الأمان أسفل الحقول + شريط الفرص */
  .identity-notice{
    background:var(--ui-cream-2)!important;border:1px solid var(--ui-line)!important;
    border-inline-start:4px solid var(--ui-gold)!important;color:#7a6331!important;
    border-radius:14px!important;font-size:13px!important;
  }
  .chances-bar{
    background:var(--ui-cream-2)!important;border:1px solid var(--ui-line)!important;
    color:var(--ui-ink)!important;border-radius:14px!important;font-size:13px!important;font-weight:800!important;
  }
  .chances-bar.has2{background:var(--ui-green-soft)!important;border-color:#c8e8da!important;color:#1c6a51!important}
  .chances-bar.has1{background:#ffffff!important;border-color:#EFE0BD!important;color:#8A6D2C!important}
  .chances-bar.has0{background:var(--ui-red-soft)!important;border-color:#f3cfc8!important;color:#8f2c1f!important}
  .chances-bar b{color:inherit!important}

  /* أشرطة العدّاد الصغيرة (هاتف/فرص) */
  .phone-meter .pc-track{background:#e3e8ee!important;height:6px!important;border-radius:99px!important}
  .phone-meter .pc-track i{background:linear-gradient(90deg,var(--ui-gold-2),var(--ui-gold))!important;border-radius:99px!important}
  .phone-meter .pc-state,.phone-meter .pc-of{color:var(--ui-muted)!important}
  .phone-meter .pc-num{color:var(--ui-ink)!important}

  /* ── 3) صفحة المراجعة: نفس اللغة البصرية بلا مفاجآت ─────────────────── */
  .rv-card{
    background:var(--ui-cream)!important;border:1px solid var(--ui-line)!important;
    border-radius:22px!important;box-shadow:0 16px 40px rgba(13,47,61,.09)!important;
  }
  .rv-top{border-bottom:1px solid var(--ui-line)!important;gap:12px!important}
  .rv-ic{
    display:grid!important;place-items:center;width:44px;height:44px;flex:none;
    border-radius:14px;background:linear-gradient(150deg,#ffffff,#f2f8f4);
    border:1px solid rgba(200,162,74,.45);color:#8A6D2C;
  }
  .rv-ic svg{width:22px;height:22px}
  .rv-t{color:var(--ui-ink)!important;font-size:17px!important;font-weight:900!important}
  .rv-s{color:var(--ui-muted)!important;font-size:12.5px!important;line-height:1.9}
  .rv-head{
    color:var(--ui-ink)!important;font-size:14px!important;font-weight:900!important;
    margin-top:22px!important;padding-bottom:6px;
  }
  .rv-head::before{background:linear-gradient(180deg,var(--ui-gold-2),var(--ui-green))!important;width:4px!important;height:16px!important}
  .rv-row{border-bottom:1px dashed #e4eaef!important;padding:13px 0!important;gap:10px!important;align-items:center!important}
  .rv-k{color:var(--ui-muted)!important;font-size:12.5px!important;font-weight:700!important}
  .rv-v{color:var(--ui-ink)!important;font-size:14px!important;font-weight:800!important;line-height:1.7}
  .rv-edit{
    background:#fff!important;border:1.5px solid var(--ui-field-line)!important;
    color:var(--ui-label)!important;font-size:12px!important;font-weight:800!important;
    padding:7px 14px!important;border-radius:999px!important;box-shadow:none!important;
    min-height:36px!important;transition:border-color .2s,background .2s,transform .2s;
  }
  .rv-edit:hover{border-color:var(--ui-gold-2)!important;background:#fffdf5!important}
  .rv-edit:active{transform:scale(.97)}
  .rv-chip{
    background:var(--ui-cream-2)!important;border:1px solid var(--ui-line)!important;
    color:#6f5c2c!important;font-size:12px!important;font-weight:800!important;
    border-radius:999px!important;padding:5px 12px!important;
    display:inline-flex!important;align-items:center!important;gap:6px!important;
    flex:0 0 auto!important;white-space:nowrap!important;line-height:1.6!important;
  }
  .rv-chips{display:flex!important;flex-wrap:wrap!important;gap:7px!important;align-items:center!important}
  .rv-note{
    background:#FFFFFF!important;border:1px solid #E8DDC4!important;
    color:#12305C!important;border-radius:14px!important;font-size:12.5px!important;line-height:1.95;
  }
  .rv-card .rv-top{flex-wrap:nowrap}
  /* عنوان الفرصة داخل المراجعة: ذهبي بكحلي لا أزرق فاتح غريب */
  .rv-sub{
    color:#8A6D2C!important;font-size:13px!important;font-weight:900!important;
    margin:18px 0 6px!important;padding:5px 12px!important;
    background:#ffffff!important;border:1px solid #EFE0BD!important;
    border-inline-start:1px solid #EFE0BD!important;
    border-radius:999px!important;display:inline-flex!important;align-items:center;gap:6px;
  }
  .ok-ico{
    display:grid;place-items:center;width:66px;height:66px;margin:0 auto 10px;
    border-radius:50%;background:linear-gradient(150deg,#e9f7f1,#d3efe3);
    border:1.5px solid rgba(63,177,144,.6);color:#1c6a51;
    box-shadow:0 10px 24px rgba(63,177,144,.22);
  }
  .ok-ico svg{width:34px;height:34px}
  .err-ico{display:grid;place-items:center;margin-bottom:10px}
  .err-ico svg{width:46px;height:46px;color:#c0392b}
  .btn .ico,.rv-chip .ico{display:inline-grid;place-items:center;width:18px;height:18px;flex:none}
  .btn .ico svg,.rv-chip .ico svg{width:18px;height:18px}
  @media(max-width:420px){.rv-v{font-size:13.5px!important}}

  /* ── 4) البطاقة المختارة: كارت كحلي بحدود ذهبية (طلب المالك) ─────────── */
  /* الشارة المكرّرة فوق البطاقة أُزيلت — بقيت شارة واحدة واضحة داخل الرأس */
  #jobs-list .job-card.selected .job-head::before,
  #jobs-list.has-focus .job-card.selected .job-head::before{content:none!important;display:none!important}
  #jobs-list .job-card.selected .pick-mark{display:none!important}

  #jobs-list .job-card.selected{
    background:linear-gradient(165deg,#0A3F50,#16304F 55%,#0D2247)!important;
    border:2px solid var(--ui-gold-2)!important;
    box-shadow:0 20px 44px rgba(1,34,44,.34),0 0 0 4px rgba(200,162,74,.16)!important;
    color:#fff!important;
  }
  #jobs-list .job-card.selected::before{
    height:5px!important;opacity:1!important;
    background:linear-gradient(90deg,var(--ui-gold-2),#F7ECC8,var(--ui-gold-2))!important;
  }
  #jobs-list .job-card.selected .job-head .title,
  #jobs-list.has-focus .job-card.selected .job-head .title{
    color:#fff!important;text-shadow:none!important;font-size:19px!important;
  }
  #jobs-list .job-card.selected .job-code{
    background:rgba(200,162,74,.18)!important;border-color:rgba(200,162,74,.6)!important;color:#ffe08a!important;
  }
  #jobs-list .job-card.selected .job-cat{
    background:rgba(255,255,255,.1)!important;border-color:rgba(255,255,255,.24)!important;color:#fff!important;
  }
  /* خلايا المعلومات داخل الكارت الكحلي */
  #jobs-list .job-card.selected .jm{
    background:rgba(255,255,255,.07)!important;border:1px solid rgba(255,255,255,.14)!important;
    color:#fff!important;
  }
  #jobs-list .job-card.selected .jm .k,
  #jobs-list .job-card.selected .jm .v,
  #jobs-list .job-card.selected .jm span,
  #jobs-list .job-card.selected .jm b{color:#fff!important}
  #jobs-list .job-card.selected .jm svg,
  #jobs-list .job-card.selected .jm .ic{color:#C8A24A!important}
  #jobs-list .job-card.selected .job-details{color:rgba(255,255,255,.8)!important}
  #jobs-list .job-card.selected .job-pay,
  #jobs-list .job-card.selected .job-pay-row,
  #jobs-list .job-card.selected .job-salary{
    background:rgba(200,162,74,.16)!important;border:1px solid rgba(200,162,74,.5)!important;
    color:#F2E2AC!important;border-radius:12px!important;
  }
  #jobs-list .job-card.selected .job-pay *,
  #jobs-list .job-card.selected .job-pay-row *,
  #jobs-list .job-card.selected .job-salary *{color:#F2E2AC!important}
  #jobs-list .job-card.selected .job-pay b,
  #jobs-list .job-card.selected .job-salary b{color:#fff!important}
  #jobs-list .job-card.selected .job-actions{
    background:rgba(0,0,0,.22)!important;border-top:1px solid rgba(200,162,74,.35)!important;
  }
  #jobs-list .job-card.selected .job-actions .btn-outline{
    background:transparent!important;border-color:rgba(255,255,255,.4)!important;color:#fff!important;
  }
  #jobs-list .job-card.selected .job-actions .btn-primary,
  #jobs-list .job-card.selected .job-actions .btn-success{
    background:linear-gradient(135deg,var(--ui-gold-2),#e0a800)!important;
    color:#20242a!important;border-color:transparent!important;
    box-shadow:0 10px 22px rgba(200,162,74,.3)!important;
  }
  #jobs-list .job-card.selected .job-state.is-picked{
    background:linear-gradient(140deg,#FFE28A,var(--ui-gold-2))!important;
    color:#1c1405!important;border-color:transparent!important;font-weight:900;
  }
  /* البقية: تُغبَّش قليلاً ليبقى الكارت الكحلي هو البطل */
  #jobs-list.has-focus .job-card:not(.selected):not(.is-done){opacity:.78}

  /* ── 5) تفاصيل صغيرة: شريحة العدّاد بلون الهوية لا لافندر باهت ──────── */
  .job-filters #jobs-count{
    background:var(--ui-cream-2)!important;border:1px solid var(--ui-line)!important;
    color:#7a6331!important;font-weight:800!important;
  }
  .job-filters #jobs-count::before{background:var(--ui-gold-2)!important}
  .job-filters #jobs-count b{color:var(--ui-ink)!important}
  .jf-chip{background:#ffffff!important;border-color:#EFE0BD!important;color:#8A6D2C!important}
}

/* ── 6) تصحيح الدفعة الأخيرة: حقول **دافئة** (كريمي/ذهبي) لا رمادية باردة ── */
@media screen{
  :root{
    --ui-field:#f7f9fb;        /* عاجي دافئ بدل الأزرق/الرمادي الباهت */
    --ui-field-2:#fdfbf4;
    --ui-field-line:#dbe4e9;
    --ui-card:#ffffff;
  }
  .form-group input,.form-group select{
    background:var(--ui-field)!important;
    border:1.5px solid var(--ui-field-line)!important;
    color:#0d2f3d!important;
    box-shadow:0 1px 0 #fff inset,0 1px 2px rgba(13,47,61,.03)!important;
  }
  .form-group select{font-weight:800!important}
  .form-group input:focus,.form-group select:focus{
    background:#ffffff!important;border-color:var(--ui-gold-2)!important;
    box-shadow:0 0 0 4px rgba(200,162,74,.18),0 8px 18px rgba(13,47,61,.06)!important;
  }
  /* الأيقونة داخل الحقل: كبسولة كريمية بحدود ذهبية → كحلية عند التركيز */
  .fld-ic{
    background:#ffffff!important;border:1px solid var(--ui-field-line)!important;
    color:#8A6D2C!important;
  }
  .fld:focus-within .fld-ic{
    background:var(--ap-navy,#16304F)!important;border-color:var(--ap-navy,#16304F)!important;
    color:#C8A24A!important;
  }
  /* حقل معطّل: واضح أنه غير متاح بلا لون باهت غريب */
  .form-group select:disabled{
    background:#f3f1ea!important;color:#98a2a8!important;border-color:#e8e3d6!important;
  }
  /* البطاقة: بيضاء كريمية + حدّ دافئ وظل بسيط */
  .profile-card{
    background:linear-gradient(#ffffff,#ffffff) padding-box,
               linear-gradient(135deg,rgba(1,47,62,.5),rgba(200,162,74,.8) 45%,rgba(63,177,144,.45)) border-box!important;
    box-shadow:0 18px 44px rgba(13,47,61,.12)!important;
  }
  /* اسم القسم داخل الحقول */
  .section-title{color:#0d2f3d!important}
  .form-group label{color:#12404f!important}
  /* شارة «بيانات المتقدم» دافئة */
  .step-eyebrow{background:#ffffff!important;border-color:#ecdfc2!important;color:#7a6331!important}
  /* زر الرجوع: أبيض بحدّ دافئ */
  .btn-outline{border-color:#e2d8bf!important;color:#12404f!important}
  .btn-outline:hover{border-color:#C8A24A!important;background:#ffffff!important}
}
/* ═══════════════════════════════════════════════════════════════════════════
   2026-10-27 · واجهة كحلية لصفحات البيانات والقائمة (طلب المالك)
   ─ الواجهة (الخلفية · شريط التقدم · لوحة الفلاتر) كحلية.
   ─ التفاصيل كما هي: بطاقة بيضاء نظيفة + حقول بيضاء (لا كريمي).
   ─ كل وظيفة داخل كارت أبيض، والمراجعة فيها كارت كحلي للوظائف المختارة.
   ═══════════════════════════════════════════════════════════════════════════ */
@media screen{

  /* ── 1) اللوحة الكحلية لصفحات البيانات والوظائف والمراجعة ───────────── */
  body[data-step="1"],body[data-step="2"],body[data-step="3"],
  body[data-step="4"],body[data-step="5"],body[data-step="6"],body[data-step="7"],body[data-step="8"]{
    background-color:#16304F!important;
    background-image:
      radial-gradient(900px 380px at 8% -8%,rgba(200,162,74,.16),transparent 70%),
      radial-gradient(760px 360px at 98% 0%,rgba(63,177,144,.10),transparent 72%),
      linear-gradient(180deg,#1E4270 0%,#0F2444 46%,#0A1A33 100%)!important;
    color:#eaf3f6!important;
  }
  /* موجات الصفحة القديمة (كريمية) تُستبدل بشعرة ذهبية رقيقة أعلى وأسفل */
  body[data-step="1"]::before,body[data-step="2"]::before,body[data-step="3"]::before,
  body[data-step="4"]::before,body[data-step="5"]::before,body[data-step="6"]::before,
  body[data-step="7"]::before,body[data-step="8"]::before{
    display:block!important;height:4px!important;
    background-image:linear-gradient(90deg,transparent,rgba(200,162,74,.85) 22%,rgba(255,255,255,.55) 50%,rgba(200,162,74,.85) 78%,transparent)!important;
    animation:none!important;
  }
  body[data-step="1"]::after,body[data-step="2"]::after,body[data-step="3"]::after,
  body[data-step="4"]::after,body[data-step="5"]::after,body[data-step="6"]::after,
  body[data-step="7"]::after,body[data-step="8"]::after{
    display:block!important;height:clamp(70px,12vw,110px)!important;
    background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'><path d='M0 120V64c205-44 430-64 600-64s395 20 600 64v56z' fill='%230A1A33'/><path d='M0 64c205-44 430-64 600-64s395 20 600 64' fill='none' stroke='%23C8A24A' stroke-width='2' opacity='.65'/></svg>")!important;
    animation:none!important;
  }
  body[data-step="1"] .app::before,body[data-step="2"] .app::before,body[data-step="3"] .app::before,
  body[data-step="4"] .app::before,body[data-step="5"] .app::before,body[data-step="6"] .app::before,
  body[data-step="7"] .app::before,body[data-step="8"] .app::before{
    background:radial-gradient(circle,rgba(200,162,74,.14),rgba(200,162,74,0) 68%)!important;
  }
  body[data-step="1"] .app::after,body[data-step="2"] .app::after,body[data-step="3"] .app::after,
  body[data-step="4"] .app::after,body[data-step="5"] .app::after,body[data-step="6"] .app::after,
  body[data-step="7"] .app::after,body[data-step="8"] .app::after{
    background:radial-gradient(circle,rgba(63,177,144,.16),rgba(63,177,144,0) 68%)!important;
  }
  /* التذييل على الكحلي */
  body[data-step="1"] .footer,body[data-step="2"] .footer,body[data-step="3"] .footer,
  body[data-step="4"] .footer,body[data-step="5"] .footer,body[data-step="6"] .footer,
  body[data-step="7"] .footer,body[data-step="8"] .footer{
    color:rgba(234,243,246,.7)!important;border-block-start:1px solid rgba(200,162,74,.35)!important;
  }

  /* ── 2) شريط التقدّم: زجاج كحلي بنص أبيض (بدل البطاقة البيضاء) ───────── */
  body[data-step="1"] .steps-bar,body[data-step="2"] .steps-bar,body[data-step="3"] .steps-bar,
  body[data-step="4"] .steps-bar,body[data-step="5"] .steps-bar,body[data-step="6"] .steps-bar,
  body[data-step="7"] .steps-bar,body[data-step="8"] .steps-bar{
    background:rgba(255,255,255,.07)!important;
    border:1px solid rgba(200,162,74,.32)!important;
    box-shadow:0 12px 30px rgba(2,20,28,.32),inset 0 1px 0 rgba(255,255,255,.08)!important;
    backdrop-filter:blur(6px);
  }
  body[data-step="1"] .step-label,body[data-step="2"] .step-label,body[data-step="3"] .step-label,
  body[data-step="4"] .step-label,body[data-step="5"] .step-label,body[data-step="6"] .step-label,
  body[data-step="7"] .step-label{color:rgba(234,243,246,.82)!important}
  body[data-step="1"] .step-label b,body[data-step="2"] .step-label b,body[data-step="3"] .step-label b,
  body[data-step="4"] .step-label b,body[data-step="5"] .step-label b,body[data-step="6"] .step-label b,
  body[data-step="7"] .step-label b{color:#fff!important}
  body[data-step="1"] .step-dot,body[data-step="2"] .step-dot,body[data-step="3"] .step-dot,
  body[data-step="4"] .step-dot,body[data-step="5"] .step-dot,body[data-step="6"] .step-dot,
  body[data-step="7"] .step-dot{background:rgba(255,255,255,.22)!important}
  body[data-step="1"] .step-label .pct,body[data-step="2"] .step-label .pct,body[data-step="3"] .step-label .pct,
  body[data-step="4"] .step-label .pct,body[data-step="5"] .step-label .pct,body[data-step="6"] .step-label .pct,
  body[data-step="7"] .step-label .pct{
    background:rgba(200,162,74,.16)!important;border:1px solid rgba(200,162,74,.55)!important;
    color:#E8D089!important;box-shadow:none!important;
  }

  /* ── 3) بطاقة البيانات: بيضاء نظيفة (التفاصيل كما هي) + حقول بيضاء ───── */
  :root{
    --ui-field:#ffffff;
    --ui-field-line:#dfe6ea;
    --ui-cream:#ffffff;
    --ui-cream-2:#f6f8f9;
    --ui-line:#e4ebee;
  }
  body[data-step="1"] .profile-card,body[data-step="2"] .profile-card,
  body[data-step="3"] .profile-card,body[data-step="4"] .profile-card,
  body[data-step="5"] .profile-card{
    background:#fff!important;
    border:1px solid rgba(255,255,255,.65)!important;
    box-shadow:0 26px 60px rgba(2,20,28,.34)!important;
  }
  body[data-step="1"] .profile-card::before,body[data-step="2"] .profile-card::before,
  body[data-step="3"] .profile-card::before,body[data-step="4"] .profile-card::before,
  body[data-step="5"] .profile-card::before{height:5px!important}
  .form-group input,.form-group select{background:#fff!important;border-color:var(--ui-field-line)!important}
  .form-group input:focus,.form-group select:focus{background:#fff!important}
  .step-eyebrow{background:#f6f8f9!important;border-color:#e4ebee!important;color:#0d2f3d!important}
  /* زر الرجوع على الكحلي: أبيض شفاف */
  body[data-step="1"] .btn-row .btn-outline,body[data-step="2"] .btn-row .btn-outline,
  body[data-step="3"] .btn-row .btn-outline,body[data-step="4"] .btn-row .btn-outline,
  body[data-step="5"] .btn-row .btn-outline{
    background:rgba(255,255,255,.95)!important;border-color:rgba(255,255,255,.65)!important;
    color:#0d2f3d!important;box-shadow:0 10px 24px rgba(2,20,28,.28)!important;
  }

  /* ── 4) شاشة الوظائف: كحلية كاملة + كروت بيضاء ──────────────────────── */
  body[data-step="6"] .section-title{color:#fff!important}
  body[data-step="6"] .section-title::before{background:linear-gradient(180deg,#C8A24A,#1F8F96)!important}

  /* شريط «متبقي لك»: زجاج كحلي */
  body[data-step="6"] .chances-bar{
    background:rgba(255,255,255,.09)!important;
    border:1px solid rgba(200,162,74,.4)!important;color:#fff!important;
    box-shadow:0 12px 26px rgba(2,20,28,.3);
  }
  body[data-step="6"] .chances-bar b{color:#E8D089!important}
  body[data-step="6"] .chances-bar.has2,body[data-step="6"] .chances-bar.has1,
  body[data-step="6"] .chances-bar.has0{background:rgba(255,255,255,.09)!important;border-color:rgba(200,162,74,.4)!important;color:#fff!important}

  /* لوحة الفلاتر: زجاج كحلي بنصوص بيضاء وحقول بيضاء */
  body[data-step="6"] .job-filters{
    background:linear-gradient(160deg,rgba(255,255,255,.10),rgba(255,255,255,.05))!important;
    border:1px solid rgba(200,162,74,.35)!important;
    box-shadow:0 20px 46px rgba(2,20,28,.34),inset 0 1px 0 rgba(255,255,255,.1)!important;
    backdrop-filter:blur(8px);
  }
  body[data-step="6"] .job-filters label,
  body[data-step="6"] .jf-cell label{color:#dbe9ef!important}
  body[data-step="6"] .jf-top b,body[data-step="6"] .jf-note,
  body[data-step="6"] .jf-panel-hint,body[data-step="6"] .jf-advanced summary{color:rgba(219,233,239,.85)!important}
  body[data-step="6"] .job-filters input:not([type=checkbox]),
  body[data-step="6"] .job-filters select{
    background:#fff!important;border:1px solid rgba(255,255,255,.6)!important;color:#0d2f3d!important;
  }
  body[data-step="6"] .job-filters input::placeholder{color:#8a9aa4!important}
  body[data-step="6"] .jf-ic{color:#C8A24A!important}
  body[data-step="6"] .jf-more{
    background:rgba(200,162,74,.22)!important;border:1.5px solid rgba(200,162,74,.85)!important;
    color:#fff!important;font-weight:900!important;
  }
  body[data-step="6"] .jf-more svg{color:#C8A24A!important}
  body[data-step="6"] .jf-more:hover{background:rgba(200,162,74,.26)!important}
  body[data-step="6"] .jf-reset{
    background:rgba(255,255,255,.1)!important;border-color:rgba(255,255,255,.35)!important;color:#fff!important;
  }
  body[data-step="6"] .jf-reset:hover{color:#E8D089!important;border-color:rgba(200,162,74,.7)!important}
  body[data-step="6"] .jf-panel{
    background:rgba(2,26,36,.35)!important;border:1px solid rgba(200,162,74,.3)!important;
  }
  body[data-step="6"] .jf-panel-title{color:#E8D089!important}
  body[data-step="6"] .job-filters #jobs-count{
    background:rgba(200,162,74,.16)!important;border:1px solid rgba(200,162,74,.5)!important;color:#F2E2AC!important;
  }
  body[data-step="6"] .job-filters #jobs-count b{color:#fff!important}
  body[data-step="6"] .job-filters #jobs-count::before{background:#C8A24A!important}
  body[data-step="6"] .job-filters .jf-check{color:#dbe9ef!important}
  body[data-step="6"] .jf-chip{background:rgba(200,162,74,.16)!important;border-color:rgba(200,162,74,.45)!important;color:#F2E2AC!important}
  body[data-step="6"] .jf-chip-x{background:rgba(0,0,0,.3)!important;color:#F2E2AC!important}

  /* تلميح الاختيار أسفل القائمة */
  body[data-step="6"] .jobs-hint{
    background:rgba(255,255,255,.08)!important;color:rgba(234,243,246,.9)!important;
    border:1px dashed rgba(200,162,74,.5)!important;
  }
  body[data-step="6"] .jobs-hint.picked{
    background:rgba(200,162,74,.16)!important;border:1px solid rgba(200,162,74,.55)!important;color:#F2E2AC!important;
  }
  body[data-step="6"] .jobs-hint b{color:#fff!important}
  body[data-step="6"] .job-remove{
    background:rgba(0,0,0,.25)!important;color:#ffd6c9!important;border-color:rgba(255,255,255,.28)!important;
  }
  body[data-step="6"] #jobs-empty{
    background:rgba(255,255,255,.06)!important;border:1px dashed rgba(200,162,74,.45)!important;color:rgba(234,243,246,.85)!important;
  }
  body[data-step="6"] #jobs-empty p{color:rgba(234,243,246,.85)!important}
  body[data-step="6"] #jobs-empty .btn-outline{background:rgba(255,255,255,.95)!important;color:#0d2f3d!important}

  /* الكروت البيضاء */
  body[data-step="6"] #jobs-list .job-card{
    background:#fff!important;border:1px solid rgba(255,255,255,.75)!important;
    box-shadow:0 20px 44px rgba(2,20,28,.32)!important;color:#0d2f3d!important;
  }
  body[data-step="6"] #jobs-list .job-head .title{color:#0d2f3d!important;font-weight:900!important}
  body[data-step="6"] #jobs-list .jm{
    background:#f7f9fa!important;border:1px solid #e6edf0!important;color:#0d2f3d!important;
  }
  body[data-step="6"] #jobs-list .jm .k,body[data-step="6"] #jobs-list .jm .v,
  body[data-step="6"] #jobs-list .jm span,body[data-step="6"] #jobs-list .jm b{color:#0d2f3d!important}
  body[data-step="6"] #jobs-list .jm svg,body[data-step="6"] #jobs-list .jm .ic{color:#8A6D2C!important}
  body[data-step="6"] #jobs-list .job-pay,body[data-step="6"] #jobs-list .job-salary{
    background:#ffffff!important;border:1px solid #EFE0BD!important;color:#8A6D2C!important;
  }
  body[data-step="6"] #jobs-list .job-pay *,body[data-step="6"] #jobs-list .job-salary *{color:#8A6D2C!important}
  body[data-step="6"] #jobs-list .job-pay b,body[data-step="6"] #jobs-list .job-salary b{color:#5f4a12!important}
  body[data-step="6"] #jobs-list .job-details{color:#5f7380!important}
  body[data-step="6"] #jobs-list .job-actions{
    background:#f7f9fa!important;border-top:1px solid #e6edf0!important;
  }
  body[data-step="6"] #jobs-list .job-actions .btn-outline{
    background:#fff!important;border-color:#cfdae0!important;color:#0d2f3d!important;
  }
  body[data-step="6"] #jobs-list .job-actions .btn-primary{
    background:linear-gradient(135deg,#12305C,#16304F 60%)!important;
    color:#fff!important;border:1.5px solid rgba(200,162,74,.75)!important;
  }
  body[data-step="6"] #jobs-list .job-tags .job-code{
    background:#ffffff!important;border:1px solid #bfe4d6!important;color:#1c6a51!important;
  }
  body[data-step="6"] #jobs-list .job-tags .job-cat{
    background:#ffffff!important;border:1px solid #EFE0BD!important;color:#8A6D2C!important;
  }
  /* الكارت المختار: إطار ذهبي وهوية واضحة على الأبيض */
  body[data-step="6"] #jobs-list .job-card.selected{
    background:#fff!important;border:2px solid #C8A24A!important;
    box-shadow:0 24px 54px rgba(2,20,28,.36),0 0 0 4px rgba(200,162,74,.22)!important;
  }
  body[data-step="6"] #jobs-list .job-card.selected .job-head .title{color:#0d2f3d!important;font-size:20px!important}
  body[data-step="6"] #jobs-list .job-card.selected .job-state.is-picked{
    background:linear-gradient(140deg,#FFE28A,#C8A24A)!important;color:#1c1405!important;border-color:transparent!important;
  }
  body[data-step="6"] #jobs-list .job-card.selected .jm{
    background:#ffffff!important;border-color:#EFE0BD!important;
  }
  /* (قواعد قديمة كانت تجعل نص الكارت المختار أبيض — تُبطَل هنا لأن الكارت أبيض) */
  body[data-step="6"] #jobs-list .job-card.selected .jm .k,
  body[data-step="6"] #jobs-list .job-card.selected .jm .v,
  body[data-step="6"] #jobs-list .job-card.selected .jm span,
  body[data-step="6"] #jobs-list .job-card.selected .jm b,
  body[data-step="6"] #jobs-list.has-focus .job-card.selected .job-item .v{
    color:#0d2f3d!important;
  }
  body[data-step="6"] #jobs-list .job-card.selected .jm svg,
  body[data-step="6"] #jobs-list .job-card.selected .jm .ic{color:#8A6D2C!important}
  body[data-step="6"] #jobs-list .job-card.selected .job-pay,
  body[data-step="6"] #jobs-list .job-card.selected .job-pay-row,
  body[data-step="6"] #jobs-list .job-card.selected .job-salary{
    background:#ffffff!important;border:1px solid rgba(200,162,74,.45)!important;
  }
  body[data-step="6"] #jobs-list .job-card.selected .job-pay *,
  body[data-step="6"] #jobs-list .job-card.selected .job-pay-row *,
  body[data-step="6"] #jobs-list .job-card.selected .job-salary *{color:#6B5320!important}
  body[data-step="6"] #jobs-list .job-card.selected .job-details{color:#4d6470!important}
  body[data-step="6"] #jobs-list .job-card.selected .job-head .title{color:#0d2f3d!important}
  body[data-step="6"] #jobs-list .job-card.selected .job-tags .job-code{
    background:#ffffff!important;border-color:#bfe4d6!important;color:#1c6a51!important;
  }
  body[data-step="6"] #jobs-list .job-card.selected .job-tags .job-cat{
    background:#ffffff!important;border-color:#EFE0BD!important;color:#8A6D2C!important;
  }
  body[data-step="6"] #jobs-list .job-card.selected .job-actions .btn-outline{
    background:#fff!important;border-color:#cfdae0!important;color:#0d2f3d!important;
  }
  body[data-step="6"] #jobs-list .job-card.selected .job-actions{
    background:#ffffff!important;border-top:1px solid #EFE0BD!important;
  }
  body[data-step="6"] #jobs-list .job-card.selected::after{display:none!important}
  /* البقية واضحة تماماً (بلا غباش) — يبقى التمييز بالحدّ الذهبي وحده */
  body[data-step="6"] #jobs-list.has-focus .job-card:not(.selected):not(.is-done){
    opacity:1!important;filter:none!important;transform:none!important;pointer-events:auto!important;
  }
  body[data-step="6"] #jobs-list.has-focus .job-card:not(.selected):not(.is-done) .job-actions{opacity:1!important}
  body[data-step="6"] #jobs-list.has-focus .job-card.selected{
    transform:none!important;filter:none!important;
  }
  body[data-step="6"] #jobs-list.has-focus::before{display:none!important}

  /* ── 5) صفحة المراجعة: التفاصيل بيضاء + كارت كحلي للوظائف المختارة ─── */
  body[data-step="7"] .rv-card{
    background:#fff!important;border:1px solid rgba(255,255,255,.7)!important;
    box-shadow:0 26px 60px rgba(2,20,28,.34)!important;
  }
  body[data-step="7"] .rv-row{border-bottom:1px dashed #e6edf0!important}
  body[data-step="7"] .rv-edit{background:#fff!important;border-color:#dbe4e9!important;color:#0d2f3d!important}
  body[data-step="7"] .rv-edit:hover{border-color:#C8A24A!important;background:#fffdf3!important}
  body[data-step="7"] .btn-row .btn-outline{
    background:rgba(255,255,255,.95)!important;border-color:rgba(255,255,255,.65)!important;color:#0d2f3d!important;
  }
  /* زر الإتمام: أخضر الهوية (تركوازي) لا الأخضر القديم */
  #btn-finish{
    background:linear-gradient(135deg,#2FA98C,#1C7E68 60%,#136053)!important;
    color:#fff!important;border:1.5px solid rgba(255,255,255,.35)!important;
    box-shadow:0 16px 32px rgba(19,96,83,.34)!important;
  }
  #btn-finish::before{background:linear-gradient(100deg,transparent,rgba(255,255,255,.32),transparent)}
  #btn-finish:not(:disabled):hover{box-shadow:0 20px 40px rgba(19,96,83,.42)!important}
  /* صفوف الشرائح: بلا خطوط منقّطة حولها */
  .rv-chips{
    padding:2px 0 6px;
  }
  .rv-row:has(.rv-chips){border-bottom:0!important}
  /* كارت الوظائف المختارة: كحلي بحدود ذهبية */
  .rv-jobs{
    margin:6px 0 4px;padding:14px 16px 6px;border-radius:18px;
    background:linear-gradient(165deg,#0A3F50,#16304F 58%,#0D2247);
    border:1.5px solid rgba(200,162,74,.75);
    box-shadow:0 16px 34px rgba(2,20,28,.28);
  }
  .rv-jobs .rv-sub{
    background:rgba(200,162,74,.18)!important;border:1px solid rgba(200,162,74,.55)!important;
    color:#F2E2AC!important;margin:10px 0 6px!important;
  }
  body[data-step="7"] .rv-jobs .rv-row{border-bottom:1px dashed rgba(255,255,255,.18)!important}
  body[data-step="7"] .rv-jobs .rv-k{color:rgba(234,243,246,.72)!important}
  body[data-step="7"] .rv-jobs .rv-v{color:#fff!important;font-weight:800}
  body[data-step="7"] .rv-jobs .rv-edit{
    background:rgba(200,162,74,.2)!important;border:1.5px solid rgba(200,162,74,.75)!important;
    color:#F2E2AC!important;font-weight:900!important;
  }
  body[data-step="7"] .rv-jobs .rv-edit:hover{background:rgba(200,162,74,.34)!important;color:#fff!important}
  body[data-step="7"] .rv-jobs .rv-chip{
    background:rgba(255,255,255,.12)!important;border-color:rgba(255,255,255,.26)!important;color:#fff!important;
    flex:0 0 auto!important;white-space:nowrap!important;
    padding:5px 12px!important;line-height:1.6!important;
  }
  body[data-step="7"] .rv-jobs .rv-chips{
    display:flex!important;flex-wrap:wrap!important;gap:7px!important;padding:6px 0 4px;
  }
  body[data-step="7"] .rv-jobs .rv-chip svg{color:#C8A24A!important}
  body[data-step="7"] .rv-jobs .rv-empty{color:#F2E2AC!important}
}
/* ═══════════════════════════════════════════════════════════════════════════
   2026-10-27 · كارت الوظيفة: مرتب · أصغر · أيقونات · و«البورتريه»
   ─ عند اختيار وظيفة: المختارة تبرز (زوم إن) والبقية تُغبَّش وتُعتَّم
   ═══════════════════════════════════════════════════════════════════════════ */
@media screen{

  /* ── 1) شبكة الكروت ─────────────────────────────────────────────────── */
  body[data-step="6"] #jobs-list{
    display:grid!important;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr))!important;
    gap:16px!important;align-items:start!important;padding:6px 2px 2px!important;
    position:relative;
  }

  /* ── 2) الكارت نفسه: حشوة أصغر ومسافات محسوبة ─────────────────────────── */
  body[data-step="6"] #jobs-list .job-card{
    display:flex!important;flex-direction:column;gap:0;
    padding:14px 14px 0!important;border-radius:18px!important;
    transition:transform .34s cubic-bezier(.2,1,.3,1),box-shadow .34s ease,
               opacity .3s ease,filter .3s ease,border-color .3s ease!important;
    transform-origin:center;
    will-change:transform,filter;
  }
  /* رأس الكارت: العنوان والوسوم */
  body[data-step="6"] #jobs-list .job-head{
    align-items:flex-start!important;gap:8px!important;padding-bottom:10px;
    border-bottom:1px solid #eef2f4;
  }
  body[data-step="6"] #jobs-list .job-head .title{
    font-size:16.5px!important;line-height:1.5!important;font-weight:900!important;
    color:#0d2f3d!important;margin:0!important;
  }
  body[data-step="6"] #jobs-list .job-tags{gap:6px!important;margin-top:6px!important}
  body[data-step="6"] #jobs-list .job-tags .job-code,
  body[data-step="6"] #jobs-list .job-tags .job-cat{
    font-size:11px!important;padding:3px 9px!important;border-radius:999px!important;font-weight:800!important;
  }
  body[data-step="6"] #jobs-list .job-state{
    font-size:11px!important;padding:4px 10px!important;border-radius:999px!important;white-space:nowrap;
  }

  /* شبكة المعلومات: بطاقة صغيرة لكل معلومة (أيقونة · تسمية · قيمة) */
  body[data-step="6"] #jobs-list .job-body{padding:10px 0 0}
  body[data-step="6"] #jobs-list .job-meta{
    display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;
  }
  body[data-step="6"] #jobs-list .jm{
    display:grid!important;grid-template-columns:22px 1fr;grid-template-rows:auto auto;
    column-gap:8px;align-items:center;
    padding:8px 10px!important;border-radius:12px!important;
    background:#f7f9fa!important;border:1px solid #e9eff1!important;
    min-height:0!important;
  }
  body[data-step="6"] #jobs-list .jm svg{
    grid-row:1 / span 2;width:19px;height:19px;color:#8A6D2C!important;align-self:center;
  }
  body[data-step="6"] #jobs-list .jm .jm-k{
    font-size:10px!important;font-weight:800!important;color:#8b9aa3!important;line-height:1.3;
  }
  body[data-step="6"] #jobs-list .jm .jm-v{
    font-size:13px!important;font-weight:900!important;color:#0d2f3d!important;line-height:1.35;
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  }

  /* سطر الأجر: واضح وصغير */
  body[data-step="6"] #jobs-list .job-pay{
    display:flex!important;align-items:center;justify-content:space-between;gap:8px;
    margin-top:10px!important;padding:9px 12px!important;border-radius:12px!important;
    background:#ffffff!important;border:1px solid #EFE0BD!important;
  }
  body[data-step="6"] #jobs-list .job-pay-k{
    display:inline-flex!important;align-items:center;gap:6px;
    font-size:11px!important;font-weight:800!important;color:#8A6D2C!important;
  }
  body[data-step="6"] #jobs-list .job-pay-k svg{width:16px;height:16px}
  body[data-step="6"] #jobs-list .job-pay-v{
    font-size:13.5px!important;font-weight:900!important;color:#6B5320!important;white-space:nowrap;
  }

  /* أزرار الكارت: صفّ واحد مرتّب */
  body[data-step="6"] #jobs-list .job-actions{
    display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin:12px -14px 0!important;
    padding:11px 14px!important;background:#fafbfc!important;border-top:1px solid #edf1f3!important;
    border-radius:0 0 18px 18px;
  }
  /* «تفاصيل الوظيفة» صغيرة · أزرار الاختيار تأخذ المساحة */
  body[data-step="6"] #jobs-list .job-actions .job-details-btn{flex:0 1 auto!important;min-width:104px!important}
  body[data-step="6"] #jobs-list .job-actions .btn{
    flex:1 1 128px!important;min-width:0!important;min-height:44px!important;
    font-size:13px!important;font-weight:900!important;padding:9px 10px!important;border-radius:12px!important;
    white-space:nowrap!important;
  }
  body[data-step="6"] #jobs-list .job-actions .btn-success{flex-basis:150px!important}
  body[data-step="6"] #jobs-list .job-details{
    font-size:12.5px!important;line-height:1.9;color:#546873!important;
    background:#f8fafb!important;border-radius:12px;padding:10px 12px;margin-top:10px;
  }

  /* ── 3) «البورتريه»: المختارة تبرز والبقية تُغبَّش ───────────────────── */
  #jobs-list.has-focus{gap:16px!important}
  #jobs-list.has-focus .job-card:not(.selected){
    filter:blur(2.6px) saturate(.55) brightness(.97)!important;
    opacity:.5!important;
    transform:scale(.955)!important;
  }
  #jobs-list.has-focus .job-card.selected{
    z-index:6;
    transform:translateY(-6px) scale(1.03)!important;
    filter:none!important;opacity:1!important;
    box-shadow:0 26px 60px rgba(2,20,28,.3),0 0 0 3px rgba(200,162,74,.35)!important;
  }
  /* طبقة تعتيم ناعمة خلف المختارة (لا تمنع النقر على البطاقة نفسها) */
  #jobs-list.has-focus::before{
    content:'';position:absolute;inset:-6px;z-index:0;pointer-events:none;border-radius:22px;
    background:radial-gradient(70% 55% at 50% 30%,rgba(2,20,28,0) 42%,rgba(2,20,28,.22));
  }
  /* شارة «مختارة» داخل الكارت: واضحة ومرتبة */
  #jobs-list .job-card.selected{
    outline:2px solid #C8A24A;outline-offset:-2px;
  }
  #jobs-list .job-card.selected .job-head::after{
    content:'';position:absolute;inset-block-start:-1px;inset-inline:18px;height:3px;border-radius:0 0 3px 3px;
    background:linear-gradient(90deg,transparent,#C8A24A,transparent);
  }

  /* حركات دخول الكروت واحدة بعد الأخرى */
  @media(prefers-reduced-motion:no-preference){
    #jobs-list .job-card{animation:jobCardIn .45s cubic-bezier(.2,1,.3,1) both}
    #jobs-list .job-card:nth-child(2){animation-delay:.05s}
    #jobs-list .job-card:nth-child(3){animation-delay:.1s}
    #jobs-list .job-card:nth-child(n+4){animation-delay:.15s}
  }
  @keyframes jobCardIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
  @media(prefers-reduced-motion:reduce){
    #jobs-list .job-card,#jobs-list.has-focus .job-card:not(.selected){transition:none!important;animation:none!important}
    #jobs-list.has-focus .job-card:not(.selected){filter:none!important;opacity:.75!important;transform:none!important}
  }

  /* على الجوال: عمود واحد وكروت أصغر */
  @media(max-width:640px){
    body[data-step="6"] #jobs-list{grid-template-columns:1fr!important;gap:14px!important}
    body[data-step="6"] #jobs-list .job-meta{grid-template-columns:1fr 1fr!important}
  }
}
/* ═══════════════════════════════════════════════════════════════════════════
   2026-10-27 · أبيض · كحلي · ذهبي نيون  (لا كريمي نهائياً في صفحة التقديم)
   + إعادة تصميم أزرار الإتمام والنتيجة: مقاسات وشكل وترتيب احترافي
   ═══════════════════════════════════════════════════════════════════════════ */
@media screen{

  /* ── 1) تنظيف نهائي للكريمي: كل خلفية إمّا أبيض أو كحلي ─────────────── */
  body{background-color:#ffffff!important}
  body[data-step="0"]{
    background-image:
      radial-gradient(720px 300px at 8% -6%,rgba(200,162,74,.10),transparent 70%),
      radial-gradient(760px 320px at 96% 0%,rgba(1,47,62,.07),transparent 72%),
      linear-gradient(180deg,#ffffff 0%,#ffffff 100%)!important;
  }
  /* «الواجهة» تحتفظ بصورتها؛ باقي أقسام الترحيب بيضاء صريحة (لا كريمي) */
  .mk-screen,.mk-sep,.mk-why,.mk-end{background:#ffffff!important}
  .mk-feat,.profile-card,.rv-card,.job-filters,.job-card,.card-sheet-box,#jobs-empty{background:#ffffff!important}
  /* الشرائح والتلميحات: أبيض بحدود ملوّنة (لا خلفيات كريمية) */
  .rv-chip,.jf-chip,.step-eyebrow,.rv-note,.identity-notice,.jobs-hint.picked,
  .chances-bar.has1,.chances-bar.has2,.alert-info{
    background:#ffffff!important;
  }
  .rv-chip{border-color:#e4eaef!important;color:#12404f!important}
  .jf-chip{background:#ffffff!important;border:1px solid rgba(200,162,74,.55)!important;color:#8A6D2C!important}
  .step-eyebrow{background:#ffffff!important;border-color:#e4eaef!important;color:#12404f!important}
  .rv-note{background:#ffffff!important;border:1px solid #E8DDC4!important;border-inline-start:4px solid #1B4480!important;color:#12305C!important}
  .identity-notice{background:#ffffff!important;border:1px solid rgba(200,162,74,.55)!important;border-inline-start:4px solid #C8A24A!important;color:#8A6D2C!important}
  .chances-bar.has1,.chances-bar.has2{background:#ffffff!important;border-color:#e4eaef!important;color:#0d2f3d!important}
  .chances-bar.has0{background:#ffffff!important;border-color:#f0c9c2!important;color:#8f2c1f!important}
  .alert-info{background:#ffffff!important;border:1px solid #cfe6f2!important;border-inline-start:4px solid #2d7fa8!important}
  .alert-error{background:#ffffff!important;border:1px solid #f3cfc8!important;border-inline-start:4px solid #b3392b!important;color:#8f2c1f!important}
  /* سطر الأجر وشريط النسبة والأيقونات: أبيض + ذهبي نيون */
  #jobs-list .job-pay,#jobs-list .job-salary,.job-pay,#jobs-list .job-pay-row{
    background:#ffffff!important;border:1.5px solid rgba(200,162,74,.55)!important;
  }
  #jobs-list .job-pay *,#jobs-list .job-salary *,#jobs-list .job-pay-row *{color:#8A6D2C!important}
  #jobs-list .job-pay b,#jobs-list .job-salary b{color:#0d2f3d!important}
  .step-label .pct{background:#ffffff!important;border:1.5px solid rgba(200,162,74,.7)!important;color:#8A6D2C!important;box-shadow:none!important}
  .gender-opt .icon,.gender-opt.selected .icon{background:#ffffff!important;border-color:rgba(200,162,74,.65)!important}
  .gender-opt{background:#ffffff!important}
  .gender-opt.selected{background:#ffffff!important;border-color:#C8A24A!important;box-shadow:0 0 0 3px rgba(200,162,74,.2)!important}
  .mk-feat{background:#ffffff!important}
  .mk-feat-ic,.mk-feat:nth-child(n) .mk-feat-ic{background:#ffffff!important}
  .btn-card-details{background:#ffffff!important}
  .job-filters input,.job-filters select,.form-group input,.form-group select{background:#ffffff!important}
  .rv-edit{background:#ffffff!important}
  /* الطبقة السفلية للمراجعة على الكحلي: أبيض بلا كريمي */
  body[data-step="7"] .rv-card{background:#ffffff!important}

  /* ── 2) نظام الأزرار: مقاس واحد وأشكال واضحة ─────────────────────────── */
  .btn{
    min-height:50px!important;padding:12px 18px!important;
    font-size:15px!important;font-weight:900!important;border-radius:14px!important;
    gap:8px!important;letter-spacing:0!important;
    transition:transform .2s var(--ap-ease),box-shadow .26s ease,filter .26s ease,
               background-color .26s ease,border-color .26s ease!important;
  }
  .btn-sm{min-height:44px!important;font-size:13.5px!important;padding:10px 14px!important;border-radius:12px!important}
  .btn>svg{flex:none}

  /* الأساسي = ذهبي نيون بنص كحلي (هوية المنصة) */
  .btn-primary{
    background:linear-gradient(135deg,#E3C479,#C8A24A 52%,#8A6D2C)!important;
    color:#062B38!important;border:1.5px solid rgba(255,255,255,.55)!important;
    box-shadow:0 12px 26px rgba(200,162,74,.30),inset 0 1px 0 rgba(255,255,255,.6)!important;
  }
  .btn-primary:not(:disabled):hover{filter:brightness(1.05);transform:translateY(-2px)}
  .btn-primary:not(:disabled):active{transform:translateY(1px) scale(.985)!important}

  /* الثانوي = أبيض بحدّ كحلي رقيق */
  .btn-outline{
    background:#ffffff!important;border:1.5px solid #cfdae0!important;color:#0d2f3d!important;
    box-shadow:0 4px 12px rgba(13,47,61,.06)!important;
  }
  .btn-outline:not(:disabled):hover{border-color:#0d2f3d!important;background:#fbfdff!important}

  /* زر هادئ (روابط الإجراء) */
  .btn-quiet{
    background:transparent!important;border:0!important;box-shadow:none!important;
    color:#5b7280!important;font-size:13.5px!important;font-weight:800!important;
    min-height:40px!important;padding:8px 12px!important;border-radius:10px!important;
  }
  .btn-quiet:hover{color:#0d2f3d!important;background:#f5f8fa!important}
  .btn-quiet svg{opacity:.7}

  /* الحجم في صفحات الإدخال: ٥٢px بدل ٦٤px (كانت ضخمة) */
  .profile-page > .btn-row .btn,.jobs-foot > .btn-row .btn,#pg-review > .btn-row .btn{
    min-height:52px!important;font-size:16px!important;padding:12px 20px!important;border-radius:14px!important;
  }
  @media(max-width:420px){
    .profile-page > .btn-row .btn,.jobs-foot > .btn-row .btn{min-height:50px!important;font-size:15px!important}
  }

  /* ── 3) شريط أزرار المراجعة: ثابت أسفل الشاشة، ذهبي واحد واضح ────────── */
  #pg-review > .review-bar{
    position:sticky!important;bottom:10px;z-index:5;
    margin-bottom:2px!important;
    display:flex!important;flex-direction:row!important;align-items:center!important;
    gap:10px!important;margin-top:18px!important;
    padding:10px!important;border-radius:18px!important;
    background:rgba(255,255,255,.94)!important;
    border:1px solid rgba(200,162,74,.55)!important;
    box-shadow:0 -2px 0 rgba(200,162,74,.55) inset,0 18px 40px rgba(2,20,28,.16)!important;
    backdrop-filter:blur(10px) saturate(1.1);
  }
  #pg-review .review-back{
    flex:0 0 auto!important;width:auto!important;min-width:104px!important;
    min-height:52px!important;font-size:14.5px!important;gap:6px!important;
  }
  #pg-review .review-back svg{transform:scaleX(1)}
  #pg-review .review-go{
    flex:1 1 auto!important;min-height:52px!important;
    font-size:16.5px!important;font-weight:900!important;
    position:relative;overflow:hidden;
  }
  /* لمعة ذهبية تمرّ على زر الإتمام */
  #pg-review .review-go::before{
    content:'';position:absolute;inset-block:0;inset-inline-start:-60%;width:42%;z-index:0;
    background:linear-gradient(100deg,transparent,rgba(255,255,255,.75),transparent);
    transform:skewX(-18deg);animation:goShine 4.2s ease-in-out infinite;
  }
  #pg-review .review-go svg,#pg-review .review-go span{position:relative;z-index:1}
  #pg-review{padding-bottom:6px}
  #pg-review #review-content{padding-bottom:4px}
  @keyframes goShine{0%,68%{inset-inline-start:-60%}88%,100%{inset-inline-start:135%}}
  #btn-finish:disabled{opacity:.55!important;filter:grayscale(.2)}
  @media(max-width:420px){
    #pg-review > .review-bar{gap:8px!important;padding:9px!important;border-radius:16px!important}
    #pg-review .review-back{min-width:92px!important;font-size:13.5px!important}
    #pg-review .review-go{font-size:15px!important}
  }

  /* ── 4) أزرار صفحة النتيجة: شبكة مرتّبة بدل عمود ضخم ─────────────────── */
  .result-actions{
    display:grid!important;grid-template-columns:1fr 1fr!important;
    gap:10px!important;margin-top:16px!important;
  }
  .result-actions .btn{width:auto!important;min-height:50px!important;font-size:14.5px!important;border-radius:14px!important;padding:11px 14px!important}
  .result-actions .btn:first-child{
    grid-column:1 / -1;min-height:54px!important;font-size:15.5px!important;font-weight:900!important;
  }
  /* «استخدام الباركود» كحلي بحدود ذهبية (إجراء مميّز) */
  .result-actions .btn-ghost-gold{
    grid-column:1 / -1;min-height:50px!important;
    background:linear-gradient(135deg,#12305C,#16304F 60%)!important;
    color:#ffffff!important;border:1.5px solid rgba(200,162,74,.8)!important;
    box-shadow:0 12px 24px rgba(2,20,28,.24)!important;
  }
  .result-actions .btn-ghost-gold svg{color:#C8A24A}
  .result-back{display:flex!important;justify-content:center!important;margin-top:8px!important}
  .result-back .btn-quiet{width:auto!important}
  @media(max-width:420px){
    .result-actions{gap:8px!important}
    .result-actions .btn{font-size:13.5px!important;padding:10px!important}
  }

  /* ── 5) أزرار كروت الوظائف: كحلي متّسق مع النظام ─────────────────────── */
  #jobs-list .job-actions .btn-primary{
    background:linear-gradient(135deg,#12305C,#16304F 62%)!important;
    color:#ffffff!important;border:1.5px solid rgba(200,162,74,.75)!important;
    box-shadow:0 8px 18px rgba(2,20,28,.18)!important;
  }
  #jobs-list .job-actions .btn-primary:hover{filter:brightness(1.12)}

  /* ── 6) لمسات: ظلال ناعمة وحدود رقيقة لكل الأسطح البيضاء ─────────────── */
  .profile-card,.rv-card{box-shadow:0 20px 48px rgba(13,47,61,.12)!important}
  .card-sheet-box,.job-card{box-shadow:0 16px 36px rgba(13,47,61,.10)!important}

  @media(prefers-reduced-motion:reduce){
    #pg-review .review-go::before{animation:none!important;display:none!important}
  }
}
/* ── موافقة قانونية قبل الإتمام (2026-11-24): شرط إرسال لا زينة ──
   لا يقبل النظام إرسال الطلب قبل تعليم الخانة؛ ووقت تسجيل الطلب = وقت الموافقة. */
.consent-line{display:flex;gap:10px;align-items:flex-start;text-align:start;background:rgba(200,162,74,.08);
  border:1px solid rgba(200,162,74,.35);border-radius:14px;padding:12px 14px;margin:16px 0 8px;
  font-size:.9rem;line-height:1.95;cursor:pointer;transition:border-color .2s,background .2s}
.consent-line input{width:20px;height:20px;margin:3px 0 0;flex:0 0 auto;accent-color:#c8a24a}
.consent-line a{color:#e8d089;text-decoration:underline;font-weight:700}
.consent-line.is-missing{border-color:#e06a63;background:rgba(224,106,99,.13)}
.consent-note{font-size:.78rem;color:#9fb0c9;margin:0 0 10px;line-height:1.8}

/* ── 7) مكمّلات: زر الإتمام ذهبي (يلغي الأخضر القديم) + رأس الوظيفة في المراجعة ── */
@media screen{
  #btn-finish{
    background:linear-gradient(135deg,#E3C479,#C8A24A 52%,#8A6D2C)!important;
    color:#062B38!important;border:1.5px solid rgba(255,255,255,.6)!important;
    box-shadow:0 14px 30px rgba(200,162,74,.34),inset 0 1px 0 rgba(255,255,255,.6)!important;
  }
  #btn-finish:not(:disabled):hover{box-shadow:0 18px 36px rgba(200,162,74,.42)!important;filter:brightness(1.04)}
  #btn-finish svg{color:#062B38;stroke-width:2.6}
  /* رأس كارت الفرصة في المراجعة: العنوان يساراً والزر يميناً */
  body[data-step="7"] .rv-jobs .rv-sub{
    display:flex!important;align-items:center!important;justify-content:space-between!important;
    gap:10px!important;padding:6px 8px 6px 12px!important;margin:12px 0 4px!important;
  }
  body[data-step="7"] .rv-jobs .rv-sub>span{font-size:12.5px!important;font-weight:900!important;letter-spacing:.01em}
  body[data-step="7"] .rv-jobs .rv-sub .rv-edit{
    background:#C8A24A!important;color:#062B38!important;border:1.5px solid rgba(255,255,255,.55)!important;
    font-size:11.5px!important;font-weight:900!important;padding:5px 12px!important;min-height:32px!important;
    box-shadow:0 6px 14px rgba(200,162,74,.28);
  }
  body[data-step="7"] .rv-jobs .rv-sub .rv-edit:hover{background:#E3C479!important;color:#062B38!important}
}
/* ── 8) صفحة النتيجة: كحلية · الاستمارة بيضاء · أزرار شبكة مرتّبة ───────── */
@media screen{
  body[data-step="8"]{color:#eaf3f6!important}
  /* بطاقة النجاح */
  body[data-step="8"] #result-content .ok-hero{
    background:#ffffff!important;border:1px solid rgba(255,255,255,.7)!important;
    border-radius:22px!important;padding:20px 18px!important;text-align:center;
    box-shadow:0 20px 46px rgba(2,20,28,.32)!important;margin-bottom:14px;
  }
  body[data-step="8"] #result-content .ok-title{
    color:#0d2f3d!important;font-size:20px!important;font-weight:900!important;margin:8px 0 4px!important;
  }
  body[data-step="8"] #result-content .ok-sub{color:#5f7380!important;font-size:13px!important;line-height:1.9}
  /* ورقة الاستمارة تبقى بيضاء كما هي */
  body[data-step="8"] #result-content .form-sheet{box-shadow:0 22px 50px rgba(2,20,28,.34)!important}
  /* أزرار النتيجة: صف كامل لكل إجراء مهم + زرّا النسخ جنباً إلى جنب */
  .result-actions .btn-outline{grid-column:1 / -1}
  .result-actions .btn-quiet{grid-column:1 / -1}
  .result-back{justify-content:center!important}
  body[data-step="8"] .result-back .btn-quiet{color:#cfe0e7!important}
  body[data-step="8"] .result-back .btn-quiet:hover{color:#ffffff!important;background:rgba(255,255,255,.1)!important}
}
/* ═══════════════════════════════════════════════════════════════════════════
   2026-10-28 · هوية الملصق: كحلي + ذهبي + أبيض  (الترحيب وكل ما بعده)
   ─ الكحلي #16304F / #0F2444 / #0D2247 · الذهبي #C8A24A / #E3C479 / #E8D089
   ─ الأسطح بيضاء · الحدود ذهبية رقيقة · لا أخضر ولا نيلي ولا كريمي ثقيل
   ═══════════════════════════════════════════════════════════════════════════ */
@media screen{
  :root{
    --ps-navy:#16304F;  --ps-navy-2:#0F2444;  --ps-navy-3:#0D2247;
    --ps-gold:#C8A24A;  --ps-gold-2:#E3C479;  --ps-gold-3:#E8D089; --ps-gold-4:#B08D3C;
    --ps-line:#E6DCC6;  --ps-ink:#16294A;      --ps-muted:#6E7C8E;
  }

  /* ── 1) الخلفية: كحلي الملصق بهالتين ذهبيتين ─────────────────────────── */
  body[data-step="1"],body[data-step="2"],body[data-step="3"],body[data-step="4"],
  body[data-step="5"],body[data-step="6"],body[data-step="7"],body[data-step="8"]{
    background-color:#0F2444!important;
    background-image:
      radial-gradient(880px 420px at 8% -10%,rgba(200,162,74,.26),transparent 70%),
      radial-gradient(760px 380px at 98% 2%,rgba(30,66,112,.55),transparent 72%),
      linear-gradient(180deg,#1E4270 0%,#16304F 46%,#0A1A33 100%)!important;
  }
  body[data-step="1"] .app::before,body[data-step="2"] .app::before,body[data-step="3"] .app::before,
  body[data-step="4"] .app::before,body[data-step="5"] .app::before,body[data-step="6"] .app::before,
  body[data-step="7"] .app::before,body[data-step="8"] .app::before{
    background:radial-gradient(circle,rgba(200,162,74,.24),rgba(200,162,74,0) 68%)!important;
  }
  body[data-step="1"] .app::after,body[data-step="2"] .app::after,body[data-step="3"] .app::after,
  body[data-step="4"] .app::after,body[data-step="5"] .app::after,body[data-step="6"] .app::after,
  body[data-step="7"] .app::after,body[data-step="8"] .app::after{
    background:radial-gradient(circle,rgba(227,196,121,.16),rgba(227,196,121,0) 68%)!important;
  }
  body[data-step="1"]::before,body[data-step="2"]::before,body[data-step="3"]::before,
  body[data-step="4"]::before,body[data-step="5"]::before,body[data-step="6"]::before,
  body[data-step="7"]::before,body[data-step="8"]::before{
    background-image:linear-gradient(90deg,transparent,rgba(200,162,74,.95) 30%,rgba(232,208,137,.95) 62%,transparent)!important;
  }

  /* ── 2) شريط التقدّم: زجاج كحلي بحدود ذهبية ونقاط ذهبية ─────────────── */
  body[data-step="1"] .steps-bar,body[data-step="2"] .steps-bar,body[data-step="3"] .steps-bar,
  body[data-step="4"] .steps-bar,body[data-step="5"] .steps-bar,body[data-step="6"] .steps-bar,
  body[data-step="7"] .steps-bar,body[data-step="8"] .steps-bar{
    background:rgba(255,255,255,.06)!important;border:1px solid rgba(200,162,74,.45)!important;
    box-shadow:0 12px 30px rgba(4,16,34,.30),inset 0 1px 0 rgba(255,255,255,.08)!important;
  }
  .step-dot{background:rgba(255,255,255,.20)!important}
  .step-dot.done{background:linear-gradient(90deg,#B08D3C,#E3C479)!important;box-shadow:none!important}
  .step-dot.active{
    background:linear-gradient(90deg,#E8D089,#C8A24A)!important;
    box-shadow:0 0 0 3px rgba(200,162,74,.22)!important;animation:none!important;
  }
  body[data-step] .step-label{color:rgba(244,239,226,.84)!important}
  body[data-step] .step-label b{color:#FFFFFF!important}
  body[data-step] .step-label .pct{
    background:rgba(200,162,74,.18)!important;border:1px solid rgba(227,196,121,.7)!important;
    color:#F2E2AC!important;box-shadow:none!important;
  }

  /* ── 3) البطاقات: بيضاء · حدود ذهبية · شريط ذهبي متحرّك ─────────────── */
  .profile-card,.rv-card,.job-filters,.job-card,.card-sheet-box,#jobs-empty{
    background:#FFFFFF!important;border:1px solid var(--ps-line)!important;
  }
  .profile-card,.rv-card{box-shadow:0 22px 50px rgba(4,16,34,.34)!important}
  .profile-card::before{
    background:linear-gradient(90deg,#B08D3C,#E3C479 42%,#F7ECC8 70%,#C8A24A)!important;
    background-size:200% 100%!important;animation:apRibbon 12s linear infinite!important;
  }
  .step-eyebrow{background:#FFFFFF!important;border:1px solid var(--ps-line)!important;color:#12305C!important}
  .section-title{color:var(--ps-ink)!important}
  .section-title::before{background:linear-gradient(180deg,#E3C479,#C8A24A)!important;box-shadow:none!important}
  .step-intro h2::after{background:linear-gradient(90deg,#C8A24A,rgba(200,162,74,0))!important}

  /* ── 4) الحقول: بيضاء بحدّ ذهبي عند التركيز ─────────────────────────── */
  .form-group label{color:#12305C!important}
  .form-group input,.form-group select{
    background:#FFFFFF!important;border:1.5px solid var(--ps-line)!important;color:var(--ps-ink)!important;
  }
  .form-group input:focus,.form-group select:focus{
    border-color:#C8A24A!important;box-shadow:0 0 0 4px rgba(200,162,74,.18)!important;background:#FFFDF8!important;
  }
  .fld-ic{background:#FFFDF8!important;border:1px solid var(--ps-line)!important;color:#8A6D2C!important}
  .fld:focus-within .fld-ic{background:#16304F!important;border-color:#16304F!important;color:#E3C479!important}
  .form-group input.valid,.form-group select.valid{
    border-color:#C8A24A!important;box-shadow:0 0 0 4px rgba(200,162,74,.16)!important;
  }
  .form-group input.invalid,.form-group select.invalid{
    border-color:#B3392B!important;box-shadow:0 0 0 4px rgba(179,57,43,.13)!important;
  }

  /* ── 5) الأزرار: كحلي بحدود ذهبية (زر الملصق) + ذهبي للإتمام ────────── */
  .btn-primary,body[data-step] .btn-primary,#btn-finish{
    background:linear-gradient(135deg,#1E4270,#16304F 52%,#0D2247)!important;
    color:#FFFFFF!important;border:1.5px solid rgba(227,196,121,.85)!important;
    box-shadow:0 14px 30px rgba(13,34,71,.38),inset 0 1px 0 rgba(255,255,255,.16)!important;
  }
  .btn-primary *,body[data-step] .btn-primary *,#btn-finish *{color:#FFFFFF!important;stroke:#FFFFFF!important}
  .btn-primary::before,#btn-finish::before{
    background:linear-gradient(100deg,transparent,rgba(255,255,255,.22),transparent)!important;
  }
  /* إتمام التقديم: ذهبي بارز بلمعة (نقطة القرار) */
  #btn-finish{
    background:linear-gradient(135deg,#E8D089,#C8A24A 55%,#B08D3C)!important;
    color:#241A05!important;border:1.5px solid rgba(255,255,255,.55)!important;
  }
  #btn-finish *,#btn-finish svg{color:#241A05!important;stroke:#241A05!important}
  .btn-outline,body[data-step] .btn-outline{
    background:#FFFFFF!important;border:1.5px solid var(--ps-line)!important;color:#12305C!important;
  }
  .btn-outline:hover{border-color:#C8A24A!important;background:#FFFDF6!important}

  /* ── 6) الجنس والهاتف والتنبيهات ────────────────────────────────────── */
  .gender-opt{background:#FFFFFF!important;border-color:var(--ps-line)!important}
  .gender-opt .icon{background:#FFFDF8!important;border-color:var(--ps-line)!important;color:#8A6D2C!important}
  .gender-opt:hover{border-color:#C8A24A!important}
  .gender-opt.selected{
    background:#FFFCF3!important;border-color:#C8A24A!important;
    box-shadow:0 0 0 3px rgba(200,162,74,.20)!important;color:#16294A!important;
  }
  .gender-opt.selected .icon{background:#16304F!important;border-color:#16304F!important;color:#E3C479!important}
  .gender-opt.selected .icon svg{color:#E3C479!important}
  .gender-opt.selected::after{background:#C8A24A!important;color:#241A05!important}
  .phone-meter .pc-track{background:#E9E2D2!important}
  .phone-meter .pc-track i{background:linear-gradient(90deg,#C8A24A,#E3C479)!important}
  .phone-meter .pc-num{color:#12305C!important}
  .phone-meter.done .pc-track i{background:linear-gradient(90deg,#B08D3C,#E8D089)!important}
  .alert-error{background:#FFFFFF!important;border:1px solid #F0C9C2!important;border-inline-start:4px solid #B3392B!important;color:#8F2C1F!important}
  .alert-info{background:#FFFFFF!important;border:1px solid #D9E4F2!important;border-inline-start:4px solid #1E4270!important;color:#12305C!important}
  .identity-notice{background:#FFFFFF!important;border:1px solid var(--ps-line)!important;border-inline-start:4px solid #C8A24A!important;color:#6B5320!important}
  .identity-notice b,.identity-notice strong{color:#0D2247!important}

  /* ── 7) شاشة الوظائف: كحلي + ذهبي · كروت بيضاء ──────────────────────── */
  body[data-step="6"] .section-title{color:#FFFFFF!important}
  body[data-step="6"] .section-title::before{background:linear-gradient(180deg,#E3C479,#C8A24A)!important}
  body[data-step="6"] .chances-bar,body[data-step="6"] .chances-bar.has2,
  body[data-step="6"] .chances-bar.has1,body[data-step="6"] .chances-bar.has0{
    background:rgba(255,255,255,.08)!important;border:1px solid rgba(200,162,74,.45)!important;color:#F4EFE2!important;
  }
  body[data-step="6"] .chances-bar b{color:#F2E2AC!important}
  body[data-step="6"] .chances-bar .chip-dot.on{background:#E3C479!important}
  body[data-step="6"] .job-filters{
    background:linear-gradient(160deg,rgba(255,255,255,.10),rgba(255,255,255,.04))!important;
    border:1px solid rgba(200,162,74,.40)!important;
  }
  body[data-step="6"] .job-filters label,body[data-step="6"] .jf-cell label{color:#EFE6D2!important}
  body[data-step="6"] .jf-top b,body[data-step="6"] .jf-note{color:rgba(239,230,210,.9)!important}
  body[data-step="6"] .job-filters input:not([type=checkbox]),body[data-step="6"] .job-filters select{
    background:#FFFFFF!important;border:1px solid rgba(232,221,196,.9)!important;color:#16294A!important;
  }
  body[data-step="6"] .jf-ic{color:#C8A24A!important}
  body[data-step="6"] .jf-more{
    background:rgba(200,162,74,.22)!important;border:1.5px solid rgba(227,196,121,.85)!important;color:#FFFFFF!important;
  }
  body[data-step="6"] .jf-more svg{color:#F2E2AC!important}
  body[data-step="6"] .jf-reset{background:rgba(255,255,255,.10)!important;border-color:rgba(232,208,137,.5)!important;color:#F4EFE2!important}
  body[data-step="6"] .jf-panel{background:rgba(10,26,51,.40)!important;border:1px solid rgba(200,162,74,.35)!important}
  body[data-step="6"] .jf-panel-title{color:#F2E2AC!important}
  body[data-step="6"] .job-filters #jobs-count{
    background:rgba(200,162,74,.20)!important;border:1px solid rgba(227,196,121,.6)!important;color:#F7ECC8!important;
  }
  body[data-step="6"] .job-filters #jobs-count b{color:#FFFFFF!important}
  body[data-step="6"] .job-filters #jobs-count::before{background:#E3C479!important}
  body[data-step="6"] .jf-chip{background:rgba(200,162,74,.20)!important;border-color:rgba(227,196,121,.6)!important;color:#F7ECC8!important}
  body[data-step="6"] .jobs-hint{background:rgba(255,255,255,.08)!important;border:1px dashed rgba(232,208,137,.55)!important;color:#F4EFE2!important}
  body[data-step="6"] .jobs-hint.picked{background:rgba(200,162,74,.18)!important;border:1px solid rgba(227,196,121,.7)!important;color:#F7ECC8!important}
  body[data-step="6"] .jobs-hint b{color:#FFFFFF!important}
  body[data-step="6"] #jobs-empty{border:1px dashed rgba(232,208,137,.5)!important;color:rgba(244,239,226,.9)!important}
  body[data-step="6"] #jobs-empty p{color:rgba(244,239,226,.9)!important}
  /* الكروت البيضاء */
  body[data-step="6"] #jobs-list .job-card{background:#FFFFFF!important;border:1px solid #EFE7D6!important;color:#16294A!important}
  body[data-step="6"] #jobs-list .jm{background:#FDFAF3!important;border:1px solid #EFE7D6!important}
  body[data-step="6"] #jobs-list .jm .k,body[data-step="6"] #jobs-list .jm .jm-k{color:#8A7B5C!important}
  body[data-step="6"] #jobs-list .jm .v,body[data-step="6"] #jobs-list .jm .jm-v{color:#16294A!important}
  body[data-step="6"] #jobs-list .jm svg{color:#8A6D2C!important}
  body[data-step="6"] #jobs-list .job-pay,body[data-step="6"] #jobs-list .job-salary{
    background:#FDF3D8!important;border:1px solid #EFE0BD!important;
  }
  body[data-step="6"] #jobs-list .job-pay *,body[data-step="6"] #jobs-list .job-salary *{color:#7A5F21!important}
  body[data-step="6"] #jobs-list .job-tags .job-code{background:#F1F7F5!important;border:1px solid #CFE4DC!important;color:#1F6B57!important}
  body[data-step="6"] #jobs-list .job-tags .job-cat{background:#FDF3D8!important;border:1px solid #EFE0BD!important;color:#7A5F21!important}
  body[data-step="6"] #jobs-list .job-state.is-open{background:#F1F7F5!important;border-color:#CFE4DC!important;color:#1F6B57!important}
  body[data-step="6"] #jobs-list .job-actions{background:#FBF9F4!important;border-top:1px solid #EFE7D6!important}
  body[data-step="6"] #jobs-list .job-actions .btn-outline{background:#FFFFFF!important;border-color:#E6DCC6!important;color:#12305C!important}
  /* المختارة: ذهبية واضحة */
  body[data-step="6"] #jobs-list .job-card.selected{
    background:#FFFFFF!important;border:2px solid #C8A24A!important;
    box-shadow:0 24px 54px rgba(4,16,34,.28),0 0 0 4px rgba(200,162,74,.22)!important;
  }
  body[data-step="6"] #jobs-list .job-card.selected .job-state.is-picked{
    background:linear-gradient(140deg,#E8D089,#C8A24A)!important;color:#241A05!important;border-color:transparent!important;
  }
  body[data-step="6"] #jobs-list .job-card.selected .jm{background:#FDF3D8!important;border-color:#EFE0BD!important}
  body[data-step="6"] #jobs-list .job-card.selected .job-actions{background:#FDF3D8!important;border-top:1px solid #EFE0BD!important}
  body[data-step="6"] #jobs-list .job-card.selected .job-actions .btn-primary{
    background:linear-gradient(135deg,#E8D089,#C8A24A 55%,#B08D3C)!important;color:#241A05!important;
    border-color:rgba(255,255,255,.55)!important;
  }
  body[data-step="6"] #jobs-list .job-card.selected .job-actions .btn-primary *{color:#241A05!important}

  /* ── 8) المراجعة: كارت كحلي ذهبي + أزرار ────────────────────────────── */
  body[data-step="7"] .rv-card{background:#FFFFFF!important;border:1px solid var(--ps-line)!important}
  body[data-step="7"] .rv-ic{background:#FFFDF8!important;border-color:var(--ps-line)!important;color:#8A6D2C!important}
  body[data-step="7"] .rv-head::before{background:linear-gradient(180deg,#E3C479,#C8A24A)!important}
  body[data-step="7"] .rv-sub{background:#FDF3D8!important;border:1px solid #EFE0BD!important;color:#7A5F21!important}
  body[data-step="7"] .rv-row{border-bottom:1px dashed #EFE7D6!important}
  body[data-step="7"] .rv-edit{background:#FFFFFF!important;border-color:#E6DCC6!important;color:#12305C!important}
  body[data-step="7"] .rv-edit:hover{border-color:#C8A24A!important;background:#FFFDF6!important}
  body[data-step="7"] .rv-chip{background:#FDFAF3!important;border-color:#EFE7D6!important;color:#7A5F21!important}
  body[data-step="7"] .rv-note{background:#FFFFFF!important;border:1px solid #EFE0BD!important;border-inline-start:4px solid #C8A24A!important;color:#7A5F21!important}
  .rv-note b,.rv-note strong{color:#0D2247!important;background:#FDF3D8!important;padding:0 5px;border-radius:6px;font-weight:900}
  body[data-step="7"] .rv-jobs{
    background:linear-gradient(165deg,#1E4270,#16304F 58%,#0D2247)!important;
    border:1.5px solid rgba(227,196,121,.75)!important;
  }
  body[data-step="7"] .rv-jobs .rv-sub{
    background:rgba(200,162,74,.24)!important;border:1px solid rgba(227,196,121,.6)!important;color:#F7ECC8!important;
  }
  body[data-step="7"] .rv-jobs .rv-sub .rv-edit{
    background:linear-gradient(135deg,#E8D089,#C8A24A)!important;color:#241A05!important;
    border:1.5px solid rgba(255,255,255,.5)!important;
  }
  body[data-step="7"] .rv-jobs .rv-chip{background:rgba(255,255,255,.12)!important;border-color:rgba(239,224,189,.28)!important;color:#FFFFFF!important}
  body[data-step="7"] .rv-jobs .rv-chip svg{color:#E3C479!important}
  #pg-review > .review-bar{border:1px solid rgba(200,162,74,.55)!important;box-shadow:0 -2px 0 rgba(200,162,74,.55) inset,0 18px 40px rgba(4,16,34,.20)!important}
  #pg-review .review-back{background:#FFFFFF!important;border-color:#E6DCC6!important;color:#12305C!important}

  /* ── 9) النتيجة ─────────────────────────────────────────────────────── */
  body[data-step="8"] #result-content .ok-hero{background:#FFFFFF!important;border:1px solid var(--ps-line)!important}
  body[data-step="8"] .ok-ico{background:linear-gradient(150deg,#FFFDF8,#F7ECC8)!important;border:1.5px solid #E3C479!important;color:#8A6D2C!important;box-shadow:0 10px 24px rgba(200,162,74,.20)!important}
  body[data-step="8"] .result-actions .btn-primary{background:linear-gradient(135deg,#E8D089,#C8A24A 55%,#B08D3C)!important;color:#241A05!important;border:1.5px solid rgba(255,255,255,.55)!important}
  body[data-step="8"] .result-actions .btn-primary *{color:#241A05!important;stroke:#241A05!important}
  body[data-step="8"] .result-actions .btn-ghost-gold{
    background:linear-gradient(135deg,#1E4270,#16304F)!important;color:#FFFFFF!important;
    border:1.5px solid rgba(227,196,121,.8)!important;
  }
  body[data-step="8"] .result-actions .btn-ghost-gold svg{color:#E3C479!important}
  body[data-step="8"] .result-back .btn-quiet{color:#E3C479!important}
  body[data-step="8"] .footer{color:rgba(244,239,226,.66)!important}

  /* ── 10) الترحيب: زر الملصق (كحلي بحدود ذهبية) والموجات الذهبية ──────── */
  .mk-cta .btn{
    background:linear-gradient(160deg,#1E4270,#16304F 52%,#0D2247)!important;
    color:#FFFFFF!important;border:2px solid rgba(227,196,121,.95)!important;
    box-shadow:0 16px 34px rgba(5,16,34,.44),0 0 0 4px rgba(200,162,74,.14),inset 0 1px 0 rgba(255,255,255,.18)!important;
    animation:none!important;
  }
  .mk-cta .btn *{color:#FFFFFF!important;stroke:#FFFFFF!important}
  .mk-logo .mk-tile{box-shadow:0 22px 40px rgba(5,16,34,.42),0 0 0 6px rgba(200,162,74,.16),inset 0 1px 0 rgba(255,255,255,.1)!important}
  .mk-hero h1 b{color:#E3C479!important;-webkit-text-fill-color:#E3C479!important;text-shadow:0 0 18px rgba(200,162,74,.5),0 4px 18px rgba(4,14,30,.5)!important}
  .mk-tag{color:#F2E2AC!important}
  .mk-sep span{color:#8A6D2C!important}
  .mk-sep::before,.mk-sep::after{background:linear-gradient(90deg,transparent,rgba(200,162,74,.65),transparent)!important}
  .mk-why-t{color:#12305C!important}
  .mk-why-t::before,.mk-why-t::after{background:linear-gradient(90deg,transparent,rgba(200,162,74,.85))!important}
  .mk-why-s{color:#8A7B5C!important}
  .mk-feat{background:#FFFFFF!important;border-color:#EFE7D6!important}
  .mk-feat-ic,.mk-feat:nth-child(n) .mk-feat-ic{background:#FFFDF8!important;border-color:rgba(200,162,74,.45)!important;color:#8A6D2C!important}
  .mk-feat b{color:#12305C!important}
  .mk-feat i{color:#6E7C8E!important}
  .mk-feat:nth-child(1){background:linear-gradient(#fff,#fff) padding-box,linear-gradient(150deg,rgba(200,162,74,.55),rgba(200,162,74,.10)) border-box!important}
  .mk-feat:nth-child(2){background:linear-gradient(#fff,#fff) padding-box,linear-gradient(150deg,rgba(200,162,74,.40),rgba(200,162,74,.08)) border-box!important}
  .mk-feat:nth-child(3){background:linear-gradient(#fff,#fff) padding-box,linear-gradient(150deg,rgba(30,66,112,.35),rgba(200,162,74,.12)) border-box!important}
  .mk-feat:nth-child(4){background:linear-gradient(#fff,#fff) padding-box,linear-gradient(150deg,rgba(22,48,79,.35),rgba(200,162,74,.14)) border-box!important}
  .mk-top{background:linear-gradient(120deg,#1E4270,#16304F 62%,#0F2444)!important}
  .mk-end-in{background:linear-gradient(180deg,#16304F,#0A1A33)!important}

  @media(prefers-reduced-motion:reduce){
    .profile-card::before,.mk-feat:hover{animation:none!important}
  }
}
/* ═══════════════════════════════════════════════════════════════════════════
   2026-10-28 · نافذة الوظيفة: تنفتح بالضغط على أي وظيفة وكل ما وراءها يُغبَّش
   ═══════════════════════════════════════════════════════════════════════════ */
@keyframes jmIn{from{opacity:0;transform:translateY(14px) scale(.985)}to{opacity:1;transform:none}}
@keyframes jmVeilIn{from{opacity:0}to{opacity:1}}

/* flex بدل grid: يمنع تمدّد العمود بعرض المحتوى (كان يفيض أفقياً على الجوال) */
.job-modal{
  position:fixed;inset:0;z-index:520;
  display:flex;align-items:flex-end;justify-content:center;
  padding:0;overflow:hidden;
}
.job-modal[hidden]{display:none!important}
.job-modal-veil{
  position:absolute;inset:0;background:rgba(6,20,40,.55);
  backdrop-filter:blur(2px) saturate(.9);
  animation:jmVeilIn .22s ease both;
}
/* كل ما وراء النافذة: تغبيش + تعتيم خفيف + بلا تفاعل */
html:has(body.job-modal-open){overflow-x:clip}
body.job-modal-open{overflow:hidden;max-width:100vw}
body.job-modal-open .app{
  filter:blur(7px) saturate(.92) brightness(.9);
  pointer-events:none;user-select:none;
  transition:filter .28s ease;
}

.job-modal-box{
  position:relative;z-index:1;
  width:100%;max-width:680px;min-width:0;max-height:90dvh;
  display:flex;flex-direction:column;
  background:#fff;border-radius:22px 22px 0 0;
  border:1px solid #E6DCC6;border-bottom:0;
  box-shadow:0 -24px 70px rgba(4,16,34,.42);
  animation:jmIn .3s cubic-bezier(.22,1,.36,1) both;
  overflow:hidden;
}
@media(min-width:761px){
  .job-modal{align-items:center;padding:20px}
  .job-modal-box{width:min(680px,100%);border-radius:22px;border-bottom:1px solid #E6DCC6}
}

/* رأس النافذة: كحلي بحدود ذهبية
   flex:none على الرأس والجسم والقدم — بدونها ينضغط الرأس/القدم في عمود flex
   عند ضيق الشاشة فيُقتطع عنوان الوظيفة وأزرارها (نفس عطل 2026-11-08). */
.job-modal-head{
  flex:none;display:flex;align-items:center;gap:12px;padding:14px 16px;
  background:linear-gradient(120deg,#1E4270,#16304F 62%,#0D2247);
  border-block-end:1px solid rgba(200,162,74,.55);
}
.job-modal-head{min-width:0;flex-wrap:nowrap}
/* ترتيب الرأس في RTL: الشعار يميناً · العنوان · الشارة · زر الإغلاق يساراً */
.jm-logo{
  display:grid;place-items:center;flex:none;width:44px;height:44px;order:1;
  border-radius:13px;background:#fff;border:1px solid rgba(200,162,74,.6);padding:5px;
}
.jm-headtxt{order:2}
.jm-state{order:3}
.jm-close{order:4}
.jm-logo svg{width:100%;height:100%}
.jm-headtxt{flex:1 1 auto;min-width:0}
.jm-headtxt h2{
  margin:0;font-size:16.5px;font-weight:900;color:#fff;line-height:1.45;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;
}
.jm-headtxt p{margin:2px 0 0;font-size:11.5px;font-weight:700;color:#E3C479;letter-spacing:.08em}
.jm-state{
  flex:none;font-size:11px;font-weight:900;padding:5px 11px;border-radius:999px;
  background:linear-gradient(140deg,#E8D089,#C8A24A);color:#241A05;white-space:nowrap;
}
.jm-close{
  flex:none;width:36px;height:36px;border-radius:11px;cursor:pointer;
  font-size:22px;line-height:1;color:#F2E2AC;
  background:rgba(255,255,255,.10);border:1px solid rgba(232,208,137,.45);
  transition:background .2s,transform .2s;
}
.jm-close:hover{background:rgba(255,255,255,.2);color:#fff}
.jm-close:active{transform:scale(.94)}
.jm-close:focus-visible{outline:2px solid #E3C479;outline-offset:2px}

/* الجسم */
.job-modal-body{
  flex:1 1 auto;min-height:0;
  padding:14px 16px 6px;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;
  display:grid;grid-template-columns:minmax(0,1fr);gap:12px;background:#FFFFFF;
  overflow-wrap:anywhere;
}
.job-modal-body b{overflow-wrap:anywhere}
.jm-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.jm-cell{
  display:grid;grid-template-columns:22px 1fr;grid-template-rows:auto auto;
  column-gap:8px;align-items:center;
  padding:9px 11px;border-radius:12px;background:#FDFAF3;border:1px solid #EFE7D6;
}
.jm-cell svg{grid-row:1 / span 2;width:19px;height:19px;color:#8A6D2C}
.jm-cell .k{font-size:10px;font-weight:800;color:#8A7B5C;line-height:1.3}
.jm-cell .v{font-size:13.5px;font-weight:900;color:#16294A;line-height:1.4}
.jm-pay{
  display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;min-width:0;
  padding:10px 12px;border-radius:12px;background:#FDF3D8;border:1px solid #EFE0BD;
}
.jm-pay .k{display:inline-flex;align-items:center;gap:6px;font-size:11.5px;font-weight:800;color:#7A5F21}
.jm-pay .k svg{width:16px;height:16px}
.jm-pay .v{font-size:14px;font-weight:900;color:#6B5320;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.jm-sec{
  border:1px solid #EFE7D6;border-radius:14px;padding:11px 13px;background:#FFFFFF;
}
.jm-sec h3{
  margin:0 0 6px;font-size:12.5px;font-weight:900;color:#12305C;
  display:flex;align-items:center;gap:7px;
}
.jm-sec h3::before{content:'';width:4px;height:15px;border-radius:2px;background:linear-gradient(180deg,#E3C479,#C8A24A)}
.jm-sec p{margin:0;font-size:13px;line-height:1.95;color:#4E5F73}
.jm-sec ul{margin:0;padding-inline-start:18px;display:grid;gap:4px}
.jm-sec li{font-size:13px;line-height:1.8;color:#4E5F73}
.jm-sec li::marker{color:#C8A24A}
.jm-hint{
  font-size:11.5px;line-height:1.9;color:#7A5F21;background:#FDF3D8;
  border:1px dashed rgba(200,162,74,.5);border-radius:12px;padding:8px 11px;
}

/* الأزرار */
.job-modal-foot{
  flex:none;display:flex;gap:8px;flex-wrap:wrap;min-width:0;
  padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px));
  border-block-start:1px solid #EFE7D6;background:#FBF9F4;
}
.job-modal-foot .btn{
  min-height:46px!important;font-size:14px!important;border-radius:13px!important;
  flex:1 1 150px!important;
}
.job-modal-foot .btn-outline{flex:0 1 auto!important;min-width:104px!important}
.job-modal-foot .btn-primary{
  background:linear-gradient(160deg,#1E4270,#16304F 52%,#0D2247)!important;
  color:#fff!important;border:1.5px solid rgba(227,196,121,.85)!important;
}
.job-modal-foot .btn-primary *{color:#fff!important;stroke:#fff!important}
.job-modal-foot .btn-success{
  background:linear-gradient(135deg,#E8D089,#C8A24A 55%,#B08D3C)!important;
  color:#241A05!important;border:1.5px solid rgba(255,255,255,.5)!important;
}
@media(max-width:430px){
  .jm-grid{grid-template-columns:1fr 1fr}
  .jm-headtxt h2{font-size:14.5px}
  .jm-state{font-size:10px;padding:4px 8px}
  .jm-logo{width:38px;height:38px;padding:4px}
  .jm-close{width:34px;height:34px}
  .job-modal-foot .btn{flex:1 1 100%!important}
  .job-modal-foot .btn-outline{flex:1 1 100%!important}
}
@media(prefers-reduced-motion:reduce){
  .job-modal-box,.job-modal-veil{animation:none!important}
  body.job-modal-open .app{filter:brightness(.86)!important}
}
/* ═══════════════════════════════════════════════════════════════════════════
   2026-10-28 · كروت الوظائف في صفحة التقديم بنفس شكل كروت الموقع الرئيسي
   ─ كارت أبيض: صورة أعلى · عنوان وشارة · صفوف معلومات بأيقونات · أجر · زر كحلي
   ─ والضغط على الكارت يفتح نافذة الوظيفة ويُغبّش كل ما وراءها (كما هو)
   ═══════════════════════════════════════════════════════════════════════════ */
@media screen{

  /* ── شبكة الكروت: نفس إيقاع الموقع (أعمدة متساوية ومسافات هادئة) ─────── */
  body[data-step="6"] #jobs-list{
    display:grid!important;
    grid-template-columns:repeat(auto-fill,minmax(min(100%,286px),1fr))!important;
    gap:16px!important;align-items:stretch!important;
    padding:4px 0 2px!important;position:relative;
  }

  /* ── الكارت ─────────────────────────────────────────────────────────── */
  body[data-step="6"] #jobs-list .job-card{
    position:relative;display:flex!important;flex-direction:column;
    padding:0!important;border-radius:18px!important;overflow:hidden;
    background:#fff!important;border:1px solid #E9EDF4!important;
    box-shadow:0 10px 26px rgba(6,13,31,.10)!important;
    color:#16294A!important;cursor:pointer;
    transition:transform .26s cubic-bezier(.2,1,.3,1),box-shadow .26s ease,border-color .26s ease!important;
  }
  body[data-step="6"] #jobs-list .job-card:hover{
    transform:translateY(-3px);box-shadow:0 18px 38px rgba(6,13,31,.16)!important;border-color:#E3D5B4!important;
  }
  /* شريط علوي ذهبي–كحلي مثل كروت الموقع */
  body[data-step="6"] #jobs-list .job-card::before{
    content:'';position:absolute;inset-block-start:0;inset-inline:0;height:3px;z-index:3;
    background:linear-gradient(90deg,#C8A24A,#E3C479 40%,#1E4270 100%);
    opacity:1!important;
  }
  body[data-step="6"] #jobs-list .job-card:focus-visible{
    outline:3px solid #C8A24A;outline-offset:2px;
  }

  /* ── الصورة أعلى الكارت (تعبئة ضبابية + الصورة كاملة بلا قصّ) ────────── */
  body[data-step="6"] #jobs-list .job-media{
    position:relative;width:100%;aspect-ratio:16/9;flex:none;
    background:linear-gradient(150deg,#16304F,#0D2247);overflow:hidden;
  }
  body[data-step="6"] #jobs-list .job-media::after{
    content:'';position:absolute;inset-inline:0;inset-block-end:0;height:46%;
    background:linear-gradient(180deg,rgba(13,34,71,0),rgba(13,34,71,.42));pointer-events:none;
  }
  body[data-step="6"] #jobs-list .job-thumb{
    display:block;position:absolute!important;inset:0!important;
    width:100%!important;height:100%!important;aspect-ratio:auto!important;
    border:0!important;border-radius:0!important;box-shadow:none!important;background:#0D2247!important;
  }
  body[data-step="6"] #jobs-list .job-thumb:not(.has-img){background:linear-gradient(90deg,#142b47 25%,#29445f 45%,#142b47 65%)!important;background-size:220% 100%!important}
  body[data-step="6"] #jobs-list .job-thumb::before{
    filter:blur(14px) saturate(1.1) brightness(.7);opacity:.9;transform:scale(1.15);
  }
  body[data-step="6"] #jobs-list .job-thumb img{
    object-fit:contain!important;object-position:center;padding:6px;
  }
  /* بلا صورة: نفس الارتفاع بزرع شعار مكسب في منتصف مساحة كحلية ذهبية */
  body[data-step="6"] #jobs-list .job-media:not(.has-img){
    aspect-ratio:16/9;
    background:
      radial-gradient(120% 160% at 100% 0%,rgba(200,162,74,.38),transparent 62%),
      radial-gradient(110% 150% at 0% 100%,rgba(227,196,121,.22),transparent 60%),
      linear-gradient(150deg,#1E4270,#16304F 60%,#0D2247);
    display:grid;place-items:center;
  }
  body[data-step="6"] #jobs-list .job-media:not(.has-img)::before{
    content:'';width:56px;height:56px;border-radius:18px;
    background:
      radial-gradient(circle at 50% 50%,rgba(255,255,255,.12),transparent 70%),
      url("../img/favicon-mkseb.svg") center/58% no-repeat,
      #0F2444;
    border:1px solid rgba(227,196,121,.55);
    box-shadow:0 10px 24px rgba(4,16,34,.35);
    filter:drop-shadow(0 6px 14px rgba(0,0,0,.28));
  }
  body[data-step="6"] #jobs-list .job-media:not(.has-img)::after{display:none}

  /* شارة الحالة: كبسولة فوق الصورة (يمين أعلى) */
  body[data-step="6"] #jobs-list .job-state{
    position:absolute;inset-block-start:10px;inset-inline-start:10px;z-index:2;
    display:inline-flex;align-items:center;gap:5px;
    font-size:11px!important;font-weight:900!important;line-height:1.2;
    padding:5px 11px!important;border-radius:999px!important;white-space:nowrap;
    box-shadow:0 6px 14px rgba(6,13,31,.20);
    border:1px solid transparent!important;
  }
  body[data-step="6"] #jobs-list .job-state.is-open{
    background:linear-gradient(135deg,#FFF4D6,#EFDDA8)!important;color:#6B5320!important;
    border-color:rgba(200,162,74,.55)!important;
  }
  body[data-step="6"] #jobs-list .job-state.is-picked{
    background:linear-gradient(135deg,#E8D089,#C8A24A)!important;color:#241A05!important;
  }
  body[data-step="6"] #jobs-list .job-state.is-done{
    background:linear-gradient(135deg,#6B7280,#4B5563)!important;color:#fff!important;
  }

  /* ── متن الكارت ─────────────────────────────────────────────────────── */
  body[data-step="6"] #jobs-list .job-body{
    padding:12px 13px 0!important;display:grid!important;gap:8px!important;
  }
  body[data-step="6"] #jobs-list .title{
    margin:0!important;font-size:15.5px!important;font-weight:900!important;line-height:1.55!important;
    color:#16294A!important;overflow-wrap:anywhere;
  }
  body[data-step="6"] #jobs-list .job-tags{gap:6px!important;margin:0!important}
  body[data-step="6"] #jobs-list .job-code,
  body[data-step="6"] #jobs-list .job-cat{
    font-size:10.5px!important;font-weight:800!important;
    padding:3px 9px!important;border-radius:8px!important;line-height:1.4;
  }
  body[data-step="6"] #jobs-list .job-code{
    background:#F1F9F6!important;border:1px solid #CFE7DE!important;color:#0F6D63!important;
    direction:ltr;letter-spacing:.02em;
  }
  body[data-step="6"] #jobs-list .job-cat{
    background:#FDFAF3!important;border:1px solid #EFE7D6!important;color:#8A6D2C!important;
  }

  /* صفوف المعلومات: أيقونة · تسمية صغيرة · قيمة (سطر لكل معلومة) */
  body[data-step="6"] #jobs-list .job-meta{
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:0!important;
  }
  body[data-step="6"] #jobs-list .jm{
    display:flex!important;flex-direction:row-reverse;align-items:center;justify-content:flex-start;
    gap:8px;padding:6px 0!important;
    background:transparent!important;border:0!important;
    border-bottom:1px dashed #F0ECE2!important;border-radius:0!important;min-height:0!important;
  }
  body[data-step="6"] #jobs-list .jm:last-child{border-bottom:0!important}
  body[data-step="6"] #jobs-list .jm .jm-ic{
    width:15px!important;height:15px!important;color:#B08D3C!important;grid-row:auto!important;
  }
  body[data-step="6"] #jobs-list .jm .jm-k{
    font-size:10.5px!important;font-weight:700!important;color:#8A7B5C!important;
    line-height:1.4!important;white-space:nowrap;flex:none;
  }
  body[data-step="6"] #jobs-list .jm .jm-v{
    font-size:12.5px!important;font-weight:900!important;color:#16294A!important;
    margin-inline-start:auto;text-align:start;
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:58%;
  }

  /* سطر الأجر: شريط ذهبي فاتح واضح */
  body[data-step="6"] #jobs-list .job-pay{
    display:flex!important;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;
    margin:2px 0 0!important;padding:9px 11px!important;border-radius:12px!important;
    background:#FDF6E4!important;border:1px solid #EFE0BD!important;
  }
  body[data-step="6"] #jobs-list .job-pay-k{
    display:inline-flex!important;align-items:center;gap:5px;
    font-size:10.5px!important;font-weight:800!important;color:#8A6D2C!important;
  }
  body[data-step="6"] #jobs-list .job-pay-k svg{width:14px;height:14px;color:#B08D3C}
  body[data-step="6"] #jobs-list .job-pay-v{
    font-size:13px!important;font-weight:900!important;color:#6B5320!important;
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;
  }

  /* ── أزرار الكارت (أسفل الكارت، بنفس زر الموقع) ─────────────────────── */
  body[data-step="6"] #jobs-list .job-actions{
    margin:12px 0 0!important;padding:10px 13px 13px!important;
    display:grid!important;grid-template-columns:1.15fr .95fr;gap:8px!important;align-items:stretch;
    background:transparent!important;border:0!important;border-top:1px solid #F2F5F9!important;
    margin-top:auto!important;
  }
  body[data-step="6"] #jobs-list .job-actions .btn{
    width:100%!important;flex:none!important;min-width:0!important;max-width:none!important;
    min-height:40px!important;border-radius:12px!important;
    font-size:12px!important;font-weight:900!important;padding:9px 6px!important;
    white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis;
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
  }
  /* زر واحد (مثل المختارة/المنتهية) يمتد بعرض الكارت */
  body[data-step="6"] #jobs-list .job-actions .btn:only-child{grid-column:1 / -1}
  body[data-step="6"] #jobs-list .job-actions .job-details-btn{
    flex:0 0 auto!important;min-width:0!important;
    background:#fff!important;border:1px solid #E6DCC6!important;color:#12305C!important;
    box-shadow:none!important;
  }
  body[data-step="6"] #jobs-list .job-actions .job-details-btn:hover{
    border-color:#C8A24A!important;background:#FFFDF6!important;
  }
  body[data-step="6"] #jobs-list .job-actions .btn-primary{
    background:linear-gradient(140deg,#1E4270,#16304F 60%,#0D2247)!important;
    color:#F7EFD9!important;border:1px solid rgba(200,162,74,.5)!important;
    box-shadow:0 8px 18px rgba(11,26,58,.22)!important;
  }
  body[data-step="6"] #jobs-list .job-actions .btn-primary *{color:#F7EFD9!important;stroke:#E3C479!important}
  body[data-step="6"] #jobs-list .job-actions .btn-primary:hover{filter:brightness(1.12)}
  body[data-step="6"] #jobs-list .job-actions .btn-success{
    background:linear-gradient(135deg,#E8D089,#C8A24A 58%,#B08D3C)!important;
    color:#241A05!important;border:1px solid rgba(255,255,255,.5)!important;
    box-shadow:0 8px 18px rgba(200,162,74,.28)!important;
  }
  body[data-step="6"] #jobs-list .job-actions .job-cancel-btn{
    flex:0 0 auto!important;min-width:0!important;border-color:#E6DCC6!important;color:#8A4B3A!important;
  }

  /* ── الكارت المختار: إطار ذهبي سميك + علامة الفرصة ──────────────────── */
  body[data-step="6"] #jobs-list .job-card.selected{
    border:2px solid #C8A24A!important;background:#fff!important;
    box-shadow:0 18px 40px rgba(6,13,31,.20),0 0 0 4px rgba(200,162,74,.18)!important;
  }
  body[data-step="6"] #jobs-list .job-card.selected .jm .jm-v,
  body[data-step="6"] #jobs-list .job-card.selected .title{color:#16294A!important}
  body[data-step="6"] #jobs-list .job-card.selected .jm .jm-k{color:#8A7B5C!important}
  body[data-step="6"] #jobs-list .job-card.selected .job-media::after{
    background:linear-gradient(180deg,rgba(200,162,74,0),rgba(200,162,74,.30));
  }
  body[data-step="6"] #jobs-list .job-card .pick-mark{
    position:absolute;inset-block-start:10px;inset-inline-end:10px;z-index:4;
    width:30px;height:30px;font-size:12.5pt;
  }
  body[data-step="6"] #jobs-list .job-card.is-done{opacity:.86}

  /* ── «البورتريه»: المختارة تبرز والبقية تُغبَّش (يبقى كما هو) ─────────── */
  body[data-step="6"] #jobs-list.has-focus .job-card:not(.selected):not(.is-done){
    filter:blur(2.6px) saturate(.6) brightness(.96)!important;opacity:.55!important;
    transform:scale(.965)!important;
  }
  body[data-step="6"] #jobs-list.has-focus .job-card.selected{
    transform:translateY(-4px) scale(1.02)!important;filter:none!important;opacity:1!important;z-index:6;
  }

  @media(max-width:640px){
    body[data-step="6"] #jobs-list{grid-template-columns:1fr!important;gap:14px!important}
    body[data-step="6"] #jobs-list .job-media{aspect-ratio:16/8}
  }
  @media(prefers-reduced-motion:reduce){
    body[data-step="6"] #jobs-list .job-card{transition:none!important}
    body[data-step="6"] #jobs-list .job-card:hover{transform:none}
  }
}
/* ═══════════════════════════════════════════════════════════════════════════
   2026-10-28 · أزرار ما بعد الاستمارة: صغيرة · مرتّبة · بألوان الهوية وحركة هادئة
   ═══════════════════════════════════════════════════════════════════════════ */
@media screen{

  /* ── شريط الإجراءات: لا يمتدّ بعرض الصفحة على الكمبيوتر ───────────────── */
  .result-actions{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:8px!important;margin-top:14px!important;
    width:100%;max-width:460px;margin-inline:auto!important;
  }
  .result-actions .btn{
    width:100%!important;min-width:0!important;max-width:none!important;
    height:42px!important;min-height:42px!important;max-height:42px!important;
    padding:0 10px!important;gap:6px!important;
    font-size:12.5px!important;font-weight:800!important;border-radius:11px!important;
    white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis;
    box-shadow:0 4px 12px rgba(13,34,71,.10)!important;
    transition:transform .18s cubic-bezier(.2,1,.3,1),box-shadow .22s ease,
               background-color .22s ease,border-color .22s ease,filter .22s ease!important;
  }
  .result-actions .btn svg{width:15px!important;height:15px!important;flex:none}

  /* الصف الأول: الطباعة (أساسي، ذهبي) بعرض كامل لكن بارتفاع ٤٢px فقط */
  .result-actions .ra-print{
    grid-column:1 / -1;
    height:44px!important;min-height:44px!important;max-height:44px!important;
    font-size:13.5px!important;font-weight:900!important;
    background:linear-gradient(135deg,#E8D089,#C8A24A 58%,#B08D3C)!important;
    color:#241A05!important;border:1.5px solid rgba(255,255,255,.55)!important;
    box-shadow:0 8px 20px rgba(200,162,74,.28)!important;
  }
  .result-actions .ra-print svg{stroke:#241A05!important;color:#241A05!important}

  /* الصف الثاني: «وظيفة ثانية» كحلي بحدود ذهبية + «نسخ الرابط» أبيض */
  .result-actions .ra-second{
    background:linear-gradient(140deg,#1E4270,#16304F 60%,#0D2247)!important;
    color:#F7EFD9!important;border:1.5px solid rgba(200,162,74,.65)!important;
  }
  .result-actions .ra-second svg{color:#E3C479!important;stroke:#E3C479!important}
  .result-actions .ra-copy{
    background:#fff!important;color:#12305C!important;
    border:1.5px solid #E6DCC6!important;
  }
  .result-actions .ra-copy svg{color:#B08D3C!important;stroke:#B08D3C!important}

  /* تجاوز القواعد القديمة (كانت تجعل كل زر بعرض كامل وارتفاع ٥٤px) */
  body[data-step="8"] .result-actions .ra-print,
  .result-actions .ra-print{
    grid-column:1 / -1!important;
    height:44px!important;min-height:44px!important;max-height:44px!important;
    font-size:13.5px!important;padding:0 12px!important;
  }
  body[data-step="8"] .result-actions .ra-copy,
  .result-actions .ra-copy{grid-column:auto!important;height:42px!important;min-height:42px!important}
  body[data-step="8"] .result-actions .ra-second{grid-column:auto!important}
  /* عند غياب زر «وظيفة ثانية» يبقى النسخ بعرض كامل */
  body[data-step="8"] .result-actions .ra-print + .ra-copy{grid-column:1 / -1!important}

  /* تفاعل محسوس وناعم */
  .result-actions .btn:not(:disabled):hover{transform:translateY(-1px);filter:brightness(1.04)}
  .result-actions .btn:not(:disabled):active{transform:translateY(1px) scale(.99)!important}
  .result-actions .btn:focus-visible{outline:3px solid #C8A24A!important;outline-offset:2px}

  /* ظهور متتالٍ هادئ لأزرار الاستمارة بعد نزول الصفحة */
  @media(prefers-reduced-motion:no-preference){
    .result-actions .btn{animation:raIn .42s cubic-bezier(.2,1,.3,1) both}
    .result-actions .btn:nth-child(1){animation-delay:.04s}
    .result-actions .btn:nth-child(2){animation-delay:.10s}
    .result-actions .btn:nth-child(3){animation-delay:.16s}
    .result-actions .btn:nth-child(4){animation-delay:.22s}
  }
  @keyframes raIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}

  /* «العودة للوظائف»: رابط هادئ صغير أسفل الأزرار */
  .result-back{display:flex!important;justify-content:center!important;margin-top:6px!important}
  .result-back .btn-quiet{
    min-height:34px!important;height:34px!important;font-size:12px!important;
    color:#BFDBFE!important;gap:5px!important;
  }
  .result-back .btn-quiet svg{width:14px!important;height:14px!important}
  .result-back .btn-quiet:hover{color:#fff!important;background:rgba(255,255,255,.10)!important}

  @media(max-width:430px){
    .result-actions{gap:7px!important;max-width:none!important}
    .result-actions .btn{font-size:12px!important;padding:0 8px!important}
    .result-actions .ra-print{font-size:13px!important}
  }

  /* ── مراجعة عامة: زر «إتمام التقديم» وشريط المراجعة بمقاس طبيعي ───────── */
  #pg-review .review-go{height:46px!important;min-height:46px!important;font-size:14.5px!important}
  #pg-review .review-back{height:46px!important;min-height:46px!important;font-size:13.5px!important}

  /* ── توحيد تفاعل كل الأزرار في الصفحة (رفع خفيف + ضغط محسوس) ─────────── */
  .btn{transition:transform .18s cubic-bezier(.2,1,.3,1),box-shadow .22s ease,
       background-color .22s ease,border-color .22s ease,filter .22s ease!important}
  .btn:not(:disabled):active{transform:translateY(1px) scale(.99)!important}
  .btn:focus-visible{outline:2.5px solid #C8A24A!important;outline-offset:2px}

  @media(prefers-reduced-motion:reduce){
    .result-actions .btn{animation:none!important}
    .result-actions .btn:hover{transform:none}
  }
}
/* ═══════════════════════════════════════════════════════════════════════════
   2026-10-29 · نافذة «تفاصيل البطاقة»: نص واضح وتباين قوي على الخلفية البيضاء
   ─ كانت نصوصها مخصّصة لخلفية داكنة (#93a3bf / #f4efe2) فظهرت باهتة على الأبيض
   ═══════════════════════════════════════════════════════════════════════════ */
@media screen{
  :root{
    --cs-label:#6F6152;     /* تسمية دافئة واضحة */
    --cs-value:#16294A;     /* قيمة كحلية قوية */
    --cs-muted:#7A8797;
    --cs-line:#EFE7D6;
    --cs-card:#FDFAF3;
  }

  /* ── صندوق النافذة ─────────────────────────────────────────────────── */
  .card-sheet{z-index:520;padding:16px}
  .card-sheet-veil{background:rgba(6,20,40,.58);backdrop-filter:blur(3px)}
  .card-sheet-box{
    width:min(620px,100%);max-height:min(90dvh,860px);
    background:#FFFFFF!important;color:var(--cs-value)!important;
    border:1px solid #E6DCC6!important;border-radius:20px!important;
    box-shadow:0 30px 70px -28px rgba(4,16,34,.55)!important;
  }

  /* ── الرأس: كحلي بحدود ذهبية ───────────────────────────────────────── */
  .card-sheet-head{
    background:linear-gradient(120deg,#1E4270,#16304F 62%,#0D2247)!important;
    border-block-end:1px solid rgba(200,162,74,.5)!important;
    padding:13px 16px!important;gap:11px!important;
  }
  .cs-emblem{background:#fff!important;border:1px solid rgba(200,162,74,.6)!important;padding:5px}
  .cs-title h2{font-size:16px!important;color:#fff!important;line-height:1.4}
  .cs-title p{font-size:12px!important;color:#E3C479!important;letter-spacing:.08em;font-weight:800}
  .cs-chip{font-size:11px!important;font-weight:900!important;padding:4px 10px!important}
  .cs-chip.is-ok{color:#04231A!important;background:linear-gradient(140deg,#E8D089,#C8A24A)!important;border:1px solid rgba(255,255,255,.45)!important}
  .cs-chip.is-warn{color:#5A2E12!important;background:linear-gradient(140deg,#F7D9A8,#E2AE6A)!important;border:1px solid rgba(255,255,255,.4)!important}
  .cs-close{
    width:34px!important;height:34px!important;border-radius:10px!important;
    color:#F2E2AC!important;background:rgba(255,255,255,.10)!important;
    border:1px solid rgba(232,208,137,.45)!important;font-size:20px!important;
  }
  .cs-close:hover{background:rgba(255,255,255,.2)!important;color:#fff!important}

  /* ── الجسم: نصوص داكنة على أبيض ────────────────────────────────────── */
  .card-sheet-body{padding:14px 16px 8px!important;background:#fff}
  .cs-grid{gap:8px 10px!important}
  .cs-f{
    background:var(--cs-card)!important;border:1px solid var(--cs-line)!important;
    border-radius:12px!important;padding:9px 12px!important;
  }
  .cs-f span{
    display:block!important;font-size:11px!important;font-weight:800!important;
    color:var(--cs-label)!important;margin-bottom:4px!important;letter-spacing:.01em;
  }
  .cs-f b{
    display:block!important;font-size:14px!important;font-weight:900!important;
    color:var(--cs-value)!important;line-height:1.6!important;
    word-break:break-word;letter-spacing:0!important;
  }
  .cs-f b.mono{direction:ltr;text-align:start;font-variant-numeric:tabular-nums}
  /* الحقول الفارغة */
  .cs-f b:empty::after{content:'—';color:var(--cs-muted)}

  /* ── الفرص ─────────────────────────────────────────────────────────── */
  .cs-sub{
    margin:16px 0 8px!important;font-size:12.5px!important;font-weight:900!important;
    color:#12305C!important;gap:7px!important;
  }
  .cs-sub::before{width:4px!important;height:15px!important;background:linear-gradient(180deg,#E3C479,#C8A24A)!important}
  .cs-chances{gap:7px!important}
  .cs-chance{
    background:var(--cs-card)!important;border:1px solid var(--cs-line)!important;
    border-radius:12px!important;padding:9px 12px!important;
    grid-template-columns:72px minmax(0,1fr) auto!important;gap:8px!important;
  }
  .cs-chance-no{font-size:11px!important;font-weight:900!important;color:#8A6D2C!important}
  .cs-chance-job{font-size:13px!important;font-weight:800!important;color:var(--cs-value)!important}
  .cs-chance-job b{font-size:11px!important;font-weight:700!important;color:#5A6C80!important;direction:ltr;unicode-bidi:isolate}
  /* سطر تفاصيل الوظيفة داخل الفرصة: المحافظة · الدوام · الأجر */
  .cs-chance-meta{
    display:block;margin-top:3px;font-style:normal;
    font-size:11px!important;font-weight:700!important;color:#7A8797!important;line-height:1.7;
  }
  .cs-chance-state{font-size:10.5px!important;font-weight:900!important;padding:3px 9px!important}
  .cs-chance.is-open .cs-chance-state{color:#3F2E08!important;background:linear-gradient(140deg,#FFF1CB,#E8D089)!important;border:1px solid rgba(200,162,74,.55)!important}
  .cs-chance.is-live .cs-chance-state{color:#0D2247!important;background:#E7EEF8!important;border:1px solid #C9D8EC!important}
  .cs-chance.is-done .cs-chance-state{color:#1C5A3C!important;background:#E8F5EE!important;border:1px solid #BFE0CE!important}
  .cs-chance.is-closed .cs-chance-state{color:#8A2B20!important;background:#FDECEA!important;border:1px solid #F2C9C3!important}

  /* ── الملاحظة ──────────────────────────────────────────────────────── */
  .cs-note{
    color:var(--cs-muted)!important;border-top:1px dashed var(--cs-line)!important;
    font-size:11.5px!important;line-height:1.95!important;margin:12px 0 0!important;padding-top:9px!important;
  }

  /* ── التذييل: أزرار طبيعية ─────────────────────────────────────────── */
  .card-sheet-foot{
    background:#FBF9F4!important;border-block-start:1px solid var(--cs-line)!important;
    padding:11px 16px calc(11px + env(safe-area-inset-bottom,0px))!important;gap:8px!important;
  }
  .card-sheet-foot .btn{
    min-height:44px!important;height:44px!important;font-size:13.5px!important;
    border-radius:12px!important;font-weight:900!important;
    background:linear-gradient(160deg,#1E4270,#16304F 52%,#0D2247)!important;
    color:#fff!important;border:1.5px solid rgba(227,196,121,.85)!important;
    box-shadow:0 8px 20px rgba(13,34,71,.22)!important;
  }
  .card-sheet-foot .btn *{color:#fff!important;stroke:#fff!important}
  .btn-sheet-close{
    min-height:44px!important;height:44px!important;padding:0 18px!important;
    font-size:13px!important;font-weight:800!important;border-radius:12px!important;
    background:#fff!important;color:#12305C!important;border:1.5px solid #E6DCC6!important;
  }
  .btn-sheet-close:hover{background:#FFFDF6!important;border-color:#C8A24A!important}

  /* ── الجوال ─────────────────────────────────────────────────────────── */
  @media(max-width:560px){
    .card-sheet{padding:8px}
    .card-sheet-box{max-height:92dvh;border-radius:16px!important}
    .cs-grid{grid-template-columns:1fr 1fr;gap:7px!important}
    .cs-f{padding:8px 10px!important}
    .cs-f span{font-size:10.5px!important}
    .cs-f b{font-size:13px!important}
    .cs-chance{grid-template-columns:1fr auto!important;row-gap:3px!important}
    .cs-chance-no{grid-column:1 / -1}
    .card-sheet-foot{flex-direction:row!important}
    .card-sheet-foot .btn{flex:1 1 0!important}
    .btn-sheet-close{flex:0 0 auto!important;width:auto!important}
  }
  @media(max-width:360px){
    .cs-grid{grid-template-columns:1fr!important}
  }

  @media(prefers-reduced-motion:reduce){
    .card-sheet-box{animation:none!important}
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   الخطوة ٦ — «وظائف البطاقة»: بطاقة رصيد الفرص + ملخص الوظائف المختارة
   ---------------------------------------------------------------------------
   كل القيم (عدد الفرص، المستخدم، المتبقي، المختار) تأتي من البطاقة الفعلية
   عبر renderChances()/renderChosenJobs() — لا رقم ثابت في هذا الملف.
   الشكل: كحلي-ذهبي بهوية مكسب، دائرة رصيد، أشرطة لكل فرصة، وعدّاد مستخدم/متبقي.
   ═══════════════════════════════════════════════════════════════════════════ */
body[data-step="6"] #chances-bar.chances-bar{
  display:block!important;margin:0 0 12px!important;padding:16px 17px 14px!important;
  border:1px solid #d7bb6c!important;border-radius:18px!important;
  background:linear-gradient(145deg,#1e4778,#09264c 70%,#071e3f)!important;
  color:#fff!important;font-weight:700;text-align:start;
  box-shadow:0 7px 18px #061a3260,inset 0 1px #ffffff1c;
}
.chance-summary{display:flex;align-items:center;gap:14px}
.chance-count{
  flex:none;width:64px;height:64px;display:grid;place-items:center;border-radius:50%;
  background:radial-gradient(circle at 34% 26%,#fff6cc,#f2d071 46%,#dcae43 78%,#c3922c);
  color:#102e52;font-size:32px;font-weight:900;line-height:1;font-variant-numeric:tabular-nums;
  border:4px solid #ae9860;box-shadow:0 4px 12px #0005,inset 0 2px 4px #ffffff8c;
}
.chance-heading{min-width:0;flex:1;line-height:1.5}
.chance-heading small{display:block;color:#dce6f2;font-size:12.5px;font-weight:700;letter-spacing:.2px}
.chance-heading strong{display:block;color:#f3d278;font-size:clamp(20px,5vw,26px);font-weight:900;line-height:1.25}
.chance-heading p{margin:1px 0 0;font-size:13px;color:#e9eef6;font-weight:600}
.chance-progress{display:flex;gap:6px;margin-top:14px;-webkit-mask-image:linear-gradient(90deg,transparent,#000 2px,#000 calc(100% - 2px),transparent)}
.chance-segment{height:9px;flex:1;min-width:0;border-radius:99px;background:linear-gradient(180deg,#f9db7b,#e3ac3a);box-shadow:inset 0 1px 0 #ffffff7a,0 1px 4px #0004}
.chance-segment.is-picked{background:linear-gradient(180deg,#8fe0ff,#3aa9e0);box-shadow:inset 0 1px 0 #ffffff9c,0 0 0 1px #ffffff40}
.chance-segment.is-used{background:linear-gradient(180deg,#5dd6bd,#1f9c86);box-shadow:inset 0 1px 0 #ffffff66}
.chance-totals{display:flex;justify-content:space-between;gap:8px;margin-top:8px;color:#dbe4ef;font-size:12px;font-weight:700}
.chance-totals b{color:#fff;font-weight:900}
.chance-picked-note{margin:8px 0 0;color:#f6df9e;font-size:12px;font-weight:700;line-height:1.7}
.chance-recheck{margin-top:10px}
.chance-hint{margin:0;color:#c9d6e6;font-size:12px;font-weight:600;line-height:1.8}

/* ── لوحة «الوظائف التي قمت باختيارها» ───────────────────────────────────── */
.chosen-jobs{
  margin:0 0 14px;border:1px solid #d4b86b;border-radius:15px;overflow:hidden;
  background:linear-gradient(145deg,#214a78,#092447);color:#fff;
  box-shadow:0 5px 14px #061a3255;
}
.chosen-jobs>summary{
  min-height:50px;display:flex;align-items:center;gap:10px;padding:10px 14px;
  cursor:pointer;list-style:none;font-size:14px;font-weight:900;color:#fff;
  transition:background .18s ease;
}
.chosen-jobs>summary::-webkit-details-marker{display:none}
.chosen-jobs>summary:hover{background:#ffffff0d}
.chosen-jobs>summary:focus-visible{outline:3px solid #fff;outline-offset:-4px}
.chosen-icon{width:20px;height:20px;flex:none;fill:none;stroke:#f0d080;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.chosen-title{flex:1;min-width:0;overflow-wrap:anywhere}
.chosen-count{
  flex:none;min-width:26px;height:26px;padding:0 8px;display:inline-grid;place-items:center;
  border-radius:99px;background:#e8c56d;color:#102e4e;font-size:12.5px;font-weight:900;
  font-variant-numeric:tabular-nums;box-shadow:0 2px 6px #0003;
}
.chosen-chevron{flex:none;color:#edce78;font-size:22px;line-height:1;transition:transform .22s ease}
.chosen-jobs[open] .chosen-chevron{transform:rotate(-90deg)}
.chosen-list{padding:2px 14px 12px;border-top:1px solid #ffffff26;font-size:13px}
.chosen-empty{margin:12px 0 2px;color:#dce5f0;font-weight:600;line-height:1.9}
.chosen-item{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"name name" "tags action";align-items:center;gap:7px 10px;padding:11px 0;border-bottom:1px solid #ffffff1c}
.chosen-item:last-child{border-bottom:0}
.chosen-item-name{grid-area:name;min-width:0;overflow-wrap:anywhere;font-weight:700;line-height:1.7}
.chosen-item-tags{grid-area:tags;display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-width:0}
.chosen-item>.chosen-remove{grid-area:action;justify-self:end}
.chosen-item-code{display:inline-block;margin-inline-start:4px;color:#cfe0ee;font-size:12px;letter-spacing:.3px}
.chosen-chance{flex:none;font-size:11.5px;font-weight:800;color:#0f3350;background:#f0d488;border-radius:7px;padding:2px 7px}
.chosen-status{display:inline-flex;align-items:center;gap:4px;flex:none;font-size:11.5px;font-weight:800;color:#f6df9e;white-space:nowrap}
.chosen-status svg{width:13px;height:13px;flex:none;stroke:currentColor;fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.chosen-status.is-done{color:#8fe6c8}
.chosen-remove{
  flex:none;border:1px solid #edcf8199;border-radius:9px;padding:6px 10px;
  background:#ffffff12;color:#fff;cursor:pointer;font:inherit;font-size:12px;font-weight:800;
  min-height:34px;transition:background .15s ease,border-color .15s ease;
}
.chosen-remove:hover{background:#ffffff22;border-color:#edcf81}
.chosen-remove:focus-visible{outline:2px solid #fff;outline-offset:1px}

@media(max-width:360px){
  .chance-count{width:56px;height:56px;font-size:28px;border-width:3px}
  .chance-summary{gap:10px}
  .chance-heading strong{font-size:19px}
  .chance-segment{height:8px}
  .chosen-jobs>summary{padding:9px 11px;font-size:13px}
  .chosen-list{padding:2px 11px 10px}
}
@media(prefers-reduced-motion:reduce){
  .chosen-chevron,.chosen-jobs>summary,.chosen-remove{transition:none}
}

/* ═══════════════════════════════════════════════════════════════════════════
   2026-11-07 · نافذة «تفاصيل الوظيفة وصاحب العمل»
   تُفتح بالضغط على أي صف في لوحة «الوظائف التي قمت باختيارها».
   ─ الرأس كحلي بلمعة ذهبية تمرّ مرة واحدة · شريط مراحل (اختيار ← تقديم ← قرار)
   ─ الأقسام تدخل متتالية (--i) بحركة هادئة · كارت صاحب العمل هو البطل
   ─ كل الحركات تتوقف عند prefers-reduced-motion، وتصميم ٣٢٠px بلا تمرير أفقي
   ═══════════════════════════════════════════════════════════════════════════ */
@keyframes cdtSheetIn{from{opacity:0;transform:translateY(30px) scale(.965)}to{opacity:1;transform:none}}
@keyframes cdtVeilIn{from{opacity:0}to{opacity:1}}
@keyframes cdtUp{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@keyframes cdtSheen{from{transform:translateX(-140%)}to{transform:translateX(240%)}}
@keyframes cdtRing{0%{transform:scale(.86);opacity:.7}75%{transform:scale(1.5);opacity:0}100%{transform:scale(1.5);opacity:0}}
@keyframes cdtDot{0%,100%{box-shadow:0 0 0 0 #c8a24a66}50%{box-shadow:0 0 0 5px #c8a24a00}}
@keyframes cdtShimmer{from{background-position:-140% 0}to{background-position:240% 0}}

.chosen-modal{position:fixed;inset:0;z-index:530;display:flex;align-items:flex-end;justify-content:center;padding:0;overflow:hidden}
.chosen-modal[hidden]{display:none!important}
.chosen-modal-veil{
  position:absolute;inset:0;background:rgba(5,17,36,.6);
  backdrop-filter:blur(3px) saturate(.9);animation:cdtVeilIn .24s ease both;
}
.chosen-modal-box{
  position:relative;z-index:1;width:100%;max-width:680px;min-width:0;max-height:92dvh;
  display:flex;flex-direction:column;background:#fff;border-radius:24px 24px 0 0;
  border:1px solid #E6DCC6;border-bottom:0;
  box-shadow:0 -26px 80px rgba(4,16,34,.5);
  animation:cdtSheetIn .34s cubic-bezier(.22,1,.36,1) both;overflow:hidden;
}
@media(min-width:761px){
  .chosen-modal{align-items:center;padding:22px}
  .chosen-modal-box{width:min(680px,100%);border-radius:24px;border-bottom:1px solid #E6DCC6}
}
html:has(body.chosen-modal-open){overflow-x:clip}
body.chosen-modal-open{overflow:hidden;max-width:100vw}
body.chosen-modal-open .app{
  filter:blur(7px) saturate(.92) brightness(.88);
  pointer-events:none;user-select:none;transition:filter .28s ease;
}

/* ── الرأس ── */
.cdt-head{
  /* flex:none — بدونها ينضغط الرأس عند ضيق الشاشة فيُقتطع عنوانه (عطل 2026-11-08) */
  position:relative;overflow:hidden;flex:none;display:flex;align-items:center;gap:12px;
  padding:15px 16px 13px;
  background:linear-gradient(118deg,#1E4270,#16304F 58%,#0B1F42);
  border-block-end:1px solid rgba(200,162,74,.5);
}
.cdt-head::after{
  content:'';position:absolute;inset-block:0;inset-inline-start:0;width:42%;
  background:linear-gradient(100deg,transparent,#ffffff30,transparent);
  animation:cdtSheen 1.15s cubic-bezier(.4,0,.2,1) .16s 1 both;pointer-events:none;
}
.cdt-logo{
  position:relative;z-index:1;flex:none;width:42px;height:42px;display:grid;place-items:center;
  border-radius:13px;background:#fff;border:1px solid rgba(200,162,74,.65);padding:5px;
}
.cdt-logo svg{width:100%;height:100%}
.cdt-headtxt{position:relative;z-index:1;flex:1 1 auto;min-width:0}
.cdt-title{
  margin:0;font-size:16.5px;font-weight:900;color:#fff;line-height:1.45;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;
}
.cdt-code{margin:2px 0 0;font-size:11px;font-weight:800;color:#E3C479;letter-spacing:.1em}
.cdt-head .jm-close{position:relative;z-index:1}

/* ── شريط المراحل ── */
.cdt-steps{
  flex:none;display:flex;align-items:center;gap:7px;padding:10px 16px;
  background:#FFFFFF;border-block-end:1px solid #EFE7D6;
  font-size:11px;font-weight:800;color:#8A7B5C;
}
.cdt-step{display:inline-flex;align-items:center;gap:5px;min-width:0;white-space:nowrap}
.cdt-step i{
  width:17px;height:17px;border-radius:50%;display:grid;place-items:center;flex:none;
  background:#EFE7D6;color:#8A7B5C;font-style:normal;font-size:9.5px;font-weight:900;
}
.cdt-step.is-done i{background:#1F8F4E;color:#fff}
.cdt-step.is-now{color:#12305C}
.cdt-step.is-now i{background:linear-gradient(140deg,#E8D089,#C8A24A);color:#241A05;animation:cdtDot 1.9s ease-in-out infinite}
.cdt-step-sep{flex:1;height:2px;min-width:6px;border-radius:2px;background:#E6DCC6}
.cdt-step-sep.is-done{background:#1F8F4E}

/* ── الجسم ── */
.cdt-body{
  flex:1 1 auto;min-height:0;
  padding:14px 16px 8px;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;
  display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:11px;
  background:#fff;overflow-wrap:anywhere;
}
.cdt-anim{animation:cdtUp .44s cubic-bezier(.22,1,.36,1) both;animation-delay:calc(var(--i,0) * 55ms)}

.cdt-hero{
  display:grid;gap:7px;padding:12px 13px;border-radius:16px;
  background:linear-gradient(135deg,#FDF7E6,#F9EFD8);border:1px solid #EEDFBB;
}
.cdt-hero-top{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.cdt-badge{
  flex:none;font-size:11px;font-weight:900;padding:3px 9px;border-radius:8px;
  background:#16304F;color:#F0D488;white-space:nowrap;
}
.cdt-state{
  flex:none;display:inline-flex;align-items:center;gap:4px;font-size:10.5px;font-weight:900;
  padding:3px 9px;border-radius:999px;white-space:nowrap;border:1px solid transparent;
}
.cdt-state.is-live{background:#FFF1CB;color:#7A5F21;border-color:#E8D089}
.cdt-state.is-done{background:#E6F6EC;color:#1B6B3A;border-color:#A9DDBB}
.cdt-state.is-closed{background:#FDECEA;color:#8E2A20;border-color:#E7B7B1}
.cdt-state.is-pick{background:#EAF3FE;color:#1B4F86;border-color:#B9D3F0}
.cdt-jobname{
  margin:0;font-size:16px;font-weight:900;color:#12305C;line-height:1.5;
  overflow-wrap:anywhere;
}
.cdt-meta{margin:0;font-size:12.5px;font-weight:700;color:#6F6152;line-height:1.7}

/* ── كارت صاحب العمل (البطل) ── */
/* تحذير (2026-11-08) — لا overflow:hidden على أقسام النافذة: العنصر الذي صار «حاوية تمرير»
   داخل شبكة CSS يحصل على ارتفاع دقيق صفر في Chromium، فينكمش القسم إلى
   حشوته ويُقتطع محتواه (عطل ظهر فعلاً: كارت صاحب العمل 29px لمحتوى 304px).
   الهالة الزخرفية صارت طبقة خلفية داخل نفس القسم بدل عنصر ::before مقصوص. */
.cdt-emp{
  position:relative;padding:13px 13px 12px;border-radius:16px;color:#fff;
  background:
    radial-gradient(118px 118px at 8% -8%, #e3c47933, transparent 72%),
    linear-gradient(150deg,#153560,#0D2247 72%,#0A1C3C);
  border:1px solid rgba(200,162,74,.55);box-shadow:0 9px 22px #0b1b3455;
}
.cdt-emp-h{position:relative;display:flex;align-items:center;gap:10px;margin:0 0 10px}
.cdt-emp-ic{
  position:relative;flex:none;width:38px;height:38px;border-radius:12px;display:grid;place-items:center;
  background:linear-gradient(140deg,#E8D089,#C8A24A);color:#152C50;
}
.cdt-emp-ic svg{width:20px;height:20px}
.cdt-emp-h b{display:block;font-size:13.5px;font-weight:900;color:#fff;line-height:1.5}
.cdt-emp-h small{display:block;font-size:10.5px;font-weight:800;color:#E3C479;letter-spacing:.05em}
.cdt-emp-list{position:relative;list-style:none;margin:0;padding:0;display:grid;gap:7px}
.cdt-emp-list li{
  display:grid;grid-template-columns:18px minmax(0,1fr);gap:8px;align-items:start;
  padding:8px 10px;border-radius:11px;background:#ffffff10;border:1px solid #ffffff1f;
}
.cdt-emp-list li>svg{width:17px;height:17px;color:#E3C479;margin-top:1px;flex:none;
  fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.cdt-emp-list .k{display:block;font-size:10px;font-weight:800;color:#BFD0E4;line-height:1.3}
.cdt-emp-list .v{display:block;font-size:13px;font-weight:800;color:#fff;line-height:1.65;overflow-wrap:anywhere}
.cdt-tel-row{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:1px}
.cdt-tel-row .v{font-variant-numeric:tabular-nums;letter-spacing:.02em}
.cdt-tel{
  display:inline-flex;align-items:center;gap:6px;padding:4px 10px;
  border-radius:9px;background:#ffffff1f;border:1px solid #e3c47966;
  color:#fff;font-size:12.5px;font-weight:900;text-decoration:none;
  transition:background .16s ease,border-color .16s ease;
}
.cdt-tel:hover{background:#ffffff2e;border-color:#e3c479}
.cdt-tel:focus-visible{outline:2px solid #E3C479;outline-offset:2px}
.cdt-tel svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.cdt-emp-note{margin:9px 0 0;font-size:11px;font-weight:700;color:#C9D6E6;line-height:1.8}

/* نسخة «محميّة» للمختارة للمراجعة — لا نختلق بيانات صاحب عمل قبل التقديم */
.cdt-emp.is-locked{
  background:
    radial-gradient(118px 118px at 8% -8%, #c8a24a1f, transparent 72%),
    linear-gradient(150deg,#FBF8F1,#F6F0E2);
  border:1px dashed rgba(200,162,74,.75);box-shadow:none;color:#5A4A2A;
}
.cdt-emp.is-locked .cdt-emp-ic{background:#16304F;color:#E3C479}
.cdt-emp.is-locked .cdt-emp-h b{color:#12305C}
.cdt-emp.is-locked .cdt-emp-h small{color:#9A7F35}
.cdt-emp-lock{margin:0;font-size:12.5px;font-weight:700;color:#6F6152;line-height:1.9}
.cdt-emp-lock b{color:#12305C}

/* هيكل تحميل هادئ */
.cdt-skel{display:grid;gap:7px}
.cdt-skel span{
  display:block;height:30px;border-radius:10px;
  background:linear-gradient(90deg,#ffffff0f,#ffffff2b,#ffffff0f);
  background-size:200% 100%;animation:cdtShimmer 1.3s linear infinite;
}
.cdt-load{padding:12px 13px;border-radius:14px;border:1px dashed #D9C79B;background:#FDFAF3;color:#7A5F21;font-size:12.5px;font-weight:800;line-height:1.8}
.cdt-retry{
  margin-top:8px;border:1px solid #C8A24A;background:#fff;color:#7A5F21;border-radius:10px;
  padding:8px 13px;min-height:38px;font:inherit;font-size:12.5px;font-weight:900;cursor:pointer;
}
.cdt-retry:hover{background:#FDF3D8}

.cdt-note{
  font-size:11.5px;line-height:1.9;color:#7A5F21;background:#FDF3D8;
  border:1px dashed rgba(200,162,74,.5);border-radius:12px;padding:8px 11px;
}

/* ── الأزرار ── */
.cdt-foot{
  flex:none;display:flex;gap:8px;flex-wrap:wrap;min-width:0;padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px));
  border-block-start:1px solid #EFE7D6;background:#FBF9F4;
}
.cdt-foot .btn{min-height:46px!important;font-size:14px!important;border-radius:13px!important;flex:1 1 140px!important}
.cdt-foot .btn-primary{
  background:linear-gradient(160deg,#1E4270,#16304F 52%,#0D2247)!important;
  color:#fff!important;border:1.5px solid rgba(227,196,121,.85)!important;
}
.cdt-foot .btn-primary *{color:#fff!important;stroke:#fff!important}

/* ── صفوف اللوحة صارت قابلة للفتح ── */
.chosen-item{grid-template-areas:"name name" "tags action" "cta cta";transition:background .16s ease}
.chosen-item.is-tappable{cursor:pointer}
.chosen-item.is-tappable:hover{background:#ffffff0f}
.chosen-item.is-tappable:active{background:#ffffff18}
.chosen-item.is-tappable:focus-visible{outline:3px solid #f0d488;outline-offset:-3px;border-radius:10px}
/* تمييز خفيف: صف «تم التقديم» بشريط أخضر جانبي، و«مختارة» بشريط ذهبي —
   حتى لا تتشابه الصفوف ويضيع القارئ بين ما أُرسل وما لم يُرسل بعد. */
.chosen-item.is-applied{padding-inline-start:11px;border-inline-start:3px solid #4bc08d;border-radius:4px 0 0 4px}
.chosen-item.is-picked-row{padding-inline-start:11px;border-inline-start:3px solid #e8c56d;border-radius:4px 0 0 4px}
.chosen-cta{
  grid-area:cta;display:inline-flex;align-items:center;gap:6px;justify-self:start;
  margin-top:2px;padding:5px 10px 5px 8px;border-radius:9px;
  background:#ffffff12;border:1px solid #edcf8155;color:#f6df9e;
  font-size:11.5px;font-weight:800;line-height:1.5;
}
.chosen-cta svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s ease}
.chosen-item.is-tappable:hover .chosen-cta{background:#ffffff22;border-color:#edcf81}
.chosen-item.is-tappable:hover .chosen-cta svg{transform:translateX(-3px)}

@media(max-width:360px){
  .cdt-head{padding:13px 12px 11px}
  .cdt-logo{width:36px;height:36px;padding:4px}
  .cdt-title{font-size:14.5px}
  .cdt-steps{padding:9px 12px;font-size:10px;gap:5px}
  .cdt-step i{width:15px;height:15px;font-size:9px}
  .cdt-body{padding:12px 12px 6px;gap:10px}
  .cdt-jobname{font-size:15px}
  .cdt-foot{padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px))}
  .cdt-foot .btn{flex:1 1 100%!important}
}
@media(prefers-reduced-motion:reduce){
  .chosen-modal-box,.chosen-modal-veil,.cdt-anim,.cdt-head::after,.cdt-step.is-now i,.cdt-skel span{animation:none!important}
  .chosen-item,.cdt-tel,.chosen-cta svg{transition:none!important}
  body.chosen-modal-open .app{filter:brightness(.86)!important}
}
