.template-picker{margin:24px 0 18px;padding:18px;border:1px solid var(--line);border-radius:16px;background:#f8fafc}.template-picker p{margin:2px 0 14px;color:var(--muted);font-size:12px}.template-label{font-size:13px;font-weight:900;color:var(--navy)}.template-options{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.template-choice{display:grid;gap:7px;padding:10px;border:1px solid #d8e0ec;border-radius:12px;background:#fff;color:#475467;font:inherit;font-size:11px;font-weight:800;cursor:pointer}.template-choice i{display:block;height:48px;border-radius:6px;background:linear-gradient(90deg,#dbeafe 30%,#fff 30%);border:1px solid #e5e7eb}.template-choice[data-template=modern] i{background:linear-gradient(135deg,#0f766e 34%,#ecfeff 34%)}.template-choice[data-template=minimal] i{background:linear-gradient(#fff 22%,#e5e7eb 22%,#e5e7eb 27%,#fff 27%)}.template-choice:hover,.template-choice.active{border-color:var(--blue);box-shadow:0 0 0 2px #2563eb18;color:var(--blue)}
.photo-upload>span{display:block;margin-bottom:7px}.photo-upload>span small{margin-left:5px;color:var(--muted);font-weight:600}.photo-control{display:flex;align-items:center;gap:14px;padding:13px;border:1px dashed #b9c5d6;border-radius:13px;background:#fbfdff}.photo-thumb{width:66px;height:66px;flex:0 0 66px;display:grid;place-items:center;border-radius:50%;background:#eaf1fb center/cover no-repeat;color:#7b8a9d;font-size:11px;font-weight:900}.photo-thumb.has-photo span{display:none}.photo-control input{position:absolute;width:1px;height:1px;opacity:0}.photo-control strong,.photo-control small{display:block}.photo-control strong{color:var(--blue);cursor:pointer}.photo-control small{color:var(--muted);font-weight:500}.photo-control button{border:0;background:none;padding:4px 0 0;color:#b42318;font-weight:800;cursor:pointer}.photo-error{margin:5px 0 0;color:#b42318;font-size:11px}.cv-photo{position:absolute;right:38px;top:30px;width:96px;height:112px;border-radius:14px;object-fit:cover;border:4px solid #ffffff40;box-shadow:0 8px 22px #0003}.cv-paper-head{position:relative}.cv-paper-head:has(.cv-photo:not([hidden])){padding-right:155px}
.cv-paper[data-template=modern] .cv-paper-head{background:linear-gradient(135deg,#063b3b,#0f766e)}.cv-paper[data-template=modern] .cv-side{background:#ecfdf5}.cv-paper[data-template=modern] h3{border-color:#0f766e}.cv-paper[data-template=minimal]{border-radius:2px}.cv-paper[data-template=minimal] .cv-paper-head{background:#fff;color:var(--navy);border-bottom:3px solid var(--navy)}.cv-paper[data-template=minimal] .cv-paper-head p{color:#667085}.cv-paper[data-template=minimal] .cv-paper-body{grid-template-columns:1fr 2.25fr}.cv-paper[data-template=minimal] .cv-side{background:#fff;border-right:1px solid var(--line)}.cv-paper[data-template=minimal] h3{border-color:#94a3b8}
@media(max-width:600px){.template-options{grid-template-columns:1fr}.template-choice{grid-template-columns:58px 1fr;align-items:center;text-align:left}.template-choice i{height:38px}.cv-photo{width:78px;height:92px;right:22px;top:22px}.cv-paper-head:has(.cv-photo:not([hidden])){padding-right:118px}}
@media print{.cv-photo{border-color:#ffffff80}.cv-paper[data-template=minimal] .cv-paper-head{print-color-adjust:exact;-webkit-print-color-adjust:exact}}
