:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#17252b;background:#f7f8f6;font-synthesis:none;text-rendering:optimizeLegibility;--ink:#17252b;--muted:#758187;--teal:#087f78;--line:#e4e9e6;--paper:#fff}
*{box-sizing:border-box}body{margin:0}header{height:76px;padding:0 max(24px,calc((100vw - 1160px)/2));display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid var(--line)}
.logo{font-size:23px;font-weight:850;letter-spacing:-1.1px}.logo span{color:#0b9b91}.price{font-size:13px;color:#5f6d72;background:#f2f6f4;border:1px solid #e7eeeb;border-radius:999px;padding:9px 13px}@media(max-width:600px){header{padding:0 16px;gap:8px}.logo{font-size:21px;white-space:nowrap}.header-right{min-width:0;gap:6px!important}.price{font-size:11px;padding:7px 9px;white-space:nowrap}#adminLogout{font-size:12px;padding:8px 10px;white-space:nowrap}}
main{max-width:1160px;margin:0 auto;padding:48px 24px 64px}.intro{max-width:700px;margin:0 auto 34px;text-align:center}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:800;color:var(--teal);text-transform:uppercase}.intro h1{font-size:clamp(36px,5vw,56px);line-height:1.04;letter-spacing:-2.5px;margin:13px 0 15px;font-weight:780}.intro p{font-size:16px;line-height:1.7;color:var(--muted);margin:0 auto;max-width:580px}
.layout{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:22px;align-items:start}.panel{background:var(--paper);border:1px solid var(--line);border-radius:22px;padding:28px;box-shadow:0 12px 35px rgba(27,55,48,.035)}.panelhead{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:24px}.panel h2{font-size:20px;letter-spacing:-.5px;margin:0 0 7px}.sub{color:var(--muted);font-size:13px;line-height:1.55;margin:0}.step{font-size:11px;font-weight:750;color:#66766f;background:#f2f6f3;border-radius:8px;padding:7px 9px;white-space:nowrap}
label{display:block;font-size:13px;font-weight:700;margin:20px 0 8px}label span{font-weight:450;color:#8a9598}.hint{font-size:12px;color:var(--muted);line-height:1.5;margin:7px 0 0}
input,textarea{width:100%;border:1px solid #dce4e0;border-radius:12px;padding:14px 15px;font:inherit;font-size:14px;color:var(--ink);background:#fff;outline:none;transition:border .15s,box-shadow .15s}input:focus,textarea:focus{border-color:#0b9b91;box-shadow:0 0 0 3px #0b9b9115}textarea{min-height:165px;resize:vertical;line-height:1.6}input::placeholder,textarea::placeholder{color:#a0aaa9}
button{font:inherit;border:0;border-radius:12px;padding:14px 17px;font-size:14px;font-weight:750;cursor:pointer;transition:transform .15s,opacity .15s}button:active{transform:scale(.99)}button:disabled{opacity:.45;cursor:not-allowed}.primary{width:100%;margin-top:22px;background:var(--teal);color:#fff;box-shadow:0 7px 15px #087f781e}.primary:hover{background:#066e68}.fineprint{display:flex;gap:9px;align-items:flex-start;margin-top:16px;color:#7b8988;font-size:11px;line-height:1.55}.fineprint svg{flex-shrink:0;margin-top:1px}
.previewpanel{padding:0;overflow:hidden}.previewhead{padding:25px 27px 20px;display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid var(--line)}.previewhead h2{margin:0 0 5px}.live{display:flex;align-items:center;gap:6px;color:#73827d;font-size:11px}.dot{width:7px;height:7px;border-radius:50%;background:#9ac9ad}.previewviewport{max-height:620px;overflow:auto;overscroll-behavior:contain;background:#f7f8f6;scrollbar-gutter:stable}.previewviewport:not(.ready){overflow:hidden!important;touch-action:pan-y}.previewviewport .cv{width:100%;max-width:794px;min-height:1123px;background:#fff;margin:0 auto;padding:0;box-shadow:0 2px 16px rgba(18,42,35,.06)}.previewviewport::-webkit-scrollbar{width:8px}.previewviewport::-webkit-scrollbar-thumb{background:#cbd8d2;border-radius:8px}.previewviewport::-webkit-scrollbar-track{background:#f1f5f2}.empty{min-height:485px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:32px;color:#8b9995}.emptyicon{width:58px;height:68px;border:1px solid #dce6e1;border-radius:8px;background:linear-gradient(135deg,#fff 0 78%,#eff5f2 78%);display:flex;align-items:center;justify-content:center;margin-bottom:20px;color:#0b9b91;font-size:25px}.empty strong{font-size:15px;color:#485852;margin-bottom:8px}.empty p{font-size:12px;line-height:1.6;max-width:240px;margin:0}
.cvtop{background:#113b3a;color:white;padding:42px 46px}.cvtop .cv-name{font-size:30px;line-height:1.12;letter-spacing:-.8px;margin:0 0 9px;overflow-wrap:anywhere}.cvtop p{font-size:11px;color:#d2e7e2;margin:0;line-height:1.5}.cvbody{padding:34px 46px 48px;color:#34413e;font-size:12px;line-height:1.65;overflow-wrap:anywhere}.cvbody h3{font-size:10px;color:#087f78;letter-spacing:1.5px;margin:0 0 10px;padding-bottom:5px;border-bottom:1px solid #e5ece8}.cvsection{margin:0 0 25px;break-inside:avoid}.cvbody p{margin:0 0 9px}.cvbody ul{padding-left:17px;margin:7px 0 12px}.cvbody li{margin-bottom:5px}.cvitem{margin:0 0 16px;break-inside:avoid}.cvitemhead{display:flex;justify-content:space-between;gap:12px;align-items:baseline}.cvitemhead strong,.cvitem strong{font-size:12.5px;color:#233630}.cvitemhead span{font-size:10px;color:#6f7c77;white-space:nowrap}.cvheadline{font-weight:650!important;margin-bottom:6px!important}.cvcontact{overflow-wrap:anywhere}.skilllist{display:flex;flex-wrap:wrap;gap:6px}.skillchip{display:inline-block;padding:4px 8px;background:#eef5f2;border-radius:5px;font-size:10px;color:#2c554d}.actions{display:flex;gap:10px;padding:0 27px 25px}.actions button{flex:1}.download{background:#087f78;color:#fff}.edit{background:#f0f5f2;color:#40524b}.status{padding:0 27px 18px;font-size:12px;line-height:1.5;color:var(--teal);white-space:pre-wrap}.status:empty{display:none}
footer{max-width:1160px;margin:0 auto;padding:0 24px 28px;display:flex;justify-content:space-between;gap:12px;color:#8a9593;font-size:11px}.templates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 12px}.templates:not(.show-all) .template:nth-child(n+4){display:none}.template-expand{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;margin:0 0 22px;padding:11px 14px;border:1px solid #dce8e2;border-radius:11px;background:#f7fbf9;color:#17685f;font-size:12px;font-weight:750}.template-expand:hover{background:#edf7f2}.template-expand .expand-icon{font-size:15px;line-height:1}.template{padding:9px 7px 10px;background:#fff;border:1px solid #dce4e0;border-radius:11px;text-align:left;min-width:0}.template[aria-pressed="true"]{border:2px solid var(--teal);padding:9px 7px 10px;background:#f3fbf9}.thumb{height:178px;border:1px solid #e2e8e5;background:#fff;border-radius:5px;margin-bottom:9px;padding:9px;display:block;overflow:hidden;box-shadow:0 2px 5px #17252b08;position:relative}.sample-name{font-size:6.5px;font-weight:850;line-height:1.15;color:#253631;margin:0 0 2px;white-space:nowrap}.sample-photo{width:25px;height:25px;border-radius:50%;object-fit:cover;float:right;margin:0 0 3px 5px;border:1px solid #fff;box-shadow:0 0 0 1px #dce4e0}.sample-top{display:flex;align-items:center;gap:5px;margin-bottom:4px}.sample-top .sample-photo{float:none;flex-shrink:0;margin:0}.sample-top-text{min-width:0}.sample-role{font-size:4.5px;line-height:1.2;color:#687772;margin:0 0 5px;white-space:nowrap}.sample-rule{height:2px;width:34%;background:#087f78;margin:4px 0 3px}.sample-lines{height:2px;margin:2.5px 0;background:#dce4e0;border-radius:2px}.sample-lines.short{width:62%}.sample-lines.mid{width:82%}.sample-label{font-size:4.5px;line-height:1.2;font-weight:800;letter-spacing:.35px;color:#45635a;margin:4px 0 2px}.sample-columns{display:grid;grid-template-columns:30% 1fr;gap:5px}.sample-side{background:#e8eeeb;padding:4px}.sample-main{min-width:0}.sample-dot{display:inline-block;width:3px;height:3px;border-radius:50%;background:#9eaaa4;margin-right:3px}.template[data-template="modern"] .sample-rule{background:#087f78}.template[data-template="executive"] .thumb{border-top:5px solid #1d2c45}.template[data-template="executive"] .sample-rule{background:#1d2c45}.template[data-template="editorial"] .thumb{border-top:3px solid #b58a58}.template[data-template="editorial"] .sample-rule{background:#b58a58}.template[data-template="graduate"] .thumb{background:#fbfdff}.template[data-template="graduate"] .sample-rule{background:#7b9cbd}.template[data-template="creative"] .thumb{background:#f2f0fb}.template[data-template="creative"] .sample-rule{background:#6d5ab7}.template[data-template="creative"] .sample-label{color:#6d5ab7}.template[data-template="executive"] .sample-photo{border-radius:4px}.template[data-template="editorial"] .sample-photo{border-radius:2px}.template[data-template="graduate"] .sample-photo{border:2px solid #7b9cbd}
/* Picker thumbnails mirror each template's actual layout */
.template[data-template="ats"] .thumb{padding:9px 10px;border-left:4px solid #253631;border-radius:2px}
.template[data-template="ats"] .sample-photo{display:none}.template[data-template="ats"] .sample-top{display:block;border-bottom:1px solid #cfd7d2;padding-bottom:5px}
.template[data-template="ats"] .sample-name{font-size:8px;letter-spacing:.6px}.template[data-template="ats"] .sample-label{letter-spacing:1px}
.template[data-template="modern"] .thumb{background:linear-gradient(150deg,#0d5b55 0 33%,#fff 33%);padding-top:12px}
.template[data-template="modern"] .sample-top{flex-direction:row-reverse;justify-content:space-between;margin-top:0}
.template[data-template="modern"] .sample-photo{width:31px;height:31px;border-radius:10px}
.template[data-template="modern"] .sample-top-text{margin-right:auto}.template[data-template="modern"] .sample-name{color:#fff}.template[data-template="modern"] .sample-role{color:#d9efeb}
.template[data-template="modern"] .sample-rule{margin-top:10px}
.template[data-template="executive"] .thumb{background:linear-gradient(#1d2c45 0 38%,#fff 38%);padding-top:10px;border:0;border-radius:3px}
.template[data-template="executive"] .sample-top{align-items:center}.template[data-template="executive"] .sample-name{color:#fff}.template[data-template="executive"] .sample-role{color:#d8dfeb}
.template[data-template="executive"] .sample-photo{width:29px;height:35px;border:1px solid #fff}
.template[data-template="executive"] .sample-rule{margin-top:8px}
.template[data-template="editorial"] .thumb{background:#fffaf3;text-align:center;border-top:4px solid #b58a58;padding:8px 10px}
.template[data-template="editorial"] .sample-top{flex-direction:column;gap:3px}.template[data-template="editorial"] .sample-photo{width:24px;height:24px}
.template[data-template="editorial"] .sample-name{font-family:Georgia,serif;font-size:9px;font-weight:500}.template[data-template="editorial"] .sample-role{font-size:5px}
.template[data-template="editorial"] .sample-rule{margin:4px auto;background:#b58a58}
.template[data-template="graduate"] .thumb{background:linear-gradient(90deg,#e4eef8 0 31%,#fff 31%);padding:9px 8px 8px 36%}
.template[data-template="graduate"] .sample-top{display:block;position:absolute;top:10px;left:5px;width:28%;text-align:center}
.template[data-template="graduate"] .sample-top .sample-photo{width:27px;height:27px;margin:0 auto 4px}
.template[data-template="graduate"] .sample-top-text{overflow:hidden}.template[data-template="graduate"] .sample-name{font-size:5.5px;white-space:normal}.template[data-template="graduate"] .sample-role{display:none}
.template[data-template="graduate"] .sample-rule{width:70%;margin:3px 0 5px}
.template[data-template="graduate"] .sample-label{font-size:5px}
.template[data-template="creative"] .thumb{background:#f4f0ff;padding:9px 9px 8px 12px;border-left:5px solid #6d5ab7}
.template[data-template="creative"] .sample-top{flex-direction:row-reverse;justify-content:space-between;align-items:flex-start}
.template[data-template="creative"] .sample-photo{width:32px;height:38px;border-radius:7px}
.template[data-template="creative"] .sample-name{font-size:8px;white-space:normal}.template[data-template="creative"] .sample-role{white-space:normal;font-size:5px}
.template[data-template="creative"] .sample-rule{width:45%;height:4px}
.template strong{display:block;font-size:10px;line-height:1.3}.template small{display:block;color:var(--muted);font-size:10px;line-height:1.4;margin-top:4px}.template-title{font-size:13px;font-weight:750;margin:0 0 10px}.hidden{display:none!important}.profile-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 14px;align-items:start}.email-profile,.location-profile{min-width:0}.profile-photo-row{align-items:center;gap:11px;margin-top:12px;padding:12px;border:1px solid #e2ece7;border-radius:14px;background:linear-gradient(135deg,#fbfefd,#f4f9f6)}.profile-photo-row .photo-preview{width:58px;height:58px;flex-basis:58px;border-radius:14px;background:#e9f3ef}.photo-upload{display:flex!important;align-items:center;gap:9px;margin:0!important;padding:10px 11px;border:1px solid #d8e6df;border-radius:10px;background:#fff;cursor:pointer;color:#1b5148!important}.photo-upload .upload-mark{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:8px;background:#e6f5ef;color:#087f78;font-size:19px}.photo-upload strong,.photo-upload small{display:block}.photo-upload strong{font-size:12px}.photo-upload small{margin-top:3px;color:#75847e;font-size:10px;line-height:1.35}.visually-hidden-file{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.languages-field{margin-top:15px;padding-top:14px;border-top:1px solid #e7eeea}.languages-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.languages-heading label{margin:0 0 8px}.languages-note{font-size:10px;color:#7b8983}.language-rows{display:grid;gap:8px}.language-row{display:grid;grid-template-columns:minmax(0,1fr) 108px 32px;gap:6px;align-items:center}.language-row input,.language-row select{width:100%;min-width:0;margin:0;padding:10px 9px;border:1px solid #d8e4de;border-radius:9px;background:#fff;font-size:12px}.language-row select{padding-right:4px;color:#354a43}.remove-language{width:32px;height:36px;border:1px solid #e7dedd;border-radius:9px;background:#fff7f6;color:#9d5149;font-size:17px;cursor:pointer}.add-language{display:inline-flex;align-items:center;gap:6px;margin-top:9px;padding:8px 11px;border:1px solid #cfe5dc;border-radius:9px;background:#eff8f4;color:#087f78;font-size:12px;font-weight:750;cursor:pointer}.add-language span{font-size:16px}@media(max-width:600px){.profile-fields{grid-template-columns:1fr;gap:15px}.language-row{grid-template-columns:minmax(0,1fr) 104px 32px}.profile-photo-row{max-width:100%}}.photo-preview{width:64px;height:64px;flex:0 0 64px;border-radius:50%;background:#f0f5f2;border:1px dashed #cbd8d2;display:flex;align-items:center;justify-content:center;color:#6c7d75;font-size:22px;overflow:hidden}.photo-preview img{width:100%;height:100%;object-fit:cover}.photo-control{min-width:0;flex:1}.photo-control label{margin:0 0 7px}.photo-control input{padding:10px;font-size:12px}.cvtopline{display:flex;align-items:center;gap:18px}.cvphoto{width:74px;height:74px;object-fit:cover;border-radius:50%;border:2px solid #ffffff55;flex-shrink:0}.cv.cv-ats .cvphoto{border-color:#d9dfdc}@media(max-width:480px){.profile-fields{grid-template-columns:1fr}}
.cv.cv-ats .cvtop{background:#fff;color:#17252b;border-bottom:2px solid #17252b}.cv.cv-ats .cvtop p{color:#4e5a57}.cv.cv-ats .cvbody h3{color:#17252b;border-bottom:1px solid #d9dfdc;padding-bottom:4px;letter-spacing:1px}.cv.cv-ats .skillchip{background:#f0f2f1;color:#17252b}.cv.cv-executive .cvtop{background:#1d2c45}.cv.cv-executive .cvbody h3{color:#1d2c45}.cv.cv-executive .skillchip{background:#edf0f5;color:#1d2c45}.cv.cv-modern .cvtop{background:linear-gradient(120deg,#113b3a,#087f78)}.cv.cv-editorial .cvtop{background:#fff;color:#2a2926;border-bottom:3px solid #b58a58}.cv.cv-editorial .cvtop p{color:#61594f}.cv.cv-editorial .cvbody h3{color:#9a703d;border-bottom:1px solid #e9dfd2}.cv.cv-editorial .skillchip{background:#f5eee5;color:#665039}.cv.cv-graduate .cvtop{background:#eaf2fa;color:#20344a;border-bottom:4px solid #7b9cbd}.cv.cv-graduate .cvtop p{color:#42566a}.cv.cv-graduate .cvbody h3{color:#42688e;border-bottom:1px solid #dce7f1}.cv.cv-graduate .skillchip{background:#edf4fa;color:#355979}.cv.cv-creative .cvtop{background:#30274f}.cv.cv-creative .cvbody h3{color:#6d5ab7;border-bottom:1px solid #e2dcf4}.cv.cv-creative .skillchip{background:#f0ecfb;color:#55428f}

/* Keep all picker preview content inside its miniature page */
.template .thumb{isolation:isolate;min-width:0}
.template .sample-top{min-width:0;max-width:100%;overflow:hidden}
.template .sample-top-text{min-width:0;max-width:100%;overflow:hidden}
.template .sample-name{font-size:6px;line-height:1.12;letter-spacing:.15px;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.template .sample-role{font-size:4.2px;line-height:1.2;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.template .sample-label{font-size:4px;line-height:1.2;letter-spacing:.25px;overflow-wrap:anywhere}
.template .sample-photo{width:23px;height:23px;object-fit:cover;flex:0 0 23px}
.template[data-template="modern"] .sample-top{flex-direction:row;justify-content:flex-start;gap:4px}
.template[data-template="modern"] .sample-top-text{flex:1;min-width:0;margin:0;overflow:hidden}
.template[data-template="modern"] .sample-name{font-size:5.2px;white-space:nowrap;letter-spacing:0}
.template[data-template="modern"] .sample-role{font-size:3.8px;white-space:nowrap}
.template[data-template="modern"] .sample-photo{width:23px;height:23px;flex:0 0 23px;border-radius:7px}
.template[data-template="executive"] .sample-top-text{flex:1;min-width:0;overflow:hidden}
.template[data-template="executive"] .sample-name{font-size:5.2px;white-space:nowrap;letter-spacing:0}
.template[data-template="executive"] .sample-role{font-size:3.8px}
.template[data-template="executive"] .sample-photo{width:23px;height:27px;flex:0 0 23px}
.template[data-template="editorial"] .sample-name{font-size:7px;white-space:nowrap;max-width:100%}
.template[data-template="graduate"] .sample-top{overflow:hidden}
.template[data-template="graduate"] .sample-name{font-size:4.5px;line-height:1.1;white-space:normal;overflow-wrap:anywhere}
.template[data-template="creative"] .sample-top{flex-direction:row;justify-content:space-between;gap:3px}
.template[data-template="creative"] .sample-top-text{flex:1;min-width:0;overflow:hidden}
.template[data-template="creative"] .sample-name{font-size:5.8px;line-height:1.1;white-space:normal;overflow-wrap:anywhere}
.template[data-template="creative"] .sample-role{font-size:3.8px;white-space:normal;overflow-wrap:anywhere}
.template[data-template="creative"] .sample-photo{width:23px;height:27px;flex:0 0 23px;border-radius:6px}

/* Make each CV template structurally distinct, not just recoloured */
.cv.cv-ats .cvtop{padding:32px 42px 22px;border-bottom:2px solid #17252b}
.cv.cv-ats .cvtopline{align-items:flex-start}.cv.cv-ats .cvtop .cv-name{font-size:27px;text-transform:uppercase;letter-spacing:1px}
.cv.cv-modern .cvtop{padding:44px 42px 38px;border-radius:0 0 24px 24px}
.cv.cv-modern .cvtopline{flex-direction:row-reverse;justify-content:space-between}.cv.cv-modern .cvphoto{width:88px;height:88px;border-radius:18px;border:3px solid #ffffff70}
.cv.cv-modern .cvbody{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:26px;padding-top:30px}
.cv.cv-modern .cvsection:first-child,.cv.cv-modern .cvsection:nth-child(2){grid-column:1 / -1}
.cv.cv-executive .cvtop{padding:38px 38px;background:#1d2c45}
.cv.cv-executive .cvtopline{align-items:center}.cv.cv-executive .cvphoto{width:92px;height:108px;border-radius:5px;object-fit:cover}
.cv.cv-executive .cvbody{display:grid;grid-template-columns:32% minmax(0,1fr);gap:0 24px;padding:0 38px 42px}
.cv.cv-executive .cvsection:first-child{grid-column:1 / -1;margin:0 -38px 24px;padding:22px 38px;background:#f1f3f7}
.cv.cv-executive .cvsection:nth-child(2){grid-column:2;grid-row:2 / span 3}
.cv.cv-executive .cvsection:nth-child(3),.cv.cv-executive .cvsection:nth-child(4),.cv.cv-executive .cvsection:nth-child(5),.cv.cv-executive .cvsection:nth-child(6),.cv.cv-executive .cvsection:nth-child(7){grid-column:1}
.cv.cv-editorial .cvtop{text-align:center;padding:42px 42px 30px;border-bottom:1px solid #b58a58}
.cv.cv-editorial .cvtopline{flex-direction:column;gap:10px}.cv.cv-editorial .cvphoto{width:76px;height:76px;border-radius:50%}
.cv.cv-editorial .cvtop .cv-name{font-family:Georgia,serif;font-size:34px;font-weight:500;letter-spacing:-.5px}
.cv.cv-editorial .cvbody{font-family:Georgia,serif;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 26px}
.cv.cv-editorial .cvsection:first-child,.cv.cv-editorial .cvsection:nth-child(2){grid-column:1 / -1}
.cv.cv-graduate .cvtop{padding:30px 38px;background:#eaf2fa;position:relative}
.cv.cv-graduate .cvtopline{align-items:center}.cv.cv-graduate .cvphoto{width:82px;height:82px;border-radius:50%;border:4px solid white}
.cv.cv-graduate .cvbody{display:grid;grid-template-columns:34% minmax(0,1fr);gap:0 22px;padding:0 38px 40px}
.cv.cv-graduate .cvsection:first-child{grid-column:1 / -1;margin:0 -38px 24px;padding:22px 38px;background:#f5f9fd}
.cv.cv-graduate .cvsection:nth-child(2){grid-column:2;grid-row:2 / span 3}
.cv.cv-graduate .cvsection:nth-child(3),.cv.cv-graduate .cvsection:nth-child(4),.cv.cv-graduate .cvsection:nth-child(5),.cv.cv-graduate .cvsection:nth-child(6),.cv.cv-graduate .cvsection:nth-child(7){grid-column:1}
.cv.cv-creative .cvtop{background:#30274f;padding:28px 32px}
.cv.cv-creative .cvtopline{align-items:flex-start}.cv.cv-creative .cvphoto{width:96px;height:112px;border-radius:10px;order:2}
.cv.cv-creative .cvtop .cv-name{font-size:32px;letter-spacing:-1.2px}
.cv.cv-creative .cvbody{display:grid;grid-template-columns:36% minmax(0,1fr);gap:0 22px;padding:28px 32px 42px}
.cv.cv-creative .cvsection:first-child{grid-column:1 / -1;border-left:4px solid #6d5ab7;padding-left:12px}
.cv.cv-creative .cvsection:nth-child(2){grid-column:2;grid-row:2 / span 3}
.cv.cv-creative .cvsection:nth-child(3),.cv.cv-creative .cvsection:nth-child(4),.cv.cv-creative .cvsection:nth-child(5),.cv.cv-creative .cvsection:nth-child(6),.cv.cv-creative .cvsection:nth-child(7){grid-column:1}
@media(max-width:520px){.cv.cv-modern .cvbody,.cv.cv-editorial .cvbody{grid-template-columns:1fr}.cv.cv-modern .cvsection:first-child,.cv.cv-modern .cvsection:nth-child(2),.cv.cv-editorial .cvsection:first-child,.cv.cv-editorial .cvsection:nth-child(2){grid-column:1}.cv.cv-executive .cvbody,.cv.cv-graduate .cvbody,.cv.cv-creative .cvbody{grid-template-columns:1fr}.cv.cv-executive .cvsection,.cv.cv-graduate .cvsection,.cv.cv-creative .cvsection{grid-column:1!important;grid-row:auto!important}.cv.cv-executive .cvsection:first-child,.cv.cv-graduate .cvsection:first-child{margin:0 0 20px;padding:18px}.cv.cv-modern .cvtopline{flex-direction:row-reverse}.cv.cv-editorial .cvtopline{flex-direction:column}}

@media(max-width:520px){.templates{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.template{padding:7px 5px}.template[aria-pressed="true"]{padding:7px 5px}.template strong{font-size:9px}.template small{font-size:9px}.thumb{height:148px;padding:6px}.sample-photo{width:20px;height:20px}.sample-name{font-size:7px}}
@media(max-width:800px){main{padding:34px 16px 44px}.intro{text-align:left;margin-bottom:25px}.intro h1{letter-spacing:-1.7px}.layout{grid-template-columns:1fr;gap:16px}.panel{padding:21px;border-radius:18px}.previewpanel{padding:0}.previewhead{padding:21px}.cvtop{padding:25px}.cvbody{padding:23px}.actions{padding:0 20px 20px}.status{padding:0 20px 17px}header{height:66px;padding:0 18px}.logo{font-size:21px}.price{font-size:11px;padding:8px 10px}footer{padding:0 18px 24px;flex-direction:column;gap:5px}}
@page{size:A4;margin:0} @media print{header,.intro,.form,.previewhead,.actions,footer,.status{display:none!important}body,main{background:#fff;padding:0!important;margin:0!important;max-width:none!important}.layout{display:block}.previewpanel{border:0;border-radius:0;box-shadow:none;overflow:visible}.cv{width:210mm;max-width:none;min-height:297mm;margin:0;box-shadow:none;page-break-after:always}.cvtop,.cvbody{print-color-adjust:exact;-webkit-print-color-adjust:exact}.cvtop{padding:13mm 14mm 10mm}.cvbody{padding:10mm 14mm 14mm;font-size:10.5pt}.cvbody h3{font-size:9pt}.cvphoto{width:22mm;height:22mm}}
@media (max-width:800px){.previewviewport{max-height:520px}.empty{min-height:300px;padding:26px 20px}.emptyicon{margin-bottom:14px}}

/* Polished visual pass */
:root{--teal:#087f78;--ink:#17252b;--muted:#718078;--line:#e3eae6}
html{scroll-behavior:smooth}
body{background:radial-gradient(ellipse at 50% 0%,#eaf5f1 0,transparent 520px),#f7f8f6;color:var(--ink)}
header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.9);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);height:70px;border-bottom-color:#e4ebe7}
.logo{font-size:24px;letter-spacing:-1.25px}
.price{background:#eef8f5;border-color:#d8eee7;color:#17685f;font-weight:700}
main{padding-top:46px}
.intro{max-width:740px;margin-bottom:25px}
.eyebrow{display:inline-flex;align-items:center;gap:8px;background:#e8f5f0;border:1px solid #d7ece4;border-radius:999px;padding:8px 12px;letter-spacing:1.5px}
.intro h1{margin-top:18px;font-size:clamp(38px,5.4vw,62px);line-height:1.01;letter-spacing:-3px;color:#142b2a}
.intro p{font-size:16px;max-width:570px;line-height:1.75}
.trustrow{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:10px 24px;margin:0 auto 30px;color:#62716b;font-size:12px;font-weight:600}
.trustrow span{display:inline-flex;align-items:center;gap:7px}
.trustrow b{display:inline-grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#dff2eb;color:#087f78;font-size:11px}
.layout{gap:20px}
.panel{border-color:#e0e8e3;border-radius:20px;box-shadow:0 16px 44px rgba(22,55,43,.055)}
.form{padding:30px}
.panelhead{margin-bottom:20px}
.panel h2{font-size:21px;color:#19302c}
.step{background:#eaf5f0;color:#17685f}
label{color:#253c35;margin-top:18px}
input,textarea{border-color:#d9e3dd;border-radius:11px;background:#fff;transition:border-color .18s,box-shadow .18s}
input:focus,textarea:focus{border-color:#0b9b91;box-shadow:0 0 0 4px #0b9b9118}
input[type=file]{font-size:12px;padding:10px;background:#fbfdfc}
textarea{min-height:140px}
button{transition:transform .16s ease,box-shadow .16s ease,background .16s ease}
button:focus-visible,input:focus-visible,textarea:focus-visible,.template:focus-visible{outline:3px solid #0b9b9160;outline-offset:2px}
.primary,.download{background:linear-gradient(135deg,#0a8b80,#08746d);box-shadow:0 8px 18px #087f7826}
.primary:hover,.download:hover{background:linear-gradient(135deg,#08796f,#065f59);box-shadow:0 10px 22px #087f7830}
.previewpanel{background:#fff}
.previewhead{background:linear-gradient(180deg,#fff,#fbfdfc);padding:24px 25px 19px}
.previewhead h2{font-size:18px}
.live{background:#f0f7f3;padding:7px 9px;border-radius:999px;font-weight:650;white-space:nowrap}
.previewviewport{max-height:600px;border-top:1px solid #edf1ee;background:#eef2ef}
.previewviewport .cv{box-shadow:0 5px 22px rgba(24,45,37,.1)}
.actions{padding-top:16px}
.actions button{min-height:48px}
.edit{border:1px solid #e1e9e4}
footer{color:#87938d}
@media(max-width:800px){
 main{padding:30px 14px 38px}
 .intro{margin-bottom:20px}
 .intro h1{font-size:clamp(36px,9vw,48px);letter-spacing:-2px;line-height:1.04}
 .intro p{font-size:14px;line-height:1.65}
 .trustrow{justify-content:flex-start;gap:8px;margin-bottom:20px;font-size:11px}
 .trustrow span{background:#fff;border:1px solid #e4ebe6;border-radius:999px;padding:7px 9px}
 .layout{gap:14px}
 .form{padding:20px}
 .previewhead{padding:19px 18px}
 .previewviewport{max-height:500px}
 .actions{padding:13px 16px 17px;gap:8px}
 .actions button{padding:13px 10px;font-size:12px}
}
@media(max-width:380px){
 .price{font-size:10px;padding:7px 8px}
 .logo{font-size:21px}
 .profile-fields{grid-template-columns:1fr}
 .panelhead{gap:7px}
 .step{font-size:10px;padding:6px}
 .trustrow{gap:6px}
 .trustrow span{font-size:10px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important}}


/* Refined hero and benefit chips */
.intro{max-width:760px;margin:0 auto 22px;text-align:left;padding:0 4px}
.intro .eyebrow{display:inline-flex;align-items:center;gap:8px;background:transparent;border:0;border-radius:0;padding:0;color:#0a8178;font-size:10px;letter-spacing:2.1px;font-weight:800}
.eyebrow-mark{display:inline-grid;place-items:center;width:23px;height:23px;border-radius:7px;background:#dff2ec;color:#087f78;font-size:15px;letter-spacing:0}
.intro h1{font-size:clamp(42px,6vw,68px);line-height:.99;letter-spacing:-3.2px;margin:19px 0 17px;font-weight:820;color:#142b2a}
.intro h1 span{color:#0b8c80}
.intro p{font-size:16px;line-height:1.7;color:#6d7b75;margin:0;max-width:590px}
.trustrow{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;gap:9px;margin:0 0 28px;padding:0 4px;color:#53645e;font-size:12px;font-weight:650}
.trustrow span{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.82);border:1px solid #dfe9e3;border-radius:12px;padding:11px 14px;box-shadow:0 2px 5px rgba(23,55,43,.025)}
.trustrow b{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:7px;background:#e2f3ed;color:#087f78;font-size:12px}
@media(max-width:800px){
 .intro{margin-bottom:19px;padding:0 1px;text-align:left}
 .intro .eyebrow{font-size:9px;letter-spacing:1.65px}
 .eyebrow-mark{width:21px;height:21px}
 .intro h1{font-size:clamp(42px,10vw,54px);line-height:1.02;letter-spacing:-2.2px;margin:18px 0 14px}
 .intro p{font-size:15px;line-height:1.65}
 .trustrow{gap:8px;margin-bottom:19px;padding:0}
 .trustrow span{border-radius:10px;padding:9px 10px;font-size:11px;gap:7px}
 .trustrow b{width:18px;height:18px;border-radius:6px}
}
@media(max-width:380px){
 .intro h1{font-size:40px;letter-spacing:-1.8px}
 .trustrow span{font-size:10px;padding:8px}
}


/* CVReady refinement pass: cleaner mobile flow and clearer template previews */
.template{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:10px;border-radius:14px;transition:border-color .18s,box-shadow .18s,transform .18s}
.template:hover{border-color:#9abdb3;box-shadow:0 6px 18px rgba(17,59,58,.08);transform:translateY(-1px)}
.template[aria-pressed="true"]{border:2px solid var(--teal);padding:9px;box-shadow:0 0 0 3px #087f7810;background:#f5fbf9}
.template .thumb{height:184px;border-radius:8px;margin-bottom:12px;box-shadow:none}
.template strong{font-size:12px;letter-spacing:-.1px}
.template small{font-size:11px;line-height:1.4;min-height:30px}
.template[data-template="ats"] .thumb{background:#fff;border-left:5px solid #253631;border-top:0;padding:12px 10px}
.template[data-template="ats"] .sample-top{border-bottom:1px solid #dce4e0;padding-bottom:9px}
.template[data-template="ats"] .sample-name{font-size:8px;letter-spacing:.5px}
.template[data-template="ats"] .sample-label{color:#253631;font-size:5px}
.template[data-template="modern"] .thumb{background:#fff;padding:0;border:1px solid #dfe9e5}
.template[data-template="modern"] .sample-top{background:#0d5b55;padding:12px 8px;margin:0;min-height:57px}
.template[data-template="modern"] .sample-name{color:#fff;font-size:6px}
.template[data-template="modern"] .sample-role{color:#d9efeb}
.template[data-template="modern"] .sample-rule{margin:10px 8px 5px}
.template[data-template="modern"] .sample-label,.template[data-template="modern"] .sample-lines{margin-left:8px;margin-right:8px}
.template[data-template="executive"] .thumb{background:#fff;border:0;border-radius:6px;padding:0}
.template[data-template="executive"] .sample-top{background:#1d2c45;padding:13px 8px;min-height:65px;margin:0}
.template[data-template="executive"] .sample-name{font-size:6.5px;color:#fff}
.template[data-template="executive"] .sample-role{color:#d8dfeb}
.template[data-template="executive"] .sample-rule{background:#b9c8df;margin:10px 8px 5px}
.template[data-template="executive"] .sample-label,.template[data-template="executive"] .sample-lines{margin-left:8px;margin-right:8px}
.template[data-template="editorial"] .thumb{background:#fffaf3;border:1px solid #eee2d2;border-top:4px solid #b58a58;padding:12px 10px}
.template[data-template="editorial"] .sample-name{font-family:Georgia,serif;font-size:9px;letter-spacing:0}
.template[data-template="editorial"] .sample-label{color:#9a703d}
.template[data-template="graduate"] .thumb{background:linear-gradient(90deg,#e4eef8 0 30%,#fff 30%);border:1px solid #d9e4ef;padding:12px 8px 8px 36%}
.template[data-template="graduate"] .sample-top{top:13px;left:5px}
.template[data-template="graduate"] .sample-label{color:#42688e}
.template[data-template="creative"] .thumb{background:#f4f0ff;border:1px solid #e2dcf4;border-left:5px solid #6d5ab7;padding:12px 9px}
.template[data-template="creative"] .sample-label{color:#6d5ab7}
@media(max-width:800px){
 main{padding:26px 14px 34px}
 .intro h1{font-size:clamp(35px,9vw,46px);letter-spacing:-1.8px;line-height:1.04}
 .intro p{font-size:15px;line-height:1.6}
 .trustrow{justify-content:flex-start;gap:8px 14px;margin-bottom:20px}
 .trustrow span{font-size:11px}
 .layout{grid-template-columns:minmax(0,1fr);gap:16px}
 .panel{padding:20px;border-radius:18px}
 .previewpanel{padding:0}
 .previewhead{padding:19px 20px 16px}
 .previewviewport{max-height:460px;scrollbar-gutter:auto}
 .actions{padding:0 16px 18px;gap:8px}
 .actions button{padding:13px 10px;font-size:13px}
 .templates{gap:8px}
 .template{padding:7px;border-radius:11px}
 .template[aria-pressed="true"]{padding:6px}
 .template .thumb{height:148px;margin-bottom:8px}
 .template strong{font-size:11px}
 .template small{font-size:10px;min-height:28px}
 footer{padding:20px 14px 26px;display:block;text-align:center}
 footer nav{gap:clamp(10px,3vw,18px)!important;overflow:visible!important;flex-wrap:wrap!important;white-space:normal!important}
}
@media(max-width:380px){
 .panel{padding:16px}
 .previewpanel{padding:0}
 .templates{gap:6px}
 .template{padding:6px}
 .template[aria-pressed="true"]{padding:5px}
 .template .thumb{height:126px;padding-left:6px;padding-right:6px}
 .template small{font-size:9px}
 .profile-fields{grid-template-columns:1fr}
 .actions{flex-direction:column}
}
@media(prefers-reduced-motion:reduce){.template{transition:none}}


/* Polished template picker: compact cards, calm typography, clearer selection */
.templates{gap:12px;margin-top:12px;align-items:stretch}
.template{
  appearance:none;color:#243632;background:#fff;border:1px solid #e0e8e4;
  border-radius:14px;padding:9px;min-width:0;text-align:left;
  box-shadow:0 2px 7px rgba(24,48,40,.035);overflow:hidden;
}
.template strong{color:#243632;font-size:12px;font-weight:750;line-height:1.25;margin:1px 0 3px}
.template small{color:#7a8983;font-size:10px;line-height:1.35;min-height:0;margin:0}
.template .thumb{
  height:136px;margin:0 0 10px;border-radius:7px;overflow:hidden;
  box-shadow:0 1px 4px rgba(20,43,42,.06);background:#fff;
}
.template[aria-pressed="true"]{
  border:1.5px solid #16877d;padding:8.5px;background:#f5fbf9;
  box-shadow:0 0 0 2px rgba(22,135,125,.09);
}
.template:hover{border-color:#a9c9c1;box-shadow:0 4px 12px rgba(17,59,58,.07);transform:translateY(-1px)}
.template:focus-visible{outline:3px solid #0b9b9145;outline-offset:2px}
@media(max-width:800px){
  .templates{gap:9px;margin-top:10px}
  .template{padding:7px;border-radius:12px}
  .template[aria-pressed="true"]{padding:6.5px}
  .template .thumb{height:112px;margin-bottom:8px}
  .template strong{font-size:10px;line-height:1.25;letter-spacing:0}
  .template small{font-size:9px;line-height:1.3}
}
@media(max-width:380px){
  .templates{gap:7px}
  .template{padding:6px}
  .template[aria-pressed="true"]{padding:5.5px}
  .template .thumb{height:100px;padding-left:6px;padding-right:6px}
  .template strong{font-size:9px}
  .template small{font-size:8px}
}


/* Rebuild thumbnail internals so portrait, name and sections stay proportionate */
.template .thumb{
  box-sizing:border-box;position:relative;isolation:isolate;display:block;
  height:112px;min-height:112px;padding:9px 8px!important;margin:0 0 9px;
  overflow:hidden;border:1px solid #e1e8e4;border-radius:7px;
  background:#fff;text-align:left;box-shadow:0 1px 3px rgba(20,43,42,.05);
}
.template .sample-top,
.template[data-template="graduate"] .sample-top,
.template[data-template="editorial"] .sample-top,
.template[data-template="creative"] .sample-top{
  position:static!important;display:flex!important;flex-direction:row!important;
  justify-content:flex-start!important;align-items:center!important;text-align:left!important;
  gap:5px!important;width:100%!important;max-width:100%;min-width:0;
  min-height:0!important;margin:0 0 6px!important;padding:0 0 5px!important;
  overflow:hidden;border:0;border-bottom:1px solid #e5ebe8!important;background:transparent!important;
}
.template .sample-photo,
.template[data-template="graduate"] .sample-top .sample-photo{
  display:block!important;position:static!important;float:none!important;
  width:19px!important;height:19px!important;min-width:19px;flex:0 0 19px!important;
  object-fit:cover;border-radius:5px!important;margin:0!important;border:1px solid #fff;
  box-shadow:0 0 0 1px #dce4e0;
}
.template .sample-top-text{
  display:block;flex:1 1 auto!important;width:auto!important;min-width:0!important;
  max-width:100%;margin:0!important;overflow:hidden;text-align:left;
}
.template .sample-name,
.template[data-template="editorial"] .sample-name,
.template[data-template="graduate"] .sample-name,
.template[data-template="creative"] .sample-name{
  display:block;max-width:100%;font-family:inherit!important;font-size:5.5px!important;
  font-weight:800!important;line-height:1.15!important;letter-spacing:.15px!important;
  white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal;
  color:#253631;
}
.template .sample-role,
.template[data-template="graduate"] .sample-role,
.template[data-template="creative"] .sample-role{
  display:block!important;font-size:3.7px!important;line-height:1.2!important;
  font-weight:650;letter-spacing:.15px;color:#71807a;white-space:nowrap!important;
  overflow:hidden;text-overflow:ellipsis;margin:2px 0 0!important;
}
.template .sample-rule{height:2px!important;width:30%!important;margin:5px 0 4px!important;border-radius:2px}
.template .sample-label,
.template[data-template="graduate"] .sample-label{
  display:block;font-size:4.3px!important;line-height:1.2!important;font-weight:800!important;
  letter-spacing:.55px!important;margin:5px 0 3px!important;color:#496158;white-space:nowrap;overflow:hidden;
}
.template .sample-lines{height:2px!important;margin:2px 0!important;border-radius:2px;background:#dce4e0}
.template .sample-lines.mid{width:82%}.template .sample-lines.short{width:58%}
.template[data-template="ats"] .thumb{border-left:4px solid #263631;border-radius:3px;padding:9px 8px 8px!important}
.template[data-template="ats"] .sample-photo{display:none!important}
.template[data-template="ats"] .sample-top{display:block!important;border-bottom:1px solid #dce4e0!important;padding-bottom:5px!important}
.template[data-template="ats"] .sample-name{font-size:6.5px!important;letter-spacing:.5px!important}
.template[data-template="ats"] .sample-role{font-size:3.7px!important}
.template[data-template="modern"] .thumb{background:#fff;border:1px solid #dce8e4;padding:0!important}
.template[data-template="modern"] .sample-top{background:#0d5b55!important;padding:8px 7px 6px!important;margin:0 0 5px!important;border:0!important;min-height:0!important}
.template[data-template="modern"] .sample-name{color:#fff!important}
.template[data-template="modern"] .sample-role{color:#d9efeb!important}
.template[data-template="modern"] .sample-rule,.template[data-template="modern"] .sample-label,.template[data-template="modern"] .sample-lines{margin-left:7px!important;margin-right:7px!important}
.template[data-template="modern"] .sample-rule{margin-top:6px!important}
.template[data-template="executive"] .thumb{background:#fff;border:1px solid #dce2ec;border-radius:5px;padding:0!important}
.template[data-template="executive"] .sample-top{background:#1d2c45!important;padding:8px 7px 6px!important;margin:0 0 5px!important;border:0!important}
.template[data-template="executive"] .sample-name{color:#fff!important}
.template[data-template="executive"] .sample-role{color:#d8dfeb!important}
.template[data-template="executive"] .sample-rule{background:#b9c8df!important}
.template[data-template="executive"] .sample-rule,.template[data-template="executive"] .sample-label,.template[data-template="executive"] .sample-lines{margin-left:7px!important;margin-right:7px!important}
.template[data-template="editorial"] .thumb{background:#fffaf3;border:1px solid #eee2d2;border-top:3px solid #b58a58;border-radius:5px;padding:8px!important}
.template[data-template="editorial"] .sample-top{border-bottom:1px solid #eadfce!important}
.template[data-template="editorial"] .sample-name{font-family:Georgia,serif!important;font-size:6px!important;font-weight:500!important;color:#39352e}
.template[data-template="editorial"] .sample-label{color:#9a703d!important;text-align:left}
.template[data-template="editorial"] .sample-rule{background:#b58a58!important;margin-left:0!important}
.template[data-template="graduate"] .thumb{background:linear-gradient(90deg,#e4eef8 0 27%,#fff 27%);border:1px solid #d9e4ef;padding:8px 7px 7px 31%!important}
.template[data-template="graduate"] .sample-top{margin-left:-35%!important;width:35%!important;float:left!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important;align-items:center!important;text-align:center!important;padding:0 3px 0 0!important;border:0!important;background:transparent!important}
.template[data-template="graduate"] .sample-photo{width:18px!important;height:18px!important;min-width:18px;flex:0 0 18px!important;margin:0 auto 3px!important}
.template[data-template="graduate"] .sample-top-text{width:100%!important;flex:0 1 auto!important;text-align:center!important}
.template[data-template="graduate"] .sample-name{font-size:4px!important;white-space:normal!important;overflow-wrap:anywhere!important}
.template[data-template="graduate"] .sample-role{display:none!important}
.template[data-template="graduate"] .sample-rule{background:#7b9cbd!important;width:70%!important;margin:4px 0 4px!important}
.template[data-template="graduate"] .sample-label{color:#42688e!important}
.template[data-template="creative"] .thumb{background:#f4f0ff;border:1px solid #e2dcf4;border-left:4px solid #6d5ab7;border-radius:6px;padding:8px!important}
.template[data-template="creative"] .sample-photo{border-radius:5px!important}
.template[data-template="creative"] .sample-name{color:#3d315f!important}
.template[data-template="creative"] .sample-label{color:#6d5ab7!important}
.template[data-template="creative"] .sample-rule{background:#6d5ab7!important;height:3px!important;width:38%!important}
.template strong{font-size:11px;line-height:1.25;letter-spacing:0;color:#243632;margin:0 0 3px}
.template small{font-size:9.5px;line-height:1.3;color:#7a8983;min-height:0;margin:0}
@media(max-width:800px){
 .template .thumb{height:112px;min-height:112px;margin-bottom:8px}
 .template strong{font-size:10px;line-height:1.25}
 .template small{font-size:9px;line-height:1.3}
}
@media(max-width:380px){
 .template .thumb{height:98px;min-height:98px}
 .template .sample-top{gap:3px!important}
 .template .sample-photo{width:16px!important;height:16px!important;min-width:16px;flex-basis:16px!important}
 .template strong{font-size:9px}
 .template small{font-size:8px}
}


/* Nudge the Graduate thumbnail portrait and caption left; keep the name readable */
.template[data-template="graduate"] .thumb{padding-left:31%!important}
.template[data-template="graduate"] .sample-top{
  position:absolute!important;top:7px!important;left:1px!important;
  margin:0!important;width:27%!important;float:none!important;
  display:flex!important;flex-direction:column!important;align-items:center!important;
  justify-content:flex-start!important;text-align:center!important;
  padding:0 2px!important;gap:3px!important;overflow:visible!important;
}
.template[data-template="graduate"] .sample-top .sample-photo{
  margin:0 auto!important;transform:translateX(-3px);
}
.template[data-template="graduate"] .sample-top-text{
  width:100%!important;max-width:100%!important;flex:0 1 auto!important;
  margin:0!important;text-align:center!important;overflow:visible!important;
}
.template[data-template="graduate"] .sample-name{
  font-size:3.8px!important;line-height:1.15!important;white-space:normal!important;
  overflow-wrap:normal!important;word-break:normal!important;text-overflow:clip!important;
  text-align:center!important;letter-spacing:0!important;
}


/* CVReady template refresh: editorial-quality layouts, consistent rhythm and reliable PDF output */
.cv{color:#24312f;box-shadow:0 8px 28px rgba(20,38,33,.08);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;-webkit-print-color-adjust:exact;print-color-adjust:exact}
.cvtop{padding:42px 44px 34px}
.cvtopline{gap:20px;align-items:center}
.cvphoto{width:82px;height:82px;object-fit:cover;flex:0 0 82px}
.cvtop .cv-name{font-size:31px;line-height:1.08;letter-spacing:-1px;font-weight:780;margin:0 0 8px}
.cvtop .cvheadline{font-size:12px;line-height:1.45;letter-spacing:.1px}
.cvtop .cvcontact{font-size:10px;line-height:1.7;overflow-wrap:anywhere}
.cvbody{padding:32px 44px 44px;font-size:11.5px;line-height:1.62}
.cvbody h3{font-size:9px;font-weight:800;letter-spacing:1.35px;line-height:1.3;margin:0 0 12px;padding:0 0 7px}
.cvsection{margin:0 0 22px;min-width:0}
.cvitem{margin:0 0 14px;min-width:0}
.cvitemhead{gap:14px;align-items:flex-start}
.cvitemhead strong,.cvitem strong{font-size:11.5px;line-height:1.45;font-weight:750}
.cvitemhead span{font-size:9px;line-height:1.5;white-space:normal;text-align:right;flex:0 0 auto;max-width:36%}
.cvbody p{margin:0 0 8px}
.cvbody ul{padding-left:15px;margin:6px 0 10px}
.cvbody li{padding-left:2px;margin:0 0 4px}
.skilllist{gap:5px}
.skillchip{padding:4px 7px;border-radius:4px;font-size:9px;line-height:1.3}
.cv.cv-ats{box-shadow:none}
.cv.cv-ats .cvtop{padding:36px 44px 24px;background:#fff;color:#17252b;border-bottom:2px solid #263b38}
.cv.cv-ats .cvtop .cv-name{font-size:29px;letter-spacing:-.6px}
.cv.cv-ats .cvtopline{align-items:flex-start}
.cv.cv-ats .cvphoto{width:66px;height:66px;flex-basis:66px;border-radius:4px;border:0}
.cv.cv-ats .cvbody{padding-top:26px}
.cv.cv-ats .cvbody h3{font-size:9px;letter-spacing:1.1px;border-bottom:1px solid #d9dfdc;padding-bottom:6px}
.cv.cv-ats .cvsection{margin-bottom:18px}
.cv.cv-modern .cvtop{background:#123f3b;padding:40px 44px 34px}
.cv.cv-modern .cvbody{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:0 28px;padding-top:28px}
.cv.cv-modern .cvsection{min-width:0}
.cv.cv-modern .cvsection:nth-child(1),.cv.cv-modern .cvsection:nth-child(2){grid-column:1/-1}
.cv.cv-modern .cvsection:nth-child(3){grid-column:1;grid-row:auto}
.cv.cv-modern .cvsection:nth-child(4){grid-column:2}
.cv.cv-modern .cvsection:nth-child(5){grid-column:2}
.cv.cv-modern .cvsection:nth-child(6){grid-column:2}
.cv.cv-modern .cvsection:nth-child(7){grid-column:2}
.cv.cv-modern .cvbody h3{color:#087f78;border-bottom-color:#dcebe7}
.cv.cv-executive .cvtop{padding:40px 44px;background:#172b46}
.cv.cv-executive .cvtop .cv-name{font-family:Georgia,"Times New Roman",serif;font-size:32px;font-weight:600;letter-spacing:-.5px}
.cv.cv-executive .cvbody{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.75fr);gap:0 25px;padding-top:0}
.cv.cv-executive .cvsection{min-width:0}
.cv.cv-executive .cvsection:nth-child(1){grid-column:1/-1;margin:0 -44px 24px;padding:22px 44px;background:#f1f3f7}
.cv.cv-executive .cvsection:nth-child(2){grid-column:2;grid-row:2/span 3}
.cv.cv-executive .cvsection:nth-child(3){grid-column:1;grid-row:2}
.cv.cv-executive .cvsection:nth-child(4){grid-column:1;grid-row:3}
.cv.cv-executive .cvsection:nth-child(5){grid-column:1;grid-row:4}
.cv.cv-executive .cvsection:nth-child(n+6){grid-column:1/-1}
.cv.cv-executive .cvbody h3{color:#1d2c45;border-bottom-color:#d9e0ea}
.cv.cv-editorial .cvtop{padding:42px 48px 28px;background:#fffaf3;color:#292720;border-top:5px solid #b58a58;border-bottom:1px solid #e8ddcc}
.cv.cv-editorial .cvtopline{flex-direction:row-reverse;justify-content:space-between}
.cv.cv-editorial .cvtop .cv-name{font-family:Georgia,"Times New Roman",serif;font-weight:500;font-size:34px;letter-spacing:-.8px}
.cv.cv-editorial .cvtop .cvheadline{color:#8a6b42!important;font-family:Georgia,"Times New Roman",serif;font-style:italic}
.cv.cv-editorial .cvbody{padding:30px 48px 44px;background:#fff}
.cv.cv-editorial .cvbody h3{font-family:Georgia,"Times New Roman",serif;font-size:11px;font-weight:700;letter-spacing:.8px;color:#9a703d;border-bottom:1px solid #e9dfd2}
.cv.cv-editorial .cvphoto{border-radius:2px;border:1px solid #e8ddcc}
.cv.cv-graduate .cvtop{padding:36px 40px;background:#f0f5fa;color:#20344a;border-bottom:0;position:relative}
.cv.cv-graduate .cvtop:after{content:"";display:block;position:absolute;left:0;bottom:0;width:100%;height:5px;background:#7b9cbd}
.cv.cv-graduate .cvtopline{align-items:center}
.cv.cv-graduate .cvtop .cv-name{font-size:29px;color:#20344a}
.cv.cv-graduate .cvphoto{border-radius:12px;border:2px solid white}
.cv.cv-graduate .cvbody{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.55fr);gap:0 26px;padding:28px 40px 42px}
.cv.cv-graduate .cvsection{min-width:0}
.cv.cv-graduate .cvsection:nth-child(1){grid-column:1/-1}
.cv.cv-graduate .cvsection:nth-child(2){grid-column:2;grid-row:2/span 2}
.cv.cv-graduate .cvsection:nth-child(3){grid-column:1;grid-row:2}
.cv.cv-graduate .cvsection:nth-child(4){grid-column:1;grid-row:3}
.cv.cv-graduate .cvsection:nth-child(n+5){grid-column:1/-1}
.cv.cv-graduate .cvbody h3{color:#42688e;border-bottom-color:#dce7f1}
.cv.cv-creative .cvtop{padding:40px 44px;background:#30274f}
.cv.cv-creative .cvtop .cv-name{font-size:32px;letter-spacing:-.8px}
.cv.cv-creative .cvphoto{border-radius:10px;border:2px solid #ffffff55}
.cv.cv-creative .cvbody{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:0 26px;padding-top:30px}
.cv.cv-creative .cvsection{min-width:0}
.cv.cv-creative .cvsection:nth-child(1),.cv.cv-creative .cvsection:nth-child(2){grid-column:1/-1}
.cv.cv-creative .cvsection:nth-child(3){grid-column:1;grid-row:auto}
.cv.cv-creative .cvsection:nth-child(4){grid-column:2}
.cv.cv-creative .cvsection:nth-child(5){grid-column:2}
.cv.cv-creative .cvsection:nth-child(n+6){grid-column:1/-1}
.cv.cv-creative .cvbody h3{color:#6d5ab7;border-bottom-color:#e2dcf4}
@media(max-width:600px){
 .cvtop{padding:28px 24px 24px}
 .cvtop .cv-name{font-size:25px}
 .cvphoto{width:64px;height:64px;flex-basis:64px}
 .cvbody{padding:24px 24px 32px;font-size:10.5px}
 .cv.cv-ats .cvtop{padding:28px 24px 20px}
 .cv.cv-ats .cvbody{padding:22px 24px 30px}
 .cv.cv-modern .cvtop,.cv.cv-executive .cvtop,.cv.cv-creative .cvtop{padding:28px 24px 24px}
 .cv.cv-modern .cvbody,.cv.cv-creative .cvbody{padding:24px}
 .cv.cv-executive .cvbody{padding:0 24px 30px;column-gap:16px}
 .cv.cv-executive .cvsection:nth-child(1){margin:0 -24px 20px;padding:18px 24px}
 .cv.cv-editorial .cvtop{padding:30px 24px 22px}
 .cv.cv-editorial .cvbody{padding:24px}
 .cv.cv-graduate .cvtop{padding:28px 24px}
 .cv.cv-graduate .cvbody{padding:24px;column-gap:16px}
}
@media(max-width:420px){
 .cv.cv-modern .cvbody,.cv.cv-executive .cvbody,.cv.cv-graduate .cvbody,.cv.cv-creative .cvbody{display:block}
 .cv.cv-modern .cvsection,.cv.cv-executive .cvsection,.cv.cv-graduate .cvsection,.cv.cv-creative .cvsection{grid-column:auto!important;grid-row:auto!important}
 .cvtopline{gap:12px}
 .cvtop .cv-name{font-size:22px}
 .cvitemhead{gap:8px}
 .cvitemhead span{max-width:42%;font-size:8px}
}
@media print{
 .cv{box-shadow:none!important;margin:0 auto!important}
 .cvsection,.cvitem{break-inside:avoid}
 .cvtop,.cvbody{break-inside:avoid}
}


.header-right{display:flex;align-items:center;gap:9px}.logo{cursor:default;user-select:none}#adminLogout{padding:9px 12px;border:1px solid #dce8e1;border-radius:999px;background:#fff;color:#31564c;font-size:11px;font-weight:750}#adminLogout[hidden]{display:none!important}@media(max-width:480px){.header-right{gap:6px}#adminLogout{padding:8px 9px;font-size:10px}}

/* CVReady professional template refinement — semantic layout, print-safe rhythm */
.cv{color:#24332f;min-height:1123px;-webkit-print-color-adjust:exact;print-color-adjust:exact}
.cvtop,.cvbody{min-width:0}
.cvtopline>div{min-width:0;flex:1}
.cvtop .cv-name{overflow-wrap:anywhere;word-break:normal}
.cvcontact{line-height:1.7!important}
.cvbody{font-size:11.5px;line-height:1.58}
.cvsection{min-width:0;margin-bottom:21px}
.cvsection h3{font-family:inherit;font-size:9px;line-height:1.3;letter-spacing:1.25px;text-transform:uppercase}
.cvitemhead{align-items:flex-start}
.cvitemhead strong,.cvitem strong{min-width:0;overflow-wrap:anywhere}
.cvitemhead span{flex-shrink:0}
.cvbody p,.cvbody li{overflow-wrap:anywhere}
.skilllist{align-items:flex-start}
.skillchip{break-inside:avoid}
.cv.cv-ats{font-family:Arial,Helvetica,sans-serif;background:#fff}
.cv.cv-ats .cvtop{padding:34px 44px 22px;border-bottom:2px solid #253631;background:#fff;color:#17252b}
.cv.cv-ats .cvtopline{display:block}
.cv.cv-ats .cvphoto{display:none}
.cv.cv-ats .cvtop .cv-name{font-family:Arial,Helvetica,sans-serif;font-size:27px;font-weight:750;letter-spacing:.25px;text-transform:uppercase}
.cv.cv-ats .cvbody{display:block;padding:25px 44px 40px}
.cv.cv-ats .cvbody h3{font-size:9px;color:#253631;letter-spacing:1.15px;border-bottom:1px solid #cbd5d0}
.cv.cv-ats .skilllist{display:block}
.cv.cv-ats .skillchip{display:inline;background:none;border-radius:0;padding:0;color:#273b35}
.cv.cv-ats .skillchip:not(:last-child)::after{content:" ·";white-space:pre}
.cv.cv-modern .cvtop{border-radius:0 0 18px 18px;background:#123f3b;padding:38px 42px 32px}
.cv.cv-modern .cvtopline{flex-direction:row-reverse;justify-content:space-between}
.cv.cv-modern .cvphoto{width:82px;height:82px;flex-basis:82px;border-radius:14px;border:2px solid #ffffff80}
.cv.cv-modern .cvbody{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:0 25px;padding:29px 42px 42px}
.cv.cv-modern .cvsection-profile,.cv.cv-modern .cvsection-experience{grid-column:1/-1}
.cv.cv-modern .cvsection-education{grid-column:1;grid-row:auto}
.cv.cv-modern .cvsection-skills,.cv.cv-modern .cvsection-projects,.cv.cv-modern .cvsection-certifications,.cv.cv-modern .cvsection-languages{grid-column:2;grid-row:auto}
.cv.cv-modern .cvbody h3{color:#087f78}
.cv.cv-executive .cvtop{background:#172b46;padding:37px 42px}
.cv.cv-executive .cvtop .cv-name{font-family:Georgia,"Times New Roman",serif;font-size:32px;font-weight:600;letter-spacing:-.45px}
.cv.cv-executive .cvphoto{width:86px;height:102px;flex-basis:86px;object-fit:cover;border-radius:4px;border:2px solid #ffffff75}
.cv.cv-executive .cvbody{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.6fr);gap:0 24px;padding:0 42px 42px}
.cv.cv-executive .cvsection-profile{grid-column:1/-1;margin:0 -42px 22px;padding:20px 42px;background:#f1f3f7}
.cv.cv-executive .cvsection-experience{grid-column:2;grid-row:auto}
.cv.cv-executive .cvsection-education,.cv.cv-executive .cvsection-skills,.cv.cv-executive .cvsection-projects,.cv.cv-executive .cvsection-certifications,.cv.cv-executive .cvsection-languages{grid-column:1;grid-row:auto}
.cv.cv-executive .cvbody h3{color:#1d2c45}
.cv.cv-editorial .cvtop{background:#fffaf3;color:#292720;padding:40px 46px 28px;border-top:5px solid #b58a58;border-bottom:1px solid #e8ddcc}
.cv.cv-editorial .cvtopline{flex-direction:row-reverse;justify-content:space-between}
.cv.cv-editorial .cvtop .cv-name{font-family:Georgia,"Times New Roman",serif;font-weight:500;font-size:34px;letter-spacing:-.8px}
.cv.cv-editorial .cvtop .cvheadline{color:#8a6b42!important;font-family:Georgia,"Times New Roman",serif;font-style:italic}
.cv.cv-editorial .cvphoto{width:70px;height:82px;flex-basis:70px;object-fit:cover;border-radius:2px;border:1px solid #e8ddcc}
.cv.cv-editorial .cvbody{font-family:Georgia,"Times New Roman",serif;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 25px;padding:28px 46px 42px}
.cv.cv-editorial .cvsection-profile,.cv.cv-editorial .cvsection-experience{grid-column:1/-1}
.cv.cv-editorial .cvsection-education,.cv.cv-editorial .cvsection-skills,.cv.cv-editorial .cvsection-projects,.cv.cv-editorial .cvsection-certifications,.cv.cv-editorial .cvsection-languages{grid-column:auto;grid-row:auto}
.cv.cv-editorial .cvbody h3{font-family:Georgia,"Times New Roman",serif;font-size:11px;color:#9a703d;letter-spacing:.6px}
.cv.cv-graduate .cvtop{background:#f0f5fa;color:#20344a;padding:32px 38px;border-bottom:5px solid #7b9cbd}
.cv.cv-graduate .cvphoto{width:78px;height:78px;flex-basis:78px;border-radius:12px;border:3px solid #fff}
.cv.cv-graduate .cvbody{display:grid;grid-template-columns:minmax(0,.88fr) minmax(0,1.45fr);gap:0 23px;padding:27px 38px 40px}
.cv.cv-graduate .cvsection-profile{grid-column:1/-1}
.cv.cv-graduate .cvsection-education,.cv.cv-graduate .cvsection-skills,.cv.cv-graduate .cvsection-certifications,.cv.cv-graduate .cvsection-languages{grid-column:1;grid-row:auto}
.cv.cv-graduate .cvsection-experience,.cv.cv-graduate .cvsection-projects{grid-column:2;grid-row:auto}
.cv.cv-graduate .cvbody h3{color:#42688e}
.cv.cv-creative .cvtop{background:#30274f;padding:38px 42px;border-left:7px solid #9b8be0}
.cv.cv-creative .cvtopline{flex-direction:row-reverse;justify-content:space-between}
.cv.cv-creative .cvphoto{width:82px;height:90px;flex-basis:82px;object-fit:cover;border-radius:8px;border:2px solid #ffffff60}
.cv.cv-creative .cvbody{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:0 24px;padding:29px 42px 42px}
.cv.cv-creative .cvsection-profile,.cv.cv-creative .cvsection-experience{grid-column:1/-1}
.cv.cv-creative .cvsection-education,.cv.cv-creative .cvsection-projects{grid-column:1;grid-row:auto}
.cv.cv-creative .cvsection-skills,.cv.cv-creative .cvsection-certifications,.cv.cv-creative .cvsection-languages{grid-column:2;grid-row:auto}
.cv.cv-creative .cvbody h3{color:#6d5ab7}
@media(max-width:600px){
 .cv.cv-ats .cvtop{padding:27px 24px 19px}.cv.cv-ats .cvbody{padding:22px 24px 30px}
 .cv.cv-modern .cvtop,.cv.cv-executive .cvtop,.cv.cv-creative .cvtop{padding:27px 24px 23px}
 .cv.cv-modern .cvbody,.cv.cv-editorial .cvbody,.cv.cv-creative .cvbody{padding:23px 24px 30px}
 .cv.cv-executive .cvbody{padding:0 24px 30px;column-gap:16px}
 .cv.cv-executive .cvsection-profile{margin:0 -24px 20px;padding:18px 24px}
 .cv.cv-editorial .cvtop{padding:28px 24px 21px}
 .cv.cv-graduate .cvtop{padding:25px 24px}.cv.cv-graduate .cvbody{padding:22px 24px 30px;column-gap:15px}
}
@media(max-width:420px){
 .cv.cv-modern .cvbody,.cv.cv-executive .cvbody,.cv.cv-graduate .cvbody,.cv.cv-creative .cvbody,.cv.cv-editorial .cvbody{display:block}
 .cv.cv-modern .cvsection,.cv.cv-executive .cvsection,.cv.cv-graduate .cvsection,.cv.cv-creative .cvsection,.cv.cv-editorial .cvsection{grid-column:auto!important;grid-row:auto!important}
 .cvtopline{gap:11px}.cvtop .cv-name{font-size:22px}.cvitemhead{gap:7px}.cvitemhead span{max-width:42%;font-size:8px}
}
@media print{
 .cv{min-height:0!important;box-shadow:none!important;margin:0!important;width:100%!important}
 .cvtop,.cvbody{break-inside:auto}
 .cvsection,.cvitem{break-inside:avoid}
}


/* Final template QA pass: readable hierarchy, safer ATS defaults, print-fit */
.cv{width:100%;max-width:794px;background:#fff;color:#25332f;-webkit-print-color-adjust:exact;print-color-adjust:exact}
.cvtopline>div{min-width:0;flex:1}
.cvtop .cv-name{overflow-wrap:anywhere}
.cvbody{font-size:11.2px;line-height:1.55}
.cvsection{min-width:0;margin-bottom:19px}
.cvbody h3{font-size:9px;line-height:1.35;letter-spacing:1.15px;text-transform:uppercase}
.cvitemhead{align-items:flex-start}
.cvitemhead strong,.cvitem strong,.cvbody p,.cvbody li{overflow-wrap:anywhere}
.cvitemhead span{flex-shrink:0}
.cv.cv-ats .cvtopline{display:block}
.cv.cv-ats .cvphoto{display:none}
.cv.cv-ats .cvtop{padding:31px 42px 22px;background:#fff;color:#182b27;border-bottom:2px solid #182b27}
.cv.cv-ats .cvtop .cv-name{font-size:28px;text-transform:uppercase;letter-spacing:.2px}
.cv.cv-ats .cvbody{display:block;padding:25px 42px 38px}
.cv.cv-ats .cvbody h3{color:#243b35;border-bottom:1px solid #cbd7d1}
.cv.cv-ats .skilllist{display:block}
.cv.cv-ats .skillchip{display:inline;background:none;padding:0;border-radius:0;color:#25332f}
.cv.cv-ats .skillchip:not(:last-child)::after{content:" ·";white-space:pre}
.cv.cv-modern .cvtop{background:#123f3b;padding:37px 42px 31px;border-radius:0 0 14px 14px}
.cv.cv-modern .cvbody{display:block;padding:28px 42px 40px}
.cv.cv-modern .cvsection{grid-column:auto!important;grid-row:auto!important}
.cv.cv-modern .cvbody h3{color:#087f78}
.cv.cv-executive .cvtop{background:#172b46;padding:35px 40px}
.cv.cv-executive .cvtop .cv-name{font-family:Georgia,"Times New Roman",serif;font-size:31px;font-weight:600}
.cv.cv-executive .cvphoto{width:82px;height:98px;flex-basis:82px;border-radius:4px;border:2px solid #ffffff70}
.cv.cv-executive .cvbody{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.6fr);gap:0 22px;padding:0 40px 40px}
.cv.cv-executive .cvsection-profile{grid-column:1/-1;margin:0 -40px 22px;padding:20px 40px;background:#f1f3f7}
.cv.cv-executive .cvsection-experience{grid-column:2;grid-row:auto}
.cv.cv-executive .cvsection-education,.cv.cv-executive .cvsection-skills,.cv.cv-executive .cvsection-projects,.cv.cv-executive .cvsection-certifications,.cv.cv-executive .cvsection-languages{grid-column:1;grid-row:auto}
.cv.cv-editorial .cvtop{background:#fffaf3;color:#292720;padding:37px 44px 27px;border-top:5px solid #b58a58;border-bottom:1px solid #e8ddcc}
.cv.cv-editorial .cvtop .cv-name{font-family:Georgia,"Times New Roman",serif;font-size:33px;font-weight:500}
.cv.cv-editorial .cvtop .cvheadline{color:#8a6b42!important;font-family:Georgia,"Times New Roman",serif;font-style:italic}
.cv.cv-editorial .cvphoto{width:68px;height:78px;flex-basis:68px;border-radius:2px}
.cv.cv-editorial .cvbody{font-family:Georgia,"Times New Roman",serif;display:block;padding:28px 44px 40px}
.cv.cv-editorial .cvbody h3{font-family:Georgia,"Times New Roman",serif;font-size:11px;color:#956c39;letter-spacing:.5px}
.cv.cv-graduate .cvtop{background:#f0f5fa;color:#20344a;padding:30px 36px;border-bottom:5px solid #7b9cbd}
.cv.cv-graduate .cvphoto{width:74px;height:74px;flex-basis:74px;border-radius:10px;border:3px solid white}
.cv.cv-graduate .cvbody{display:block;padding:25px 36px 38px}
.cv.cv-graduate .cvsection{grid-column:auto!important;grid-row:auto!important}
.cv.cv-graduate .cvsection-education{order:-1}
.cv.cv-graduate .cvbody h3{color:#42688e}
.cv.cv-creative .cvtop{background:#30274f;padding:36px 40px;border-left:6px solid #9b8be0}
.cv.cv-creative .cvphoto{width:80px;height:88px;flex-basis:80px;border-radius:8px;border:2px solid #ffffff60}
.cv.cv-creative .cvbody{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:0 22px;padding:28px 40px 40px}
.cv.cv-creative .cvsection-profile,.cv.cv-creative .cvsection-experience{grid-column:1/-1}
.cv.cv-creative .cvsection-education,.cv.cv-creative .cvsection-projects{grid-column:1;grid-row:auto}
.cv.cv-creative .cvsection-skills,.cv.cv-creative .cvsection-certifications,.cv.cv-creative .cvsection-languages{grid-column:2;grid-row:auto}
.cv.cv-creative .cvbody h3{color:#6d5ab7}
.cv.cv-hybrid .cvtop{background:#f4f7f5;color:#20342f;padding:32px 40px 24px;border-top:5px solid #087f78;border-bottom:1px solid #dfe9e3}
.cv.cv-hybrid .cvtop .cv-name{font-size:30px;letter-spacing:-.65px}
.cv.cv-hybrid .cvtop p{color:#5d7068}
.cv.cv-hybrid .cvphoto{width:72px;height:72px;flex-basis:72px;border-radius:50%;border:2px solid white}
.cv.cv-hybrid .cvbody{display:block;padding:26px 40px 40px}
.cv.cv-hybrid .cvbody h3{color:#087f78;border-bottom:1px solid #d8e8e0}
.cv.cv-hybrid .cvsection-skills{background:#f3f8f5;padding:13px 15px;margin:0 0 20px;border-radius:7px}
.cv.cv-hybrid .cvsection-skills h3{border:0;padding:0;margin-bottom:8px}
.cv.cv-hybrid .skillchip{background:#e0eee7;color:#24564a}
.template[data-template="hybrid"] .thumb{background:#f4f7f5;border-top:4px solid #087f78;padding:9px 10px}
.template[data-template="hybrid"] .sample-photo{display:none}
.template[data-template="hybrid"] .sample-top{display:block;border-bottom:1px solid #d8e8e0;padding-bottom:5px}
.template[data-template="hybrid"] .sample-name{font-size:7px}
.template[data-template="hybrid"] .sample-rule{background:#087f78;width:48%;height:3px;margin:6px 0}
.template[data-template="hybrid"] .sample-label{color:#087f78}
@media(max-width:600px){
 .cv.cv-ats .cvtop{padding:26px 23px 18px}.cv.cv-ats .cvbody{padding:21px 23px 28px}
 .cv.cv-modern .cvtop,.cv.cv-creative .cvtop,.cv.cv-hybrid .cvtop{padding:26px 23px 22px}
 .cv.cv-modern .cvbody,.cv.cv-editorial .cvbody,.cv.cv-creative .cvbody,.cv.cv-hybrid .cvbody{padding:22px 23px 28px}
 .cv.cv-executive .cvbody{padding:0 23px 28px;column-gap:14px}
 .cv.cv-executive .cvsection-profile{margin:0 -23px 18px;padding:17px 23px}
 .cv.cv-editorial .cvtop{padding:27px 23px 20px}
 .cv.cv-graduate .cvtop{padding:24px 23px}.cv.cv-graduate .cvbody{padding:21px 23px 28px}
}
@media(max-width:420px){
 .cv.cv-executive .cvbody,.cv.cv-creative .cvbody{display:block}
 .cv.cv-executive .cvsection,.cv.cv-creative .cvsection{grid-column:auto!important;grid-row:auto!important}
 .cvtopline{gap:10px}.cvtop .cv-name{font-size:22px}.cvitemhead{gap:7px}.cvitemhead span{max-width:42%;font-size:8px}
}
@media print{
 .cv{width:210mm!important;max-width:none!important;min-height:0!important;margin:0!important;box-shadow:none!important}
 .cvtop,.cvbody{print-color-adjust:exact;-webkit-print-color-adjust:exact}
 .cvsection,.cvitem{break-inside:avoid}
 .cvtop{break-inside:avoid}
}


/* European CV: formal, structured two-column layout with a clear information rail */
.cv.cv-europass .cvtop{background:#eef3f8;color:#20364b;border-bottom:3px solid #2d5f8b;padding:34px 38px 25px}
.cv.cv-europass .cvtop .cv-name{font-size:28px;letter-spacing:-.45px}
.cv.cv-europass .cvtop p{color:#50677c}
.cv.cv-europass .cvbody{display:grid;grid-template-columns:minmax(0,.72fr) minmax(0,1.45fr);gap:0 24px;padding:27px 38px 38px}
.cv.cv-europass .cvsection-profile,.cv.cv-europass .cvsection-experience,.cv.cv-europass .cvsection-projects{grid-column:2}
.cv.cv-europass .cvsection-skills,.cv.cv-europass .cvsection-education,.cv.cv-europass .cvsection-certifications,.cv.cv-europass .cvsection-languages{grid-column:1}
.cv.cv-europass .cvbody h3{color:#2d5f8b;border-bottom:1px solid #d9e3ec;letter-spacing:1px}
.cv.cv-europass .skillchip{background:#eaf1f7;color:#315c80}
.template[data-template="europass"] .thumb{background:linear-gradient(90deg,#eaf1f7 0 32%,#fff 32%);padding:9px}
.template[data-template="europass"] .sample-side{background:#eaf1f7}
.template[data-template="europass"] .sample-rule{background:#2d5f8b}
.template[data-template="europass"] .sample-label{color:#2d5f8b}
.cv.cv-technical .cvtop{background:#142a35;color:#f6fbfd;border-bottom:4px solid #20a6a0;padding:36px 42px 29px}
.cv.cv-technical .cvtop p{color:#c7d9df}
.cv.cv-technical .cvtop .cv-name{font-size:29px;letter-spacing:-.6px}
.cv.cv-technical .cvbody{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 24px;padding:29px 42px 40px}
.cv.cv-technical .cvsection-profile,.cv.cv-technical .cvsection-projects,.cv.cv-technical .cvsection-experience{grid-column:1/-1}
.cv.cv-technical .cvbody h3{color:#087f78;border-bottom:1px solid #dce8e8}
.cv.cv-technical .skillchip{background:#e8f5f3;color:#17645f}
.template[data-template="technical"] .thumb{background:#f2f7f8;border-top:4px solid #20a6a0;padding:9px}
.template[data-template="technical"] .sample-rule{background:#20a6a0;width:50%;height:3px}
.template[data-template="technical"] .sample-label{color:#087f78}
@media(max-width:600px){
 .cv.cv-europass .cvtop,.cv.cv-technical .cvtop{padding:25px 23px 20px}
 .cv.cv-europass .cvbody,.cv.cv-technical .cvbody{padding:21px 23px 28px;column-gap:14px}
}
@media(max-width:420px){
 .cv.cv-europass .cvbody,.cv.cv-technical .cvbody{display:block}
 .cv.cv-europass .cvsection,.cv.cv-technical .cvsection{grid-column:auto!important;grid-row:auto!important}
}

/* Template picker thumbnails mirror the actual European CV and Tech layouts */
.template[data-template="europass"] .thumb{display:block;background:#fff;padding:8px 7px;border:1px solid #d9e3ec;border-top:4px solid #2d5f8b;border-radius:3px;text-align:left}
.template[data-template="europass"] .sample-euro-head{padding:0 3px 6px;border-bottom:1px solid #d9e3ec;margin-bottom:5px}
.template[data-template="europass"] .sample-euro-head .sample-name{font-size:7px;color:#20364b;letter-spacing:.25px}
.template[data-template="europass"] .sample-euro-head .sample-role{font-size:4px;color:#50677c}
.template[data-template="europass"] .sample-euro-head .sample-rule{width:35%;height:2px;margin:4px 0 0;background:#2d5f8b}
.template[data-template="europass"] .sample-euro-grid{display:grid;grid-template-columns:34% minmax(0,1fr);gap:6px}
.template[data-template="europass"] .sample-side{background:#eaf1f7;padding:4px 3px;min-width:0}
.template[data-template="europass"] .sample-main{min-width:0;padding:0 2px}
.template[data-template="europass"] .sample-label{font-size:4px;line-height:1.15;color:#2d5f8b;margin:4px 0 3px;letter-spacing:.2px}
.template[data-template="europass"] .sample-lines{height:2px;margin:2px 0;background:#d4dfe8}
.template[data-template="europass"] .sample-lines.mid{width:83%}
.template[data-template="europass"] .sample-lines.short{width:58%}
.template[data-template="technical"] .thumb{display:block;background:#fff;padding:8px 9px;border:1px solid #dce8e8;border-top:5px solid #20a6a0;border-radius:3px;text-align:left}
.template[data-template="technical"] .sample-tech-head{background:#142a35;margin:-8px -9px 6px;padding:9px 9px 7px}
.template[data-template="technical"] .sample-tech-head .sample-name{font-size:7px;color:#f6fbfd;letter-spacing:.15px}
.template[data-template="technical"] .sample-tech-head .sample-role{font-size:4px;color:#c7d9df}
.template[data-template="technical"] .sample-tech-head .sample-rule{width:38%;height:2px;background:#20a6a0;margin:4px 0 0}
.template[data-template="technical"] .thumb>.sample-label{font-size:4.2px;color:#087f78;margin:5px 0 3px;letter-spacing:.2px}
.template[data-template="technical"] .sample-tech-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:5px 0}
.template[data-template="technical"] .sample-tech-grid>div{min-width:0;border-top:1px solid #dce8e8;padding-top:3px}
.template[data-template="technical"] .sample-tech-grid .sample-label{font-size:3.8px;color:#087f78;margin:2px 0 3px}
.template[data-template="technical"] .sample-lines{height:2px;margin:2px 0;background:#dce8e8}
.template[data-template="technical"] .sample-lines.mid{width:82%}
.template[data-template="technical"] .sample-lines.short{width:61%}

/* Show optional profile-photo placement in thumbnail previews for photo-supporting templates */
.template[data-template="hybrid"] .sample-photo{display:block;width:22px;height:22px;flex:0 0 22px;border-radius:50%;margin:0 5px 0 0}
.template[data-template="hybrid"] .sample-top{display:flex;align-items:center;gap:4px}
.template[data-template="hybrid"] .sample-top-text{flex:1;min-width:0}
.template[data-template="hybrid"] .sample-name{font-size:5.4px;white-space:nowrap}
.template[data-template="europass"] .sample-euro-identity,.template[data-template="technical"] .sample-tech-identity{display:flex;align-items:center;gap:5px;min-width:0}
.template[data-template="europass"] .sample-euro-identity>div,.template[data-template="technical"] .sample-tech-identity>div{min-width:0;flex:1}
.template[data-template="europass"] .sample-euro-identity .sample-photo{display:block;width:20px;height:20px;flex:0 0 20px;border-radius:3px;margin:0}
.template[data-template="europass"] .sample-euro-head .sample-name{font-size:5.8px}
.template[data-template="technical"] .sample-tech-identity .sample-photo{display:block;width:22px;height:22px;flex:0 0 22px;border-radius:5px;margin:0}
.template[data-template="technical"] .sample-tech-head .sample-name{font-size:5.8px}
.name-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.name-fields label{display:block;font-size:13px;font-weight:700;margin:20px 0 8px}@media(max-width:480px){.name-fields{grid-template-columns:1fr 1fr;gap:0 10px}.name-fields input{padding:12px 10px}}.job-toggle{display:block;width:max-content;max-width:100%;margin:12px 0 26px!important}.template-title{margin-top:0!important;clear:both}@media(max-width:480px){.job-toggle{margin-bottom:28px!important}}
/* CVReady Edge: evidence-based job-match snapshot */
.job-advert-field{margin:0 0 16px;padding:14px;border:1px solid #e0eae5;border-radius:13px;background:#fff}
.job-advert-field label{display:block;font-size:13px;font-weight:750;color:#243c35;margin-bottom:8px}
.job-advert-field label span{font-size:11px;font-weight:500;color:#718078}
.job-advert-field textarea{display:block;width:100%;min-height:120px;padding:12px;border:1px solid #dce5e0;border-radius:10px;font:inherit;font-size:13px;line-height:1.5;resize:vertical;background:#fff;color:#17252b}
.job-advert-field .job-toggle{margin-top:0!important;min-height:42px;width:100%;text-align:center}
.match-report{margin:0 20px 18px;padding:20px;border:1px solid #dcebe5;border-radius:18px;background:linear-gradient(135deg,#f6fbf8 0%,#fff 75%);color:#17252b}
.match-report-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:16px}
.match-kicker{font-size:10px;letter-spacing:1.7px;font-weight:850;color:#087f78}
.match-report h3{font-size:18px;letter-spacing:-.4px;margin:6px 0 6px}
.match-report p{font-size:12px;line-height:1.55;color:#718078;margin:0}
.match-badge{white-space:nowrap;border-radius:999px;background:#e5f5ed;color:#176b4d;padding:7px 9px;font-size:10px;font-weight:800}
.match-placeholder{border:1px dashed #cbded5;border-radius:12px;padding:15px;background:#fff}
.match-placeholder strong{display:block;font-size:13px;margin-bottom:5px}
.match-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.match-column{border:1px solid #e3ebe6;background:#fff;border-radius:12px;padding:13px;min-width:0}
.match-column h4{font-size:12px;margin:0 0 10px}
.match-column ul{padding-left:17px;margin:0;font-size:12px;line-height:1.55;color:#42534b}
.match-column li+li{margin-top:6px}
.match-note{margin-top:12px!important;padding:11px 12px;border-radius:10px;background:#eef5f2;color:#435a50!important}
.match-disclaimer{margin-top:10px!important;font-size:10px!important}
@media(max-width:480px){.match-report{margin:0 14px 15px;padding:15px}.match-report-head{display:block}.match-badge{display:inline-block;margin-top:10px}.match-grid{grid-template-columns:1fr}}

/* Included cover letter: a complete low-cost application kit */
.cover-letter-panel{margin:0 20px 18px;padding:20px;border:1px solid #dcebe5;border-radius:18px;background:#fff;color:#17252b}
.cover-letter-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}
.cover-letter-head h3{font-size:18px;letter-spacing:-.4px;margin:6px 0}
.cover-letter-head p{font-size:12px;line-height:1.55;color:#718078;margin:0}
.cover-letter-content{padding:16px;border:1px solid #e5ebe7;border-radius:12px;background:#fafcfb;font-size:13px;line-height:1.8;color:#35453e;white-space:normal;overflow-wrap:anywhere}
.cover-letter-content p{margin:0 0 12px}.cover-letter-content p:last-child{margin-bottom:0}
.cover-letter-actions{display:flex;gap:10px;margin-top:12px}.cover-letter-actions button{flex:1;min-height:44px}
.cover-letter-actions button:disabled{opacity:.45;cursor:not-allowed}
.cover-letter-note{font-size:10px!important;line-height:1.5!important;color:#718078!important;margin:10px 0 0!important}
@media(max-width:480px){.cover-letter-panel{margin:0 14px 15px;padding:15px}.cover-letter-head{display:block}.cover-letter-head .match-badge{display:inline-block;margin-top:10px}.cover-letter-actions{flex-direction:column}}

/* Compact, mobile-first landing page: put the form in focus */
@media(max-width:800px){
  header{height:64px;padding:0 18px}
  .logo{font-size:21px}
  .price{font-size:12px;padding:8px 11px}
  main{padding:20px 14px 28px}
  .intro{max-width:none;margin:0 0 15px;padding:0;text-align:left}
  .intro .eyebrow{display:none}
  .intro h1{font-size:clamp(31px,8.2vw,39px);line-height:1.06;letter-spacing:-1.45px;margin:0 0 9px;font-weight:790}
  .intro p{font-size:14px;line-height:1.45;max-width:360px}
  .trustrow{display:none!important}
  .layout{gap:12px}
  .panel{padding:17px;border-radius:16px}
  .panelhead{margin-bottom:14px}
  .panel h2{font-size:19px}
  .sub{font-size:12px;line-height:1.4}
  .step{font-size:10px;padding:6px 8px}
  label{font-size:13px;margin:14px 0 6px}
  input,textarea{padding:12px 13px;font-size:14px;border-radius:10px}
  .primary{margin-top:17px;padding:13px 15px}
}
@media(max-width:480px){
  .layout{display:block}
  .previewpanel{margin-top:14px}
}


/* Final mobile polish: less hero height, tighter form rhythm, designed photo upload */
@media(max-width:800px){
  main{padding-top:16px}
  .intro{margin-bottom:12px}
  .intro h1{font-size:clamp(30px,7.5vw,36px);line-height:1.07;letter-spacing:-1.25px;margin-bottom:8px}
  .intro p{font-size:13px;line-height:1.45;max-width:340px}
  .panel{padding:16px}
  .panelhead{margin-bottom:10px}
  label{margin-top:12px;margin-bottom:5px;font-size:12.5px}
  input,textarea{padding:11px 12px;min-height:44px}
  .profile-fields{column-gap:10px}
  .photo-row{gap:11px;margin-top:15px;align-items:center}
  .photo-preview{width:54px;height:54px;flex-basis:54px;font-size:20px}
  .photo-control label{margin:0 0 6px;font-size:12.5px}
  .photo-control input[type="file"]{font-size:0;min-height:42px;padding:5px;border:1px dashed #b8ccc4;background:#f8fbf9;cursor:pointer}
  .photo-control input[type="file"]::file-selector-button{font:600 12px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#176e66;background:#e6f4ef;border:0;border-radius:7px;padding:8px 10px;margin-right:8px;cursor:pointer}
  .photo-control .hint{font-size:10.5px;line-height:1.35;margin-top:5px}
}


/* Cleaner language field on small screens */
@media(max-width:800px){
  #languages{font-size:13px;letter-spacing:-.1px}
  #languages::placeholder{font-size:13px;opacity:1}
  #languages{margin-bottom:2px}
  .photo-row{margin-bottom:2px}
}


/* Make the required experience field stand out and give it room */
.required-tag{display:inline-flex;align-items:center;margin-left:7px;padding:4px 8px;border-radius:6px;background:#e7f4ef;color:#176e66;font-size:10px;font-weight:800;letter-spacing:.3px;text-transform:uppercase;vertical-align:middle}
.field-help{font-size:13px;line-height:1.5;color:#697a74;margin:5px 0 9px}
#experience{display:block;width:100%;min-height:190px;padding:15px 15px;line-height:1.55;resize:vertical;border:1.5px solid #b8cec5;border-radius:13px;background:#fcfefd;font-size:14px}
#experience:focus{border-color:#087f78;box-shadow:0 0 0 3px #087f7818}
#experience::placeholder{color:#8b9893;opacity:1}
#experienceHint{margin-top:8px;font-size:12px;line-height:1.5}
@media(max-width:800px){
  #experience{min-height:180px;padding:14px;font-size:14px;border-radius:12px}
  .field-help{font-size:12px;line-height:1.45;margin:5px 0 8px}
  .required-tag{font-size:9px;padding:4px 7px}
  #experienceHint{font-size:11px;line-height:1.45}
}


/* Reduce form overload by grouping optional information */
.optional-details{margin-top:14px;border:1px solid #e0e9e4;border-radius:12px;background:#f9fbfa;overflow:hidden}
.optional-details summary{list-style:none;cursor:pointer;padding:13px 14px;display:flex;flex-direction:column;gap:3px;position:relative;padding-right:42px}
.optional-details summary::-webkit-details-marker{display:none}
.optional-details summary:after{content:"＋";position:absolute;right:14px;top:50%;transform:translateY(-50%);font-size:20px;color:#087f78;font-weight:500}
.optional-details[open] summary:after{content:"−"}
.optional-title{font-size:13px;font-weight:750;color:#263b35}
.optional-subtitle{font-size:11px;line-height:1.4;color:#74827c}
.optional-content{padding:0 13px 14px;border-top:1px solid #e7eeea}
.optional-pair{display:grid;grid-template-columns:1fr 1fr;gap:0 10px}
.optional-content .photo-row{margin-top:14px}
.optional-content label{margin-top:13px}
@media(max-width:480px){.optional-pair{grid-template-columns:1fr}}


/* Give the mobile hero room to breathe and make the benefit instantly clear */
@media(max-width:800px){
  .intro{padding:14px 0 18px;margin-bottom:18px}
  .intro h1{font-size:clamp(29px,7.4vw,35px);line-height:1.12;letter-spacing:-1.15px;margin:0 0 13px;max-width:560px}
  .intro p{font-size:14px;line-height:1.55;max-width:390px}
}

/* Slightly strengthen the wordmark and calm the mobile hero headline */
@media(max-width:800px){
  .logo{font-size:23px}
  .intro h1{font-size:clamp(28px,7.1vw,34px);line-height:1.08;letter-spacing:-1.2px}
}


/* Final mobile polish: compact price pill and balanced preview actions */
@media(max-width:600px){
  header .price{
    font-size:11px;
    line-height:1.25;
    padding:7px 9px;
    text-align:left;
    letter-spacing:0;
    font-weight:750;
    border-color:#c9e5dc;
    color:#105f56;
  }
  .actions{
    display:flex;
    flex-direction:row !important;
    align-items:stretch;
    gap:8px;
    padding-left:12px;
    padding-right:12px;
  }
  .actions button{
    flex:1 1 0;
    min-width:0;
    min-height:56px;
    padding:12px 7px;
    font-size:11.5px;
    line-height:1.25;
    white-space:normal;
    overflow-wrap:normal;
    text-align:center;
  }
}

/* Refined profile photo and language controls */
.profile-photo-row{
  display:grid!important;
  grid-template-columns:72px minmax(0,1fr);
  align-items:center;
  gap:14px!important;
  margin-top:10px!important;
  padding:16px!important;
  border:1px solid #e1e9e5!important;
  border-radius:16px!important;
  background:#fbfcfb!important;
}
.profile-photo-row .photo-preview{
  width:72px!important;height:72px!important;flex-basis:72px!important;
  border-radius:14px!important;border:1px solid #dce7e1!important;
  background:#f1f6f3!important;color:#71837a!important;font-size:24px!important;
}
.photo-control{display:flex;flex-direction:column;align-items:stretch;gap:8px;min-width:0}
.photo-control>label:first-child{margin:0!important;font-size:13px!important;font-weight:750!important;color:#243a33!important}
.photo-control>label:first-child span{font-size:11px!important;color:#82908a!important;font-weight:500!important}
.photo-upload{
  width:100%;min-width:0;gap:10px!important;
  padding:10px 12px!important;border:1px solid #dce7e1!important;
  border-radius:11px!important;background:#fff!important;
  color:#23443b!important;transition:border-color .15s,background .15s;
}
.photo-upload:hover{border-color:#0b9b91!important;background:#f9fdfb!important}
.photo-upload .upload-mark{width:34px!important;height:34px!important;border-radius:10px!important;background:#e8f6f1!important;color:#087f78!important;font-size:20px!important;flex-shrink:0}
.photo-upload strong{font-size:12px!important;font-weight:750!important;line-height:1.4}
.photo-upload small{font-size:10px!important;line-height:1.45!important;color:#778780!important}
.languages-field{
  margin-top:18px!important;padding:17px 0 0!important;
  border-top:1px solid #edf0ee!important;
}
.languages-heading{align-items:flex-start!important;margin-bottom:10px}
.languages-heading label{font-size:13px!important;font-weight:750!important;color:#243a33!important;margin:0!important}
.languages-heading label span{font-size:11px!important;font-weight:500!important;color:#82908a!important}
.languages-note{font-size:10px!important;color:#7b8983!important;text-align:right;line-height:1.4}
.language-rows{gap:8px!important}
.language-row{
  grid-template-columns:minmax(0,1fr) 116px 34px!important;
  gap:8px!important;padding:8px!important;
  border:1px solid #e7ece9!important;border-radius:12px!important;
  background:#fafcfb!important;
}
.language-row input,.language-row select{
  height:40px!important;padding:0 11px!important;
  border:1px solid #dfe7e3!important;border-radius:9px!important;
  background:#fff!important;font:inherit!important;font-size:12px!important;
  color:#243a33!important;outline:none;
}
.language-row input:focus,.language-row select:focus{border-color:#0b9b91!important;box-shadow:0 0 0 3px #0b9b9115!important}
.language-row input::placeholder{color:#9aa6a0!important}
.remove-language{
  width:34px!important;height:40px!important;border:1px solid #e9e3e1!important;
  border-radius:9px!important;background:#fff!important;color:#8e6963!important;
  font-size:18px!important;transition:background .15s,border-color .15s;
}
.remove-language:hover{background:#fff5f3!important;border-color:#e6cbc6!important}
.add-language{
  margin-top:10px!important;padding:9px 12px!important;
  border:1px solid #cfe5dc!important;border-radius:10px!important;
  background:#f4faf7!important;color:#087f78!important;font-size:12px!important;
}
.add-language:hover{background:#eaf6f0!important;border-color:#b8dccc!important}
@media(max-width:600px){
  .profile-photo-row{grid-template-columns:64px minmax(0,1fr);gap:12px!important;padding:13px!important}
  .profile-photo-row .photo-preview{width:64px!important;height:64px!important;flex-basis:64px!important}
  .language-row{grid-template-columns:minmax(0,1fr) 105px 32px!important;gap:6px!important;padding:7px!important}
  .language-row input,.language-row select{padding:0 8px!important;font-size:12px!important}
}
@media(max-width:370px){
  .language-row{grid-template-columns:minmax(0,1fr) 94px 30px!important;gap:5px!important}
  .remove-language{width:30px!important}
  .languages-note{max-width:105px}
}


/* Mobile-first refinement for language rows */
.languages-heading{margin-bottom:12px!important}
.language-rows{gap:9px!important}
.language-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 40px!important;
  grid-template-areas:"name remove" "level remove"!important;
  gap:8px!important;
  padding:11px!important;
  border:1px solid #e2e9e5!important;
  border-radius:13px!important;
  background:#fbfcfb!important;
}
.language-row input{grid-area:name!important;min-width:0;height:44px!important}
.language-row select{grid-area:level!important;width:100%!important;min-width:0;height:42px!important;padding:0 34px 0 11px!important;font-size:13px!important}
.language-row .remove-language{grid-area:remove!important;align-self:center!important;width:40px!important;height:40px!important;border-radius:10px!important;font-size:18px!important}
.add-language{margin-top:11px!important}
@media(min-width:601px){
  .language-row{
    grid-template-columns:minmax(0,1fr) minmax(145px,.75fr) 38px!important;
    grid-template-areas:"name level remove"!important;
    align-items:center!important;
    padding:9px!important;
  }
  .language-row input,.language-row select{height:42px!important}
  .language-row .remove-language{width:38px!important;height:42px!important}
}
@media(max-width:370px){
  .language-row{grid-template-columns:minmax(0,1fr) 36px!important;padding:9px!important;gap:7px!important}
  .language-row .remove-language{width:36px!important;height:38px!important}
  .language-row input{height:42px!important}
  .language-row select{height:40px!important}
}


/* Align the circular photo placeholder neatly beside the upload control */
.profile-photo-row{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:14px!important;
}
.profile-photo-row .photo-preview{
  width:64px!important;
  height:64px!important;
  flex:0 0 64px!important;
  align-self:center!important;
  border-radius:50%!important;
  border:1px solid #dce7e1!important;
  margin:0!important;
}
.photo-control{
  flex:1 1 0!important;
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  gap:8px!important;
}
.photo-control>label:first-child{margin:0!important}
.photo-upload{margin:0!important;min-height:64px!important}
@media(max-width:600px){
 .profile-photo-row{display:flex!important;flex-direction:row!important;align-items:center!important;gap:12px!important;padding:13px!important}
 .profile-photo-row .photo-preview{width:58px!important;height:58px!important;flex:0 0 58px!important}
 .photo-control{width:auto!important;flex:1 1 0!important}
 .photo-upload{min-height:58px!important;padding:9px 10px!important}
 .photo-upload .upload-mark{width:30px!important;height:30px!important;flex:0 0 30px!important}
}


/* Keep language row spacious; place the remove action in the top-right corner */
.language-row{
  position:relative!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  grid-template-areas:"name level"!important;
  gap:8px!important;
  padding:11px!important;
  padding-top:20px!important;
}
.language-row input{grid-area:name!important;min-width:0!important}
.language-row select{grid-area:level!important;min-width:0!important;width:100%!important;padding-right:26px!important}
.language-row .remove-language{
  position:absolute!important;
  top:3px!important;
  right:5px!important;
  width:22px!important;
  height:22px!important;
  min-width:22px!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:0!important;
  border-radius:50%!important;
  background:transparent!important;
  color:#8a7773!important;
  font-size:17px!important;
  line-height:1!important;
}
.language-row .remove-language:hover{background:#f8efed!important;color:#8d5149!important}
@media(max-width:600px){
 .language-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;grid-template-areas:"name level"!important;gap:8px!important;padding:10px!important;padding-top:20px!important}
 .language-row input,.language-row select{height:44px!important;font-size:12px!important}
 .language-row select{padding-left:9px!important;padding-right:20px!important}
 .language-row .remove-language{top:2px!important;right:4px!important;width:21px!important;height:21px!important;min-width:21px!important}
}
@media(max-width:370px){
 .language-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:6px!important}
 .language-row select{font-size:11px!important;padding-left:7px!important;padding-right:17px!important}
}

/* Language proficiency bars */
.cv-language{margin:0 0 10px;break-inside:avoid}.cv-language-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:11px;line-height:1.4}.cv-language-head>span:first-child{font-weight:700;color:#263b35}.cv-language-level{font-size:10px;color:#66756f;white-space:nowrap}.cv-language-track{height:5px;background:#e6eeea;border-radius:99px;overflow:hidden;margin-top:5px}.cv-language-track>span{display:block;height:100%;background:#168b80;border-radius:99px}




/* PDF/preview quality fix: preserve the profile photo's natural proportions and give it proper visual weight. */
.cvtopline{align-items:center}
.cv .cvphoto{width:96px;height:96px;flex:0 0 96px;object-fit:cover;object-position:center;display:block}
.cv.cv-modern .cvphoto{width:104px;height:104px;flex-basis:104px}
.cv.cv-executive .cvphoto{width:96px;height:112px;flex-basis:96px}
.cv.cv-creative .cvphoto{width:100px;height:116px;flex-basis:100px}
.cv.cv-editorial .cvphoto{width:88px;height:88px;flex-basis:88px}
@media print{.cv{page-break-after:auto!important;break-after:auto!important;min-height:0!important}.cvtop,.cvbody{break-inside:auto!important}.cvsection,.cvitem{break-inside:avoid!important}}
