#cw-resume-maker{font-family:Arial,Helvetica,sans-serif;color:#172033;max-width:1500px;margin:20px auto}
#cw-resume-maker *{box-sizing:border-box}
.cw-rm-head{display:flex;justify-content:space-between;align-items:center;gap:20px;background:linear-gradient(135deg,#4c1d95,#6d28d9 55%,#7c3aed);color:#fff;padding:16px 22px;border-radius:12px;margin-bottom:14px;box-shadow:0 8px 24px rgba(76,29,149,.18)}
.cw-rm-brand{display:flex;align-items:center;gap:13px}.cw-rm-doc-icon{font-size:42px;line-height:1;color:#fff}.cw-rm-head h2{margin:0;font-size:27px;line-height:1.15}.cw-rm-head p{margin:4px 0 0;font-size:14px;opacity:.95}.cw-brand-main{color:#fff}.cw-brand-sep{opacity:.7;margin:0 4px}.cw-brand-accent{color:#f5d0fe}.cw-rm-head-points{display:flex;gap:15px;font-size:13px;font-weight:700;white-space:nowrap}.cw-rm-head-points span{opacity:.98}
.cw-rm-layout{display:grid;grid-template-columns:590px minmax(0,1fr);gap:14px;align-items:start}.cw-rm-editor{display:flex;flex-direction:column;gap:10px}
.cw-card{background:#fff;border:1px solid #e3e0ef;border-radius:10px;padding:12px;box-shadow:0 3px 12px rgba(76,29,149,.06)}.cw-card h3{margin:0 -12px 10px;padding:8px 12px;background:linear-gradient(90deg,#ede9fe,#f5f3ff);color:#3b176d;border-radius:7px;font-size:17px;line-height:1.2;border-left:4px solid #7c3aed}.cw-card:nth-child(2) h3{background:#fce7f3;color:#831843;border-left-color:#ec4899}.cw-card:nth-child(3) h3{background:#dcfce7;color:#14532d;border-left-color:#22c55e}.cw-card:nth-child(4) h3{background:#fef3c7;color:#78350f;border-left-color:#f59e0b}.cw-card:nth-child(5) h3{background:#e0f2fe;color:#14532d;border-left-color:#22c55e}.cw-card:nth-child(6) h3{background:#fef3c7;color:#78350f;border-left-color:#f59e0b}.cw-card:nth-child(7) h3{background:#f3e8ff;color:#581c87;border-left-color:#a855f7}.cw-card h3 small{font-size:12px;font-weight:400}.cw-card label{display:block;font-size:13px;font-weight:700;margin:7px 0 3px}.cw-card em{color:#dc2626;font-style:normal}.cw-card small{font-weight:400;color:#667085}
.cw-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:7px 9px}.cw-card:first-child .cw-grid-2{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 104px;align-items:start}.cw-card:first-child .cw-grid-2>label:nth-child(1){grid-column:1;grid-row:1}.cw-card:first-child .cw-grid-2>label:nth-child(2){grid-column:2;grid-row:1}.cw-card:first-child .cw-grid-2>label:nth-child(3){grid-column:1;grid-row:2}.cw-card:first-child .cw-grid-2>label:nth-child(4){grid-column:1 / 3;grid-row:3}.cw-photo-field{grid-column:3;grid-row:1 / 4;align-self:start;margin:0}.cw-photo-upload{display:flex;flex-direction:column;align-items:center;gap:6px}.cw-form-photo-box{width:104px;height:128px}.cw-photo-controls{width:100%;text-align:center}.cw-photo-controls input{width:100%;padding:6px;font-size:12px}.cw-photo-controls small{font-size:10px;line-height:1.25}.cw-change-photo{width:100%;margin-top:4px}.cw-photo-upload{display:flex;align-items:center;gap:12px}.cw-form-photo-box{width:92px;height:112px;border:1px solid #d5cce8;border-radius:7px;background:#faf8ff;display:flex;align-items:center;justify-content:center;overflow:hidden;flex:0 0 auto}.cw-form-photo-box img{width:100%;height:100%;object-fit:cover}.cw-photo-controls{flex:1;min-width:0}.cw-photo-controls input{padding:7px}.cw-photo-controls small{display:block;margin-top:5px}.cw-change-photo{display:none;margin-top:6px;border:0;border-radius:6px;padding:7px 12px;background:#6d28d9;color:#fff;font-weight:700;cursor:pointer}
.cw-card input,.cw-card select,.cw-card textarea{width:100%;border:1px solid #cfd5df;border-radius:6px;background:#fff;color:#172033;padding:8px;font:14px Arial,Helvetica,sans-serif;min-height:38px}.cw-card textarea{min-height:68px;resize:vertical}.cw-card input:focus,.cw-card select:focus,.cw-card textarea:focus{outline:none;border-color:#8b5cf6;box-shadow:0 0 0 2px rgba(139,92,246,.12)}
.cw-dob{display:grid;grid-template-columns:.8fr 1.2fr 1fr;gap:5px}.cw-item{border:1px solid #e3e0ef;border-radius:7px;padding:8px;margin-bottom:7px;background:#faf9ff}.cw-item .cw-grid-2{gap:5px 8px}.cw-remove{border:0;background:#fee2e2;color:#b42318;border-radius:5px;padding:7px 10px;font-weight:700;cursor:pointer;margin-top:6px;width:100%}.cw-add{border:0;background:#0aa35a;color:#fff;border-radius:6px;padding:9px 12px;font-weight:700;cursor:pointer;width:100%}.cw-add:hover{filter:brightness(.96)}
.cw-actions{position:sticky;bottom:10px;z-index:10;display:grid;grid-template-columns:1.05fr 1fr 1fr .8fr;gap:7px;background:#fff;border:1px solid #e4e0ef;border-radius:9px;padding:8px;box-shadow:0 8px 22px rgba(15,23,42,.14)}.cw-actions button{border:0;border-radius:6px;padding:11px 8px;background:#6d28d9;color:#fff;font:700 13px Arial;cursor:pointer}.cw-actions #cw-pdf-btn{background:#0aa35a}.cw-actions #cw-print-btn{background:#ef4444}.cw-actions .cw-reset{background:#667085}.cw-actions button:hover{filter:brightness(.96)}
.cw-preview-wrap{background:#f5f3ff;border:1px solid #ddd6fe;border-radius:10px;padding:10px;position:sticky;top:12px;max-height:none;overflow:visible}.cw-preview-bar{display:flex;justify-content:space-between;align-items:center;gap:10px;background:linear-gradient(90deg,#ede9fe,#f5f3ff);color:#4c1d95;border-radius:8px;padding:10px 12px;margin-bottom:10px}.cw-preview-bar strong{font-size:18px} .cw-preview-bar span{background:#6d28d9;color:#fff;padding:6px 11px;border-radius:15px;font-size:12px;font-weight:700}
#cw-preview{display:flex;justify-content:center;align-items:flex-start;overflow:hidden;width:100%;min-height:20px;padding-bottom:4px}.cw-preview-stage{position:relative;width:100%;display:flex;justify-content:center;align-items:flex-start;overflow:visible;min-height:1px}.cw-preview-stage .cw-resume{transform-origin:top center;transition:none!important;will-change:transform}.cw-preview-note{text-align:center;color:#5b4b73;font-size:12px;margin:8px 0 0}
.cw-resume{width:210mm;height:297mm;min-height:297mm;display:flex;flex-direction:column;background:#fff;color:#111;font-family:"Times New Roman",Times,serif;font-size:16px;line-height:1.25;flex:none;box-shadow:0 3px 16px rgba(0,0,0,.18);padding:12mm 10mm}.cw-resume *{box-sizing:border-box}.cw-resume .simpleTitle{text-align:center;font-size:27px;font-weight:700;text-decoration:underline;margin-bottom:9px}.cw-resume .cw-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;min-height:40mm;height:auto}.cw-resume .cw-top-info{padding-right:2mm}.cw-resume .cw-photo{align-self:flex-start;margin-top:0}.cw-resume .cw-top-info{flex:1;min-width:0}.cw-resume .resume-name{font-size:19px;font-weight:700;margin-bottom:2px}.cw-resume .contact{line-height:1.45;margin-bottom:3px;word-break:break-word}.cw-resume .cw-title{font-size:18px;font-weight:700;background:#ede9fe;padding:5px 8px;margin:11px 0 7px;border-top:1px solid #c4b5fd}.cw-resume .cw-title:nth-of-type(2n){background:#fce7f3}.cw-resume .cw-summary{line-height:1.45;white-space:pre-line;text-align:justify}.cw-resume table.cw-qualification-table{width:100%;border-collapse:collapse;table-layout:fixed;margin:0}.cw-resume table.cw-qualification-table th,.cw-resume table.cw-qualification-table td{border:1px solid #444;padding:5px 4px;vertical-align:middle;text-align:center;line-height:1.15;white-space:normal;overflow-wrap:anywhere;word-break:normal}.cw-resume table.cw-qualification-table th{font-weight:700;font-size:10.5pt!important;white-space:nowrap;line-height:1.05;padding:4px 2px}.cw-resume table.cw-qualification-table td{font-size:12pt!important}.cw-resume table.cw-qualification-table th:nth-child(1),.cw-resume table.cw-qualification-table td:nth-child(1){width:20%}.cw-resume table.cw-qualification-table th:nth-child(2),.cw-resume table.cw-qualification-table td:nth-child(2){width:25%;white-space:normal}.cw-resume table.cw-qualification-table th:nth-child(3),.cw-resume table.cw-qualification-table td:nth-child(3){width:14%;white-space:nowrap}.cw-resume table.cw-qualification-table th:nth-child(4),.cw-resume table.cw-qualification-table td:nth-child(4){width:24%}.cw-resume table.cw-qualification-table th:nth-child(5),.cw-resume table.cw-qualification-table td:nth-child(5){width:17%;white-space:nowrap}.cw-resume table.cw-qualification-table td{height:auto;min-height:0}.cw-resume table.cw-qualification-table th{color:#111}.cw-resume table.cw-qualification-table td:empty{min-height:1em}
.cw-resume .skills-list{margin:0;padding-left:25px}.cw-resume .skills-list li{margin:2px 0}.cw-resume .cw-exp{margin:0 0 8px}.cw-resume .cw-exp-title{font-weight:700}.cw-resume .cw-exp-desc{white-space:pre-line;margin-top:2px}.cw-resume .prow{display:grid;grid-template-columns:155px 15px 1fr;line-height:1.45}.cw-resume .cw-declaration{line-height:1.45;text-align:justify}.cw-resume .cw-resume-spacer{flex:1;min-height:10px}.cw-resume .cw-declaration-section{break-inside:avoid;page-break-inside:avoid}.cw-resume .cw-bottom{display:flex;justify-content:space-between;align-items:flex-end;margin-top:28px;break-inside:avoid;page-break-inside:avoid}.cw-resume .cw-sign{text-align:center;min-width:135px;font-weight:700}.cw-resume .cw-sign-line{display:block;border-top:1px solid #111;width:135px;margin:0 auto 4px}.cw-resume .cw-photo{flex:0 0 auto;width:30mm;height:38mm;object-fit:cover;border:1px solid #222;display:block;margin:0}.cw-resume .cw-declaration-section .cw-title{margin-top:12px}
@media(max-width:1050px){.cw-rm-layout{grid-template-columns:1fr}.cw-preview-wrap{position:relative;top:auto;max-height:none;overflow:visible}.cw-rm-editor{max-width:760px;margin:0 auto;width:100%}}
@media(max-width:650px){#cw-resume-maker{margin:8px auto}.cw-rm-head{display:block;text-align:center;padding:15px}.cw-rm-brand{justify-content:center}.cw-rm-head h2{font-size:23px}.cw-rm-head-points{justify-content:center;flex-wrap:wrap;white-space:normal;margin-top:9px;font-size:11px;gap:8px}.cw-grid-2{grid-template-columns:1fr}.cw-actions{grid-template-columns:1fr}.cw-preview-wrap{padding:6px;overflow:visible}.cw-preview-bar strong{font-size:15px}.cw-resume{height:297mm}.cw-rm-editor{padding:0 3px}.cw-card:first-child .cw-grid-2{grid-template-columns:1fr}.cw-card:first-child .cw-grid-2>label:nth-child(1),.cw-card:first-child .cw-grid-2>label:nth-child(2),.cw-card:first-child .cw-grid-2>label:nth-child(3),.cw-card:first-child .cw-grid-2>label:nth-child(4){grid-column:1;grid-row:auto}.cw-photo-field{grid-column:1;grid-row:auto}.cw-photo-upload{align-items:center}}
@media print{#cw-resume-maker .cw-rm-head,#cw-resume-maker .cw-rm-editor,#cw-resume-maker .cw-preview-bar,#cw-resume-maker .cw-preview-note{display:none!important}#cw-resume-maker .cw-preview-wrap{display:block!important;position:static!important;background:#fff!important;border:0!important;padding:0!important;max-height:none!important;overflow:visible!important}#cw-resume-maker #cw-preview{display:block!important}#cw-resume-maker #cw-preview .cw-resume{transform:none!important;margin:0!important;box-shadow:none!important}@page{size:A4 portrait;margin:0}*{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}}


/* v2.8 fixed typography */
.cw-resume{font-size:16pt!important}
.cw-resume .cw-title{font-size:18pt!important;line-height:1.15}
.cw-resume th,.cw-resume td{font-size:16pt!important}
.cw-resume .resume-name{font-size:20pt!important}

.cw-optional-note{display:block;margin:5px 0 7px;color:#667085;font-size:11px;line-height:1.3}.cw-card h3 small{font-size:11px;font-weight:600;color:#667085}
