.template-picker{display:grid;grid-template-columns:1fr 1fr;gap:14px;border:0;padding:0;margin:20px 0}.template-picker legend{font-weight:bold;margin-bottom:10px}.template-choice{cursor:pointer;border:2px solid var(--line);border-radius:10px;background:white;padding:16px;display:grid;grid-template-columns:auto 1fr;gap:8px;align-items:center}.template-choice:has(input:checked){border-color:var(--teal);background:#eef6f2}.template-choice input{width:auto}.template-choice strong{font-size:18px}.template-choice small{grid-column:1/-1;font-size:14px;line-height:1.7}.template-mini{width:90px;height:110px;background:white;border:1px solid #cbd6d9;display:block;position:relative;grid-row:span 2;justify-self:center}.template-mini i{position:absolute;top:12px;right:10px;width:60px;height:10px;background:#142b3e}.template-mini b,.template-mini em{position:absolute;top:40px;right:10px;width:65px;height:50px;background:repeating-linear-gradient(#d9e1e6 0 3px,transparent 3px 9px)}.template-mini.personal i{top:0;right:0;width:100%;height:28px;background:#337fa9}.template-mini.personal b{width:48px;right:6px}.template-mini.personal em{background:#dceef4;left:0;right:auto;top:28px;width:29px;height:80px}.cv-row select{width:auto;max-width:200px}.cv-template-switch{margin:0;display:flex;gap:10px;align-items:center}.cv-template-switch select{width:150px}.cv-preview{max-width:100%;overflow:auto;padding:12px 5px 25px;background:#e5e8e6;border-radius:8px}.cv-page{width:210mm;height:297mm;box-sizing:border-box;background:white;position:relative;margin:0 auto 24px;box-shadow:0 3px 12px #142b3e25;font-family:"IBM Plex Sans Arabic",Arial,sans-serif;font-size:10.5pt;line-height:1.65;direction:rtl;color:#233744;text-align:right}.cv-page:last-child{margin-bottom:0}.cv-page-header{height:55mm;box-sizing:border-box;padding:10mm 14mm;display:flex;gap:8mm;align-items:center}.cv-identity{flex:1;min-width:0;font-size:16px;line-height:1.4}.cv-page .cv-name{font-size:2.1em;font-weight:700;line-height:1.4;margin:0 0 4mm;letter-spacing:0;overflow-wrap:anywhere}.cv-secondary{font-size:1.25em;margin:0 0 2mm}.cv-headline,.cv-contact{font-size:1em;margin:0 0 2mm;white-space:pre-wrap;overflow-wrap:anywhere}.cv-portrait{width:30mm;height:30mm;border-radius:50%;object-fit:cover;flex-shrink:0;background:#e6edf1;border:1.5mm solid #ffffff80}.cv-page-content{height:234mm;display:grid;grid-template-columns:minmax(0,1fr)}.cv-col{box-sizing:border-box;min-width:0;min-height:0;padding:3mm 14mm 8mm}.cv-flow{height:100%;min-height:0;overflow-wrap:anywhere}.cv-page .cv-section-title{font-size:15pt;font-weight:700;color:#28769c;line-height:1.5;border-bottom:1px solid #c9dce5;padding:0 0 2mm;margin:0 0 4mm}.cv-page .cv-record-title{font-size:12pt;font-weight:700;line-height:1.5;margin:0 0 2mm;break-after:avoid;color:#254c68}.cv-page .cv-record-meta{font-size:9pt;line-height:1.6;color:#5e6c75;margin:0 0 3mm}.cv-page .cv-paragraph,.cv-page .cv-bullet,.cv-page .cv-link{font-size:10.5pt;line-height:1.65;margin:0 0 3mm;white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal}.cv-bullet{position:relative;padding-inline-start:4mm}.cv-bullet:before{content:'•';position:absolute;inset-inline-start:0;color:#28769c}.cv-page .cv-link{font-size:9pt;direction:ltr;text-align:right}.cv-page-number{height:8mm;box-sizing:border-box;text-align:center;font-size:8pt;color:#627887;padding-top:1mm}.cv-page.personal .cv-page-header{height:72mm;background:#337fa9;color:white;padding:12mm}.cv-page.personal .cv-name{color:white}.cv-page.personal .cv-page-content{height:217mm;grid-template-columns:minmax(0,63fr) minmax(0,37fr)}.cv-page.personal .cv-col{padding:8mm 9mm}.cv-page.personal .cv-side{background:#e3f1f6;padding:8mm 7mm}.cv-page.personal .cv-side .cv-record-title{font-size:11pt}.cv-page.personal .cv-side .cv-paragraph,.cv-page.personal .cv-side .cv-bullet{font-size:10pt}.cv-page.personal .cv-side .cv-section-title{font-size:13pt}.cv-page.continuation .cv-page-header{height:18mm;padding:4mm 12mm}.cv-page.continuation .cv-name{font-size:1.05em;margin:0}.cv-page.continuation .cv-page-content{height:271mm}.cv-page.personal.continuation .cv-page-header{background:#337fa9}.cv-page.default .cv-page-header{border-bottom:1px solid #dce4e7}.cv-page.default .cv-record-title:not(:first-child){margin-top:3mm}
@media(max-width:720px){.template-picker{grid-template-columns:1fr}.cv-row .inline{flex-wrap:wrap}.cv-preview{padding:8px}.cv-template-switch{flex-wrap:wrap}}
@media print{@page{size:A4 portrait;margin:0}html,body{margin:0!important;padding:0!important;background:white!important}body>header,body>footer,.no-print,#toast,dialog{display:none!important}main{padding:0!important;margin:0!important;max-width:none!important;min-height:0!important}.cv-preview{padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:white!important;overflow:visible!important;max-width:none!important}.cv-page{margin:0!important;box-shadow:none!important;break-after:page;page-break-after:always;print-color-adjust:exact;-webkit-print-color-adjust:exact}.cv-page:last-child{break-after:auto;page-break-after:auto}.cv-page *{print-color-adjust:exact;-webkit-print-color-adjust:exact}.cv-page h1,.cv-page h2,.cv-page h3{break-after:auto!important}.cv-page p{color:inherit}.cv-page.personal .cv-page-header{color:white!important;background:#337fa9!important}.cv-page.personal .cv-name{color:white!important}.cv-page.personal .cv-side{background:#e3f1f6!important}}

.cv-flow{display:flow-root}

@media print{#cv-pages{zoom:1!important}}

.cv-page-number{direction:ltr;unicode-bidi:isolate}.cv-page a{color:#28769c}
