.career-tools-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);gap:18px}.career-tools-card{background:#fff;border:1px solid #e5eaf1;border-radius:20px;padding:20px}.career-tools-card h2{margin:0 0 6px;color:#0f2747;font-size:18px}.career-tools-card p{color:#64748b}.career-score{display:flex;align-items:center;gap:18px}.career-score-ring{width:92px;height:92px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#c89b3c var(--score),#edf2f7 0);position:relative;flex:0 0 auto}.career-score-ring:after{content:"";position:absolute;inset:9px;background:#fff;border-radius:50%}.career-score-ring strong{position:relative;z-index:1;color:#0f2747;font-size:22px}.career-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:16px}.career-check{display:flex;gap:8px;align-items:center;padding:9px 10px;border:1px solid #e7ecf2;border-radius:12px;color:#64748b;font-size:12px}.career-check.is-done{background:#f0fdf4;border-color:#ccebd7;color:#067647}.career-suggestions{margin:14px 0 0;padding:0 18px 0 0;color:#475569;font-size:13px;line-height:1.9}.career-tool-form{display:grid;gap:12px}.career-tool-field{width:100%;border:1px solid #dbe2ea;border-radius:12px;padding:10px 12px;background:#fff}.career-tool-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.career-tool-options label{display:flex;align-items:center;gap:8px;border:1px solid #e5eaf1;border-radius:12px;padding:10px;font-size:12px;color:#475569}.career-copy-block{border:1px solid #e5eaf1;border-radius:16px;padding:14px;margin-top:12px}.career-copy-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:9px}.career-copy-head strong{color:#0f2747}.career-copy-text{width:100%;min-height:112px;border:1px solid #e2e8f0;border-radius:12px;padding:11px;resize:vertical;font:13px/1.65 Arial,sans-serif;direction:ltr;text-align:left;background:#f8fafc}.career-copy-btn{border:1px solid #dbe2ea;background:#fff;border-radius:10px;padding:7px 10px;font-size:11px;font-weight:800;color:#0f2747;cursor:pointer}.career-copy-btn.is-copied{border-color:#b7ead5;background:#ecfdf3;color:#067647}.career-empty-note{padding:16px;border:1px dashed #cbd5e1;border-radius:14px;color:#64748b;background:#f8fafc}.career-tools-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:12px}@media(max-width:920px){.career-tools-grid{grid-template-columns:1fr}}@media(max-width:620px){.career-checks,.career-tool-options{grid-template-columns:1fr}.career-score{align-items:flex-start}}

.cv-page{font-family:Arial,"Tahoma",sans-serif;color:#172033;background:#eef2f6;margin:0;padding:26px}.cv-sheet{width:210mm;min-height:297mm;margin:0 auto;background:#fff;box-shadow:0 8px 30px rgba(15,39,71,.12);padding:16mm 17mm;box-sizing:border-box}.cv-topbar{display:flex;justify-content:flex-end;gap:8px;max-width:210mm;margin:0 auto 12px}.cv-btn{border:0;border-radius:10px;padding:10px 14px;font-weight:700;cursor:pointer;text-decoration:none;background:#0f2747;color:#fff}.cv-btn.secondary{background:#fff;color:#0f2747;border:1px solid #cbd5e1}.cv-verified{color:#067647;font-weight:700}.cv-ar{direction:rtl;text-align:right}@page{size:A4;margin:0}@media print{.cv-page{background:#fff;padding:0}.cv-topbar{display:none!important}.cv-sheet{width:210mm;min-height:297mm;box-shadow:none;margin:0;padding:14mm 16mm}}

/* CV template picker v2 */
.ct-label{display:block;margin-bottom:7px;font-size:12px;font-weight:850;color:#475569}.career-tool-note{display:block;margin-top:10px;color:#64748b;line-height:1.7}.cv-template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.cv-template-card{position:relative;display:grid;grid-template-columns:58px minmax(0,1fr) 18px;gap:9px;align-items:center;border:1px solid #e2e8f0;border-radius:14px;padding:9px;background:#fff;cursor:pointer;transition:border-color .15s,box-shadow .15s,background .15s}.cv-template-card:hover{border-color:#c8d2de;background:#fbfcfd}.cv-template-card>input{position:absolute;opacity:0;pointer-events:none}.cv-template-card:has(input:checked){border-color:#c89b3c;background:#fffbf1;box-shadow:0 0 0 3px rgba(200,155,60,.08)}.cv-template-preview{width:56px;height:72px;border-radius:5px;border:1px solid #dce3ea;background:#fff;padding:5px;display:grid;grid-template-rows:12px 8px 1fr 1fr;gap:4px;overflow:hidden}.cv-template-preview i{display:block;background:#d8e0e8;border-radius:2px}.cv-template-preview i:first-child{background:#18314e}.cv-template-preview.is-modern i:first-child{height:18px;background:#0f2747}.cv-template-preview.is-sidebar{grid-template-columns:16px 1fr;grid-template-rows:12px 1fr 1fr}.cv-template-preview.is-sidebar i:first-child{grid-column:1/-1}.cv-template-preview.is-sidebar i:nth-child(2){grid-row:2/4;background:#d1a85b}.cv-template-preview.is-executive{border-top:4px solid #a97825}.cv-template-preview.is-executive i:first-child{background:#29384b}.cv-template-preview.is-technical{background:#f8fbfd}.cv-template-preview.is-technical i:first-child{background:#2f7080}.cv-template-preview.is-technical i:nth-child(3),.cv-template-preview.is-technical i:nth-child(4){background:#c6dbe1}.cv-template-preview.is-compact{gap:2px;padding:4px}.cv-template-preview.is-compact i{height:auto}.cv-template-copy{display:grid;gap:2px}.cv-template-copy strong{font-size:11px;color:#17304d}.cv-template-copy small{font-size:9px;line-height:1.45;color:#7a8899}.cv-template-check{width:17px;height:17px;border-radius:50%;display:grid;place-items:center;background:#edf1f5;color:transparent;font-size:8px}.cv-template-card:has(input:checked) .cv-template-check{background:#0b7556;color:#fff}@media(max-width:620px){.cv-template-grid{grid-template-columns:1fr}}

/* CV base shared styles */
.cv-body{display:block}.cv-section{margin-top:17px}.cv-section h2{border-bottom:1px solid #dbe2ea;padding-bottom:5px;margin:0 0 9px}.cv-item{margin:0 0 11px;break-inside:avoid}.cv-item-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.cv-desc{white-space:pre-line}.cv-skills{display:flex;flex-wrap:wrap;gap:6px}.cv-skill{padding:5px 8px;border:1px solid #dbe2ea;border-radius:8px}.cv-footer{margin-top:22px;padding-top:9px;border-top:1px solid #e5eaf1;color:#8a98a9;font-size:9px;text-align:center}

/* CV template switcher + optional portrait v3 */
.cv-topbar-rich{max-width:1180px;align-items:center;flex-wrap:wrap;justify-content:center}.cv-topbar-rich>.cv-btn:first-child{margin-inline-end:auto}.cv-topbar-rich>.cv-btn:last-child{margin-inline-start:auto}.cv-switch-group{display:flex;align-items:center;gap:5px;flex-wrap:wrap;padding:5px;background:#fff;border:1px solid #dfe5ec;border-radius:12px}.cv-switch-group>span{font-size:10px;color:#64748b;font-weight:800;padding:0 5px}.cv-switch{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:5px 8px;border-radius:8px;text-decoration:none;color:#536478;font-size:10px;font-weight:800;white-space:nowrap}.cv-switch:hover{background:#f2f5f8;color:#0f2747}.cv-switch.is-active{background:#0f2747;color:#fff}.cv-demo-note{max-width:210mm;margin:0 auto 12px;padding:9px 12px;border-radius:11px;background:#fff8e8;border:1px solid #ecd8ab;color:#765619;text-align:center;font-size:11px;font-weight:700}.cv-head.has-photo{display:grid;grid-template-columns:minmax(0,1fr) 82px;gap:14px;align-items:center}.cv-photo{width:78px;height:78px;object-fit:cover;border-radius:14px;border:2px solid #e2e8f0;background:#fff}.cv-modern .cv-head.has-photo{grid-template-columns:minmax(0,1fr) 84px}.cv-modern .cv-photo{border-color:rgba(255,255,255,.55);box-shadow:0 6px 18px rgba(0,0,0,.18)}.cv-sidebar .cv-head.has-photo{grid-template-columns:minmax(0,1fr) 88px}.cv-sidebar .cv-photo{width:84px;height:84px;border-radius:50%;border-color:rgba(255,255,255,.55)}.cv-executive .cv-head.has-photo{display:flex;flex-direction:column}.cv-executive .cv-photo{order:-1;width:82px;height:82px;border-radius:50%;border-color:#cdbf9e}.cv-technical .cv-photo{border-radius:8px;border-color:#bcd8de}.cv-ar .cv-head.has-photo{grid-template-columns:minmax(0,1fr) 82px}.career-tool-options label small{display:block;color:#8a98a9;font-size:9px;margin-inline-start:3px}@media(max-width:820px){.cv-topbar-rich{justify-content:flex-start}.cv-topbar-rich>.cv-btn:first-child,.cv-topbar-rich>.cv-btn:last-child{margin:0}.cv-switch-group{width:100%}.cv-switch{flex:1 1 auto}.cv-sheet{width:100%;min-height:auto}.cv-page{padding:14px}.cv-demo-note{max-width:none}}@media print{.cv-demo-note{display:none!important}.cv-topbar-rich{display:none!important}}

/* ATS Classic v3 — professional, neutral and parser-friendly */
.cv-ats{padding:14mm 17mm 13mm;max-width:210mm;background:#fff;color:#172033}
.cv-ats .cv-head{margin:0 0 13px;padding:0 0 12px;border-bottom:2.5px solid #111827;text-align:start}
.cv-ats .cv-name{margin:0;font-size:46px;line-height:1.03;font-weight:800;color:#111827;letter-spacing:-.03em;text-transform:uppercase}
.cv-ar .cv-ats .cv-name{letter-spacing:0;text-transform:none}
.cv-ats .cv-title{margin-top:5px;font-size:18px;line-height:1.35;font-weight:700;color:#374151}
.cv-ats .cv-contact{display:flex;flex-wrap:wrap;align-items:center;gap:0;margin-top:9px;font-size:13px;line-height:1.45;color:#4b5563}
.cv-ats .cv-contact span{max-width:100%;overflow-wrap:anywhere;padding:0 7px}
.cv-ats .cv-contact span:first-child{padding-inline-start:0}
.cv-ats .cv-contact span+span::before{content:"\00b7";display:inline-block;margin-inline-end:7px;color:#9ca3af;font-size:12px}
.cv-ats .cv-body{display:block}
.cv-ats .cv-section{margin-top:13px;break-inside:auto}
.cv-ats .cv-section h2{margin:0 0 7px;padding:0 0 5px;border-bottom:1.5px solid #d1d5db;font-size:15px;line-height:1.2;font-weight:800;color:#111827;text-transform:uppercase;letter-spacing:.07em}
.cv-ar .cv-ats .cv-section h2{text-transform:none;letter-spacing:0;font-size:16px}
.cv-ats .cv-summary .cv-desc{margin-top:0;font-size:14px;line-height:1.6;color:#303846}
.cv-ats .cv-item{margin:0 0 9px;padding:0;break-inside:avoid-page}
.cv-ats .cv-item:last-child{margin-bottom:0}
.cv-ats .cv-item-head{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:14px;align-items:start}
.cv-ats .cv-item-head>div:first-child{min-width:0}
.cv-ats .cv-item strong{display:block;font-size:15px;line-height:1.35;font-weight:750;color:#111827}
.cv-ats .cv-meta{margin-top:2px;font-size:13px;line-height:1.4;color:#5e6878}
.cv-ats .cv-item-head>.cv-meta{margin-top:0;text-align:end;white-space:nowrap;color:#5e6878}
.cv-ats .cv-desc{margin-top:3px;font-size:13px;line-height:1.5;color:#303846}
.cv-ats .cv-desc ul,.cv-ats .cv-desc ol{margin:2px 0 0;padding-inline-start:16px}
.cv-ats .cv-desc li{margin:1px 0;font-size:13px;line-height:1.48}
.cv-ats .cv-skills{display:block;line-height:1.8}
.cv-ats .cv-skill{display:inline;padding:0;border:0;background:none;border-radius:0;font-size:14px;font-weight:600;color:#283445;white-space:normal}
.cv-ats .cv-skill:not(:last-child)::after{content:"  •  ";color:#8993a1;margin:0}
.cv-ats .cv-verified{font-size:10px;color:#3d6d59}
.cv-ats .cv-footer{margin-top:14px;padding-top:7px;border-top:1px solid #d9dee5;color:#7b8491;font-size:10px}
@media(max-width:720px){.cv-page{padding:12px}.cv-sheet{width:100%;min-height:auto;padding:14px 16px;box-shadow:0 2px 10px rgba(15,39,71,.08)}.cv-topbar{flex-wrap:wrap;gap:6px}.cv-ats{padding:16px}.cv-ats .cv-head{margin-bottom:8px;padding-bottom:8px}.cv-ats .cv-name{font-size:32px}.cv-ats .cv-title{font-size:15px}.cv-ats .cv-contact{font-size:11px;gap:3px 8px}.cv-ats .cv-item-head{grid-template-columns:1fr}.cv-ats .cv-item-head>.cv-meta{text-align:start;white-space:normal;margin-top:2px}.cv-ats .cv-section{margin-top:8px}.cv-modern .cv-head{padding:12px}.cv-modern .cv-name{font-size:24px}.cv-modern .cv-body{padding:12px 14px}.cv-sidebar .cv-head{padding:12px 14px 8px}.cv-sidebar .cv-name{font-size:24px}.cv-sidebar .cv-body{padding:10px 14px}.cv-executive .cv-head{padding:10px 14px}.cv-executive .cv-name{font-size:24px}.cv-executive .cv-body{padding:10px 14px}.cv-executive .cv-body{grid-template-columns:1fr}.cv-executive .cv-summary,.cv-executive .cv-skills-section,.cv-executive .cv-education,.cv-executive .cv-training,.cv-executive .cv-projects-section,.cv-executive .cv-certificates-section{grid-column:1}.cv-technical .cv-head{padding:10px 14px}.cv-technical .cv-name{font-size:24px}.cv-technical .cv-body{padding:10px 14px}.cv-technical .cv-body{grid-template-columns:1fr}.cv-technical .cv-summary,.cv-technical .cv-skills-section,.cv-technical .cv-education,.cv-technical .cv-training,.cv-technical .cv-projects-section,.cv-technical .cv-certificates-section{grid-column:1}.cv-technical .cv-skills{grid-template-columns:repeat(2,minmax(0,1fr))}.cv-compact{padding:10px 12px}.cv-compact .cv-body{grid-template-columns:1fr}.cv-compact .cv-summary,.cv-compact .cv-skills-section,.cv-compact .cv-education,.cv-compact .cv-training,.cv-compact .cv-projects-section,.cv-compact .cv-certificates-section{grid-column:1}.cv-head.has-photo{grid-template-columns:1fr 64px;gap:10px}.cv-photo{width:60px;height:60px;border-radius:10px}}
@media print{.cv-ats{padding:11mm 15mm 10mm;box-shadow:none}.cv-ats .cv-head{margin-bottom:9px;padding-bottom:9px;border-bottom-width:2px}.cv-ats .cv-section{margin-top:10px}.cv-ats .cv-item{margin-bottom:7px}}

/* CV Modern v4 — contemporary two-column editorial layout */
.cv-modern{padding:0;overflow:hidden;background:#fff;color:#172033}
.cv-modern .cv-head{position:relative;margin:0;padding:15mm 16mm 11mm;background:linear-gradient(135deg,#0d223d 0%,#173b62 100%);border:0;border-radius:0;color:#fff;box-shadow:none}
.cv-modern .cv-head::after{content:"";position:absolute;inset-inline:16mm;bottom:0;height:2px;background:linear-gradient(90deg,#d7aa3f,#f0d68a,#d7aa3f);opacity:.95}
.cv-modern .cv-head.has-photo{grid-template-columns:minmax(0,1fr) 28mm;gap:8mm;align-items:center}
.cv-modern .cv-photo{width:27mm;height:27mm;border-radius:9px;border:2px solid rgba(255,255,255,.82);box-shadow:0 7px 20px rgba(0,0,0,.2)}
.cv-modern .cv-name{font-size:32px;line-height:1.03;font-weight:800;letter-spacing:-.025em;color:#fff}
.cv-ar .cv-modern .cv-name{letter-spacing:0}
.cv-modern .cv-title{margin-top:5px;font-size:14px;line-height:1.35;font-weight:700;color:#f1d58c}
.cv-modern .cv-contact{display:flex;flex-wrap:wrap;gap:4px 12px;margin-top:9px;padding-top:8px;border-top:1px solid rgba(255,255,255,.18);font-size:9.5px;line-height:1.45;color:#e5edf6}
.cv-modern .cv-contact span{overflow-wrap:anywhere}
.cv-modern .cv-body{display:grid;grid-template-columns:minmax(0,1fr) 60mm;gap:0 9mm;padding:9mm 16mm 13mm;align-items:start;grid-auto-flow:row dense}
.cv-modern .cv-summary,.cv-modern .cv-training,.cv-modern .cv-projects-section{grid-column:1}
.cv-modern .cv-skills-section,.cv-modern .cv-education,.cv-modern .cv-certificates-section{grid-column:2}
.cv-modern .cv-section{margin-top:0;margin-bottom:8mm;min-width:0}
.cv-modern .cv-section h2{display:flex;align-items:center;gap:7px;margin:0 0 8px;padding:0 0 6px;border:0;border-bottom:1px solid #d8e0e9;font-size:10.8px;line-height:1.2;font-weight:850;color:#173b62;text-transform:uppercase;letter-spacing:.065em}
.cv-modern .cv-section h2::before{content:"";width:18px;height:3px;border-radius:4px;background:#d7aa3f;flex:0 0 auto}
.cv-ar .cv-modern .cv-section h2{text-transform:none;letter-spacing:0;font-size:11.2px}
.cv-modern .cv-summary .cv-desc{font-size:10.3px;line-height:1.62;color:#35465a;margin-top:0}
.cv-modern .cv-skills-section,.cv-modern .cv-education,.cv-modern .cv-certificates-section{padding:11px 12px;background:#f6f8fb;border:1px solid #e5eaf0;border-radius:10px}
.cv-modern .cv-skills{display:flex;flex-wrap:wrap;gap:5px}
.cv-modern .cv-skill{padding:5px 7px;border:1px solid #dbe3ec;border-radius:999px;background:#fff;font-size:9.5px;font-weight:700;color:#27425f}
.cv-modern .cv-item{position:relative;margin:0 0 10px;padding-inline-start:12px;border:0;break-inside:avoid-page}
.cv-modern .cv-item::before{content:"";position:absolute;inset-inline-start:0;top:3px;width:3px;height:calc(100% - 4px);min-height:18px;border-radius:4px;background:#d7aa3f}
.cv-modern .cv-item:last-child{margin-bottom:0}
.cv-modern .cv-item-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:start}
.cv-modern .cv-item strong{font-size:11.3px;line-height:1.35;color:#172033}
.cv-modern .cv-meta{font-size:9.4px;line-height:1.45;color:#718096}
.cv-modern .cv-item-head>.cv-meta{text-align:end;white-space:nowrap}
.cv-modern .cv-desc{margin-top:3px;font-size:9.9px;line-height:1.52;color:#405267}
.cv-modern .cv-footer{margin:0 16mm 8mm;padding-top:6px;border-top:1px solid #e3e8ee;color:#8b97a6}

/* CV Sidebar v4 — true sidebar with continuous information rail */
.cv-sidebar{padding:0;overflow:hidden;background:#fff;color:#172033}
.cv-sidebar .cv-head{position:relative;margin:0;padding:14mm 15mm 10mm;background:#0f2747;border:0;color:#fff}
.cv-sidebar .cv-head::after{content:"";position:absolute;inset-inline:15mm;bottom:0;height:2px;background:#d7aa3f}
.cv-sidebar .cv-head.has-photo{grid-template-columns:minmax(0,1fr) 30mm;gap:8mm;align-items:center}
.cv-sidebar .cv-photo{width:29mm;height:29mm;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 3px rgba(215,170,63,.45)}
.cv-sidebar .cv-name{font-size:30px;line-height:1.04;font-weight:800;color:#fff;letter-spacing:-.02em}
.cv-ar .cv-sidebar .cv-name{letter-spacing:0}
.cv-sidebar .cv-title{margin-top:5px;font-size:13.5px;font-weight:700;color:#f1d58c}
.cv-sidebar .cv-contact{display:flex;flex-wrap:wrap;gap:4px 11px;margin-top:8px;font-size:9.2px;line-height:1.45;color:#e4edf7}
.cv-sidebar .cv-contact span{overflow-wrap:anywhere}
.cv-sidebar .cv-body{display:grid;grid-template-columns:58mm minmax(0,1fr);gap:0;padding:0;align-items:start;grid-auto-flow:row dense;background:linear-gradient(90deg,#f2f5f8 0,#f2f5f8 66mm,#fff 66mm,#fff 100%)}
.cv-ar .cv-sidebar .cv-body{background:linear-gradient(270deg,#f2f5f8 0,#f2f5f8 66mm,#fff 66mm,#fff 100%)}
.cv-sidebar .cv-summary,.cv-sidebar .cv-skills-section,.cv-sidebar .cv-certificates-section{grid-column:1;margin:0;padding:8mm 8mm 0;background:transparent;border:0;border-radius:0}
.cv-sidebar .cv-summary{padding-top:10mm}
.cv-sidebar .cv-education,.cv-sidebar .cv-training,.cv-sidebar .cv-projects-section{grid-column:2;margin:0;padding:8mm 15mm 0 10mm}
.cv-ar .cv-sidebar .cv-education,.cv-ar .cv-sidebar .cv-training,.cv-ar .cv-sidebar .cv-projects-section{padding:8mm 10mm 0 15mm}
.cv-sidebar .cv-education{padding-top:10mm}
.cv-ar .cv-sidebar .cv-education{padding-top:10mm}
.cv-sidebar .cv-section h2{margin:0 0 8px;padding:0 0 5px;border:0;border-bottom:1px solid #d4dce5;font-size:10.8px;line-height:1.2;font-weight:850;color:#163452;text-transform:uppercase;letter-spacing:.055em}
.cv-ar .cv-sidebar .cv-section h2{text-transform:none;letter-spacing:0;font-size:11.2px}
.cv-sidebar .cv-summary .cv-desc{font-size:9.7px;line-height:1.6;color:#435568}
.cv-sidebar .cv-skills{display:grid;grid-template-columns:1fr;gap:5px}
.cv-sidebar .cv-skill{display:block;padding:5px 7px;border:1px solid #dce4ec;border-radius:6px;background:#fff;font-size:9.5px;font-weight:700;color:#28445f}
.cv-sidebar .cv-item{position:relative;margin:0 0 10px;padding-inline-start:11px;break-inside:avoid-page}
.cv-sidebar .cv-item::before{content:"";position:absolute;inset-inline-start:0;top:2px;width:3px;height:calc(100% - 3px);min-height:18px;border-radius:4px;background:#d7aa3f}
.cv-sidebar .cv-item:last-child{margin-bottom:0}
.cv-sidebar .cv-item-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;align-items:start}
.cv-sidebar .cv-item strong{font-size:11.2px;line-height:1.35;color:#172033}
.cv-sidebar .cv-meta{font-size:9.2px;line-height:1.42;color:#6c7b8c}
.cv-sidebar .cv-item-head>.cv-meta{text-align:end;white-space:nowrap}
.cv-sidebar .cv-desc{margin-top:3px;font-size:9.8px;line-height:1.5;color:#3f5064}
.cv-sidebar .cv-certificates-section .cv-item{padding-inline-start:0}
.cv-sidebar .cv-certificates-section .cv-item::before{display:none}
.cv-sidebar .cv-footer{margin:8mm 15mm 7mm 74mm;padding-top:6px;border-top:1px solid #e1e7ed;color:#8895a4}
.cv-ar .cv-sidebar .cv-footer{margin:8mm 74mm 7mm 15mm}

@media screen and (max-width:900px){
  .cv-modern .cv-body,.cv-sidebar .cv-body{grid-template-columns:1fr;background:#fff}
  .cv-modern .cv-summary,.cv-modern .cv-skills-section,.cv-modern .cv-education,.cv-modern .cv-training,.cv-modern .cv-projects-section,.cv-modern .cv-certificates-section,
  .cv-sidebar .cv-summary,.cv-sidebar .cv-skills-section,.cv-sidebar .cv-certificates-section,.cv-sidebar .cv-education,.cv-sidebar .cv-training,.cv-sidebar .cv-projects-section{grid-column:1;margin:0;padding:18px 22px 0;background:#fff;border:0;border-radius:0}
  .cv-modern .cv-skills-section,.cv-modern .cv-education,.cv-modern .cv-certificates-section{border-top:1px solid #eef2f6}
  .cv-sidebar .cv-footer,.cv-ar .cv-sidebar .cv-footer{margin:20px 22px}
}
@media print{
  .cv-modern .cv-head{padding:12mm 14mm 9mm}.cv-modern .cv-head::after{inset-inline:14mm}.cv-modern .cv-body{padding:8mm 14mm 10mm;gap:0 8mm}.cv-modern .cv-section{margin-bottom:6mm}.cv-modern .cv-footer{margin:0 14mm 6mm}
  .cv-sidebar .cv-head{padding:12mm 14mm 8mm}.cv-sidebar .cv-head::after{inset-inline:14mm}.cv-sidebar .cv-body{grid-template-columns:55mm minmax(0,1fr);background:linear-gradient(90deg,#f2f5f8 0,#f2f5f8 63mm,#fff 63mm,#fff 100%)}.cv-ar .cv-sidebar .cv-body{background:linear-gradient(270deg,#f2f5f8 0,#f2f5f8 63mm,#fff 63mm,#fff 100%)}.cv-sidebar .cv-summary,.cv-sidebar .cv-skills-section,.cv-sidebar .cv-certificates-section{padding-inline:7mm}.cv-sidebar .cv-education,.cv-sidebar .cv-training,.cv-sidebar .cv-projects-section{padding-inline-start:9mm;padding-inline-end:14mm}.cv-ar .cv-sidebar .cv-education,.cv-ar .cv-sidebar .cv-training,.cv-ar .cv-sidebar .cv-projects-section{padding-inline-start:9mm;padding-inline-end:14mm}.cv-sidebar .cv-footer{display:none!important}
}


/* CV language + templates 4/5/6 refinement v5 */
/* Arabic is a real RTL layout, not a mirrored English sheet. */
.cv-ar .cv-sheet{direction:rtl;text-align:right;font-family:Tahoma,"Segoe UI",Arial,sans-serif}
.cv-ar .cv-head,.cv-ar .cv-body,.cv-ar .cv-section,.cv-ar .cv-item{direction:rtl;text-align:right}
.cv-ar .cv-name,.cv-ar .cv-title,.cv-ar .cv-desc,.cv-ar .cv-meta,.cv-ar .cv-item strong{letter-spacing:0!important}
.cv-ar .cv-section h2{text-transform:none!important;letter-spacing:0!important;text-align:right}
.cv-ar .cv-contact{direction:rtl;text-align:right;justify-content:flex-start}
.cv-ar .cv-contact span{direction:rtl;text-align:right}
.cv-ar .cv-contact span[dir="ltr"],.cv-ar [dir="ltr"]{direction:ltr;text-align:left;unicode-bidi:plaintext}
.cv-ar .cv-item-head{direction:rtl;text-align:right}
.cv-ar .cv-item-head>.cv-meta{text-align:end}
.cv-ar .cv-skills{direction:rtl;justify-content:flex-start}
.cv-ar .cv-skill{text-align:right}

/* Template 4 — Executive v5: premium formal editorial CV */
.cv-executive{padding:0;overflow:hidden;background:#fff;color:#202833;font-family:Georgia,"Times New Roman",serif;border-top:0}
.cv-executive::before{content:"";display:block;height:6px;background:linear-gradient(90deg,#7b5b21,#d5ad55,#7b5b21)}
.cv-executive .cv-head{position:relative;margin:0;padding:13mm 17mm 9mm;text-align:center;border:0;border-bottom:1px solid #d9d0bd;background:#fffdf8}
.cv-executive .cv-head.has-photo{display:grid;grid-template-columns:minmax(0,1fr) 25mm;gap:7mm;text-align:start;align-items:center}
.cv-executive .cv-photo{width:24mm;height:24mm;border-radius:3px;border:1px solid #cbbd9e;box-shadow:0 4px 14px rgba(69,54,29,.12)}
.cv-executive .cv-name{margin:0;font-size:31px;line-height:1.05;font-weight:500;color:#1e2935;letter-spacing:.015em}
.cv-executive .cv-title{margin-top:5px;font-family:Arial,Tahoma,sans-serif;font-size:10.5px;font-weight:800;color:#8a6828;text-transform:uppercase;letter-spacing:.11em}
.cv-executive .cv-contact{justify-content:center;gap:3px 12px;margin-top:8px;font-family:Arial,Tahoma,sans-serif;font-size:9.2px;line-height:1.5;color:#687382}
.cv-executive .cv-head.has-photo .cv-contact{justify-content:flex-start}
.cv-executive .cv-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:10mm;padding:8mm 17mm 13mm;align-items:start;grid-auto-flow:row dense}
.cv-executive .cv-summary,.cv-executive .cv-skills-section,.cv-executive .cv-training,.cv-executive .cv-projects-section{grid-column:1/-1}
.cv-executive .cv-education{grid-column:1}.cv-executive .cv-certificates-section{grid-column:2}
.cv-executive .cv-section{margin:0 0 7mm;min-width:0}
.cv-executive .cv-section h2{display:flex;align-items:center;gap:8px;margin:0 0 8px;padding:0 0 5px;border:0;border-bottom:1px solid #d8cfbe;font-family:Arial,Tahoma,sans-serif;font-size:10px;font-weight:900;color:#795b22;text-transform:uppercase;letter-spacing:.12em}
.cv-executive .cv-section h2::before{content:"";width:22px;height:2px;background:#b88a2e;flex:0 0 auto}
.cv-executive .cv-summary .cv-desc{font-family:Arial,Tahoma,sans-serif;font-size:10.2px;line-height:1.65;color:#44505f}
.cv-executive .cv-skills{display:flex;flex-wrap:wrap;gap:5px}
.cv-executive .cv-skill{padding:4px 7px;border:1px solid #d7cebc;border-radius:2px;background:#fffdf9;font-family:Arial,Tahoma,sans-serif;font-size:9.3px;font-weight:700;color:#4f4638}
.cv-executive .cv-item{margin:0 0 9px;padding:0 0 9px;border-bottom:1px solid #eee9df;break-inside:avoid-page}
.cv-executive .cv-item:last-child{border-bottom:0;padding-bottom:0}
.cv-executive .cv-item-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:start}
.cv-executive .cv-item strong{font-size:12.4px;line-height:1.35;font-weight:600;color:#252b33}
.cv-executive .cv-meta{font-family:Arial,Tahoma,sans-serif;font-size:9.2px;line-height:1.45;color:#78818d}
.cv-executive .cv-item-head>.cv-meta{white-space:nowrap;text-align:end;color:#8c6c2d;font-weight:700}
.cv-executive .cv-desc{font-family:Arial,Tahoma,sans-serif;margin-top:4px;font-size:9.8px;line-height:1.55;color:#4d5966}
.cv-executive .cv-footer{margin:0 17mm 7mm;padding-top:5px;border-top:1px solid #e4ddcf;font-family:Arial,Tahoma,sans-serif;color:#9a9388}
.cv-ar .cv-executive{font-family:Tahoma,"Segoe UI",Arial,sans-serif}
.cv-ar .cv-executive .cv-title{text-transform:none;letter-spacing:0}
.cv-ar .cv-executive .cv-head{text-align:right}
.cv-ar .cv-executive .cv-head.has-photo{text-align:right}
.cv-ar .cv-executive .cv-contact,.cv-ar .cv-executive .cv-head.has-photo .cv-contact{justify-content:flex-start}

/* Template 5 — Technical v5: engineering-focused, structured and data-dense */
.cv-technical{padding:0;overflow:hidden;background:#fff;color:#16323e;font-family:Arial,Tahoma,sans-serif}
.cv-technical .cv-head{position:relative;margin:0;padding:12mm 15mm 9mm;border:0;border-bottom:4px solid #2f8192;background:linear-gradient(135deg,#f4fafb 0%,#eaf5f7 100%)}
.cv-technical .cv-head::before{content:"";position:absolute;inset-inline-start:0;top:0;bottom:0;width:5px;background:#2f8192}
.cv-technical .cv-head.has-photo{grid-template-columns:minmax(0,1fr) 27mm;gap:7mm;align-items:center}
.cv-technical .cv-photo{width:26mm;height:26mm;border-radius:6px;border:2px solid #fff;box-shadow:0 0 0 1px #b7d6dc}
.cv-technical .cv-name{font-size:30px;line-height:1.03;font-weight:850;color:#173b49;letter-spacing:-.02em}
.cv-technical .cv-title{margin-top:5px;font-size:13px;font-weight:800;color:#277385}
.cv-technical .cv-contact{gap:4px 11px;margin-top:8px;font-size:9.2px;line-height:1.45;color:#607680}
.cv-technical .cv-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 10mm;padding:8mm 15mm 13mm;align-items:start;grid-auto-flow:row dense}
.cv-technical .cv-summary,.cv-technical .cv-skills-section,.cv-technical .cv-projects-section{grid-column:1/-1}
.cv-technical .cv-education{grid-column:1}.cv-technical .cv-training{grid-column:2}.cv-technical .cv-certificates-section{grid-column:1/-1}
.cv-technical .cv-section{margin:0 0 7mm;min-width:0}
.cv-technical .cv-section h2{display:flex;align-items:center;gap:7px;margin:0 0 8px;padding:0 0 5px;border:0;border-bottom:2px solid #cfe3e7;font-size:10.4px;line-height:1.2;font-weight:900;color:#266f80;text-transform:uppercase;letter-spacing:.07em}
.cv-technical .cv-section h2::before{content:"";width:8px;height:8px;border:2px solid #2f8192;border-radius:2px;flex:0 0 auto}
.cv-technical .cv-summary .cv-desc{font-size:10.2px;line-height:1.6;color:#3b5360}
.cv-technical .cv-skills{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
.cv-technical .cv-skill{display:flex;align-items:center;justify-content:center;min-height:27px;padding:4px 6px;text-align:center;border:1px solid #d0e4e8;border-radius:5px;background:#f3fafb;font-size:9.3px;font-weight:800;color:#255d69}
.cv-technical .cv-item{position:relative;margin:0 0 9px;padding-inline-start:11px;break-inside:avoid-page}
.cv-technical .cv-item::before{content:"";position:absolute;inset-inline-start:0;top:2px;bottom:2px;width:3px;border-radius:4px;background:#55a6b5}
.cv-technical .cv-item:last-child{margin-bottom:0}
.cv-technical .cv-item-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:start}
.cv-technical .cv-item strong{font-size:11.3px;line-height:1.35;color:#16323e}
.cv-technical .cv-meta{font-size:9.2px;line-height:1.45;color:#71858d}
.cv-technical .cv-item-head>.cv-meta{text-align:end;white-space:nowrap}
.cv-technical .cv-desc{margin-top:3px;font-size:9.8px;line-height:1.5;color:#405b65}
.cv-technical .cv-projects-section .cv-item{padding:9px 10px 9px 18px;border:1px solid #d9e8eb;border-radius:7px;background:#fbfefe}
.cv-ar .cv-technical .cv-projects-section .cv-item{padding:9px 18px 9px 10px}
.cv-technical .cv-projects-section .cv-item::before{top:8px;bottom:8px;inset-inline-start:8px}
.cv-ar .cv-technical .cv-projects-section .cv-item::before{inset-inline-start:8px}
.cv-technical .cv-certificates-section .cv-item{display:inline-block;width:calc(50% - 5px);vertical-align:top;margin-inline-end:6px;padding:7px 9px;border:1px solid #e0eaec;border-radius:6px;background:#fff}
.cv-technical .cv-footer{margin:0 15mm 7mm;padding-top:5px;border-top:1px solid #dce8ea;color:#8a9ca2}
.cv-ar .cv-technical .cv-name{letter-spacing:0}

/* Template 6 — Compact v5: one-page optimized, clean two-column density */
.cv-compact{padding:10mm 12mm 9mm;background:#fff;color:#202b38;font-family:Arial,Tahoma,sans-serif}
.cv-compact .cv-head{margin:0 0 7px;padding:0 0 7px;border:0;border-bottom:2px solid #1f3650}
.cv-compact .cv-head.has-photo{grid-template-columns:minmax(0,1fr) 19mm;gap:5mm;align-items:center}
.cv-compact .cv-photo{width:18mm;height:18mm;border-radius:4px;border:1px solid #d4dce5}
.cv-compact .cv-name{font-size:24px;line-height:1;font-weight:850;color:#14283f;letter-spacing:-.02em}
.cv-compact .cv-title{margin-top:3px;font-size:11px;font-weight:800;color:#7c6029}
.cv-compact .cv-contact{gap:2px 8px;margin-top:5px;font-size:8.4px;line-height:1.35;color:#657383}
.cv-compact .cv-body{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(0,.82fr);gap:0 7mm;align-items:start;grid-auto-flow:row dense}
.cv-compact .cv-summary,.cv-compact .cv-training,.cv-compact .cv-projects-section{grid-column:1}
.cv-compact .cv-skills-section,.cv-compact .cv-education,.cv-compact .cv-certificates-section{grid-column:2}
.cv-compact .cv-section{margin:0 0 4.5mm;min-width:0}
.cv-compact .cv-section h2{margin:0 0 4px;padding:0 0 3px;border:0;border-bottom:1px solid #cfd8e2;font-size:9.2px;line-height:1.15;font-weight:900;color:#1f3650;text-transform:uppercase;letter-spacing:.065em}
.cv-compact .cv-summary .cv-desc{font-size:8.8px;line-height:1.42;color:#43505e}
.cv-compact .cv-skills{display:flex;flex-wrap:wrap;gap:3px}
.cv-compact .cv-skill{padding:2px 5px;border:1px solid #d8e0e8;border-radius:3px;background:#f8fafc;font-size:8px;line-height:1.25;font-weight:700;color:#36495f}
.cv-compact .cv-item{margin:0 0 5px;padding:0 0 5px;border-bottom:1px dotted #dde3e9;break-inside:avoid-page}
.cv-compact .cv-item:last-child{border-bottom:0}
.cv-compact .cv-item-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px;align-items:start}
.cv-compact .cv-item strong{font-size:9.6px;line-height:1.28;color:#202b38}
.cv-compact .cv-meta{font-size:7.9px;line-height:1.35;color:#748191}
.cv-compact .cv-item-head>.cv-meta{text-align:end;white-space:nowrap}
.cv-compact .cv-desc{margin-top:2px;font-size:8.3px;line-height:1.38;color:#4b5866}
.cv-compact .cv-footer{margin-top:5px;padding-top:4px;border-top:1px solid #e2e7ec;font-size:7.3px;color:#9aa4af}
.cv-ar .cv-compact .cv-name{letter-spacing:0}

/* Correct RTL template-specific placement. */
.cv-ar .cv-modern .cv-item,.cv-ar .cv-sidebar .cv-item,.cv-ar .cv-technical .cv-item{padding-left:0;padding-inline-start:12px}
.cv-ar .cv-modern .cv-item::before,.cv-ar .cv-sidebar .cv-item::before,.cv-ar .cv-technical .cv-item::before{left:auto;right:auto;inset-inline-start:0}
.cv-ar .cv-sidebar .cv-body{background:linear-gradient(270deg,#f2f5f8 0,#f2f5f8 66mm,#fff 66mm,#fff 100%)}
.cv-ar .cv-sidebar .cv-footer{margin:8mm 74mm 7mm 15mm}

@media screen and (max-width:900px){
  .cv-executive .cv-body,.cv-technical .cv-body,.cv-compact .cv-body{grid-template-columns:1fr}
  .cv-executive .cv-summary,.cv-executive .cv-skills-section,.cv-executive .cv-education,.cv-executive .cv-training,.cv-executive .cv-projects-section,.cv-executive .cv-certificates-section,
  .cv-technical .cv-summary,.cv-technical .cv-skills-section,.cv-technical .cv-education,.cv-technical .cv-training,.cv-technical .cv-projects-section,.cv-technical .cv-certificates-section,
  .cv-compact .cv-summary,.cv-compact .cv-skills-section,.cv-compact .cv-education,.cv-compact .cv-training,.cv-compact .cv-projects-section,.cv-compact .cv-certificates-section{grid-column:1}
  .cv-technical .cv-skills{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cv-technical .cv-certificates-section .cv-item{display:block;width:100%;margin-inline-end:0}
}
@media print{
  .cv-executive::before{height:4px}.cv-executive .cv-head{padding:11mm 15mm 8mm}.cv-executive .cv-body{padding:7mm 15mm 10mm;column-gap:8mm}.cv-executive .cv-section{margin-bottom:5mm}.cv-executive .cv-footer{display:none!important}
  .cv-technical .cv-head{padding:10mm 14mm 7mm}.cv-technical .cv-body{padding:7mm 14mm 10mm;gap:0 8mm}.cv-technical .cv-section{margin-bottom:5mm}.cv-technical .cv-footer{display:none!important}
  .cv-compact{padding:8mm 10mm}.cv-compact .cv-section{margin-bottom:3.5mm}.cv-compact .cv-footer{display:none!important}
}


/* ==========================================================================
   CLASSIC PURPLE TEMPLATE
   ========================================================================== */
.cv-classic-purple {
    max-width: 850px;
    margin: 0 auto;
    padding: 40px 50px;
    font-family: "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    color: #1a1a1a;
    background: #fff;
    line-height: 1.6;
}
.cv-classic-purple .cv-head {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #7c5295;
}
.cv-classic-purple .cv-name {
    font-size: 44px;
    font-weight: 800;
    color: #7c5295;
    text-transform: uppercase;
    margin: 0 0 12px 0;
    letter-spacing: 1.5px;
}
.cv-classic-purple .cv-title {
    font-size: 22px;
    color: #444;
    margin-bottom: 12px;
    font-weight: 600;
}
.cv-classic-purple .cv-contact {
    font-size: 16px;
    color: #333;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 14px;
}
.cv-classic-purple .cv-contact span {
    display: inline-flex;
    align-items: center;
}
.cv-classic-purple .cv-contact span:not(:last-child)::after {
    content: "•";
    margin-inline-start: 14px;
    color: #333;
}
.cv-classic-purple .cv-contact strong { display: none; }

.cv-classic-purple .cv-section {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #7c5295;
}
.cv-classic-purple .cv-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cv-classic-purple .cv-section > h2 {
    font-size: 22px;
    font-weight: 800;
    color: #7c5295;
    text-transform: uppercase;
    margin: 0 0 16px 0;
}

.cv-classic-purple .cv-item {
    margin-bottom: 20px;
}
.cv-classic-purple .cv-item:last-child {
    margin-bottom: 0;
}

.cv-classic-purple .cv-item-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 6px;
}
.cv-classic-purple .cv-item-head > div:first-child strong {
    font-size: 18px;
    font-weight: 700;
    color: #111;
}
.cv-classic-purple .cv-item-head .cv-meta {
    font-size: 16px;
    color: #333;
    margin-top: 2px;
}
.cv-classic-purple .cv-item-head > div:last-child {
    font-size: 17px;
    font-weight: 700;
    color: #111;
    white-space: nowrap;
}

.cv-classic-purple .cv-desc {
    font-size: 16px;
    color: #222;
}
.cv-classic-purple .cv-desc ul, .cv-classic-purple .cv-desc ol {
    margin: 8px 0 0 0;
    padding-inline-start: 24px;
}
.cv-classic-purple .cv-desc li {
    margin-bottom: 6px;
}

/* Photo */
.cv-classic-purple.has-photo .cv-head {
    display: flex;
    align-items: center;
    text-align: start;
    gap: 25px;
}
.cv-classic-purple.has-photo .cv-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    order: -1;
}
.cv-classic-purple.has-photo .cv-contact {
    justify-content: flex-start;
}
.cv-classic-purple.has-photo .cv-contact span:not(:last-child)::after {
    margin-inline-start: 12px;
}

/* Skills */
.cv-classic-purple .cv-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.cv-classic-purple .cv-skill {
    font-size: 16px;
    color: #222;
}
.cv-classic-purple .cv-skill:not(:last-child)::after {
    content: ",";
}

/* Print specific */
@media print {
    .cv-classic-purple {
        padding: 0;
        max-width: none;
    }
    .cv-classic-purple .cv-section {
        page-break-inside: avoid;
    }
}