@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&display=swap');
:root{--certy-primary:#5b2cff;--certy-primary2:#2563eb;--certy-navy:#07123d;--certy-text:#101936;--certy-muted:#667085;--certy-border:#e7eaf3;--certy-bg:#f7f8ff;--certy-green:#16b982;--certy-soft:#f2efff}*{box-sizing:border-box}.certy-shell,.certy-shell *{box-sizing:border-box}.certy-shell{font-family:Cairo,Tajawal,Arial,sans-serif;color:var(--certy-text);line-height:1.55}.certy-landing{background:linear-gradient(180deg,#fff,#f8f9ff);border-radius:30px;overflow:hidden;border:1px solid #eef1f8;box-shadow:0 30px 70px rgba(15,23,42,.06)}.certy-nav{display:flex;align-items:center;justify-content:space-between;padding:22px 34px;gap:16px}.certy-brand{display:flex;align-items:center;gap:10px}.certy-brand strong{display:block;font-size:18px;font-weight:900;color:var(--certy-navy)}.certy-brand small{display:block;font-size:11px;letter-spacing:1.4px;color:var(--certy-navy);font-weight:700}.certy-mark{width:44px;height:44px;border:3px solid var(--certy-primary);border-radius:12px;display:grid;place-items:center;font-weight:900;color:var(--certy-primary);background:#fff;box-shadow:0 10px 25px rgba(91,44,255,.12)}.certy-mark span{font-weight:900}.certy-menu{display:flex;align-items:center;gap:28px}.certy-menu a,.certy-login{color:var(--certy-navy);font-weight:800;text-decoration:none}.certy-nav-actions{display:flex;gap:10px;align-items:center}.certy-login{border:1px solid var(--certy-border);border-radius:10px;padding:11px 18px;background:#fff}.certy-main-btn,.certy-side-action,.certy-primary{background:linear-gradient(135deg,var(--certy-primary),#3f19dc);color:#fff!important;border:none;border-radius:10px;padding:13px 26px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-weight:900;box-shadow:0 14px 28px rgba(91,44,255,.22);cursor:pointer;transition:.2s transform,.2s box-shadow}.certy-main-btn:hover,.certy-side-action:hover,.certy-primary:hover{transform:translateY(-2px);box-shadow:0 18px 35px rgba(91,44,255,.28)}.certy-main-btn.big{font-size:17px;padding:15px 34px}.certy-badge{display:inline-flex;background:var(--certy-soft);color:var(--certy-primary);border:1px solid #e2dcff;border-radius:999px;padding:7px 13px;font-weight:900;font-size:12px}.certy-hero{display:grid;grid-template-columns:1fr 1fr;gap:38px;align-items:center;padding:28px 54px 66px}.certy-hero-copy h1{font-size:50px;line-height:1.28;margin:14px 0 15px;color:var(--certy-navy);letter-spacing:-1px}.certy-hero-copy p{font-size:18px;color:#344054;max-width:560px}.certy-hero-tags{display:flex;gap:18px;flex-wrap:wrap;margin:22px 0}.certy-hero-tags span{font-weight:800;color:#333b63}.certy-hero-copy small{display:block;margin-top:12px;color:var(--certy-muted)}.certy-hero-art{position:relative;min-height:390px}.certy-orb{position:absolute;inset:42px 70px auto auto;width:320px;height:320px;border-radius:50%;background:linear-gradient(135deg,#7357ff,#e8e3ff);filter:drop-shadow(0 20px 35px rgba(91,44,255,.16))}.certy-paper{position:absolute;width:222px;height:315px;background:#fff;border:1px solid var(--certy-border);border-radius:18px;box-shadow:0 25px 55px rgba(9,19,63,.13);padding:25px}.certy-paper:before{content:'';display:block;width:54px;height:54px;border-radius:50%;background:#eef1f7;margin:auto auto 18px}.certy-paper span,.certy-paper b,.certy-paper i,.certy-paper em{display:block;height:8px;border-radius:10px;background:#dfe4ee;margin:12px 0}.certy-paper b{width:70%;background:#17224d}.certy-paper i{width:90%}.certy-paper em{width:58%}.p1{right:150px;top:20px;transform:rotate(-8deg)}.p2{right:285px;top:75px;transform:rotate(8deg)}.certy-float{position:absolute;right:70px;bottom:68px;width:56px;height:56px;border-radius:50%;border:none;background:var(--certy-primary);color:#fff;font-size:22px;box-shadow:0 15px 35px rgba(91,44,255,.35)}.certy-features{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;padding:0 34px 42px}.certy-features div,.certy-card,.certy-sidebar,.certy-preview-panel,.certy-steps,.certy-stat-row div,.certy-cv-item,.certy-login-box{background:rgba(255,255,255,.86);backdrop-filter:blur(18px);border:1px solid var(--certy-border);border-radius:20px;box-shadow:0 14px 34px rgba(15,23,42,.055)}.certy-features div{padding:25px;text-align:center}.certy-features span{width:46px;height:46px;border-radius:15px;display:grid;place-items:center;margin:0 auto 12px;background:var(--certy-soft);font-size:22px}.certy-features b{font-size:18px;color:var(--certy-navy)}.certy-features p{color:var(--certy-muted);font-size:13px}.certy-steps{margin:0 34px 34px;padding:28px;text-align:center}.certy-steps h2{margin-top:0;color:var(--certy-navy)}.certy-steps>div{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.certy-steps article{padding:18px}.certy-steps b{display:grid;place-items:center;width:42px;height:42px;margin:0 auto 10px;border-radius:50%;background:var(--certy-primary);color:#fff}.certy-builder-anchor{margin-top:22px}.certy-app{display:grid;grid-template-columns:270px minmax(0,1fr) 410px;gap:18px;background:linear-gradient(180deg,#fbfcff,#f5f6ff);padding:18px;border-radius:28px;direction:rtl;border:1px solid #edf0f8}.certy-sidebar{padding:18px;height:max-content;position:sticky;top:20px}.certy-sidebar .certy-brand{margin-bottom:22px}.certy-side-action{width:100%;margin:6px 0 22px}.certy-sidebar nav{display:grid;gap:7px}.certy-sidebar nav a{padding:13px 14px;border-radius:12px;color:var(--certy-navy);font-weight:850;text-decoration:none}.certy-sidebar nav a.active,.certy-sidebar nav a:hover{background:#f1efff;color:var(--certy-primary)}.certy-save-card{margin-top:25px;background:#f4f1ff;border-radius:16px;padding:18px;text-align:center}.certy-save-card p{font-size:13px;color:var(--certy-muted)}.certy-save-card a{display:inline-flex;background:var(--certy-primary);color:#fff;border-radius:10px;padding:11px 18px;font-weight:900;text-decoration:none}.certy-builder-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;gap:14px}.certy-builder-head h2{margin:7px 0 0;color:var(--certy-navy);font-size:27px}.certy-ghost{background:#fff;border:1px solid var(--certy-border);border-radius:10px;padding:10px 16px;color:var(--certy-navy);font-weight:800;cursor:pointer}.certy-progress{display:flex;align-items:flex-start;justify-content:space-between;position:relative;margin:18px 10px 33px}.certy-progress:before{content:'';position:absolute;top:18px;right:35px;left:35px;height:2px;background:#dbe1ee}.certy-progress button{position:relative;z-index:1;width:38px;height:38px;border-radius:50%;background:#fff;border:1px solid #cfd6e6;display:grid;place-items:center;color:#667085;font-weight:900;cursor:pointer}.certy-progress button.on{background:var(--certy-primary);color:#fff;border-color:var(--certy-primary);box-shadow:0 10px 25px rgba(91,44,255,.22)}.certy-progress small{position:absolute;top:45px;white-space:nowrap;color:#667085;font-size:11px;font-weight:800}.certy-card{padding:24px;margin-bottom:18px;display:none}.certy-card.is-active{display:block;animation:certyFade .25s ease}@keyframes certyFade{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}.certy-card h3{margin:0 0 6px;text-align:center;color:var(--certy-navy);font-size:23px}.certy-card>p{text-align:center;color:var(--certy-muted);font-size:13px}.certy-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.certy-app label{display:grid;gap:8px;font-size:13px;font-weight:900;color:#26345d}.certy-app input,.certy-app textarea{border:1px solid var(--certy-border);border-radius:11px;min-height:46px;padding:12px 14px;font-family:inherit;outline:none;background:#fff;color:var(--certy-text);width:100%}.certy-app textarea{min-height:96px;resize:vertical}.certy-app input:focus,.certy-app textarea:focus{border-color:var(--certy-primary);box-shadow:0 0 0 4px rgba(91,44,255,.08)}.certy-full{margin-top:16px}.certy-actions{display:flex;justify-content:center;gap:12px;margin-top:20px;flex-wrap:wrap}.certy-actions button,.certy-template-row button,.certy-downloads button,.certy-country-row button,.certy-add,.certy-skill-presets button,.certy-repeat-head button,.certy-ai-mini{border:1px solid var(--certy-border);background:#fff;border-radius:11px;padding:12px 18px;font-family:inherit;font-weight:900;cursor:pointer;color:var(--certy-navy)}.certy-country-row{display:flex;justify-content:center;gap:10px;margin:18px 0}.certy-country-row button.selected,.certy-template-row button.selected{background:var(--certy-primary);color:#fff;border-color:var(--certy-primary);box-shadow:0 12px 24px rgba(91,44,255,.18)}.certy-repeat-card{border:1px solid var(--certy-border);background:#fff;border-radius:16px;padding:16px;margin:14px 0}.certy-repeat-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.certy-repeat-head b{color:var(--certy-navy)}.certy-repeat-head button{padding:8px 12px;color:#b42318;background:#fff6f5}.certy-add{width:100%;background:#f8f7ff;color:var(--certy-primary);border-style:dashed}.certy-ai-mini{margin-top:12px;background:#f5f2ff;color:var(--certy-primary)}.certy-skill-presets{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.certy-skill-presets button{padding:9px 13px;background:#fff}.certy-skill-presets button:hover{background:var(--certy-soft);color:var(--certy-primary)}.certy-template-row{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:18px}.certy-status{margin-top:15px;text-align:center;font-weight:900;color:var(--certy-green)}.certy-status.error{color:#b42318}.certy-preview-panel{padding:22px;height:max-content;position:sticky;top:20px}.certy-preview-panel h3{text-align:center;margin-top:0;color:var(--certy-navy)}.certy-cv-preview{display:grid;grid-template-columns:142px 1fr;background:#fff;border:1px solid var(--certy-border);border-radius:16px;overflow:hidden;min-height:545px;box-shadow:0 18px 38px rgba(15,23,42,.07)}.cv-side{background:#10234b;color:#fff;padding:19px 14px;text-align:center}.cv-avatar{width:78px;height:78px;margin:0 auto 12px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#10234b;font-size:34px}.cv-side h2{font-size:18px;margin:6px 0;line-height:1.3}.cv-side p{font-size:11px;overflow-wrap:anywhere;opacity:.92}.cv-side hr{border:0;border-top:1px solid rgba(255,255,255,.2);margin:16px 0}.cv-main{padding:20px}.cv-main h4{margin:0 0 8px;color:#0d1b44;border-bottom:1px solid #e8ebf3;padding-bottom:6px;font-size:15px}.cv-main p,.cv-entry{font-size:12px;color:#38415f;line-height:1.75;white-space:pre-wrap}.cv-entry{margin:0 0 10px}.cv-entry b{display:block;color:#10234b;font-size:13px}.cv-entry span{display:block;color:#667085;font-size:11px}.cv-empty-line{color:#667085}.tpl-classic{grid-template-columns:1fr}.tpl-classic .cv-side{background:#fff;color:#10234b;border-bottom:4px solid #10234b}.tpl-classic .cv-avatar{background:#eef1f7}.tpl-ats{grid-template-columns:1fr;border-radius:0}.tpl-ats .cv-side{background:#fff;color:#111827;text-align:right;border-bottom:1px solid #ddd}.tpl-ats .cv-avatar{display:none}.tpl-executive .cv-side{background:#07123d}.tpl-executive .cv-main h4{color:#5b2cff}.certy-downloads{display:grid;grid-template-columns:1fr;gap:9px;margin-top:14px}.certy-downloads button:first-child{background:var(--certy-green);color:#fff;border-color:var(--certy-green)}.certy-downloads button:nth-child(2){background:#2563eb;color:#fff;border-color:#2563eb}.certy-note{background:#f6f8ff;border:1px solid var(--certy-border);border-radius:16px;margin-top:14px;padding:15px}.certy-note p{margin:7px 0 0;color:var(--certy-muted);font-size:13px}.certy-dashboard{background:var(--certy-bg);border-radius:28px;padding:22px;border:1px solid var(--certy-border)}.certy-dash-head{display:flex;justify-content:space-between;align-items:center;gap:20px}.certy-dash-head h1{margin:15px 0 0;color:var(--certy-navy)}.certy-stat-row{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:18px 0}.certy-stat-row div{padding:20px;text-align:center}.certy-stat-row b{font-size:28px;color:var(--certy-primary);display:block}.certy-stat-row span{color:var(--certy-muted);font-weight:800}.certy-cv-list{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:22px}.certy-cv-item{padding:18px}.certy-cv-item h3{margin:0;color:var(--certy-navy)}.certy-cv-item p{color:var(--certy-muted)}.certy-cv-item button{border:0;background:#fff1f1;color:#b42318;padding:9px 14px;border-radius:10px;font-weight:900;cursor:pointer}.certy-empty{padding:22px;background:#fff;border-radius:16px;border:1px dashed var(--certy-border)}.certy-login-box{padding:32px;text-align:center}.certy-login-box h2{color:var(--certy-navy)}@media(max-width:1240px){.certy-app{grid-template-columns:1fr}.certy-sidebar,.certy-preview-panel{position:static}.certy-hero{grid-template-columns:1fr}.certy-features{grid-template-columns:repeat(2,1fr)}.certy-cv-list{grid-template-columns:1fr 1fr}}@media(max-width:760px){.certy-nav,.certy-menu,.certy-nav-actions{display:block;text-align:center}.certy-menu{margin-top:16px}.certy-menu a{display:inline-block;margin:6px}.certy-hero{padding:20px}.certy-hero-copy h1{font-size:34px}.certy-grid,.certy-features,.certy-steps>div,.certy-stat-row,.certy-cv-list{grid-template-columns:1fr}.certy-cv-preview{grid-template-columns:1fr}.certy-app{padding:8px;border-radius:18px}.certy-progress small{display:none}.certy-hero-art{min-height:280px}.certy-orb{right:20px;width:230px;height:230px}.certy-paper{width:170px;height:240px}.p1{right:80px}.p2{right:160px}.certy-dash-head{display:block}}@media print{body *{visibility:hidden!important}.certy-cv-preview,.certy-cv-preview *{visibility:visible!important}.certy-cv-preview{position:absolute!important;inset:0!important;width:100%!important;min-height:100vh!important;border:0!important;border-radius:0!important;box-shadow:none!important}.certy-sidebar,.certy-builder,.certy-preview-panel>h3,.certy-downloads,.certy-note{display:none!important}}


/* Certy Pro Foundation v1.3 - Guest Builder Layout
   Guest mode removes the dashboard/sidebar column and gives the form more space while keeping the live preview visible. */
.certy-guest-builder{grid-template-columns:minmax(0,1fr) 430px!important;gap:22px!important;align-items:start;padding:22px!important;}
.certy-guest-builder .certy-builder{min-width:0;}
.certy-guest-builder .certy-preview-panel{width:100%;}
.certy-guest-builder .certy-card{padding:30px!important;}
.certy-guest-builder .certy-builder-head{justify-content:center;position:relative;text-align:center;margin-bottom:18px;}
.certy-guest-builder .certy-builder-head .certy-ghost{position:absolute;left:0;top:0;}
.certy-guest-builder .certy-progress{max-width:760px;margin:20px auto 36px;}
.certy-guest-builder .certy-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 22px;}
.certy-guest-builder .certy-app input,.certy-guest-builder .certy-app textarea{font-size:15px;}
.certy-guest-builder .certy-preview-panel{position:sticky;top:20px;}
.certy-guest-builder .certy-cv-preview{min-height:640px;}
.certy-nav-actions .certy-login{white-space:nowrap;}
@media(max-width:1180px){.certy-guest-builder{grid-template-columns:1fr!important}.certy-guest-builder .certy-preview-panel{position:static;order:2}.certy-guest-builder .certy-builder{order:1}.certy-guest-builder .certy-builder-head .certy-ghost{position:static}}
@media(max-width:760px){.certy-guest-builder{padding:10px!important}.certy-guest-builder .certy-grid{grid-template-columns:1fr}.certy-guest-builder .certy-card{padding:20px!important}.certy-guest-builder .certy-cv-preview{min-height:520px}}

/* Certy Pro Foundation v1.4 - Cleaner guest start + photo + reliable PDF print */
.certy-landing{margin-bottom:20px!important}
.certy-landing + .certy-builder-anchor{margin-top:0!important}
.certy-photo-row{display:grid;grid-template-columns:120px minmax(0,1fr);gap:18px;align-items:center;max-width:620px;margin:18px auto 24px;padding:16px;border:1px dashed #d9def0;border-radius:18px;background:#fbfcff}
.certy-photo-preview{width:104px;height:104px;border-radius:50%;display:grid;place-items:center;background:#eef1f7;color:#10234b;font-size:38px;overflow:hidden;border:3px solid #fff;box-shadow:0 10px 22px rgba(15,23,42,.08)}
.certy-photo-preview img,.cv-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.certy-photo-upload{margin:0!important;cursor:pointer}
.certy-photo-upload input{margin-top:8px;padding:10px!important;background:#fff!important}
.certy-photo-upload span{display:block;color:var(--certy-muted);font-size:12px;font-weight:700;margin-top:4px}
.certy-guest-builder{grid-template-columns:minmax(0,1fr) 440px!important;max-width:1480px;margin:0 auto}
.certy-guest-builder .certy-builder{background:rgba(255,255,255,.55);border:1px solid #edf0f8;border-radius:24px;padding:22px;box-shadow:0 18px 40px rgba(15,23,42,.045)}
.certy-guest-builder .certy-preview-panel{order:2}.certy-guest-builder .certy-builder{order:1}
@media(max-width:760px){.certy-photo-row{grid-template-columns:1fr;text-align:center}.certy-photo-preview{margin:auto}.certy-photo-upload input{font-size:13px}}


/* Certy Pro Foundation v1.5 - Button polish + one-page PDF output */
.certy-actions .certy-ai-action{
  background:#f3f0ff!important;
  border:1px solid #7c3aed!important;
  color:#4c1d95!important;
  box-shadow:0 10px 22px rgba(91,44,255,.08);
}
.certy-actions .certy-ai-action:hover{
  background:linear-gradient(135deg,#6d28d9,#4f46e5)!important;
  color:#fff!important;
  transform:translateY(-1px);
}
.certy-downloads button:first-child{
  background:linear-gradient(135deg,var(--certy-primary),#3f19dc)!important;
  color:#fff!important;
  border-color:var(--certy-primary)!important;
  box-shadow:0 12px 26px rgba(91,44,255,.18);
}
.certy-downloads button:nth-child(2){
  background:#22c55e!important;
  color:#fff!important;
  border-color:#22c55e!important;
  box-shadow:0 12px 24px rgba(34,197,94,.16);
}
.certy-downloads button:nth-child(3){
  background:#fff!important;
  color:var(--certy-navy)!important;
  border-color:var(--certy-border)!important;
}


/* Certy Pro Foundation v1.6 - Mobile builder focus + slide preview drawer + fixed white buttons */
.certy-actions .certy-primary,
.certy-actions button.certy-primary{
  background:linear-gradient(135deg,var(--certy-primary),#3f19dc)!important;
  color:#fff!important;
  border-color:var(--certy-primary)!important;
  box-shadow:0 14px 28px rgba(91,44,255,.22)!important;
}
.certy-actions button:not(.certy-primary):not(.certy-ai-action){
  background:#f8f9ff!important;
  color:var(--certy-navy)!important;
  border-color:#d8def0!important;
}
.certy-actions button:not(.certy-primary):not(.certy-ai-action):hover{
  background:#eef1ff!important;
  border-color:#b9c2df!important;
}
.certy-mobile-preview-btn,
.certy-preview-close{display:none;}

@media(max-width:760px){
  .certy-shell{width:100%!important;max-width:100%!important;overflow-x:hidden;}
  .certy-landing{border-radius:0!important;margin:0!important;border-left:0!important;border-right:0!important;box-shadow:none!important;}
  .certy-nav{display:flex!important;align-items:center!important;justify-content:space-between!important;padding:12px 14px!important;gap:8px!important;position:relative;z-index:20;background:#fff;}
  .certy-nav .certy-brand strong{font-size:14px}.certy-nav .certy-brand small{font-size:9px}.certy-mark{width:38px;height:38px;border-radius:10px}
  .certy-menu{display:none!important;}
  .certy-nav-actions{display:flex!important;gap:7px!important;align-items:center!important;margin:0!important;}
  .certy-nav-actions .certy-login,.certy-nav-actions .certy-main-btn{padding:9px 10px!important;font-size:12px!important;border-radius:9px!important;box-shadow:none!important;}
  .certy-hero{padding:24px 16px 18px!important;display:block!important;text-align:center;}
  .certy-hero-art{display:none!important;}
  .certy-hero-copy h1{font-size:29px!important;line-height:1.35!important;margin:12px 0!important;}
  .certy-hero-copy p{font-size:14px!important;margin:0 auto 12px!important;}
  .certy-hero-tags{justify-content:center!important;gap:8px!important;margin:12px 0 16px!important;}
  .certy-hero-tags span{font-size:12px!important;background:#f6f4ff;border:1px solid #ebe7ff;border-radius:999px;padding:6px 9px;}
  .certy-builder-anchor{margin-top:0!important;}

  .certy-app.certy-guest-builder{display:block!important;padding:8px!important;border-radius:0!important;background:#f7f8ff!important;border:0!important;margin:0!important;}
  .certy-guest-builder .certy-builder{padding:12px!important;border-radius:18px!important;background:#fff!important;box-shadow:0 10px 28px rgba(15,23,42,.06)!important;}
  .certy-guest-builder .certy-builder-head{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;text-align:center!important;margin:0 0 12px!important;}
  .certy-guest-builder .certy-builder-head .certy-ghost{position:static!important;order:3;width:100%;}
  .certy-builder-head h2{font-size:22px!important;margin:5px 0 0!important;}
  .certy-mobile-preview-btn{display:inline-flex!important;align-items:center;justify-content:center;gap:6px;width:100%;border:1px solid #cfd6e6;background:#fff;color:var(--certy-primary);border-radius:12px;padding:12px 16px;font-family:inherit;font-weight:900;cursor:pointer;order:2;box-shadow:0 10px 22px rgba(91,44,255,.08);}
  .certy-progress{margin:14px 0 28px!important;overflow-x:auto;gap:34px;padding:0 4px 10px;justify-content:flex-start!important;scrollbar-width:none;}
  .certy-progress:before{display:none!important;}
  .certy-progress button{min-width:38px;}
  .certy-progress small{display:block!important;top:42px;font-size:10px;}
  .certy-card{padding:16px!important;border-radius:17px!important;margin-bottom:10px!important;}
  .certy-card h3{font-size:21px!important;}
  .certy-country-row{gap:8px;flex-wrap:wrap;}
  .certy-country-row button{flex:1;min-width:120px;}
  .certy-photo-row{grid-template-columns:1fr!important;padding:12px!important;margin:12px 0 16px!important;}
  .certy-grid{grid-template-columns:1fr!important;gap:12px!important;}
  .certy-app input,.certy-app textarea{min-height:48px!important;font-size:14px!important;padding:12px!important;}
  .certy-actions{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;}
  .certy-actions button{width:100%!important;min-height:48px!important;}

  .certy-preview-panel{position:fixed!important;top:0!important;bottom:0!important;left:0!important;right:auto!important;width:min(92vw,430px)!important;z-index:999999!important;border-radius:0 20px 20px 0!important;transform:translateX(-105%)!important;transition:transform .28s ease!important;overflow-y:auto!important;padding:18px!important;background:#fff!important;box-shadow:24px 0 55px rgba(7,18,61,.24)!important;}
  .certy-app.is-preview-open .certy-preview-panel{transform:translateX(0)!important;}
  .certy-app.is-preview-open:before{content:'';position:fixed;inset:0;background:rgba(7,18,61,.45);z-index:999998;}
  .certy-preview-close{display:grid!important;place-items:center;position:sticky;top:0;margin:0 0 10px auto;width:42px;height:42px;border:0;border-radius:12px;background:#f2efff;color:#4c1d95;font-size:28px;line-height:1;cursor:pointer;font-family:Arial,sans-serif;z-index:2;}
  .certy-preview-panel h3{font-size:18px!important;margin-bottom:12px!important;}
  .certy-preview-panel .certy-cv-preview{min-height:520px!important;grid-template-columns:118px 1fr!important;}
  .certy-preview-panel .cv-side{padding:14px 10px!important;}
  .certy-preview-panel .cv-main{padding:14px!important;}
  .certy-downloads{position:sticky;bottom:0;background:#fff;padding-top:10px;}
  .certy-note{font-size:12px!important;}
}

/* Certy Pro 2.0 Smart Builder - Egypt-first guided flow */
.certy-v2-smart:not(.is-smart-ready) .certy-builder-head,
.certy-v2-smart:not(.is-smart-ready) .certy-progress,
.certy-v2-smart:not(.is-smart-ready) .certy-step,
.certy-v2-smart:not(.is-smart-ready) .certy-preview-panel{display:none!important;}
.certy-v2-smart.is-smart-ready .certy-smart-start,
.certy-v2-smart.is-smart-ready .certy-smart-profession,
.certy-v2-smart.is-smart-ready .certy-smart-template{display:none!important;}
.certy-smart-start,.certy-smart-profession,.certy-smart-template{background:rgba(255,255,255,.9);border:1px solid var(--certy-border);border-radius:24px;padding:32px;box-shadow:0 18px 45px rgba(15,23,42,.06);text-align:center;margin:0 auto;max-width:980px;}
.certy-smart-start h2,.certy-smart-profession h2,.certy-smart-template h2{margin:14px 0 8px;color:var(--certy-navy);font-size:34px;letter-spacing:-.5px;}
.certy-smart-start p,.certy-smart-profession p,.certy-smart-template p{color:var(--certy-muted);margin:0 auto 22px;max-width:670px;font-weight:700;}
.certy-smart-methods,.certy-prof-grid,.certy-template-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px;}
.certy-smart-methods button,.certy-prof-grid button,.certy-template-cards button{border:1px solid #e5e9f4;background:linear-gradient(180deg,#fff,#fbfcff);border-radius:20px;padding:22px;text-align:right;font-family:inherit;cursor:pointer;color:var(--certy-navy);box-shadow:0 14px 32px rgba(15,23,42,.045);transition:.2s transform,.2s box-shadow,.2s border-color;min-height:128px;}
.certy-smart-methods button:hover,.certy-prof-grid button:hover,.certy-template-cards button:hover{transform:translateY(-3px);border-color:#cfc5ff;box-shadow:0 20px 42px rgba(91,44,255,.12);}
.certy-smart-methods b,.certy-prof-grid b,.certy-template-cards b{display:block;font-size:20px;margin-bottom:8px;}
.certy-smart-methods span,.certy-prof-grid span,.certy-template-cards small{display:block;color:var(--certy-muted);font-weight:700;font-size:13px;line-height:1.7;}
.certy-prof-grid button{display:grid;grid-template-columns:48px 1fr;align-items:center;gap:10px;}
.certy-prof-grid button>span{grid-column:2}.certy-prof-grid button{font-size:28px}.certy-prof-grid button b{font-size:18px;margin:0;}
.certy-back-link{border:1px solid var(--certy-border);background:#fff;color:var(--certy-navy);border-radius:12px;padding:10px 16px;font-family:inherit;font-weight:900;cursor:pointer;float:left;margin-bottom:8px;}
.certy-smart-note{margin-top:14px;color:#7c3aed;font-weight:900;min-height:22px;}
.certy-template-cards button{text-align:center;min-height:190px;}
.mini-cv{display:block;width:92px;height:122px;border-radius:10px;background:#fff;border:1px solid #dfe5f0;margin:0 auto 12px;position:relative;overflow:hidden;box-shadow:0 12px 24px rgba(15,23,42,.06)}
.mini-cv:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#10234b 0 32%,#fff 32%);}.mini-cv:after{content:'';position:absolute;right:40%;left:10px;top:24px;height:6px;background:#d9deea;border-radius:10px;box-shadow:0 18px 0 #d9deea,0 36px 0 #d9deea,0 54px 0 #d9deea;}
.mini-cv.classic:before{background:linear-gradient(180deg,#fff 0 28%,#10234b 28% 31%,#fff 31%)}.mini-cv.ats:before{background:#fff}.mini-cv.executive:before{background:linear-gradient(90deg,#07123d 0 35%,#fff 35%)}
.certy-v2-smart .certy-country-row{display:none!important;}
.certy-v2-smart.is-smart-ready{grid-template-columns:minmax(0,1fr) 440px!important;}
@media(max-width:760px){
  .certy-v2-smart:not(.is-smart-ready){display:block!important;padding:10px!important;background:#f7f8ff!important;}
  .certy-smart-start,.certy-smart-profession,.certy-smart-template{padding:18px!important;border-radius:20px!important;box-shadow:0 10px 25px rgba(15,23,42,.06)!important;}
  .certy-smart-start h2,.certy-smart-profession h2,.certy-smart-template h2{font-size:25px!important;line-height:1.35;}
  .certy-smart-methods,.certy-prof-grid,.certy-template-cards{grid-template-columns:1fr!important;gap:12px!important;}
  .certy-smart-methods button,.certy-prof-grid button,.certy-template-cards button{min-height:auto!important;padding:16px!important;border-radius:16px!important;}
  .certy-prof-grid button{grid-template-columns:40px 1fr!important;font-size:24px!important;}
  .certy-template-cards button{min-height:160px!important;}
  .certy-v2-smart.is-smart-ready{display:block!important;}
}

/* Certy Pro Smart Builder v2.2 refinements */
.certy-v2-smart:not(.is-smart-ready){
  display:block!important;
  max-width:1240px!important;
  margin:0 auto!important;
  padding:34px!important;
  border-radius:28px!important;
  background:
    radial-gradient(circle at 12% 15%, rgba(91,44,255,.10), transparent 30%),
    radial-gradient(circle at 86% 20%, rgba(37,99,235,.08), transparent 30%),
    linear-gradient(180deg,#fff,#f7f8ff)!important;
}
.certy-v2-smart:not(.is-smart-ready) .certy-builder{
  width:100%!important;
  max-width:none!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
}
.certy-v2-smart:not(.is-smart-ready) .certy-smart-start,
.certy-v2-smart:not(.is-smart-ready) .certy-smart-profession,
.certy-v2-smart:not(.is-smart-ready) .certy-smart-template{
  width:100%!important;
  max-width:none!important;
  min-height:520px;
  padding:42px!important;
  display:block;
  border-radius:28px!important;
  background:rgba(255,255,255,.92)!important;
  border:1px solid #edf0f8!important;
}
.certy-smart-highlights{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:18px 0 10px}
.certy-smart-highlights span{background:#f7f4ff;border:1px solid #e7dfff;color:#4c1d95;border-radius:999px;padding:9px 14px;font-weight:900;font-size:13px}
.certy-smart-methods{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important;margin-top:28px!important}
.certy-smart-methods button{min-height:210px!important;text-align:center!important;padding:30px 22px!important;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}
.certy-smart-methods button b{font-size:22px!important;margin:0!important}.certy-smart-methods button span{font-size:14px!important;max-width:220px}
.certy-prof-grid-expanded{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))!important;gap:14px!important;margin-top:26px!important}
.certy-prof-grid-expanded button{min-height:150px!important;padding:20px!important;background:linear-gradient(180deg,#fff,#fbfcff)!important}
.certy-prof-grid-expanded button.is-featured{background:linear-gradient(135deg,#f4f0ff,#ffffff)!important;border-color:#cfc5ff!important;box-shadow:0 18px 40px rgba(91,44,255,.12)!important}
.certy-prof-grid-expanded button b{font-size:18px!important}.certy-prof-grid-expanded button span{font-size:13px!important;line-height:1.65!important}
.certy-smart-profession h2{font-size:38px!important}
.certy-smart-profession p{max-width:820px!important}
.certy-template-cards{grid-template-columns:repeat(4,minmax(0,1fr))!important}

@media(max-width:980px){
  .certy-smart-methods,.certy-template-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .certy-v2-smart:not(.is-smart-ready){padding:18px!important}
}
@media(max-width:760px){
  .certy-v2-smart:not(.is-smart-ready){padding:10px!important;border-radius:0!important;margin:0!important}
  .certy-v2-smart:not(.is-smart-ready) .certy-smart-start,
  .certy-v2-smart:not(.is-smart-ready) .certy-smart-profession,
  .certy-v2-smart:not(.is-smart-ready) .certy-smart-template{min-height:auto!important;padding:18px!important;border-radius:20px!important}
  .certy-smart-methods,.certy-template-cards,.certy-prof-grid-expanded{grid-template-columns:1fr!important}
  .certy-smart-methods button{min-height:140px!important;padding:18px!important}
  .certy-prof-grid-expanded button{min-height:120px!important}
  .certy-smart-highlights span{font-size:11px;padding:7px 10px}
}


/* Certy Pro Smart Builder v2.2 scroll/flow fixes */
.certy-smart-profession[hidden],
.certy-smart-template[hidden],
.certy-smart-start[hidden]{display:none!important;}
.certy-smart-template{scroll-margin-top:90px;}
.certy-smart-profession{scroll-margin-top:90px;}
.certy-card,.certy-builder-head{scroll-margin-top:90px;}
.certy-v2-smart:not(.is-smart-ready) .certy-smart-template:not([hidden]){
  display:block!important;
}
.certy-v2-smart:not(.is-smart-ready) .certy-smart-profession:not([hidden]){
  display:block!important;
}
.certy-v2-smart:not(.is-smart-ready) .certy-smart-start:not([hidden]){
  display:block!important;
}
@media(max-width:760px){
  .certy-smart-template,.certy-smart-profession,.certy-smart-start{scroll-margin-top:18px!important;}
  .certy-card,.certy-builder-head{scroll-margin-top:18px!important;}
}

/* v2.3 clearer template selection */
.certy-template-cards-pro{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:18px!important;
  align-items:stretch;
}
.certy-template-cards-pro button{
  min-height:285px!important;
  padding:18px 16px 20px!important;
  border-radius:24px!important;
  background:linear-gradient(180deg,#fff 0%,#fbfcff 100%)!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  text-align:center!important;
  position:relative!important;
  overflow:hidden!important;
}
.certy-template-cards-pro button:before{
  content:"";
  position:absolute;
  inset:auto -40px -70px -40px;
  height:115px;
  background:radial-gradient(circle at center,rgba(91,44,255,.10),transparent 65%);
}
.certy-template-cards-pro button:hover,
.certy-template-cards-pro button.is-selected{
  border-color:#a996ff!important;
  box-shadow:0 25px 55px rgba(91,44,255,.14)!important;
}
.certy-template-cards-pro b{font-size:21px!important;margin-top:14px!important;color:var(--certy-navy)!important;}
.certy-template-cards-pro small{font-size:13px!important;line-height:1.65!important;min-height:42px;}
.certy-template-cards-pro .mini-cv{
  width:116px!important;
  height:156px!important;
  border:1px solid #dfe5f2!important;
  border-radius:13px!important;
  background:#fff!important;
  box-shadow:0 16px 35px rgba(15,23,42,.10)!important;
  display:block!important;
  position:relative!important;
  overflow:hidden!important;
  margin:auto!important;
}
.certy-template-cards-pro .mini-cv:before{
  content:"";position:absolute;top:16px;right:16px;width:26px;height:26px;border-radius:50%;background:#d8deea;
}
.certy-template-cards-pro .mini-cv:after{
  content:"";position:absolute;right:16px;left:16px;top:56px;height:8px;border-radius:8px;background:#10234b;box-shadow:0 18px 0 #d8deea,0 36px 0 #d8deea,0 54px 0 #d8deea;
}
.certy-template-cards-pro .mini-cv i,.certy-template-cards-pro .mini-cv em,.certy-template-cards-pro .mini-cv u{display:none}
.certy-template-cards-pro .mini-cv.modern{background:linear-gradient(90deg,#10234b 0 30%,#fff 30%)!important}
.certy-template-cards-pro .mini-cv.modern:before{right:52px;background:#fff;border:3px solid #e9edfb}.certy-template-cards-pro .mini-cv.modern:after{right:45px;left:15px;top:60px;background:#dbe2ef;box-shadow:0 18px 0 #dbe2ef,0 36px 0 #dbe2ef,0 54px 0 #dbe2ef}
.certy-template-cards-pro .mini-cv.soft{background:linear-gradient(180deg,#fff,#fff7fb)!important}.certy-template-cards-pro .mini-cv.soft:before{background:#f0cfe3}.certy-template-cards-pro .mini-cv.soft:after{background:#7c3aed;box-shadow:0 18px 0 #eadcf8,0 36px 0 #eadcf8,0 54px 0 #eadcf8}
.certy-template-cards-pro .mini-cv.classic:after{top:44px;background:#10234b;height:3px;box-shadow:0 18px 0 #dbe2ef,0 36px 0 #dbe2ef,0 54px 0 #dbe2ef,0 72px 0 #dbe2ef}
.certy-template-cards-pro .mini-cv.ats{border-radius:4px!important;box-shadow:0 8px 18px rgba(15,23,42,.07)!important}.certy-template-cards-pro .mini-cv.ats:before{display:none}.certy-template-cards-pro .mini-cv.ats:after{right:22px;left:22px;top:28px;background:#cfd6e6;box-shadow:0 18px 0 #cfd6e6,0 36px 0 #cfd6e6,0 54px 0 #cfd6e6,0 72px 0 #cfd6e6}
.certy-template-cards-pro .mini-cv.executive{background:linear-gradient(90deg,#07123d 0 32%,#fff 32%)!important}.certy-template-cards-pro .mini-cv.executive:before{right:50px;background:#fff;border:3px solid #c7b8ff}.certy-template-cards-pro .mini-cv.executive:after{right:44px;left:16px;background:#5b2cff;box-shadow:0 18px 0 #dfe5f2,0 36px 0 #dfe5f2,0 54px 0 #dfe5f2}
.certy-template-cards-pro .mini-cv.fresh{background:linear-gradient(180deg,#eff6ff 0 22%,#fff 22%)!important}.certy-template-cards-pro .mini-cv.fresh:before{background:#60a5fa}.certy-template-cards-pro .mini-cv.fresh:after{background:#2563eb;box-shadow:0 18px 0 #dbeafe,0 36px 0 #dbeafe,0 54px 0 #dbeafe}
.certy-template-cards-pro .mini-cv.creative{background:linear-gradient(135deg,#fff 0 58%,#fff0d9 58%)!important}.certy-template-cards-pro .mini-cv.creative:before{background:#f59e0b}.certy-template-cards-pro .mini-cv.creative:after{background:#ef4444;box-shadow:0 18px 0 #fde7c7,0 36px 0 #fde7c7,0 54px 0 #fde7c7}
.certy-template-cards-pro .mini-cv.clean{background:#fff!important}.certy-template-cards-pro .mini-cv.clean:before{background:#eef1f7}.certy-template-cards-pro .mini-cv.clean:after{background:#cfd6e6;box-shadow:0 18px 0 #eef1f7,0 36px 0 #eef1f7,0 54px 0 #eef1f7}

.tpl-soft .cv-side{background:#6d28d9!important}.tpl-soft .cv-main h4{color:#6d28d9}.tpl-fresh .cv-side{background:#2563eb!important}.tpl-fresh .cv-main h4{color:#2563eb}.tpl-creative .cv-side{background:#f59e0b!important;color:#111827!important}.tpl-creative .cv-avatar{background:#fff7ed;color:#f59e0b}.tpl-creative .cv-main h4{color:#f59e0b}.tpl-clean{grid-template-columns:1fr!important}.tpl-clean .cv-side{background:#fff!important;color:#10234b!important;border-bottom:1px solid #e5e9f4}.tpl-clean .cv-avatar{background:#eef1f7}.tpl-clean .cv-main h4{color:#10234b}

@media(max-width:1180px){.certy-template-cards-pro{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:760px){.certy-template-cards-pro{grid-template-columns:1fr!important}.certy-template-cards-pro button{min-height:230px!important}.certy-template-cards-pro .mini-cv{width:100px!important;height:135px!important}}

/* Certy Pro Smart Builder v2.4 – Real Template Engine */
.certy-badge{white-space:nowrap}.certy-real-templates{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important}.certy-real-templates button{min-height:255px!important;padding:22px!important;text-align:center;position:relative;overflow:hidden}.certy-real-templates button.is-selected,.certy-real-templates button:hover{border-color:var(--certy-primary)!important;box-shadow:0 24px 52px rgba(91,44,255,.13);transform:translateY(-2px)}.certy-real-templates b{font-size:20px!important;margin-top:14px!important}.certy-real-templates small{font-size:13px!important;line-height:1.65!important;color:#667085!important}.certy-color-picker{margin:22px auto 0;display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;background:#fbfcff;border:1px solid var(--certy-border);padding:14px;border-radius:18px;max-width:850px}.certy-color-picker b{margin-inline-end:6px;color:var(--certy-navy)}.certy-color-picker button{border:1px solid var(--certy-border);background:#fff;border-radius:999px;padding:9px 15px;font-weight:900;cursor:pointer;color:#172554}.certy-color-picker button.selected{background:var(--certy-primary);color:#fff;border-color:var(--certy-primary);box-shadow:0 10px 22px rgba(91,44,255,.18)}.certy-color-picker.compact{margin:12px auto 18px;max-width:620px;padding:10px}.certy-template-row-real{display:flex!important;justify-content:center;flex-wrap:wrap;gap:10px}.certy-template-row-real button{min-width:110px}

.mini-cv{width:112px!important;height:142px!important;margin:0 auto 10px!important;border:1px solid #dde3ef!important;border-radius:14px!important;background:#fff!important;display:block!important;position:relative!important;box-shadow:0 14px 30px rgba(15,23,42,.08);overflow:hidden}.mini-cv:before,.mini-cv:after,.mini-cv i,.mini-cv em,.mini-cv u{content:"";position:absolute;display:block;border-radius:4px;background:#d8deea}.mini-cv i{height:100%;width:24px;right:0;top:0;background:#10234b}.mini-cv em{height:8px;width:52px;right:36px;top:28px}.mini-cv u{height:6px;width:46px;right:36px;top:48px}.mini-cv:before{height:6px;width:55px;right:36px;top:68px}.mini-cv:after{height:6px;width:42px;right:36px;top:88px}.layout-header i{height:34px!important;width:100%!important;right:0!important;top:0!important}.layout-header em{top:48px!important;right:16px!important;width:80px!important}.layout-header u{top:68px!important;right:16px!important;width:62px!important}.layout-header:before{top:90px!important;right:16px!important;width:82px!important}.layout-header:after{top:108px!important;right:16px!important;width:70px!important}.layout-split i{right:auto!important;left:0!important;width:34px!important;background:#eef1f7!important}.layout-split em,.layout-split u,.layout-split:before,.layout-split:after{right:12px!important}.layout-ats i{display:none!important}.layout-ats{border-radius:4px!important}.layout-ats em{right:12px!important;top:22px!important;width:85px!important;background:#334155!important}.layout-ats u{right:12px!important;top:43px!important;width:76px!important}.layout-ats:before{right:12px!important;top:64px!important;width:90px!important}.layout-ats:after{right:12px!important;top:86px!important;width:70px!important}.layout-executive i{height:15px!important;width:100%!important;right:0!important;top:auto!important;bottom:0!important;background:#10234b!important}.layout-executive em{right:16px!important;top:22px!important;width:80px!important;background:#10234b!important}.layout-executive u{right:16px!important;top:50px!important;width:70px!important}.layout-executive:before{right:16px!important;top:76px!important;width:82px!important}.layout-executive:after{right:16px!important;top:104px!important;width:58px!important}.layout-creative{background:#faf8ff!important;border-radius:22px!important}.layout-creative i{height:54px!important;width:54px!important;right:-8px!important;top:-8px!important;border-radius:50%!important;background:linear-gradient(135deg,#5b2cff,#ec4899)!important}.layout-creative em{right:30px!important;top:38px!important;width:60px!important}.layout-creative u{right:16px!important;top:66px!important;width:80px!important}.layout-creative:before{right:18px!important;top:92px!important;width:50px!important}.layout-creative:after{right:58px!important;top:92px!important;width:36px!important;background:#c4b5fd!important}

.certy-cv-preview{--accent:#10234b}.certy-cv-preview.color-blue{--accent:#10234b}.certy-cv-preview.color-purple{--accent:#5b2cff}.certy-cv-preview.color-gold{--accent:#f59e0b}.certy-cv-preview.color-green{--accent:#0f9f6e}.certy-cv-preview.color-gray{--accent:#475467}.certy-cv-preview .cv-side{background:var(--accent)!important}.certy-cv-preview .cv-avatar{color:var(--accent)}.certy-cv-preview .cv-main h4{color:var(--accent)}
.certy-cv-preview.tpl-sidebar{grid-template-columns:142px 1fr}.certy-cv-preview.tpl-sidebar .cv-side{grid-column:auto;grid-row:auto;min-height:545px}.certy-cv-preview.tpl-header{display:grid;grid-template-columns:1fr;grid-template-rows:auto 1fr}.certy-cv-preview.tpl-header .cv-side{display:grid;grid-template-columns:85px 1fr;align-items:center;gap:14px;text-align:right;padding:18px 22px;min-height:auto}.certy-cv-preview.tpl-header .cv-avatar{margin:0}.certy-cv-preview.tpl-header .cv-side hr{display:none}.certy-cv-preview.tpl-header .cv-side p{display:inline-block;margin:3px 7px;font-size:11px}.certy-cv-preview.tpl-header .cv-main{padding:22px 28px}.certy-cv-preview.tpl-split{grid-template-columns:1fr 160px}.certy-cv-preview.tpl-split .cv-side{grid-column:2;grid-row:1;min-height:545px}.certy-cv-preview.tpl-split .cv-main{grid-column:1;grid-row:1}.certy-cv-preview.tpl-ats{grid-template-columns:1fr;border-radius:6px}.certy-cv-preview.tpl-ats .cv-side{background:#fff!important;color:#111827!important;text-align:right;border-bottom:1px solid #e5e7eb;padding:22px}.certy-cv-preview.tpl-ats .cv-avatar{display:none}.certy-cv-preview.tpl-ats .cv-side hr{display:none}.certy-cv-preview.tpl-ats .cv-side h2{color:#111827;text-align:right}.certy-cv-preview.tpl-ats .cv-side p{display:inline-block;margin-left:12px;color:#344054}.certy-cv-preview.tpl-ats .cv-main h4{color:#111827;border-bottom:1px solid #d0d5dd}.certy-cv-preview.tpl-executive{grid-template-columns:1fr;grid-template-rows:auto 1fr}.certy-cv-preview.tpl-executive .cv-side{background:#fff!important;color:#101936!important;text-align:right;border-bottom:14px solid var(--accent);padding:26px 28px;min-height:auto}.certy-cv-preview.tpl-executive .cv-avatar{float:left;background:var(--accent);color:#fff;margin:0 20px 0 0}.certy-cv-preview.tpl-executive .cv-side hr{display:none}.certy-cv-preview.tpl-executive .cv-side h2{font-size:26px;color:#101936}.certy-cv-preview.tpl-executive .cv-side p{display:inline-block;margin-left:14px;color:#344054}.certy-cv-preview.tpl-executive .cv-main{padding:24px 32px}.certy-cv-preview.tpl-creative{grid-template-columns:154px 1fr;background:#fbfbff!important}.certy-cv-preview.tpl-creative .cv-side{background:linear-gradient(160deg,var(--accent),#111827)!important;border-bottom-left-radius:46px;min-height:545px}.certy-cv-preview.tpl-creative .cv-main h4{border:0;background:#f1efff;border-radius:999px;padding:8px 14px;margin-top:6px}.certy-cv-preview.tpl-creative .cv-main{padding:22px 18px}
@media(max-width:900px){.certy-real-templates{grid-template-columns:1fr 1fr!important}.certy-cv-preview.tpl-sidebar,.certy-cv-preview.tpl-split,.certy-cv-preview.tpl-creative{grid-template-columns:1fr}.certy-cv-preview.tpl-sidebar .cv-side,.certy-cv-preview.tpl-split .cv-side,.certy-cv-preview.tpl-creative .cv-side{grid-column:auto;grid-row:auto;min-height:auto}.certy-cv-preview.tpl-split .cv-main{grid-column:auto;grid-row:auto}}@media(max-width:620px){.certy-real-templates{grid-template-columns:1fr!important}.certy-color-picker button{padding:8px 12px}.certy-template-row-real button{min-width:auto}}


/* Certy Pro v2.5 - Real template cards and reliable selection */
.certy-real-templates-v25{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:22px!important;margin-top:28px!important}
.certy-real-templates-v25 button{min-height:310px!important;padding:26px 22px!important;border-radius:26px!important;background:linear-gradient(180deg,#fff,#fbfcff)!important;position:relative!important;overflow:hidden!important;text-align:center!important}
.certy-real-templates-v25 button:after{content:'اضغط للاختيار';position:absolute;top:14px;left:16px;background:#f4f1ff;color:#5b2cff;border:1px solid #e2dcff;border-radius:999px;padding:5px 10px;font-size:11px;font-weight:900;opacity:.0;transform:translateY(-4px);transition:.2s}
.certy-real-templates-v25 button:hover:after,.certy-real-templates-v25 button.is-selected:after{opacity:1;transform:none}
.certy-real-templates-v25 button.is-selected{border:2px solid var(--certy-primary)!important;background:linear-gradient(180deg,#fff,#f8f6ff)!important;box-shadow:0 26px 60px rgba(91,44,255,.16)!important}
.certy-real-templates-v25 b{font-size:22px!important;margin-top:16px!important;margin-bottom:6px!important;color:#07123d!important}
.certy-real-templates-v25 small{font-size:14px!important;color:#667085!important;line-height:1.75!important;max-width:250px;margin:0 auto!important}
.mini-cv-real{--mini:#10234b;display:block!important;width:150px!important;height:195px!important;margin:0 auto 14px!important;background:#fff!important;border:1px solid #dfe5f0!important;border-radius:18px!important;position:relative!important;overflow:hidden!important;box-shadow:0 16px 34px rgba(15,23,42,.11)!important;transform:perspective(900px) rotateX(2deg)}
.certy-real-templates-v25 [data-start-template].is-selected .mini-cv-real,.certy-real-templates-v25 button:hover .mini-cv-real{--mini:#5b2cff;transform:perspective(900px) rotateX(0) translateY(-3px)}
.mini-cv-real i,.mini-cv-real em,.mini-cv-real u,.mini-cv-real strong,.mini-cv-real:before,.mini-cv-real:after{content:'';position:absolute;display:block;border-radius:999px;background:#d8deea}
.mini-cv-real em{height:9px;width:70px;right:56px;top:36px;background:#172554}.mini-cv-real u{height:7px;width:76px;right:56px;top:62px}.mini-cv-real strong{height:7px;width:58px;right:56px;top:84px}.mini-cv-real:before{height:7px;width:70px;right:56px;top:116px}.mini-cv-real:after{height:7px;width:48px;right:56px;top:140px}
.mini-sidebar i{height:100%;width:42px;right:0;top:0;border-radius:0;background:var(--mini)}.mini-sidebar em,.mini-sidebar u,.mini-sidebar strong,.mini-sidebar:before,.mini-sidebar:after{right:58px}.mini-sidebar em{top:32px}.mini-sidebar u{top:58px}.mini-sidebar strong{top:84px}.mini-sidebar:before{top:118px}.mini-sidebar:after{top:146px}
.mini-header i{height:48px;width:100%;right:0;top:0;border-radius:0;background:var(--mini)}.mini-header em{right:22px;top:68px;width:105px}.mini-header u{right:22px;top:94px;width:88px}.mini-header strong{right:22px;top:120px;width:106px}.mini-header:before{right:22px;top:146px;width:78px}.mini-header:after{right:22px;top:166px;width:96px}
.mini-split i{height:100%;width:48px;left:0;right:auto;top:0;border-radius:0;background:#eef1f7}.mini-split em,.mini-split u,.mini-split strong,.mini-split:before,.mini-split:after{right:18px}.mini-split em{top:30px;width:78px;background:var(--mini)}.mini-split u{top:58px;width:68px}.mini-split strong{top:88px;width:86px}.mini-split:before{top:124px;width:60px}.mini-split:after{top:150px;width:75px}
.mini-ats{border-radius:6px!important;box-shadow:0 10px 24px rgba(15,23,42,.08)!important}.mini-ats i{display:none!important}.mini-ats em,.mini-ats u,.mini-ats strong,.mini-ats:before,.mini-ats:after{right:22px}.mini-ats em{top:26px;width:105px;background:#111827;height:6px}.mini-ats u{top:52px;width:94px}.mini-ats strong{top:78px;width:106px}.mini-ats:before{top:112px;width:96px}.mini-ats:after{top:142px;width:80px}
.mini-executive i{height:20px;width:100%;right:0;bottom:0;top:auto;border-radius:0;background:var(--mini)}.mini-executive em{top:26px;right:22px;width:105px;background:var(--mini);height:10px}.mini-executive u{top:60px;right:22px;width:86px}.mini-executive strong{top:94px;right:22px;width:104px}.mini-executive:before{top:128px;right:22px;width:72px}.mini-executive:after{top:154px;right:22px;width:92px}
.mini-creative{background:linear-gradient(135deg,#fff 0 58%,#fff0d9 58%)!important;border-radius:26px!important}.mini-creative i{width:72px;height:72px;right:-18px;top:-18px;border-radius:50%;background:linear-gradient(135deg,#5b2cff,#ec4899)}.mini-creative em{top:48px;right:40px;width:78px;background:#172554}.mini-creative u{top:80px;right:22px;width:96px}.mini-creative strong{top:112px;right:22px;width:54px}.mini-creative:before{top:112px;right:84px;width:34px;background:#c4b5fd}.mini-creative:after{top:146px;right:22px;width:86px;background:#fed7aa}
.certy-color-picker-v25{max-width:930px!important;margin-top:26px!important;background:#fff!important;box-shadow:0 18px 45px rgba(15,23,42,.055)}
.certy-color-picker-v25 button{position:relative;padding-inline-start:34px!important}
.certy-color-picker-v25 button:before{content:'';position:absolute;right:12px;top:50%;width:14px;height:14px;border-radius:50%;transform:translateY(-50%);background:#10234b}.certy-color-picker-v25 button[data-color="purple"]:before{background:#5b2cff}.certy-color-picker-v25 button[data-color="gold"]:before{background:#f59e0b}.certy-color-picker-v25 button[data-color="green"]:before{background:#0f9f6e}.certy-color-picker-v25 button[data-color="gray"]:before{background:#475467}.certy-color-picker-v25 button.selected:before{background:#fff;box-shadow:inset 0 0 0 4px currentColor}
.certy-template-continue{text-align:center;margin-top:20px}.certy-template-continue .certy-primary{font-size:17px;padding:15px 34px;border-radius:14px}
.certy-cv-preview.color-blue{--accent:#10234b}.certy-cv-preview.color-purple{--accent:#5b2cff}.certy-cv-preview.color-gold{--accent:#f59e0b}.certy-cv-preview.color-green{--accent:#0f9f6e}.certy-cv-preview.color-gray{--accent:#475467}
@media(max-width:1020px){.certy-real-templates-v25{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:620px){.certy-real-templates-v25{grid-template-columns:1fr!important}.certy-real-templates-v25 button{min-height:275px!important}.mini-cv-real{width:132px!important;height:172px!important}}


/* Certy Pro v2.8 - clean real template selection UI */
.certy-real-templates-v25{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important;margin-top:24px!important}
.certy-real-templates-v25 button{min-height:255px!important;padding:22px!important;border-radius:24px!important;background:linear-gradient(180deg,#fff,#fbfcff)!important;position:relative!important;overflow:visible!important;text-align:center!important;border:1px solid #e4e8f3!important;box-shadow:0 16px 38px rgba(15,23,42,.06)!important;transform:none!important}
.certy-real-templates-v25 button:hover{border-color:#b9a9ff!important;box-shadow:0 22px 45px rgba(91,44,255,.12)!important;transform:translateY(-2px)!important}
.certy-real-templates-v25 button.is-selected{border:2px solid var(--certy-primary)!important;box-shadow:0 26px 55px rgba(91,44,255,.16)!important;background:linear-gradient(180deg,#fff,#fbfaff)!important}
.certy-real-templates-v25 button.is-selected:after{content:none!important}.certy-real-templates-v25 button:before{content:none!important}
.certy-selected-label{position:absolute;top:12px;left:12px;background:var(--certy-primary);color:#fff;border-radius:999px;padding:7px 12px;font-size:12px;font-weight:900;box-shadow:0 12px 24px rgba(91,44,255,.24)}
.certy-real-templates-v25 b{font-size:20px!important;margin-top:12px!important;margin-bottom:8px!important;color:var(--certy-navy)!important;display:block!important}
.certy-real-templates-v25 small{font-size:13px!important;line-height:1.65!important;color:#667085!important;display:block!important;min-height:42px!important}
.mini-cv-real{--mini:#5b2cff;display:block!important;width:118px!important;height:150px!important;margin:0 auto 14px!important;background:#fff!important;border:1px solid #dfe5f0!important;border-radius:14px!important;position:relative!important;overflow:hidden!important;box-shadow:0 14px 28px rgba(15,23,42,.10)!important;transform:none!important}
.mini-cv-real *{position:absolute!important;display:block!important;border-radius:8px!important;background:#d7deeb!important;content:""!important}
.mini-sidebar i{right:0;top:0;width:34px;height:150px;background:var(--mini)!important}.mini-sidebar em{right:48px;top:28px;width:46px;height:8px;background:#101936!important}.mini-sidebar u{right:48px;top:50px;width:54px;height:7px}.mini-sidebar strong{right:48px;top:73px;width:42px;height:7px;box-shadow:0 20px 0 #d7deeb,0 40px 0 #d7deeb}
.mini-header i{right:0;top:0;width:118px;height:34px;background:var(--mini)!important}.mini-header em{right:28px;top:50px;width:62px;height:8px;background:#101936!important}.mini-header u{right:22px;top:76px;width:74px;height:7px}.mini-header strong{right:22px;top:99px;width:56px;height:7px;box-shadow:0 20px 0 #d7deeb}
.mini-split i{left:0;top:0;width:36px;height:150px;background:#edf1f7!important}.mini-split em{right:16px;top:28px;width:50px;height:8px;background:#101936!important}.mini-split u{right:16px;top:54px;width:62px;height:7px}.mini-split strong{right:16px;top:80px;width:50px;height:7px;box-shadow:0 22px 0 #d7deeb,0 44px 0 #d7deeb}
.mini-ats{border-radius:6px!important}.mini-ats i{display:none!important}.mini-ats em{right:16px;top:26px;width:82px;height:7px;background:#101936!important}.mini-ats u{right:16px;top:52px;width:82px;height:6px}.mini-ats strong{right:16px;top:76px;width:72px;height:6px;box-shadow:0 20px 0 #d7deeb,0 40px 0 #d7deeb}
.mini-executive i{right:0;bottom:0;width:118px;height:22px;background:var(--mini)!important}.mini-executive em{right:18px;top:28px;width:78px;height:8px;background:#101936!important}.mini-executive u{right:18px;top:58px;width:68px;height:7px}.mini-executive strong{right:18px;top:86px;width:78px;height:7px;box-shadow:0 24px 0 #d7deeb}
.mini-creative{border-radius:22px!important;background:linear-gradient(135deg,#fff 0 58%,#fff2d9 58%)!important}.mini-creative i{right:-12px;top:-12px;width:58px;height:58px;border-radius:50%!important;background:linear-gradient(135deg,var(--mini),#ec4899)!important}.mini-creative em{right:40px;top:38px;width:55px;height:8px;background:#101936!important}.mini-creative u{right:20px;top:68px;width:76px;height:7px}.mini-creative strong{right:20px;top:98px;width:40px;height:7px;background:#c4b5fd!important;box-shadow:45px 0 0 #fde0b7}
.certy-template-continue{margin-top:18px!important;text-align:center!important}.certy-template-continue .certy-primary{font-size:16px!important;padding:15px 34px!important;border-radius:14px!important}
.certy-color-picker-v25 button{min-width:86px!important}.certy-color-picker button.selected{background:var(--certy-primary)!important;color:#fff!important;border-color:var(--certy-primary)!important}
.certy-smart-template{scroll-margin-top:95px!important}.certy-builder-head{scroll-margin-top:95px!important}
@media(max-width:900px){.certy-real-templates-v25{grid-template-columns:1fr!important}.certy-real-templates-v25 button{min-height:230px!important}.mini-cv-real{width:105px!important;height:135px!important}.certy-selected-label{top:10px;left:10px}.certy-color-picker{display:grid!important;grid-template-columns:1fr 1fr!important}.certy-color-picker b{grid-column:1/-1;text-align:center}}

/* v2.8 languages + WhatsApp guidance */
.certy-extra-grid textarea{min-height:92px;resize:vertical}
.certy-share-hint{margin-top:12px;padding:12px 14px;border:1px solid #d8dff0;background:#f8fafc;border-radius:14px;color:#475467;font-weight:800;line-height:1.8;text-align:center}
.certy-share-hint:empty{display:none}
.certy-cv-preview [data-pv="languages"],.certy-cv-preview [data-pv="courses"]{white-space:pre-wrap}

/* Certy Pro Smart Builder v2.9 - CV content layout polish */
.certy-cv-preview .cv-main p,
.certy-cv-preview .cv-entry p{
  text-align: justify;
  text-align-last: right;
  line-height: 1.75;
}
.certy-cv-preview .cv-skills-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:8px;
  margin:0 0 16px;
}
.certy-cv-preview .cv-skills-grid span{
  display:block;
  background:#f4f6fb;
  border:1px solid #e4e8f1;
  border-radius:999px;
  padding:7px 8px;
  text-align:center;
  font-size:12px;
  font-weight:800;
  color:#25314d;
  line-height:1.25;
}
.certy-cv-preview .cv-languages-list{
  display:grid;
  gap:7px;
  margin:0 0 16px;
}
.certy-cv-preview .cv-lang-row{
  display:flex;
  justify-content:space-between;
  gap:14px;
  border-bottom:1px dashed #e1e5ef;
  padding:5px 0;
  font-size:12px;
  color:#344054;
}
.certy-cv-preview .cv-lang-row b{
  color:var(--accent);
  font-weight:900;
  white-space:nowrap;
}
.certy-cv-preview .cv-courses-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:8px 12px;
  margin:0 0 16px;
}
.certy-cv-preview .cv-courses-grid span{
  display:block;
  position:relative;
  padding-right:20px;
  font-size:12px;
  color:#344054;
  line-height:1.35;
}
.certy-cv-preview .cv-courses-grid span:before{
  content:'🏅';
  position:absolute;
  right:0;
  top:0;
  font-size:11px;
}
.certy-downloads [data-preview-pdf]{
  background:#101936!important;
  color:#fff!important;
}
@media(max-width:760px){
  .certy-cv-preview .cv-skills-grid{grid-template-columns:repeat(2, minmax(0, 1fr));}
  .certy-cv-preview .cv-courses-grid{grid-template-columns:1fr;}
}


/* Certy Pro v3.0 - Professional PDF Engine */
.certy-app .certy-badge{font-weight:900}
.certy-cv-preview{--accent:#10234b;transition:.2s ease;background:#fff!important;}
.certy-cv-preview .cv-main-hero{margin:0 0 26px;text-align:center;border-bottom:2px solid #edf1f7;padding-bottom:18px}
.certy-cv-preview .cv-main-hero h1{margin:0;color:#13244a;font-size:30px;line-height:1.25;font-weight:900;letter-spacing:-.5px}
.certy-cv-preview .cv-main-hero p{margin:8px 0 0!important;color:var(--accent)!important;font-weight:900;text-align:center!important;text-align-last:center!important;font-size:15px!important}
.certy-cv-preview .cv-main-hero span{display:inline-block;margin-top:6px;color:#667085;font-size:12px;font-weight:800}
.certy-cv-preview .cv-main h4{position:relative;margin:0 0 12px;color:#13244a;border-bottom:1px solid #e8ebf3;padding:0 32px 9px 0;font-size:17px;font-weight:900}
.certy-cv-preview .cv-main h4:before{content:'●';position:absolute;right:0;top:-3px;color:var(--accent);font-size:20px;line-height:1}
.certy-cv-preview .cv-main p,.certy-cv-preview .cv-entry{font-size:13px;color:#38415f;line-height:1.75;white-space:pre-wrap}
.certy-cv-preview .cv-main p,.certy-cv-preview .cv-entry p{text-align:justify;text-align-last:right}
.certy-cv-preview .cv-timeline{position:relative}
.certy-cv-preview .cv-exp-card{display:grid;grid-template-columns:105px 1fr;margin:0 0 13px;border:1px solid #e5eaf3;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 8px 24px rgba(16,35,75,.04)}
.certy-cv-preview .cv-exp-date{background:#f4f7fb;border-left:1px solid #e5eaf3;padding:13px 8px;text-align:center;display:flex;flex-direction:column;gap:4px;align-items:center;justify-content:center;color:#475467;font-size:11px}
.certy-cv-preview .cv-exp-date span{font-weight:900;color:#24314f}.certy-cv-preview .cv-exp-date i{font-style:normal;color:#98a2b3;font-size:10px}.certy-cv-preview .cv-exp-date em{font-style:normal;background:#e8f0ff;color:var(--accent);font-weight:900;border-radius:999px;padding:4px 9px;margin-top:4px;font-size:10px}
.certy-cv-preview .cv-exp-body{padding:13px 16px}.certy-cv-preview .cv-entry b{display:block;color:#10234b;font-size:15px;font-weight:900}.certy-cv-preview .cv-exp-body strong{display:block;color:var(--accent);font-size:12px;margin:4px 0 8px;font-weight:900}.certy-cv-preview .cv-exp-body ul{margin:4px 0 0;padding:0 22px 0 0}.certy-cv-preview .cv-exp-body li{margin:0 0 4px;line-height:1.6;text-align:justify}.certy-cv-preview .cv-edu-card{display:grid;grid-template-columns:78px 1fr;gap:12px;align-items:center;margin:0 0 12px;border:1px solid #e5eaf3;border-radius:14px;padding:11px 13px;background:#fff;box-shadow:0 8px 24px rgba(16,35,75,.04)}.certy-cv-preview .cv-edu-year{background:#f8fafc;border:1px solid #edf1f7;border-radius:10px;text-align:center;padding:10px;color:var(--accent);font-weight:900}.certy-cv-preview .cv-entry span{display:block;color:#667085;font-size:12px;margin-top:3px}
.certy-cv-preview .cv-skills-grid span{border-radius:10px;background:#f4f7fb;border-color:#e4eaf4;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}
.certy-cv-preview .cv-courses-grid span{border:1px solid #e5eaf3;background:#fff;border-radius:12px;padding:10px 9px;text-align:center;font-weight:800;box-shadow:0 8px 24px rgba(16,35,75,.04)}.certy-cv-preview .cv-courses-grid span:before{position:static;content:'🏅 ';font-size:12px}
.certy-cv-preview.tpl-sidebar{grid-template-columns:250px 1fr}.certy-cv-preview.tpl-sidebar .cv-side{min-height:100%;background:linear-gradient(160deg,var(--accent),#111827)!important}.certy-cv-preview.tpl-ats .cv-side,.certy-cv-preview.tpl-executive .cv-side{display:none!important}.certy-cv-preview.tpl-ats,.certy-cv-preview.tpl-executive{grid-template-columns:1fr!important}.certy-cv-preview.tpl-executive .cv-main{border-top:26px solid var(--accent)}
@media(max-width:760px){.certy-cv-preview .cv-exp-card{grid-template-columns:1fr}.certy-cv-preview .cv-exp-date{border-left:0;border-bottom:1px solid #e5eaf3;flex-direction:row}.certy-cv-preview .cv-main-hero h1{font-size:24px}}


/* Certy Pro v3.1 - Fix live preview scaling + cleaner professional CV layout */
.certy-preview-panel{
  overflow:hidden!important;
}
.certy-preview-panel .certy-cv-preview{
  width:210mm!important;
  min-height:297mm!important;
  max-height:297mm!important;
  border-radius:0!important;
  transform:none!important;
  zoom:.48;
  margin:0 auto!important;
  box-shadow:0 18px 45px rgba(15,23,42,.16)!important;
  border:0!important;
}
.certy-preview-panel .certy-downloads{margin-top:16px!important;}
.certy-cv-preview.tpl-sidebar{
  grid-template-columns:230px 1fr!important;
}
.certy-cv-preview.tpl-sidebar .cv-side{
  padding:34px 22px!important;
  min-height:100%!important;
}
.certy-cv-preview .cv-avatar{
  box-shadow:0 10px 26px rgba(0,0,0,.16)!important;
  border:4px solid rgba(255,255,255,.92)!important;
}
.certy-cv-preview .cv-side h2{font-size:22px!important;margin-top:14px!important;}
.certy-cv-preview .cv-side p{font-size:13px!important;line-height:1.75!important;}
.certy-cv-preview .cv-main{
  padding:34px 36px!important;
}
.certy-cv-preview .cv-main-hero{
  margin-bottom:24px!important;
  border-bottom:2px solid #edf1f7!important;
}
.certy-cv-preview .cv-main h4{
  margin:18px 0 12px!important;
  padding:0 26px 8px 0!important;
  font-size:17px!important;
}
.certy-cv-preview .cv-main p{
  background:#fff!important;
  border:0!important;
  padding:0!important;
}
.certy-cv-preview .cv-exp-card{
  border:1px solid #e2e8f0!important;
  border-radius:18px!important;
  overflow:hidden!important;
  background:#fff!important;
  box-shadow:0 10px 28px rgba(16,35,75,.055)!important;
  margin-bottom:15px!important;
  grid-template-columns:116px 1fr!important;
}
.certy-cv-preview .cv-exp-date{
  background:linear-gradient(180deg,#f8fafc,#eef3fb)!important;
  border-left:1px solid #e2e8f0!important;
}
.certy-cv-preview .cv-exp-body b{font-size:16px!important;}
.certy-cv-preview .cv-exp-body strong{font-size:12.5px!important;}
.certy-cv-preview .cv-exp-body li{line-height:1.75!important;}
.certy-cv-preview .cv-edu-card{
  border-radius:16px!important;
  box-shadow:0 10px 26px rgba(16,35,75,.045)!important;
}
.certy-cv-preview .cv-skills-grid{grid-template-columns:repeat(3,1fr)!important;}
.certy-cv-preview .cv-skills-grid span{
  border-radius:12px!important;
  padding:9px 10px!important;
  background:#f6f8fc!important;
}
.certy-cv-preview .cv-languages-list{gap:8px!important;}
.certy-cv-preview .cv-courses-grid span{
  min-height:42px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
@media(max-width:760px){
  .certy-preview-panel .certy-cv-preview{zoom:.43!important;}
}


/* =========================================================
   Certy Pro v5.0.2 - Executive Premium Template
   First Premium template layer. It uses the current shared CV
   markup safely, but gives it a distinct professional layout.
   ========================================================= */
.certy-template-cards-pro .certy-premium-card{
  border-color:#bcd7ff!important;
  background:linear-gradient(180deg,#ffffff,#f4f8ff)!important;
  box-shadow:0 24px 55px rgba(37,99,235,.12)!important;
}
.certy-template-cards-pro .certy-premium-card b:after{
  content:'Premium';
  display:inline-block;
  margin-right:8px;
  padding:3px 9px;
  border-radius:999px;
  background:#dbeafe;
  color:#1d4ed8;
  font-size:11px;
  vertical-align:middle;
}
.mini-executive-premium{
  position:relative!important;
  display:block!important;
  width:132px!important;
  height:174px!important;
  margin:0 auto!important;
  border-radius:16px!important;
  overflow:hidden!important;
  background:#fff!important;
  border:1px solid #d9e3f4!important;
  box-shadow:0 14px 36px rgba(15,23,42,.12)!important;
}
.mini-executive-premium:before{content:'';position:absolute;inset:0 auto 0 0;width:36%;background:linear-gradient(180deg,#10234b,#2563eb)}
.mini-executive-premium i{display:block!important;position:absolute;right:15px;top:15px;width:26px;height:26px;border-radius:50%;background:#fff;box-shadow:0 0 0 4px rgba(255,255,255,.25)}
.mini-executive-premium em{display:block!important;position:absolute;right:9px;top:54px;width:35px;height:5px;border-radius:20px;background:rgba(255,255,255,.85);box-shadow:0 12px 0 rgba(255,255,255,.5),0 24px 0 rgba(255,255,255,.35)}
.mini-executive-premium u{display:block!important;position:absolute;right:56px;left:14px;top:18px;height:8px;border-radius:12px;background:#10234b;box-shadow:0 16px 0 #d7deea,0 34px 0 #2563eb,0 52px 0 #e8edf5,0 70px 0 #e8edf5,0 91px 0 #10234b,0 109px 0 #e8edf5,0 127px 0 #e8edf5;text-decoration:none!important}
.mini-executive-premium strong{display:block!important;position:absolute;right:56px;bottom:13px;width:28px;height:10px;border-radius:20px;background:#dbeafe;box-shadow:35px 0 0 #dbeafe}

.certy-cv-preview.tpl-executive-premium{
  --accent:#2563eb;
  grid-template-columns:64mm 1fr!important;
  background:#f6f8fc!important;
  border:0!important;
  overflow:hidden!important;
}
.certy-cv-preview.tpl-executive-premium.color-blue{--accent:#2563eb}.certy-cv-preview.tpl-executive-premium.color-purple{--accent:#7c3aed}.certy-cv-preview.tpl-executive-premium.color-gold{--accent:#d97706}.certy-cv-preview.tpl-executive-premium.color-green{--accent:#059669}.certy-cv-preview.tpl-executive-premium.color-gray{--accent:#334155}
.tpl-executive-premium .cv-side{
  background:linear-gradient(180deg,#101936 0%,#152449 58%,var(--accent) 140%)!important;
  color:#fff!important;
  padding:15mm 7mm!important;
  height:297mm!important;
  min-height:297mm!important;
  text-align:center!important;
}
.tpl-executive-premium .cv-avatar{width:34mm!important;height:34mm!important;margin:0 auto 7mm!important;border:3px solid rgba(255,255,255,.82)!important;box-shadow:0 10px 25px rgba(0,0,0,.18)!important}
.tpl-executive-premium .cv-side h2{font-size:18px!important;line-height:1.28!important;margin:0 0 2mm!important;color:#fff!important}
.tpl-executive-premium .cv-side p{font-size:10.4px!important;line-height:1.55!important;margin:1.5mm 0!important;color:rgba(255,255,255,.92)!important}
.tpl-executive-premium .cv-side p[data-pv="title"]{display:inline-block!important;background:rgba(255,255,255,.12)!important;border:1px solid rgba(255,255,255,.18)!important;border-radius:999px!important;padding:1.6mm 3mm!important;color:#fff!important;font-weight:800!important}
.tpl-executive-premium .cv-side hr{border:0!important;border-top:1px solid rgba(255,255,255,.18)!important;margin:7mm 0!important}
.tpl-executive-premium .cv-main{background:#fff!important;margin:7mm 7mm 7mm 0!important;border-radius:8mm!important;padding:10mm 9mm!important;box-shadow:0 12px 40px rgba(15,23,42,.10)!important;overflow:hidden!important}
.tpl-executive-premium .cv-main-hero{text-align:right!important;border-bottom:0!important;margin:0 0 6mm!important;padding:0 0 4mm!important;position:relative!important}
.tpl-executive-premium .cv-main-hero:after{content:'';position:absolute;right:0;bottom:0;width:42mm;height:1.4mm;border-radius:999px;background:linear-gradient(90deg,var(--accent),rgba(37,99,235,.08))}
.tpl-executive-premium .cv-main-hero h1{font-size:25px!important;letter-spacing:-.4px!important;color:#0f172a!important;margin:0!important;text-align:right!important}
.tpl-executive-premium .cv-main-hero p{font-size:12px!important;color:var(--accent)!important;font-weight:900!important;text-align:right!important;text-align-last:right!important;margin:1.5mm 0 0!important}
.tpl-executive-premium .cv-main-hero span{display:none!important}
.tpl-executive-premium .cv-main h4{border:0!important;margin:5mm 0 2.8mm!important;padding:0 8mm 0 0!important;color:#0f172a!important;font-size:13.2px!important;font-weight:900!important;position:relative!important}
.tpl-executive-premium .cv-main h4:before{content:''!important;position:absolute!important;right:0!important;top:50%!important;transform:translateY(-50%)!important;width:4.5mm!important;height:4.5mm!important;border-radius:1.5mm!important;background:var(--accent)!important;box-shadow:0 0 0 1.2mm rgba(37,99,235,.13)!important}
.tpl-executive-premium .cv-main p{font-size:10.5px!important;line-height:1.8!important;color:#334155!important;text-align:justify!important;text-align-last:right!important;margin:0 0 4mm!important}
.tpl-executive-premium .cv-exp-card{display:grid!important;grid-template-columns:28mm 1fr!important;border:1px solid #e2e8f0!important;border-radius:5mm!important;background:#fff!important;box-shadow:0 8px 24px rgba(15,23,42,.06)!important;margin:0 0 3.5mm!important;overflow:hidden!important;break-inside:avoid!important}
.tpl-executive-premium .cv-exp-date{background:linear-gradient(180deg,#f8fafc,#eff6ff)!important;border-left:1px solid #e2e8f0!important;color:#475569!important;padding:3mm 2mm!important;text-align:center!important}
.tpl-executive-premium .cv-exp-date span{color:#0f172a!important;font-weight:900!important;font-size:9.5px!important;line-height:1.35!important}
.tpl-executive-premium .cv-exp-date em{background:var(--accent)!important;color:#fff!important;border-radius:999px!important;padding:1mm 2mm!important;font-size:8.4px!important;font-style:normal!important;display:inline-block!important;margin-top:1.5mm!important}
.tpl-executive-premium .cv-exp-body{padding:3.2mm 4mm!important;background:#fff!important}
.tpl-executive-premium .cv-entry b{font-size:12.3px!important;color:#0f172a!important;margin:0 0 .6mm!important}
.tpl-executive-premium .cv-exp-body strong{font-size:10px!important;color:var(--accent)!important;display:block!important;margin:0 0 1.8mm!important}
.tpl-executive-premium .cv-exp-body ul{margin:0!important;padding:0 4.5mm 0 0!important}
.tpl-executive-premium .cv-exp-body li{font-size:9.8px!important;line-height:1.55!important;margin:0 0 .8mm!important;color:#334155!important;text-align:justify!important}
.tpl-executive-premium .cv-edu-card{border:1px solid #e2e8f0!important;border-radius:4mm!important;background:#f8fafc!important;padding:2.5mm 3mm!important;box-shadow:none!important}
.tpl-executive-premium .cv-edu-year{background:#fff!important;border:1px solid #dbeafe!important;color:var(--accent)!important;border-radius:3mm!important}
.tpl-executive-premium .cv-skills-grid{grid-template-columns:repeat(3,1fr)!important;gap:2mm!important;margin-bottom:3mm!important}
.tpl-executive-premium .cv-skills-grid span{background:#eff6ff!important;border:1px solid #dbeafe!important;color:#12305f!important;border-radius:999px!important;padding:1.5mm 1.8mm!important;font-size:9.2px!important;font-weight:900!important}
.tpl-executive-premium .cv-languages-list{display:grid!important;gap:1.3mm!important;margin-bottom:3mm!important}
.tpl-executive-premium .cv-lang-row{border:1px solid #e2e8f0!important;border-radius:3mm!important;padding:1.5mm 2mm!important;background:#fff!important;display:flex!important;justify-content:space-between!important;align-items:center!important;font-size:9.7px!important;color:#334155!important}
.tpl-executive-premium .cv-lang-row b{color:var(--accent)!important;background:#eff6ff!important;border-radius:999px!important;padding:.8mm 2mm!important;font-size:8.8px!important}
.tpl-executive-premium .cv-courses-grid{grid-template-columns:repeat(2,1fr)!important;gap:2mm!important;margin-bottom:3mm!important}
.tpl-executive-premium .cv-courses-grid span{background:#fff!important;border:1px solid #e2e8f0!important;border-radius:3mm!important;padding:2mm!important;font-size:9.4px!important;font-weight:800!important;color:#334155!important;box-shadow:0 4px 14px rgba(15,23,42,.035)!important}
@media(max-width:760px){.certy-cv-preview.tpl-executive-premium{grid-template-columns:118px 1fr!important}.tpl-executive-premium .cv-main{margin:10px!important;border-radius:18px!important;padding:16px!important}.tpl-executive-premium .cv-side{padding:18px 8px!important}}


/* Certy Pro v5.1.0 Dynamic Template Runtime UI */
.certy-template-badge{display:inline-flex;align-items:center;justify-content:center;margin:0 auto 10px;padding:5px 10px;border-radius:999px;background:#eaf2ff;color:#2563eb;font-weight:900;font-size:12px;box-shadow:0 8px 18px rgba(37,99,235,.12)}
.certy-color-picker [data-color] span{display:inline-block;width:12px;height:12px;border-radius:999px;background:var(--swatch);margin-inline-start:6px;box-shadow:0 0 0 2px rgba(255,255,255,.9),0 0 0 3px rgba(15,23,42,.08);vertical-align:-1px}
.certy-template-row-real button{min-width:110px}
.certy-real-templates [data-start-template]{position:relative}
.certy-real-templates [data-start-template][data-supports-colors="0"] .mini-cv-real i,
.certy-real-templates [data-start-template][data-supports-colors="0"] .mini-cv-real strong{background:#cbd5e1!important}

/* =========================================================
   Certy Pro v5.2 - Executive Premium 2.0 + Template Rating
   ========================================================= */
.certy-template-cards-pro [data-start-template]{position:relative;overflow:hidden;align-content:start;min-height:360px;padding-bottom:18px!important}
.certy-template-rating{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:10px 0 0;padding:8px 10px;border-radius:14px;background:#f8fafc;border:1px solid #e2e8f0;font-size:12px;font-weight:900;color:#d97706}
.certy-template-rating em{font-style:normal;color:#059669;background:#ecfdf5;border:1px solid #bbf7d0;border-radius:999px;padding:4px 8px;font-size:11px;white-space:nowrap}
.certy-template-recommended{display:block;margin-top:8px;font-size:11.5px;line-height:1.55;color:#475569;background:#fff;border:1px dashed #dbe3ef;border-radius:12px;padding:8px 10px;text-align:right}
.certy-template-badge.muted{background:#eef2ff;color:#3730a3}
.certy-template-cards-pro [data-start-template="executive-premium"]{border-color:#93c5fd!important;box-shadow:0 22px 50px rgba(37,99,235,.18)!important;background:linear-gradient(180deg,#ffffff,#f8fbff)!important}
.certy-template-cards-pro [data-start-template="executive-premium"]:after{content:'Reference Template';position:absolute;top:14px;left:14px;background:#0f172a;color:#fff;border-radius:999px;padding:6px 10px;font-size:10px;font-weight:900;letter-spacing:.2px}

.mini-executive-premium{background:linear-gradient(135deg,#eff6ff,#fff)!important;border-color:#bfdbfe!important;box-shadow:inset 0 0 0 1px rgba(37,99,235,.12)!important}
.mini-executive-premium:before{width:34%!important;background:linear-gradient(180deg,#0f172a 0%,#1e3a8a 70%,#2563eb 140%)!important}
.mini-executive-premium i{right:12px!important;top:13px!important;width:28px!important;height:28px!important;border:3px solid rgba(255,255,255,.75)!important}
.mini-executive-premium em{right:9px!important;top:55px!important;width:38px!important;height:6px!important;box-shadow:0 13px 0 rgba(255,255,255,.55),0 27px 0 rgba(255,255,255,.38),0 45px 0 rgba(255,255,255,.22)!important}
.mini-executive-premium u{right:62px!important;left:18px!important;top:22px!important;height:9px!important;background:#0f172a!important;box-shadow:0 17px 0 #cbd5e1,0 36px 0 #2563eb,0 56px 0 #e2e8f0,0 76px 0 #e2e8f0,0 102px 0 #0f172a,0 122px 0 #e2e8f0,0 142px 0 #e2e8f0!important}
.mini-executive-premium strong{right:62px!important;bottom:18px!important;width:34px!important;height:11px!important;background:#dbeafe!important;box-shadow:42px 0 0 #dbeafe,84px 0 0 #dbeafe!important}

.certy-cv-preview.tpl-executive-premium{
  --accent:#2563eb;
  grid-template-columns:250px 1fr!important;
  background:linear-gradient(135deg,#eef4ff,#f8fafc)!important;
  border:0!important;
  overflow:hidden!important;
  box-shadow:0 28px 70px rgba(15,23,42,.16)!important;
}
.certy-cv-preview.tpl-executive-premium.color-blue{--accent:#2563eb}.certy-cv-preview.tpl-executive-premium.color-purple{--accent:#7c3aed}.certy-cv-preview.tpl-executive-premium.color-gold{--accent:#d97706}.certy-cv-preview.tpl-executive-premium.color-green{--accent:#059669}.certy-cv-preview.tpl-executive-premium.color-gray{--accent:#334155}
.tpl-executive-premium .cv-side{
  background:radial-gradient(circle at top,#243b72 0,#10234b 42%,#0f172a 100%)!important;
  color:#fff!important;
  padding:34px 24px!important;
  text-align:center!important;
  min-height:100%!important;
  position:relative!important;
}
.tpl-executive-premium .cv-side:before{content:'';position:absolute;inset:auto 0 0 0;height:38%;background:linear-gradient(0deg,rgba(37,99,235,.45),transparent);pointer-events:none}
.tpl-executive-premium .cv-avatar{width:108px!important;height:108px!important;margin:0 auto 18px!important;border:4px solid rgba(255,255,255,.85)!important;box-shadow:0 18px 40px rgba(0,0,0,.24)!important;background:#fff!important;color:var(--accent)!important;position:relative!important;z-index:1}
.tpl-executive-premium .cv-side h2{font-size:22px!important;line-height:1.25!important;margin:0 0 8px!important;color:#fff!important;position:relative!important;z-index:1}
.tpl-executive-premium .cv-side p{font-size:12px!important;line-height:1.65!important;margin:8px 0!important;color:rgba(255,255,255,.88)!important;word-break:break-word!important;position:relative!important;z-index:1}
.tpl-executive-premium .cv-side p[data-pv="title"]{display:inline-block!important;background:rgba(255,255,255,.12)!important;border:1px solid rgba(255,255,255,.22)!important;border-radius:999px!important;padding:8px 13px!important;color:#fff!important;font-weight:900!important;margin-bottom:18px!important}
.tpl-executive-premium .cv-side p[data-pv="phone"]:before{content:'📞 ';}.tpl-executive-premium .cv-side p[data-pv="email"]:before{content:'✉️ ';}.tpl-executive-premium .cv-side p[data-pv="location"]:before{content:'📍 ';}.tpl-executive-premium .cv-side p[data-pv="linkedin"]:before{content:'🌐 ';}
.tpl-executive-premium .cv-side hr{border:0!important;border-top:1px solid rgba(255,255,255,.18)!important;margin:20px 0!important;position:relative!important;z-index:1}
.tpl-executive-premium .cv-main{background:#fff!important;margin:20px 20px 20px 0!important;border-radius:28px!important;padding:30px 30px 26px!important;box-shadow:0 18px 48px rgba(15,23,42,.10)!important;overflow:hidden!important}
.tpl-executive-premium .cv-main-hero{padding:0 0 18px!important;margin:0 0 18px!important;border:0!important;position:relative!important;text-align:right!important}
.tpl-executive-premium .cv-main-hero:after{content:'';position:absolute;right:0;bottom:0;width:160px;height:5px;border-radius:999px;background:linear-gradient(90deg,var(--accent),rgba(37,99,235,.08))}
.tpl-executive-premium .cv-main-hero h1{font-size:32px!important;line-height:1.15!important;letter-spacing:-.6px!important;color:#0f172a!important;margin:0!important;text-align:right!important}
.tpl-executive-premium .cv-main-hero p{font-size:14px!important;color:var(--accent)!important;font-weight:950!important;margin:7px 0 0!important;text-align:right!important;text-align-last:right!important}
.tpl-executive-premium .cv-main-hero span{display:none!important}
.tpl-executive-premium .cv-main h4{border:0!important;margin:20px 0 12px!important;padding:0 26px 0 0!important;color:#0f172a!important;font-size:16px!important;font-weight:950!important;position:relative!important}
.tpl-executive-premium .cv-main h4:before{content:''!important;position:absolute!important;right:0!important;top:50%!important;transform:translateY(-50%)!important;width:14px!important;height:14px!important;border-radius:5px!important;background:var(--accent)!important;box-shadow:0 0 0 5px rgba(37,99,235,.12)!important}
.tpl-executive-premium .cv-main p{font-size:12.7px!important;line-height:1.85!important;color:#334155!important;text-align:justify!important;text-align-last:right!important;margin:0 0 14px!important}
.tpl-executive-premium .cv-exp-card{display:grid!important;grid-template-columns:106px 1fr!important;border:1px solid #e2e8f0!important;border-radius:18px!important;background:#fff!important;box-shadow:0 10px 30px rgba(15,23,42,.07)!important;margin:0 0 12px!important;overflow:hidden!important;break-inside:avoid!important}
.tpl-executive-premium .cv-exp-date{background:linear-gradient(180deg,#f8fafc,#eff6ff)!important;border-left:1px solid #e2e8f0!important;color:#475569!important;padding:14px 10px!important;text-align:center!important;display:flex!important;flex-direction:column!important;justify-content:center!important;gap:4px!important}
.tpl-executive-premium .cv-exp-date i{font-style:normal!important;color:#94a3b8!important;font-size:10px!important}
.tpl-executive-premium .cv-exp-date span{color:#0f172a!important;font-weight:950!important;font-size:11px!important;line-height:1.25!important}
.tpl-executive-premium .cv-exp-date em{background:var(--accent)!important;color:#fff!important;border-radius:999px!important;padding:4px 7px!important;font-size:10px!important;font-style:normal!important;display:inline-block!important;margin-top:5px!important}
.tpl-executive-premium .cv-exp-body{padding:14px 17px!important;background:#fff!important}
.tpl-executive-premium .cv-entry b{display:block!important;font-size:15px!important;color:#0f172a!important;margin:0 0 3px!important;font-weight:950!important}
.tpl-executive-premium .cv-exp-body strong{font-size:12px!important;color:var(--accent)!important;display:block!important;margin:0 0 9px!important;font-weight:900!important}
.tpl-executive-premium .cv-exp-body ul{margin:0!important;padding:0 18px 0 0!important}
.tpl-executive-premium .cv-exp-body li{font-size:12px!important;line-height:1.6!important;margin:0 0 4px!important;color:#334155!important;text-align:justify!important}
.tpl-executive-premium .cv-edu-card{border:1px solid #e2e8f0!important;border-radius:16px!important;background:#f8fafc!important;padding:11px 14px!important;box-shadow:none!important;margin-bottom:10px!important;display:grid!important;grid-template-columns:70px 1fr!important;gap:12px!important;align-items:center!important}
.tpl-executive-premium .cv-edu-year{background:#fff!important;border:1px solid #dbeafe!important;color:var(--accent)!important;border-radius:999px!important;padding:8px 10px!important;text-align:center!important;font-weight:950!important}
.tpl-executive-premium .cv-skills-grid{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:8px!important;margin-bottom:12px!important}
.tpl-executive-premium .cv-skills-grid span{background:#eff6ff!important;border:1px solid #dbeafe!important;color:#12305f!important;border-radius:999px!important;padding:8px 10px!important;font-size:11.5px!important;font-weight:950!important;text-align:center!important}
.tpl-executive-premium .cv-languages-list{display:grid!important;gap:8px!important;margin-bottom:12px!important}
.tpl-executive-premium .cv-lang-row{border:1px solid #e2e8f0!important;border-radius:13px!important;padding:8px 10px!important;background:#fff!important;font-size:11.8px!important;color:#334155!important}
.tpl-executive-premium .cv-lang-head{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:8px!important;margin-bottom:6px!important}
.tpl-executive-premium .cv-lang-row b{color:var(--accent)!important;background:#eff6ff!important;border-radius:999px!important;padding:3px 9px!important;font-size:10.5px!important;white-space:nowrap!important}
.tpl-executive-premium .cv-lang-bar{display:block!important;height:7px!important;background:#e2e8f0!important;border-radius:999px!important;overflow:hidden!important}
.tpl-executive-premium .cv-lang-bar em{display:block!important;height:100%!important;background:linear-gradient(90deg,var(--accent),#60a5fa)!important;border-radius:999px!important}
.tpl-executive-premium .cv-courses-grid{display:grid!important;grid-template-columns:repeat(2,1fr)!important;gap:9px!important;margin-bottom:12px!important}
.tpl-executive-premium .cv-courses-grid span{background:#fff!important;border:1px solid #e2e8f0!important;border-radius:13px!important;padding:10px!important;font-size:11.5px!important;font-weight:850!important;color:#334155!important;box-shadow:0 6px 16px rgba(15,23,42,.045)!important;text-align:center!important}

@media (max-width: 900px){
  .certy-cv-preview.tpl-executive-premium{grid-template-columns:1fr!important}
  .tpl-executive-premium .cv-side{min-height:auto!important;padding:24px 18px!important}
  .tpl-executive-premium .cv-main{margin:0!important;border-radius:0!important;padding:22px!important}
  .tpl-executive-premium .cv-exp-card{grid-template-columns:1fr!important}
  .tpl-executive-premium .cv-exp-date{border-left:0!important;border-bottom:1px solid #e2e8f0!important;flex-direction:row!important}
}



/* =========================================================
   Certy Pro v5.3 - Clean Yellow Pro Template
   Inspired by clean black/yellow professional CV layouts.
   Isolated by .tpl-clean-yellow so it does not affect other templates.
   ========================================================= */
.certy-template-cards .mini-clean-yellow,
.certy-template-cards-pro .mini-clean-yellow{
    background:linear-gradient(90deg,#1f2933 0 34%,#fff 34% 100%)!important;
    border-radius:14px!important;
    position:relative!important;
    overflow:hidden!important;
}
.certy-template-cards .mini-clean-yellow:before,
.certy-template-cards-pro .mini-clean-yellow:before{
    content:''!important;position:absolute!important;left:20px!important;top:0!important;width:34px!important;height:48px!important;background:#f6a800!important;clip-path:polygon(0 0,100% 0,0 100%)!important;border-radius:0!important;
}
.certy-template-cards .mini-clean-yellow:after,
.certy-template-cards-pro .mini-clean-yellow:after{
    content:''!important;position:absolute!important;right:26px!important;top:28px!important;width:70px!important;height:7px!important;background:#111827!important;border-radius:8px!important;box-shadow:0 20px 0 #d7dde8,0 40px 0 #d7dde8,0 60px 0 #f6a800!important;
}

.certy-cv-preview.tpl-clean-yellow{
    --accent:#f6a800!important;
    --accent-dark:#cc8500!important;
    --dark:#202124!important;
    --ink:#1f2937!important;
    --muted:#667085!important;
    grid-template-columns:58mm 1fr!important;
    direction:ltr!important;
    background:#fff!important;
    overflow:hidden!important;
    color:var(--ink)!important;
}
.certy-cv-preview.tpl-clean-yellow .cv-side,
.certy-cv-preview.tpl-clean-yellow .cv-main{direction:rtl!important;}
.certy-cv-preview.tpl-clean-yellow .cv-side{
    grid-column:1!important;grid-row:1!important;
    min-height:297mm!important;height:297mm!important;
    background:#202124!important;color:#fff!important;
    padding:0 7mm 10mm!important;text-align:right!important;position:relative!important;overflow:hidden!important;
    box-shadow:none!important;
}
.certy-cv-preview.tpl-clean-yellow .cv-side:before{
    content:'';position:absolute;top:0;left:0;width:100%;height:34mm;background:var(--accent);clip-path:polygon(0 0,100% 0,0 100%);z-index:0;
}
.certy-cv-preview.tpl-clean-yellow .cv-side:after{
    content:'';position:absolute;right:0;top:0;width:4.5mm;height:100%;background:var(--accent);z-index:0;
}
.certy-cv-preview.tpl-clean-yellow .cv-avatar{
    position:relative;z-index:1;width:30mm!important;height:30mm!important;margin:14mm auto 7mm!important;
    border-radius:50%!important;border:2.2mm solid #fff!important;background:#f8fafc!important;color:#334155!important;box-shadow:0 4mm 10mm rgba(0,0,0,.25)!important;
}
.certy-cv-preview.tpl-clean-yellow .cv-side h2{
    position:relative;z-index:1;text-align:center!important;color:#fff!important;font-size:17px!important;line-height:1.25!important;margin:0 0 1mm!important;
}
.certy-cv-preview.tpl-clean-yellow .cv-side p[data-pv="title"]{
    position:relative;z-index:1;text-align:center!important;color:#f8fafc!important;font-size:9.6px!important;margin:0 0 8mm!important;opacity:.86!important;
}
.certy-cv-preview.tpl-clean-yellow .cv-side hr{position:relative;z-index:1;border:0!important;border-top:1px solid rgba(255,255,255,.18)!important;margin:5mm 0!important;}
.certy-cv-preview.tpl-clean-yellow .cv-side p:not([data-pv="title"]){
    position:relative;z-index:1;color:#e5e7eb!important;font-size:9.2px!important;line-height:1.65!important;margin:2.2mm 0!important;text-align:right!important;overflow-wrap:anywhere!important;
    padding-right:7mm!important;
}
.certy-cv-preview.tpl-clean-yellow .cv-side p[data-pv="phone"]:before{content:'☎';position:absolute;right:0;color:var(--accent);font-weight:900;}
.certy-cv-preview.tpl-clean-yellow .cv-side p[data-pv="email"]:before{content:'✉';position:absolute;right:0;color:var(--accent);font-weight:900;}
.certy-cv-preview.tpl-clean-yellow .cv-side p[data-pv="location"]:before{content:'⌖';position:absolute;right:0;color:var(--accent);font-weight:900;}
.certy-cv-preview.tpl-clean-yellow .cv-side p[data-pv="linkedin"]:before{content:'in';position:absolute;right:0;color:var(--accent);font-weight:900;font-family:Arial,sans-serif;}

.certy-cv-preview.tpl-clean-yellow .cv-main{
    grid-column:2!important;grid-row:1!important;background:#fff!important;padding:15mm 11mm 10mm!important;overflow:hidden!important;
}
.certy-cv-preview.tpl-clean-yellow .cv-main-hero{
    text-align:right!important;border:0!important;border-bottom:1px solid #d9dde6!important;margin:0 0 6mm!important;padding:0 0 4mm!important;position:relative!important;
}
.certy-cv-preview.tpl-clean-yellow .cv-main-hero:before{content:'';position:absolute;right:0;bottom:-1px;width:18mm;height:1.4mm;background:var(--accent);}
.certy-cv-preview.tpl-clean-yellow .cv-main-hero h1{font-size:24px!important;line-height:1.15!important;margin:0!important;color:#111827!important;font-weight:900!important;}
.certy-cv-preview.tpl-clean-yellow .cv-main-hero h1::first-letter{color:var(--accent);}
.certy-cv-preview.tpl-clean-yellow .cv-main-hero p{font-size:10px!important;color:#4b5563!important;font-weight:800!important;text-align:right!important;text-align-last:right!important;margin:1.5mm 0 0!important;}
.certy-cv-preview.tpl-clean-yellow .cv-main-hero span{display:none!important;}
.certy-cv-preview.tpl-clean-yellow .cv-main h4{
    border:0!important;border-bottom:1px solid #d9dde6!important;margin:0 0 3mm!important;padding:0 8mm 1.6mm 0!important;color:#111827!important;font-size:12.4px!important;font-weight:900!important;position:relative!important;
}
.certy-cv-preview.tpl-clean-yellow .cv-main h4:before{content:''!important;position:absolute!important;right:0!important;top:1mm!important;width:4.2mm!important;height:4.2mm!important;background:var(--accent)!important;border-radius:.8mm!important;}
.certy-cv-preview.tpl-clean-yellow .cv-main p{font-size:9.6px!important;line-height:1.62!important;color:#374151!important;text-align:justify!important;text-align-last:right!important;margin:0 0 5mm!important;}
.certy-cv-preview.tpl-clean-yellow .cv-exp-card{
    display:grid!important;grid-template-columns:28mm 1fr!important;gap:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important;background:#fff!important;margin:0 0 4mm!important;break-inside:avoid!important;border-bottom:1px solid #e5e7eb!important;padding-bottom:2.4mm!important;
}
.certy-cv-preview.tpl-clean-yellow .cv-exp-date{
    grid-column:1!important;background:transparent!important;border:0!important;border-left:2px solid var(--accent)!important;border-radius:0!important;padding:1mm 3mm 1mm 0!important;text-align:right!important;color:#4b5563!important;align-items:flex-start!important;justify-content:flex-start!important;display:flex!important;flex-direction:column!important;gap:.8mm!important;
}
.certy-cv-preview.tpl-clean-yellow .cv-exp-date span{font-size:8.8px!important;color:#111827!important;font-weight:900!important;line-height:1.35!important;}
.certy-cv-preview.tpl-clean-yellow .cv-exp-date em{background:rgba(246,168,0,.13)!important;color:#9a6300!important;border-radius:999px!important;padding:.7mm 1.6mm!important;font-size:7.7px!important;font-style:normal!important;font-weight:900!important;margin-top:1mm!important;}
.certy-cv-preview.tpl-clean-yellow .cv-exp-body{grid-column:2!important;background:transparent!important;padding:0 4mm 0 0!important;}
.certy-cv-preview.tpl-clean-yellow .cv-entry b{font-size:11.6px!important;color:#111827!important;font-weight:900!important;margin:0 0 .8mm!important;display:block!important;}
.certy-cv-preview.tpl-clean-yellow .cv-exp-body strong{display:block!important;font-size:9.2px!important;color:var(--accent-dark)!important;font-weight:900!important;margin:0 0 1.5mm!important;}
.certy-cv-preview.tpl-clean-yellow .cv-exp-body ul{margin:0!important;padding:0 4.2mm 0 0!important;}
.certy-cv-preview.tpl-clean-yellow .cv-exp-body li{font-size:8.9px!important;line-height:1.45!important;color:#374151!important;margin:0 0 .7mm!important;text-align:justify!important;}
.certy-cv-preview.tpl-clean-yellow .cv-exp-body li::marker{color:var(--accent);}
.certy-cv-preview.tpl-clean-yellow .cv-edu-card{display:grid!important;grid-template-columns:18mm 1fr!important;border:0!important;border-bottom:1px solid #e5e7eb!important;border-radius:0!important;background:#fff!important;padding:0 0 2.5mm!important;margin:0 0 4mm!important;box-shadow:none!important;}
.certy-cv-preview.tpl-clean-yellow .cv-edu-year{background:var(--accent)!important;color:#111827!important;border:0!important;border-radius:1.2mm!important;font-weight:900!important;padding:1.4mm!important;text-align:center!important;}
.certy-cv-preview.tpl-clean-yellow .cv-entry span{font-size:8.8px!important;color:#667085!important;}
.certy-cv-preview.tpl-clean-yellow .cv-skills-grid{display:grid!important;grid-template-columns:repeat(2,1fr)!important;gap:2mm!important;margin:0 0 4mm!important;}
.certy-cv-preview.tpl-clean-yellow .cv-skills-grid span{background:#fff!important;border:0!important;border-bottom:2px solid var(--accent)!important;border-radius:0!important;padding:1.4mm 1mm!important;font-size:8.8px!important;font-weight:900!important;color:#111827!important;text-align:right!important;}
.certy-cv-preview.tpl-clean-yellow .cv-languages-list{display:grid!important;gap:1.2mm!important;margin:0 0 4mm!important;}
.certy-cv-preview.tpl-clean-yellow .cv-lang-row{display:block!important;border:0!important;padding:0!important;font-size:8.8px!important;color:#374151!important;}
.certy-cv-preview.tpl-clean-yellow .cv-lang-head{display:flex!important;justify-content:space-between!important;gap:3mm!important;}
.certy-cv-preview.tpl-clean-yellow .cv-lang-row b{background:transparent!important;color:#111827!important;padding:0!important;font-size:8.8px!important;}
.certy-cv-preview.tpl-clean-yellow .cv-lang-bar{display:block!important;height:1.2mm!important;background:#e5e7eb!important;border-radius:999px!important;margin-top:.9mm!important;overflow:hidden!important;}
.certy-cv-preview.tpl-clean-yellow .cv-lang-bar em{display:block!important;height:100%!important;background:var(--accent)!important;border-radius:999px!important;}
.certy-cv-preview.tpl-clean-yellow .cv-courses-grid{display:grid!important;grid-template-columns:repeat(2,1fr)!important;gap:2mm!important;margin:0 0 3mm!important;}
.certy-cv-preview.tpl-clean-yellow .cv-courses-grid span{border:1px solid #e5e7eb!important;border-right:3px solid var(--accent)!important;background:#fff!important;border-radius:1.6mm!important;padding:1.6mm 2mm!important;font-size:8.9px!important;font-weight:800!important;color:#374151!important;text-align:right!important;box-shadow:none!important;}
.certy-cv-preview.tpl-clean-yellow .cv-courses-grid span:before{content:'▣ ';color:var(--accent);font-size:8px;}


/* =========================================================
   Certy Pro v5.3.1 - Clean Yellow Premium polish
   Pixel-focused improvements for the new independent template.
   ========================================================= */
.certy-template-cards button[data-start-template="clean-yellow"],
.certy-template-cards-pro button[data-start-template="clean-yellow"]{
    border-color:#f6a800!important;
    box-shadow:0 18px 45px rgba(246,168,0,.12)!important;
}
.certy-template-cards button[data-start-template="clean-yellow"].is-selected,
.certy-template-cards-pro button[data-start-template="clean-yellow"].is-selected{
    border-color:#f6a800!important;
    box-shadow:0 22px 55px rgba(246,168,0,.22)!important;
}
.certy-cv-preview.tpl-clean-yellow{
    --accent:#f6a800!important;
    --accent-dark:#c77700!important;
    --dark:#202124!important;
    --dark2:#151619!important;
    --ink:#151923!important;
    --muted:#667085!important;
    grid-template-columns:56mm 1fr!important;
    background:#fff!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:0 16px 45px rgba(15,23,42,.14)!important;
    overflow:visible!important;
}
.certy-cv-preview.tpl-clean-yellow .cv-side{
    min-height:297mm!important;
    height:auto!important;
    background:linear-gradient(180deg,#252629 0%,#1d1e21 100%)!important;
    padding:0 7mm 9mm!important;
    border-radius:0!important;
    overflow:hidden!important;
}
.certy-cv-preview.tpl-clean-yellow .cv-side:before{
    width:100%!important;
    height:43mm!important;
    background:linear-gradient(135deg,#f6a800 0%,#f6a800 58%,transparent 58%,transparent 100%)!important;
    clip-path:none!important;
}
.certy-cv-preview.tpl-clean-yellow .cv-side:after{
    right:0!important;
    top:0!important;
    width:3.8mm!important;
    height:100%!important;
    background:linear-gradient(180deg,#f6a800,#d88900)!important;
}
.certy-cv-preview.tpl-clean-yellow .cv-avatar{
    width:31mm!important;
    height:31mm!important;
    margin:15mm auto 6mm!important;
    border:2mm solid #fff!important;
    box-shadow:0 7mm 15mm rgba(0,0,0,.26)!important;
}
.certy-cv-preview.tpl-clean-yellow .cv-side h2{
    font-size:16.5px!important;
    letter-spacing:-.2px!important;
    margin-bottom:1mm!important;
}
.certy-cv-preview.tpl-clean-yellow .cv-side p[data-pv="title"]{
    font-size:9px!important;
    margin-bottom:7mm!important;
    color:#f3f4f6!important;
}
.certy-cv-preview.tpl-clean-yellow .cv-side hr{
    border-top:1px solid rgba(255,255,255,.16)!important;
    margin:5mm 0!important;
}
.certy-cv-preview.tpl-clean-yellow .cv-side p:not([data-pv="title"]){
    font-size:8.7px!important;
    line-height:1.55!important;
    margin:1.9mm 0!important;
    color:#edf0f5!important;
    padding-right:6.5mm!important;
}
.certy-cv-preview.tpl-clean-yellow .cv-side p:before{
    color:#f6a800!important;
    font-size:9px!important;
}
.certy-cv-preview.tpl-clean-yellow .cv-main{
    padding:13mm 10mm 8mm!important;
    overflow:visible!important;
    min-height:297mm!important;
}
.certy-cv-preview.tpl-clean-yellow .cv-main-hero{
    margin:0 0 5mm!important;
    padding:0 0 3.5mm!important;
    border-bottom:1px solid #dce1ea!important;
}
.certy-cv-preview.tpl-clean-yellow .cv-main-hero:before{
    width:24mm!important;
    height:1.6mm!important;
    background:#f6a800!important;
}
.certy-cv-preview.tpl-clean-yellow .cv-main-hero h1{
    font-size:22px!important;
    color:#141820!important;
    font-weight:950!important;
}
.certy-cv-preview.tpl-clean-yellow .cv-main-hero h1::first-letter{color:#f6a800!important;}
.certy-cv-preview.tpl-clean-yellow .cv-main-hero p{
    font-size:9.4px!important;
    color:#111827!important;
    font-weight:800!important;
}
.certy-cv-preview.tpl-clean-yellow .cv-main h4{
    margin:0 0 2.2mm!important;
    padding:0 7mm 1.4mm 0!important;
    font-size:11.7px!important;
    border-bottom:1px solid #e0e5ee!important;
}
.certy-cv-preview.tpl-clean-yellow .cv-main h4:before{
    width:3.5mm!important;
    height:3.5mm!important;
    top:.8mm!important;
    border-radius:.65mm!important;
    box-shadow:0 0 0 .9mm rgba(246,168,0,.14)!important;
}
.certy-cv-preview.tpl-clean-yellow .cv-main p{
    font-size:8.7px!important;
    line-height:1.52!important;
    margin-bottom:3.4mm!important;
}
.certy-cv-preview.tpl-clean-yellow .cv-exp-card{
    grid-template-columns:24mm 1fr!important;
    border:1px solid #e5e7eb!important;
    border-right:3px solid #f6a800!important;
    border-radius:2.2mm!important;
    padding:0!important;
    margin:0 0 3mm!important;
    box-shadow:0 3mm 9mm rgba(15,23,42,.035)!important;
    overflow:hidden!important;
    background:#fff!important;
}
.certy-cv-preview.tpl-clean-yellow .cv-exp-date{
    background:#f7f8fb!important;
    border:0!important;
    border-left:1px solid #e5e7eb!important;
    padding:2.2mm 2mm!important;
    justify-content:center!important;
    align-items:center!important;
    text-align:center!important;
}
.certy-cv-preview.tpl-clean-yellow .cv-exp-date span{
    font-size:8px!important;
}
.certy-cv-preview.tpl-clean-yellow .cv-exp-date i{
    color:#98a2b3!important;
    font-style:normal!important;
    font-size:7px!important;
}
.certy-cv-preview.tpl-clean-yellow .cv-exp-date em{
    background:#fff3cf!important;
    color:#a46600!important;
    font-size:7px!important;
    padding:.6mm 1.4mm!important;
}
.certy-cv-preview.tpl-clean-yellow .cv-exp-body{
    padding:2.5mm 3.2mm 2.3mm!important;
}
.certy-cv-preview.tpl-clean-yellow .cv-entry b{
    font-size:10.6px!important;
    line-height:1.25!important;
}
.certy-cv-preview.tpl-clean-yellow .cv-exp-body strong{
    font-size:8.5px!important;
    margin-bottom:1.2mm!important;
    color:#d88900!important;
}
.certy-cv-preview.tpl-clean-yellow .cv-exp-body li,
.certy-cv-preview.tpl-clean-yellow .cv-exp-body p{
    font-size:8.1px!important;
    line-height:1.38!important;
}
.certy-cv-preview.tpl-clean-yellow .cv-edu-card{
    grid-template-columns:16mm 1fr!important;
    border:1px solid #e5e7eb!important;
    border-right:3px solid #f6a800!important;
    border-radius:2mm!important;
    padding:2mm!important;
    margin-bottom:2.8mm!important;
}
.certy-cv-preview.tpl-clean-yellow .cv-edu-year{
    border-radius:1.4mm!important;
    padding:1.2mm!important;
    font-size:8.5px!important;
}
.certy-cv-preview.tpl-clean-yellow .cv-entry span{font-size:8px!important;}
.certy-cv-preview.tpl-clean-yellow .cv-skills-grid{
    grid-template-columns:repeat(2,1fr)!important;
    gap:1.4mm 2mm!important;
    margin-bottom:3.2mm!important;
}
.certy-cv-preview.tpl-clean-yellow .cv-skills-grid span{
    border:0!important;
    border-bottom:1.6px solid #f6a800!important;
    background:#fbfcfe!important;
    padding:1.05mm 1mm!important;
    font-size:7.8px!important;
    line-height:1.25!important;
}
.certy-cv-preview.tpl-clean-yellow .cv-languages-list{
    gap:1mm!important;
    margin-bottom:3.2mm!important;
}
.certy-cv-preview.tpl-clean-yellow .cv-lang-head span,
.certy-cv-preview.tpl-clean-yellow .cv-lang-row b{
    font-size:7.8px!important;
}
.certy-cv-preview.tpl-clean-yellow .cv-lang-bar{height:1mm!important;}
.certy-cv-preview.tpl-clean-yellow .cv-courses-grid{
    grid-template-columns:repeat(2,1fr)!important;
    gap:1.5mm!important;
}
.certy-cv-preview.tpl-clean-yellow .cv-courses-grid span{
    border-right:2.5px solid #f6a800!important;
    border-radius:1.5mm!important;
    padding:1.2mm 1.7mm!important;
    font-size:7.8px!important;
    line-height:1.35!important;
}
@media print{
    html,body{overflow:visible!important;}
    .certy-cv-preview.tpl-clean-yellow{
        min-height:297mm!important;
        height:auto!important;
        max-height:none!important;
        overflow:visible!important;
        page-break-after:auto!important;
    }
    .certy-cv-preview.tpl-clean-yellow .cv-side{
        min-height:297mm!important;
        height:auto!important;
    }
    .certy-cv-preview.tpl-clean-yellow .cv-main{
        min-height:297mm!important;
        height:auto!important;
        overflow:visible!important;
    }
    .certy-cv-preview.tpl-clean-yellow .cv-exp-card,
    .certy-cv-preview.tpl-clean-yellow .cv-edu-card,
    .certy-cv-preview.tpl-clean-yellow .cv-courses-grid span{
        break-inside:avoid!important;
        page-break-inside:avoid!important;
    }
}


/* Certy Pro v5.4.1 Cairo Typography */
.certy-shell,
.certy-shell *,
.certy-app,
.certy-app *,
.certy-cv-preview,
.certy-cv-preview *,
.certy-real-templates-v25,
.certy-real-templates-v25 *{
  font-family:'Cairo',Tajawal,Arial,sans-serif!important;
}

/* Certy Pro v5.4.2 - Arabic/English PDF save buttons */
.certy-pdf-save-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%;}
.certy-pdf-save-row button{background:#22c55e!important;color:#fff!important;border:0!important;border-radius:14px!important;padding:14px 16px!important;font-weight:900!important;cursor:pointer!important;box-shadow:0 10px 24px rgba(34,197,94,.18)!important;}
.certy-pdf-save-row button[data-print-en]{background:#0f172a!important;box-shadow:0 10px 24px rgba(15,23,42,.18)!important;}
@media(max-width:640px){.certy-pdf-save-row{grid-template-columns:1fr;}}


/* Certy Pro v5.5 - PDF language export buttons + English export safety */
.certy-preview-panel .certy-downloads .certy-pdf-save-row,
.certy-downloads .certy-pdf-save-row{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:10px!important;
  width:100%!important;
  margin:0!important;
}
.certy-downloads .certy-pdf-save-row button,
.certy-downloads .certy-pdf-save-row .certy-save-ar,
.certy-downloads .certy-pdf-save-row .certy-save-en{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:54px!important;
  border:0!important;
  border-radius:14px!important;
  padding:14px 12px!important;
  color:#fff!important;
  font-family:'Cairo',Tajawal,Arial,sans-serif!important;
  font-size:14px!important;
  font-weight:900!important;
  line-height:1.2!important;
  cursor:pointer!important;
}
.certy-downloads .certy-pdf-save-row .certy-save-ar,
.certy-downloads .certy-pdf-save-row button[data-print-ar]{
  background:#22c55e!important;
  box-shadow:0 12px 26px rgba(34,197,94,.22)!important;
}
.certy-downloads .certy-pdf-save-row .certy-save-en,
.certy-downloads .certy-pdf-save-row button[data-print-en]{
  background:#0f172a!important;
  box-shadow:0 12px 26px rgba(15,23,42,.22)!important;
}
.certy-downloads .certy-pdf-save-row + button{margin-top:0!important;}
.certy-pdf-en .certy-cv-preview,
.certy-pdf-en .certy-cv-preview *{
  direction:ltr!important;
  text-align:left!important;
  text-align-last:left!important;
}
.certy-pdf-en .certy-cv-preview{font-family:'Cairo',Arial,sans-serif!important;}
@media(max-width:640px){
  .certy-preview-panel .certy-downloads .certy-pdf-save-row,
  .certy-downloads .certy-pdf-save-row{grid-template-columns:1fr!important;}
}


/* =========================================================
   Certy Pro v6.2.0 - Old CV Upgrade Engine
   ========================================================= */
.certy-smart-import{background:#fff;border:1px solid #e6eaf3;border-radius:28px;padding:36px;box-shadow:0 24px 70px rgba(15,23,42,.07);text-align:center;max-width:760px;margin:0 auto 30px;}
.certy-smart-import h2{font-size:34px;margin:12px 0;color:#07133a;font-weight:900}.certy-smart-import p{color:#667085;font-weight:700;line-height:1.8}.certy-import-box{display:grid;gap:16px;margin:25px auto;max-width:560px}.certy-import-drop{display:grid;gap:9px;place-items:center;border:2px dashed #d9def0;background:linear-gradient(180deg,#fbfcff,#f6f7fb);border-radius:22px;padding:28px;cursor:pointer}.certy-import-drop input{max-width:100%;}.certy-import-drop b{font-size:20px;color:#07133a}.certy-import-drop span{font-size:13px;color:#667085}.certy-import-status{min-height:26px;font-weight:800;color:#5b21ff}.certy-import-status.error{color:#d92d20}.certy-import-review{margin:22px auto 0;max-width:680px;text-align:right;border:1px solid #e6eaf3;border-radius:22px;background:#fff;padding:18px;box-shadow:0 14px 40px rgba(15,23,42,.05)}.certy-import-score{display:flex;align-items:center;justify-content:space-between;gap:15px;background:#f7f8ff;border-radius:18px;padding:14px 16px;margin-bottom:14px;font-weight:900}.certy-import-score strong{font-size:24px;color:#5b21ff}.certy-import-checks{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:16px}.certy-import-checks span{padding:10px 12px;border-radius:14px;background:#f6f7fb;color:#344054;font-weight:800}.certy-import-checks span.ok{background:#ecfdf3;color:#067647}.certy-import-checks span.miss{background:#fff4f4;color:#b42318}.certy-import-fields{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.certy-import-fields div{border:1px solid #edf0f7;border-radius:14px;padding:10px 12px;background:#fff}.certy-import-fields b{display:block;color:#07133a;margin-bottom:5px}.certy-import-fields small{color:#667085;word-break:break-word}.certy-import-actions{justify-content:center;margin-top:18px}@media(max-width:720px){.certy-smart-import{padding:24px 16px}.certy-import-checks,.certy-import-fields{grid-template-columns:1fr}.certy-smart-import h2{font-size:26px}}

/* Certy Pro v6.2.1 - Smart CV Analyzer */
.certy-analyzer-score{background:linear-gradient(135deg,#eef4ff,#f7f3ff)!important;border:1px solid #e2e8ff!important;align-items:center!important}
.certy-analyzer-score div{display:grid;gap:4px}.certy-analyzer-score em{font-style:normal;color:#667085;font-size:12px;font-weight:800}.certy-analyzer-score b{background:#111827;color:#fff;border-radius:999px;padding:7px 13px;font-size:12px;white-space:nowrap}.certy-analyzer-counts{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin:0 0 16px}.certy-analyzer-counts span{border:1px solid #edf0f7;background:#fff;border-radius:16px;padding:12px;text-align:center;box-shadow:0 8px 22px rgba(15,23,42,.04)}.certy-analyzer-counts b{display:block;font-size:22px;color:#5b21ff;font-weight:900}.certy-analyzer-counts small{display:block;color:#667085;font-size:12px;font-weight:800;margin-top:2px}.certy-analyzer-title{font-size:15px!important;color:#101828!important;margin:18px 0 10px!important;font-weight:900!important}.certy-analyzer-sections{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:14px}.certy-analyzer-section{border:1px solid #edf0f7;border-radius:15px;background:#fff;padding:11px 12px}.certy-analyzer-section.found{background:#f0fdf4;border-color:#bbf7d0}.certy-analyzer-section.missing{background:#fff7ed;border-color:#fed7aa}.certy-analyzer-section b{display:block;color:#101828;font-size:13px}.certy-analyzer-section small{display:block;color:#667085;margin-top:5px;word-break:break-word}.certy-analyzer-panels{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.certy-analyzer-panels>div,.certy-analyzer-warning{border:1px solid #edf0f7;background:#fbfcff;border-radius:18px;padding:14px}.certy-analyzer-panels h4,.certy-analyzer-warning h4{margin:0 0 10px!important;font-size:14px!important;color:#101828!important}.certy-analyzer-panels ul,.certy-analyzer-warning ul{margin:0;padding:0 18px 0 0;color:#475467;font-weight:700;line-height:1.8}.certy-analyzer-missing{display:flex;flex-wrap:wrap;gap:8px}.certy-analyzer-missing span{background:#fff4f4;color:#b42318;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:900}.certy-analyzer-missing span.ok{background:#ecfdf3;color:#067647}.certy-analyzer-warning{background:#fffbeb;border-color:#fde68a;margin-bottom:14px}.certy-analyzer-warning ul{color:#92400e}@media(max-width:720px){.certy-analyzer-counts{grid-template-columns:repeat(2,1fr)}.certy-analyzer-sections,.certy-analyzer-panels{grid-template-columns:1fr}}


/* =========================================================
   Certy Pro v6.2.3 - Review Memorial UI
   Replaces template/color chooser in final review step only.
   ========================================================= */
.certy-review-memorial-step{
  text-align:center!important;
  padding:38px 34px!important;
  overflow:hidden!important;
}
.certy-review-memorial-panel{
  position:relative!important;
  max-width:760px!important;
  margin:0 auto 26px!important;
  padding:38px 34px 30px!important;
  border:1px solid #edf0f7!important;
  border-radius:28px!important;
  background:
    radial-gradient(circle at 12% 8%, rgba(91,44,255,.055), transparent 28%),
    radial-gradient(circle at 88% 92%, rgba(180,143,79,.07), transparent 32%),
    #fff!important;
  box-shadow:0 22px 60px rgba(15,23,42,.07)!important;
  color:#101936!important;
  direction:rtl!important;
}
.certy-review-memorial-panel:before,
.certy-review-memorial-panel:after{
  content:''!important;
  position:absolute!important;
  width:54px!important;
  height:54px!important;
  border:1px solid rgba(180,143,79,.28)!important;
  opacity:.55!important;
  pointer-events:none!important;
}
.certy-review-memorial-panel:before{top:18px!important;right:18px!important;border-left:0!important;border-bottom:0!important;border-radius:0 18px 0 0!important;}
.certy-review-memorial-panel:after{bottom:18px!important;left:18px!important;border-right:0!important;border-top:0!important;border-radius:0 0 0 18px!important;}
.certy-memorial-ornament{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:12px!important;
  margin:0 auto 12px!important;
  color:#b48f4f!important;
}
.certy-memorial-ornament span{
  width:86px!important;
  height:1px!important;
  background:linear-gradient(90deg,transparent,rgba(180,143,79,.7),transparent)!important;
}
.certy-memorial-ornament i{font-style:normal!important;font-size:14px!important;line-height:1!important;}
.certy-memorial-ornament.small{margin:14px auto 10px!important;}
.certy-memorial-ornament.small span{width:120px!important;}
.certy-fatiha-basmala{
  margin:0 0 18px!important;
  font-family:'Cairo',Tajawal,Arial,sans-serif!important;
  font-size:34px!important;
  line-height:1.7!important;
  font-weight:800!important;
  color:#07133a!important;
  letter-spacing:-.5px!important;
}
.certy-fatiha-verses{
  display:grid!important;
  gap:8px!important;
  max-width:560px!important;
  margin:0 auto!important;
}
.certy-fatiha-verses p{
  margin:0!important;
  color:#101936!important;
  font-size:25px!important;
  line-height:1.75!important;
  font-weight:700!important;
  text-align:center!important;
}
.certy-fatiha-verses em{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:24px!important;
  height:24px!important;
  margin-left:8px!important;
  border:1px solid rgba(180,143,79,.55)!important;
  border-radius:50%!important;
  color:#8a6b35!important;
  background:#fff!important;
  font-style:normal!important;
  font-size:12px!important;
  font-weight:900!important;
  vertical-align:middle!important;
}
.certy-memorial-truth{
  margin:14px auto 0!important;
  color:#101936!important;
  font-size:19px!important;
  font-weight:800!important;
}
.certy-memorial-title{
  margin:8px 0 8px!important;
  color:#07133a!important;
  font-size:27px!important;
  line-height:1.6!important;
  font-weight:900!important;
}
.certy-memorial-dua-title{
  margin:0 0 8px!important;
  color:#9a7a42!important;
  font-size:25px!important;
  line-height:1.5!important;
  font-weight:900!important;
}
.certy-memorial-dua{
  margin:0 auto!important;
  color:#475467!important;
  font-size:14px!important;
  line-height:1.9!important;
  font-weight:700!important;
}
.certy-review-final-actions{
  justify-content:center!important;
  gap:14px!important;
  margin-top:8px!important;
}
.certy-review-final-actions button{
  min-width:180px!important;
}
@media(max-width:780px){
  .certy-review-memorial-step{padding:24px 16px!important;}
  .certy-review-memorial-panel{padding:28px 18px 24px!important;border-radius:22px!important;}
  .certy-fatiha-basmala{font-size:25px!important;}
  .certy-fatiha-verses p{font-size:19px!important;}
  .certy-memorial-title{font-size:22px!important;}
  .certy-memorial-dua-title{font-size:22px!important;}
  .certy-review-final-actions{display:grid!important;grid-template-columns:1fr!important;}
  .certy-review-final-actions button{width:100%!important;min-width:0!important;}
}


/* =========================================================
   Certy Pro v7.0 Beta 1 - Mobile Home Dashboard Sprint 1
   Mobile-only UI layer. Desktop layout is intentionally untouched.
   ========================================================= */
.certy-mobile-bottom-nav{display:none;}
@media (max-width: 780px){
  html{scroll-behavior:smooth;}
  body{background:#f7f7ff!important;}
  .certy-landing.certy-shell{padding:10px 12px 0!important;max-width:100%!important;}
  .certy-nav{
    position:sticky!important;top:8px!important;z-index:80!important;
    display:flex!important;align-items:center!important;justify-content:space-between!important;
    gap:10px!important;padding:10px 12px!important;margin:0 0 10px!important;
    border:1px solid rgba(91,44,255,.10)!important;border-radius:22px!important;
    background:rgba(255,255,255,.92)!important;backdrop-filter:blur(14px)!important;
    box-shadow:0 12px 34px rgba(15,23,42,.07)!important;
  }
  .certy-menu,.certy-nav-actions .certy-login{display:none!important;}
  .certy-nav .certy-brand{gap:8px!important;min-width:0!important;}
  .certy-nav .certy-brand strong{font-size:16px!important;line-height:1.2!important;color:#21124d!important;}
  .certy-nav .certy-brand small{display:none!important;}
  .certy-nav .certy-mark{width:38px!important;height:38px!important;border-radius:14px!important;box-shadow:0 10px 24px rgba(91,44,255,.20)!important;}
  .certy-nav .certy-main-btn{padding:10px 14px!important;border-radius:15px!important;font-size:13px!important;white-space:nowrap!important;}
  .certy-hero{display:none!important;}
  .certy-builder-anchor{margin:0!important;}
  .certy-app.certy-shell{
    max-width:100%!important;margin:0!important;padding:0 12px 94px!important;
    display:block!important;background:transparent!important;box-shadow:none!important;border:0!important;
  }
  .certy-builder{width:100%!important;max-width:100%!important;display:block!important;}
  .certy-smart-start{
    position:relative!important;overflow:hidden!important;
    margin:8px 0 18px!important;padding:22px 16px 18px!important;border-radius:30px!important;
    background:linear-gradient(145deg,#ffffff 0%,#f4f0ff 54%,#f9fbff 100%)!important;
    border:1px solid rgba(91,44,255,.10)!important;
    box-shadow:0 20px 55px rgba(43,22,103,.10)!important;text-align:right!important;
  }
  .certy-smart-start:before{content:''!important;position:absolute!important;top:-65px!important;left:-55px!important;width:160px!important;height:160px!important;border-radius:50%!important;background:radial-gradient(circle,rgba(91,44,255,.22),transparent 70%)!important;}
  .certy-smart-start:after{content:''!important;position:absolute!important;right:-45px!important;bottom:-55px!important;width:140px!important;height:140px!important;border-radius:50%!important;background:radial-gradient(circle,rgba(236,72,153,.13),transparent 70%)!important;}
  .certy-smart-start>*{position:relative!important;z-index:1!important;}
  .certy-smart-start .certy-badge{display:inline-flex!important;align-items:center!important;gap:7px!important;background:#fff!important;color:#5b21ff!important;border:1px solid rgba(91,44,255,.12)!important;border-radius:999px!important;padding:8px 12px!important;font-size:12px!important;box-shadow:0 8px 22px rgba(91,44,255,.08)!important;}
  .certy-smart-start h2{font-size:28px!important;line-height:1.25!important;letter-spacing:-.5px!important;margin:15px 0 8px!important;color:#141133!important;font-weight:900!important;}
  .certy-smart-start p{font-size:14px!important;line-height:1.85!important;margin:0 0 14px!important;color:#667085!important;font-weight:700!important;}
  .certy-smart-highlights{display:flex!important;gap:7px!important;overflow-x:auto!important;padding:2px 0 14px!important;scrollbar-width:none!important;}
  .certy-smart-highlights::-webkit-scrollbar{display:none!important;}
  .certy-smart-highlights span{flex:0 0 auto!important;background:#fff!important;color:#344054!important;border:1px solid #eef0f7!important;border-radius:999px!important;padding:9px 11px!important;font-size:12px!important;font-weight:900!important;box-shadow:0 8px 22px rgba(15,23,42,.04)!important;}
  .certy-smart-methods{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important;margin-top:2px!important;}
  .certy-smart-methods button{
    position:relative!important;min-height:132px!important;text-align:right!important;border:0!important;border-radius:24px!important;
    padding:15px 13px!important;background:#fff!important;color:#141133!important;
    box-shadow:0 14px 34px rgba(15,23,42,.08)!important;cursor:pointer!important;
    outline:1px solid rgba(91,44,255,.08)!important;transition:.2s ease!important;
  }
  .certy-smart-methods button:active{transform:scale(.98)!important;}
  .certy-smart-methods button:before{content:''!important;position:absolute!important;inset:0!important;border-radius:24px!important;background:linear-gradient(135deg,rgba(91,44,255,.10),transparent 55%)!important;pointer-events:none!important;}
  .certy-smart-methods button b{display:block!important;font-size:15px!important;line-height:1.45!important;font-weight:900!important;margin-bottom:8px!important;}
  .certy-smart-methods button span{display:block!important;font-size:11.8px!important;line-height:1.7!important;color:#667085!important;font-weight:700!important;}
  .certy-smart-methods button:nth-child(1){background:linear-gradient(145deg,#fff,#f2edff)!important;outline-color:rgba(91,44,255,.18)!important;}
  .certy-smart-methods button:nth-child(2){background:linear-gradient(145deg,#fff,#eef7ff)!important;outline-color:rgba(14,165,233,.16)!important;}
  .certy-smart-methods button:nth-child(3),.certy-smart-methods button:nth-child(4){opacity:.86!important;}
  .certy-smart-note{margin-top:12px!important;border-radius:18px!important;background:#fff!important;color:#5b21ff!important;padding:10px!important;font-weight:800!important;}
  .certy-smart-profession,.certy-smart-template,.certy-smart-import,.certy-card{
    border-radius:28px!important;margin:8px 0 18px!important;padding:20px 14px!important;box-shadow:0 18px 45px rgba(15,23,42,.08)!important;
  }
  .certy-profession-grid,.certy-template-cards{grid-template-columns:1fr!important;gap:12px!important;}
  .certy-profession-grid button,.certy-template-card,.certy-template-cards button{border-radius:22px!important;min-height:92px!important;box-shadow:0 12px 28px rgba(15,23,42,.07)!important;}
  .certy-template-cards button[data-template],.certy-profession-grid button[data-profession]{position:relative!important;cursor:pointer!important;outline:1px solid rgba(91,44,255,.10)!important;}
  .certy-template-cards button[data-template]:after,.certy-profession-grid button[data-profession]:after{content:'اختيار ←'!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;margin-top:10px!important;background:#5b21ff!important;color:#fff!important;border-radius:999px!important;padding:7px 12px!important;font-size:12px!important;font-weight:900!important;box-shadow:0 8px 20px rgba(91,44,255,.22)!important;}
  .certy-template-continue{display:none!important;}
  .certy-builder-head{padding:14px!important;border-radius:24px!important;margin:8px 0 14px!important;gap:10px!important;}
  .certy-builder-head h2{font-size:20px!important;line-height:1.35!important;}
  .certy-builder-head .certy-ghost{display:none!important;}
  .certy-progress{position:sticky!important;top:76px!important;z-index:50!important;background:rgba(247,247,255,.92)!important;backdrop-filter:blur(10px)!important;border-radius:20px!important;padding:8px!important;margin:0 0 12px!important;overflow-x:auto!important;display:flex!important;gap:8px!important;}
  .certy-progress button{min-width:82px!important;border-radius:16px!important;padding:9px 8px!important;}
  .certy-grid,.certy-extra-grid{grid-template-columns:1fr!important;gap:12px!important;}
  .certy-card h3{font-size:22px!important;}
  .certy-card input,.certy-card textarea{font-size:15px!important;border-radius:16px!important;min-height:48px!important;}
  .certy-actions{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;}
  .certy-actions button,.certy-primary,.certy-add{min-height:48px!important;border-radius:16px!important;font-size:15px!important;font-weight:900!important;}
  .certy-preview-panel{position:fixed!important;inset:0!important;z-index:120!important;transform:translateX(110%)!important;transition:transform .25s ease!important;padding:18px 12px 92px!important;overflow:auto!important;background:#f7f7ff!important;}
  .certy-app.is-preview-open .certy-preview-panel{transform:translateX(0)!important;}
  .certy-preview-panel h3{font-size:22px!important;margin:12px 4px!important;}
  .certy-preview-close{display:flex!important;align-items:center!important;justify-content:center!important;width:42px!important;height:42px!important;border-radius:14px!important;background:#fff!important;border:1px solid #e7e9f5!important;box-shadow:0 10px 22px rgba(15,23,42,.08)!important;}
  .certy-cv-preview{width:100%!important;max-width:100%!important;transform:none!important;min-height:auto!important;border-radius:22px!important;overflow:hidden!important;}
  .certy-downloads{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;margin-top:14px!important;}
  .certy-downloads button{border-radius:16px!important;min-height:48px!important;font-weight:900!important;}
  .certy-note,.certy-share-hint{display:none!important;}
  .certy-mobile-bottom-nav{
    display:grid!important;grid-template-columns:repeat(5,1fr)!important;align-items:center!important;gap:4px!important;
    position:fixed!important;left:10px!important;right:10px!important;bottom:10px!important;z-index:140!important;
    padding:7px!important;border:1px solid rgba(91,44,255,.11)!important;border-radius:26px!important;
    background:rgba(255,255,255,.95)!important;backdrop-filter:blur(18px)!important;
    box-shadow:0 18px 45px rgba(15,23,42,.16)!important;
  }
  .certy-mobile-bottom-nav button,.certy-mobile-bottom-nav a{appearance:none!important;border:0!important;background:transparent!important;text-decoration:none!important;color:#667085!important;display:grid!important;place-items:center!important;gap:3px!important;border-radius:18px!important;min-height:52px!important;font-family:'Cairo',Arial,sans-serif!important;}
  .certy-mobile-bottom-nav span{font-size:19px!important;line-height:1!important;}
  .certy-mobile-bottom-nav b{font-size:10.5px!important;line-height:1.1!important;font-weight:900!important;}
  .certy-mobile-bottom-nav .is-active{background:#f1edff!important;color:#5b21ff!important;}
  .certy-mobile-bottom-nav .certy-mobile-nav-main{margin-top:-26px!important;width:60px!important;height:60px!important;justify-self:center!important;border-radius:22px!important;background:linear-gradient(135deg,#6d28d9,#8b5cf6)!important;color:#fff!important;box-shadow:0 16px 30px rgba(91,44,255,.32)!important;}
  .certy-mobile-bottom-nav .certy-mobile-nav-main span{font-size:24px!important;}
  .certy-mobile-bottom-nav .certy-mobile-nav-main b{color:#fff!important;}
}
