/* =========================================================
   Template CV (ukuran A4: 794 x 1123 px pada 96 dpi)
   ========================================================= */
.cvdoc{position:relative;width:794px;min-height:1123px;background:#fff;color:#1f2430;font-family:'Poppins',Arial,Helvetica,sans-serif;font-stretch:100%;font-size:12.5px;line-height:1.5;text-align:left;overflow:hidden;-webkit-print-color-adjust:exact;print-color-adjust:exact;box-sizing:border-box}
.cvdoc *{box-sizing:border-box;margin:0;padding:0}
.cvdoc ul{list-style:none}
.cvdoc h1,.cvdoc h2,.cvdoc h3{font-stretch:100%;text-transform:none;letter-spacing:0;font-weight:700}
.cvdoc table{border-collapse:collapse}
.cvdoc td{vertical-align:top;padding:1px 0}
.cv-i{width:14px;height:14px;flex:none}
.cv-item{break-inside:avoid}
.cv-sum{text-align:justify}
.cv-bul li,.cv-list li{position:relative;padding-left:14px;margin-bottom:3px}
.cv-bul li::before{content:"";position:absolute;left:2px;top:7px;width:5px;height:5px;border-radius:50%;background:currentColor;opacity:.6}
.cv-ini{display:grid;place-items:center;background:linear-gradient(135deg,#d9dbe8,#b9bdd6);color:#fff;font-weight:700;font-size:44px;letter-spacing:.04em}
.cvdoc img{display:block}

/* watermark pratinjau */
.cv-wm{position:absolute;inset:-200px;display:flex;flex-wrap:wrap;align-content:space-around;justify-content:space-around;gap:60px 40px;transform:rotate(-30deg);pointer-events:none;z-index:50}
.cv-wm span{font-family:Arial,sans-serif;font-weight:900;font-size:30px;letter-spacing:.08em;color:rgba(43,43,242,.13);white-space:nowrap;text-transform:uppercase}

/* =========================================================
   1. ATS FRIENDLY — hitam putih, satu kolom
   ========================================================= */
.tpl-ats{padding:44px 58px 48px;font-family:Arial,Helvetica,sans-serif;color:#000;font-size:13px;line-height:1.45}
.tpl-ats .a-head{display:flex;align-items:center;gap:28px;margin-bottom:12px;text-align:center}
.tpl-ats .cv-photo{flex:none;width:112px;height:150px;object-fit:cover}
.tpl-ats .a-id{flex:1;min-width:0}
.tpl-ats .a-head.has-photo .a-id{padding-right:30px}
.tpl-ats .cv-name{font-size:32px;font-weight:700;line-height:1.1;margin-bottom:6px}
.tpl-ats .a-id p{font-size:13px;line-height:1.4}
.tpl-ats .cv-h{font-size:17px;font-weight:700;text-transform:uppercase;border-bottom:1px solid #777;padding-bottom:3px;margin:16px 0 7px}
.tpl-ats .a-co{font-weight:700;font-style:italic;font-size:13.5px}
.tpl-ats .a-row{display:flex;justify-content:space-between;gap:16px;margin:1px 0 3px}
.tpl-ats .a-row span:last-child{flex:none;white-space:nowrap}
.tpl-ats .cv-item{margin-bottom:6px}
.tpl-ats .a-bul li{position:relative;padding-left:44px;margin-bottom:2px}
.tpl-ats .a-bul li::before{content:"•";position:absolute;left:20px;top:0}
.tpl-ats .a-sub{font-weight:700;font-style:italic;margin-top:4px}

/* =========================================================
   2. FEMININ PINK — sidebar pink, foto melengkung
   ========================================================= */
.tpl-feminin{display:grid;grid-template-columns:276px 1fr;background:#fcf8f6;color:#4a2f33;font-family:'Poppins',Arial,sans-serif}
.tpl-feminin .f-side{position:relative;background:linear-gradient(180deg,#f6dcdc,#f3d6d6 60%,#f1d2d4);padding:44px 26px 40px;overflow:hidden}
.tpl-feminin .f-arch{position:relative;width:200px;margin:0 auto 34px;padding:8px;border:1.5px solid #c58f84;border-radius:100px 100px 20px 20px}
.tpl-feminin .f-photo{width:100%;height:250px;object-fit:cover;object-position:top;border-radius:94px 94px 14px 14px}
.tpl-feminin .f-spark{position:absolute;top:44%;width:10px;height:10px;background:#c58f84;transform:rotate(45deg)}
.tpl-feminin .f-spark.l{left:-6px}.tpl-feminin .f-spark.r{right:-6px}
.tpl-feminin .f-leaf{position:absolute;left:4px;top:250px;width:70px;height:96px;color:#c58f84;opacity:.8}
.tpl-feminin .f-h{font-size:15px;font-weight:600;letter-spacing:.06em;color:#6b1f2a;padding-bottom:7px;border-bottom:1px solid #d9a8a4;margin:22px 0 12px}
.tpl-feminin .f-contact li{display:flex;gap:12px;align-items:flex-start;padding:7px 0;border-bottom:1px solid #e7bcb8;font-size:11.5px;word-break:break-word}
.tpl-feminin .f-contact li:last-child{border-bottom:0}
.tpl-feminin .f-contact b{display:block;font-weight:600;color:#6b1f2a}
.tpl-feminin .f-ic{flex:none;width:28px;height:28px;border-radius:50%;background:#efc6c4;color:#8e3b45;display:grid;place-items:center}
.tpl-feminin .f-pill{display:inline-block;background:#efc6c4;color:#6b1f2a;font-size:10.5px;font-weight:600;letter-spacing:.1em;padding:3px 12px;border-radius:6px;margin:4px 0 6px}
.tpl-feminin .f-list li{position:relative;padding-left:12px;font-size:11.5px;margin-bottom:2px}
.tpl-feminin .f-list li::before{content:"•";position:absolute;left:0;color:#8e3b45}
.tpl-feminin .f-hr{border:0;border-top:1px solid #d9a8a4;margin:10px 0}
.tpl-feminin .f-blob{position:absolute;right:-60px;top:-60px;width:200px;height:170px;border-radius:50%;background:#f3d6d6;z-index:0}
.tpl-feminin .f-blob2{position:absolute;left:-50px;bottom:-60px;width:220px;height:140px;border-radius:50%;background:#efcaca}
.tpl-feminin .f-main{position:relative;z-index:1;padding:56px 42px 40px 34px}
.tpl-feminin .f-cv{font-size:15px;letter-spacing:.32em;color:#6b1f2a;text-align:center}
.tpl-feminin .f-orn{display:flex;align-items:center;justify-content:center;gap:6px;color:#d48a8a;margin:6px 0 18px}
.tpl-feminin .f-orn i{width:90px;height:1px;background:#e3b3ae}.tpl-feminin .f-orn b{font-size:9px}
.tpl-feminin .cv-name{font-family:'Playfair Display',Georgia,serif;font-weight:600;font-size:44px;line-height:1.05;color:#6b1f2a}
.tpl-feminin .f-role{font-style:italic;color:#c0727a;margin-top:6px}
.tpl-feminin .f-rule{border:0;border-top:1px solid #d9a8a4;margin:18px 0 14px;width:85%}
.tpl-feminin .cv-sum{text-align:left;color:#4a2f33}
.tpl-feminin .f-sh{display:flex;align-items:center;gap:12px;margin:24px 0 12px}
.tpl-feminin .f-sic{flex:none;width:42px;height:42px;border-radius:50%;background:#f3d6d6;color:#8e3b45;display:grid;place-items:center}
.tpl-feminin .f-sic .cv-i{width:20px;height:20px}
.tpl-feminin .f-sh .cv-h{flex:1;font-size:16px;font-weight:600;letter-spacing:.03em;color:#6b1f2a;border-bottom:1px solid #d9a8a4;padding-bottom:5px}
.tpl-feminin .f-tbl td{padding:3px 0;font-size:12px}
.tpl-feminin .f-tbl td:first-child{width:170px}.tpl-feminin .f-tbl td:nth-child(2){width:16px}
.tpl-feminin .f-dash{border:0;border-top:1px dashed #d9a8a4;margin:18px 0 0}
.tpl-feminin .f-job{margin-bottom:12px}
.tpl-feminin .f-jh{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
.tpl-feminin .f-jh b{display:block;font-size:13.5px;font-weight:600}
.tpl-feminin .f-jh i{display:block;color:#c0727a;font-size:12.5px}
.tpl-feminin .f-date{flex:none;background:#c97a7f;color:#fff;font-size:11px;font-weight:500;padding:3px 12px;border-radius:999px}
.tpl-feminin .f-jd{display:block;margin:6px 0 3px}
.tpl-feminin .f-bul li,.tpl-feminin .cv-bul li{position:relative;padding-left:16px;margin-bottom:3px}
.tpl-feminin .f-bul li::before{content:"";position:absolute;left:3px;top:7px;width:5px;height:5px;border-radius:50%;background:#4a2f33}

/* =========================================================
   3. NATURAL ELEGAN — krem & cokelat
   ========================================================= */
.tpl-natural{background:#faf6ee;color:#3c2b20;font-family:'Poppins',Arial,sans-serif}
.tpl-natural .n-leaf1{position:absolute;right:-10px;top:-10px;width:130px;height:170px;color:#d8c9b2;transform:rotate(18deg)}
.tpl-natural .n-leaf2{position:absolute;left:-14px;bottom:110px;width:90px;height:120px;color:#e0d3bf;transform:rotate(-20deg)}
.tpl-natural .n-top{position:relative;display:grid;grid-template-columns:220px 1fr;gap:16px;padding:30px 30px 0 34px}
.tpl-natural .n-photo{position:relative;background:#fff;padding:9px 9px 22px;box-shadow:0 6px 16px rgba(60,40,20,.25);transform:rotate(-3deg);align-self:start;z-index:2}
.tpl-natural .n-img{width:100%;height:215px;object-fit:cover;object-position:top}
.tpl-natural .n-tape{position:absolute;top:-12px;left:50%;width:84px;height:24px;margin-left:-42px;background:rgba(214,196,160,.85);transform:rotate(-4deg);z-index:3}
.tpl-natural .n-right{position:relative;z-index:1}
.tpl-natural .n-band{background:#4b4a3c;color:#fff;margin:10px -30px 0 -40px;padding:16px 40px 14px 56px;border-radius:6px 0 0 30px;clip-path:polygon(2% 0,100% 4%,100% 100%,0 92%)}
.tpl-natural .cv-name{font-family:'Kaushan Script',cursive;font-weight:400;font-size:46px;line-height:1.1;color:#fff}
.tpl-natural .n-cv{font-size:15px;font-weight:600;text-align:right;margin-top:-2px}
.tpl-natural .n-sum{font-size:11.8px;margin:12px 0 0 6px}
.tpl-natural .n-cols{position:relative;z-index:1;display:grid;grid-template-columns:250px 1fr;gap:0;padding:16px 30px 96px 34px}
.tpl-natural .n-side{padding-right:20px;border-right:1px solid #cdbca3}
.tpl-natural .n-main{padding-left:22px}
.tpl-natural .n-h{font-family:'Playfair Display',Georgia,serif;font-size:24px;font-weight:700;color:#3c2b20;margin-top:4px}
.tpl-natural .n-sw{display:block;width:85%;height:12px;color:#7a5038;margin:-2px 0 10px}
.tpl-natural .n-list li{display:flex;gap:10px;margin-bottom:7px;font-size:11.8px;word-break:break-word}
.tpl-natural .n-list b{display:block;font-weight:600}
.tpl-natural .n-ic{flex:none;width:30px;height:30px;border-radius:50%;background:#7a5038;color:#fff;display:grid;place-items:center}
.tpl-natural .n-pill{display:inline-block;background:#ead9c2;font-style:italic;font-weight:600;padding:3px 18px;border-radius:999px;margin:6px 0 6px}
.tpl-natural .n-dot li{position:relative;padding-left:20px;font-size:12px;margin-bottom:3px}
.tpl-natural .n-dot li::before{content:"";position:absolute;left:4px;top:6px;width:7px;height:7px;border-radius:50%;background:#3c2b20}
.tpl-natural .n-hr{border:0;border-top:2px dotted #cdbca3;margin:10px 0}
.tpl-natural .n-sh{display:flex;align-items:center;gap:14px;margin:4px 0 8px}
.tpl-natural .n-sh>div{flex:1}
.tpl-natural .n-sic{flex:none;width:46px;height:46px;border-radius:50%;background:#7a5038;color:#fff;display:grid;place-items:center}
.tpl-natural .n-sic .cv-i{width:24px;height:24px}
.tpl-natural .n-sh .cv-h{font-family:'Playfair Display',Georgia,serif;font-size:22px;font-weight:700}
.tpl-natural .n-sh .n-sw{width:90%;margin:0}
.tpl-natural .n-box{background:#efe3d2;border-radius:12px;padding:10px 16px;margin-bottom:12px}
.tpl-natural .n-tbl td{padding:2px 0;font-size:12.5px}
.tpl-natural .n-tbl td:first-child{width:118px}.tpl-natural .n-tbl td:nth-child(2){width:20px}
.tpl-natural .n-job{margin-bottom:8px}
.tpl-natural .n-co{display:inline-block;background:#ead9c2;font-weight:700;font-style:italic;font-size:13.5px;padding:4px 22px;border-radius:999px;margin-bottom:6px}
.tpl-natural .n-tl{position:relative;padding-left:26px;border-left:3px solid #9b7a62;margin-left:10px}
.tpl-natural .n-tl::before{content:"";position:absolute;left:-9px;top:3px;width:15px;height:15px;border-radius:50%;background:#9b7a62}
.tpl-natural .n-tl h3{font-size:14px;font-weight:700;font-style:italic}
.tpl-natural .n-meta td{font-size:12px;padding:1px 0}.tpl-natural .n-meta td:first-child{width:76px}.tpl-natural .n-meta td:nth-child(2){width:16px}
.tpl-natural .n-bul li{position:relative;padding-left:16px;font-size:11.8px;margin:2px 0 2px 76px}
.tpl-natural .n-bul li::before{content:"";position:absolute;left:3px;top:7px;width:5px;height:5px;border-radius:50%;background:#3c2b20}
.tpl-natural .cv-bul li{font-size:12px}
.tpl-natural .n-wave{position:absolute;left:0;right:0;bottom:0;height:80px;background:radial-gradient(120% 90% at 20% 100%,#c9b49a 0 45%,transparent 46%),radial-gradient(120% 100% at 80% 100%,#ddcdb6 0 50%,transparent 51%),linear-gradient(transparent 40%,#e8dccb 41%)}

/* =========================================================
   4. MODERN MAROON — header marun
   ========================================================= */
.tpl-maroon{background:#f9f7f8;color:#2b2326;font-family:'Poppins',Arial,sans-serif}
.tpl-maroon .m-head{position:relative;display:flex;align-items:center;gap:40px;height:262px;padding:0 44px;background:linear-gradient(120deg,#5b0b1d,#7a1430 60%,#6a0f26);color:#fff;overflow:hidden}
.tpl-maroon .m-s1,.tpl-maroon .m-s2,.tpl-maroon .m-s3{position:absolute;display:block;transform:skewX(-35deg)}
.tpl-maroon .m-s1{right:40px;top:-20px;width:60px;height:140px;background:linear-gradient(#ff8aa8,#e0507a)}
.tpl-maroon .m-s2{right:-30px;bottom:-10px;width:80px;height:160px;background:linear-gradient(#f3a1b6,#ffd3de);opacity:.9}
.tpl-maroon .m-s3{left:-40px;bottom:-30px;width:140px;height:70px;background:linear-gradient(90deg,#e0507a,#ff9db6);opacity:.8}
.tpl-maroon .m-photo{position:relative;z-index:2;flex:none;width:200px;height:200px;border-radius:50%;border:6px solid #fff;overflow:hidden;box-shadow:0 8px 24px rgba(0,0,0,.3)}
.tpl-maroon .m-img{width:100%;height:100%;object-fit:cover;object-position:top}
.tpl-maroon .m-title{position:relative;z-index:2}
.tpl-maroon .cv-name{font-size:46px;font-weight:800;line-height:1.05;color:#fff}
.tpl-maroon .m-cv{font-size:18px;letter-spacing:.32em;font-weight:500;margin-top:10px}
.tpl-maroon .m-line{display:block;width:200px;height:3px;margin-top:16px;background:linear-gradient(90deg,#fff,rgba(255,255,255,0))}
.tpl-maroon .m-cols{display:grid;grid-template-columns:272px 1fr}
.tpl-maroon .m-side{padding:26px 22px 30px 30px;border-right:1px solid #e5dfe1}
.tpl-maroon .m-main{padding:26px 34px 30px 26px}
.tpl-maroon .m-sh{display:flex;align-items:center;gap:12px;margin:6px 0 14px}
.tpl-maroon .m-sic{flex:none;width:44px;height:44px;border-radius:50%;background:#7a1430;color:#fff;display:grid;place-items:center}
.tpl-maroon .m-sic .cv-i{width:21px;height:21px}
.tpl-maroon .m-sh .cv-h{flex:1;font-size:17px;font-weight:700;color:#7a1430;border-bottom:1.5px solid #7a1430;padding-bottom:4px}
.tpl-maroon .m-list li{display:flex;gap:12px;margin-bottom:11px;font-size:11.8px;word-break:break-word}
.tpl-maroon .m-list b{display:block;font-weight:600}
.tpl-maroon .m-ic{flex:none;color:#7a1430;padding-top:2px}.tpl-maroon .m-ic .cv-i{width:18px;height:18px}
.tpl-maroon .m-pill{display:inline-block;background:#f8dbe3;color:#7a1430;font-weight:600;padding:3px 14px;border-radius:999px;margin:8px 0 6px}
.tpl-maroon .m-dot li{position:relative;padding-left:18px;font-size:12px;margin-bottom:3px}
.tpl-maroon .m-dot li::before{content:"";position:absolute;left:4px;top:7px;width:5px;height:5px;border-radius:50%;background:#2b2326}
.tpl-maroon .m-edu{position:relative;background:#f6eaee;border-radius:10px;padding:12px 16px 12px 34px;margin-bottom:18px}
.tpl-maroon .m-edu::before{content:"";position:absolute;left:14px;top:14px;bottom:14px;width:3px;background:#7a1430;border-radius:3px}
.tpl-maroon .m-edu>b{display:block;font-size:14px;margin-bottom:4px}
.tpl-maroon .m-tbl td{font-size:12px;padding:1px 0}.tpl-maroon .m-tbl td:first-child{width:96px;color:#4a3f43}.tpl-maroon .m-tbl td:nth-child(2){width:16px}
.tpl-maroon .m-tl{position:relative;padding-left:24px;border-left:3px solid #7a1430;margin-left:8px}
.tpl-maroon .m-job{position:relative;margin-bottom:14px}
.tpl-maroon .m-job::before{content:"";position:absolute;left:-32px;top:6px;width:13px;height:13px;border-radius:50%;background:#7a1430}
.tpl-maroon .m-date{display:inline-block;background:#f8dbe3;color:#7a1430;font-weight:600;font-size:12px;padding:2px 14px;border-radius:999px}
.tpl-maroon .m-job h3{font-size:16px;font-weight:700;color:#2b2326;margin:4px 0 4px}
.tpl-maroon .m-bul li{position:relative;padding-left:14px;margin-bottom:1px}
.tpl-maroon .m-bul li::before{content:"";position:absolute;left:2px;top:7px;width:5px;height:5px;border-radius:50%;background:#7a1430}
.tpl-maroon .cv-bul li{font-size:12px}

/* =========================================================
   5. PROFESIONAL NAVY — sidebar navy, aksen emas
   ========================================================= */
.tpl-profesional{display:grid;grid-template-columns:262px 1fr;color:#1c2333;font-family:'Poppins',Arial,sans-serif}
.tpl-profesional .p-side{background:#10264a;color:#e9edf5;padding:40px 24px 34px}
.tpl-profesional .p-photo{width:180px;height:180px;margin:0 auto 30px;border-radius:50%;border:4px solid #fff;outline:3px solid #d8a228;outline-offset:2px;overflow:hidden}
.tpl-profesional .p-img{width:100%;height:100%;object-fit:cover;object-position:top}
.tpl-profesional .p-pill{display:inline-block;background:#e0ab35;color:#10264a;font-weight:700;font-size:14px;letter-spacing:.03em;padding:5px 22px;border-radius:999px;margin-bottom:12px}
.tpl-profesional .p-list li{display:flex;gap:12px;margin-bottom:10px;font-size:11.8px;word-break:break-word}
.tpl-profesional .p-list b{display:block;font-weight:600;color:#fff}
.tpl-profesional .p-ic{flex:none;color:#e0ab35;padding-top:1px}.tpl-profesional .p-ic .cv-i{width:17px;height:17px}
.tpl-profesional .p-hr{border:0;border-top:1px solid rgba(255,255,255,.35);margin:14px 30px 16px 0}
.tpl-profesional .p-dot li{position:relative;padding-left:16px;font-size:11.8px;margin-bottom:3px}
.tpl-profesional .p-dot li::before{content:"";position:absolute;left:2px;top:7px;width:6px;height:6px;border-radius:50%;background:#e0ab35}
.tpl-profesional .p-main{position:relative;padding:46px 40px 34px 34px;overflow:hidden}
.tpl-profesional .p-c1{position:absolute;right:0;top:0;width:0;height:0;border-left:120px solid transparent;border-top:120px solid #e0ab35}
.tpl-profesional .p-c2{position:absolute;right:0;top:70px;width:0;height:0;border-top:40px solid transparent;border-bottom:40px solid transparent;border-right:46px solid #10264a}
.tpl-profesional .p-c3{position:absolute;right:0;bottom:0;width:0;height:0;border-left:110px solid transparent;border-bottom:220px solid #e0ab35;opacity:.9}
.tpl-profesional .cv-name{position:relative;font-size:46px;font-weight:800;line-height:1;color:#10264a;letter-spacing:.01em;padding-right:80px}
.tpl-profesional .p-cv{font-size:18px;font-weight:700;color:#d8a228;margin-top:10px}
.tpl-profesional .p-line{position:relative;height:2px;background:#d8a228;width:78%;margin:14px 0 6px}
.tpl-profesional .p-line i{position:absolute;right:-5px;top:-4px;width:10px;height:10px;border-radius:50%;background:#d8a228}
.tpl-profesional .p-sh{display:flex;align-items:center;gap:12px;margin:22px 0 10px}
.tpl-profesional .p-sic{flex:none;width:40px;height:40px;border-radius:50%;background:#e0ab35;color:#fff;display:grid;place-items:center}
.tpl-profesional .p-sic .cv-i{width:20px;height:20px}
.tpl-profesional .p-sh .cv-h{flex:1;font-size:18px;font-weight:700;color:#10264a;border-bottom:1.5px solid #37425a;padding-bottom:3px}
.tpl-profesional .p-tl{position:relative;padding-left:26px;margin-left:16px;border-left:2px solid #c8ccd6}
.tpl-profesional .p-edu,.tpl-profesional .p-job{position:relative;margin-bottom:12px}
.tpl-profesional .p-edu::before,.tpl-profesional .p-job::before{content:"";position:absolute;left:-33px;top:4px;width:12px;height:12px;border-radius:50%;background:#e0ab35}
.tpl-profesional .p-row{display:flex;justify-content:space-between;gap:12px}
.tpl-profesional .p-row b,.tpl-profesional .p-job>b{font-size:13.5px;font-weight:700;color:#10264a}
.tpl-profesional .p-sub{font-size:12px;color:#4a5263}
.tpl-profesional .p-pos{font-size:12.5px;color:#37425a}
.tpl-profesional .p-date{display:flex;align-items:center;gap:8px;font-size:12px;margin:2px 0}
.tpl-profesional .p-date .cv-i{color:#37425a}
.tpl-profesional .p-bul li{position:relative;padding-left:14px;font-size:11.8px;margin-bottom:1px}
.tpl-profesional .p-bul li::before{content:"";position:absolute;left:2px;top:7px;width:5px;height:5px;border-radius:50%;background:#10264a}
.tpl-profesional .p-check li{display:flex;align-items:center;gap:10px;margin-bottom:6px}
.tpl-profesional .p-check span{flex:none;width:20px;height:20px;border-radius:50%;background:#e0ab35;color:#fff;display:grid;place-items:center}
.tpl-profesional .p-check .cv-i{width:12px;height:12px;stroke-width:3}

/* =========================================================
   6. MODERN MINIMALIS — abu-biru
   ========================================================= */
.tpl-modern{color:#1b1f27;font-family:'Poppins',Arial,sans-serif;background:#fff}
.tpl-modern .g-head{position:relative;display:flex;align-items:center;gap:30px;height:250px;padding:0 40px;background:linear-gradient(180deg,#dfe6ef,#d3dce7);overflow:hidden}
.tpl-modern .g-s1,.tpl-modern .g-s2,.tpl-modern .g-s3,.tpl-modern .g-s4{position:absolute;display:block;transform:skewX(-40deg)}
.tpl-modern .g-s1{left:-60px;top:-20px;width:120px;height:320px;background:#8597ad;opacity:.55}
.tpl-modern .g-s2{left:150px;top:-40px;width:46px;height:200px;background:#6f829a;opacity:.5}
.tpl-modern .g-dots{position:absolute;right:26px;top:22px;width:120px;height:80px;background-image:radial-gradient(#9aa8bb 1.6px,transparent 1.8px);background-size:12px 12px}
.tpl-modern .g-photo{position:relative;z-index:2;flex:none;width:184px;height:184px;border-radius:50%;border:6px solid #fff;overflow:hidden;box-shadow:0 8px 24px rgba(30,40,60,.25)}
.tpl-modern .g-img{width:100%;height:100%;object-fit:cover;object-position:top}
.tpl-modern .g-title{position:relative;z-index:2;flex:1;text-align:center}
.tpl-modern .g-cv{display:flex;align-items:center;justify-content:center;gap:14px;font-size:16px;letter-spacing:.24em;font-weight:500}
.tpl-modern .g-cv i{width:70px;height:2px;background:#1b1f27}
.tpl-modern .cv-name{font-size:50px;font-weight:800;line-height:1.05;margin-top:8px;letter-spacing:-.01em}
.tpl-modern .g-role{font-size:14px;color:#4b5567;margin-top:6px}
.tpl-modern .g-cols{display:grid;grid-template-columns:300px 1fr;padding:18px 30px 40px}
.tpl-modern .g-side{padding-right:22px;border-right:1.5px solid #c9d1dc}
.tpl-modern .g-main{padding-left:24px}
.tpl-modern .cv-sec{margin-bottom:12px}
.tpl-modern .g-sh{display:flex;align-items:center;gap:12px;margin:6px 0 10px}
.tpl-modern .g-sic{flex:none;width:40px;height:40px;border-radius:50%;background:#1f2633;color:#fff;display:grid;place-items:center}
.tpl-modern .g-sic .cv-i{width:20px;height:20px}
.tpl-modern .g-sh .cv-h{font-size:16px;font-weight:700;white-space:nowrap}
.tpl-modern .g-sh i{flex:1;height:2px;background:#1f2633}
.tpl-modern .g-tbl td{font-size:11.6px;padding:1.5px 0}.tpl-modern .g-tbl td:first-child{width:118px;white-space:nowrap}.tpl-modern .g-tbl td:nth-child(2){width:12px}
.tpl-modern .g-box{background:#d6dfe9;border-radius:12px;padding:12px 16px}
.tpl-modern .g-school{display:block;font-style:italic;font-weight:700;font-size:14px;margin-bottom:4px}
.tpl-modern .g-box .g-tbl td:first-child{width:92px}
.tpl-modern .g-pill{display:inline-block;background:#b9c6d6;font-weight:600;padding:3px 16px;border-radius:8px;margin:4px 0 6px}
.tpl-modern .g-dot li{position:relative;padding-left:18px;font-size:11.8px;margin-bottom:3px}
.tpl-modern .g-dot li::before{content:"";position:absolute;left:3px;top:6px;width:7px;height:7px;border-radius:50%;background:#1b1f27}
.tpl-modern .g-hr{border:0;border-top:2px dotted #9aa8bb;margin:10px 0}
.tpl-modern .cv-sum{font-size:12px}
.tpl-modern .g-tl{position:relative}
.tpl-modern .g-tl::before{content:"";position:absolute;left:104px;top:0;bottom:0;width:2px;background:#1f2633}
.tpl-modern .g-job{position:relative;display:grid;grid-template-columns:84px 1fr;gap:36px;margin-bottom:12px}
.tpl-modern .g-year{align-self:start;background:#d6dfe9;border-radius:8px;text-align:center;font-size:15px;font-weight:500;padding:6px 0}
.tpl-modern .g-dot-tl{position:absolute;left:97px;top:10px;width:16px;height:16px;border-radius:50%;background:#1f2633}
.tpl-modern .g-job b{display:block;font-size:14.5px;font-weight:700}
.tpl-modern .g-job em{display:block;font-size:12.5px;color:#36404f}
.tpl-modern .g-jd{display:inline-block;background:#b9c6d6;font-weight:600;font-size:11.5px;padding:2px 12px;border-radius:8px;margin:6px 0 4px}
.tpl-modern .g-lang{font-size:12.5px}
.tpl-modern .g-s3{left:-40px;bottom:-20px;width:70px;height:110px;background:#8597ad;opacity:.55}
.tpl-modern .g-s4{left:60px;bottom:-30px;width:150px;height:46px;background:#6f829a;opacity:.45}
.tpl-modern .cv-bul li{font-size:12px}

/* =========================================================
   7. CLASSIC — serif tradisional
   ========================================================= */
.tpl-classic{padding:52px 60px;font-family:'Lora',Georgia,'Times New Roman',serif;color:#222;font-size:12.5px}
.tpl-classic .cv-head{position:relative;text-align:center;padding-bottom:16px;margin-bottom:18px;border-bottom:3px double #333}
.tpl-classic .cv-photo{position:absolute;right:0;top:0;width:86px;height:112px;object-fit:cover;border:1px solid #999;padding:3px;background:#fff}
.tpl-classic .cv-name{font-size:30px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;font-variant:small-caps}
.tpl-classic .cv-title{font-style:italic;font-size:14px;color:#555;margin-top:4px}
.tpl-classic .cv-line{font-size:11.5px;margin-top:10px;color:#333}
.tpl-classic .cv-line .dot{font-size:7px;margin:0 9px;vertical-align:2px;color:#888}
.tpl-classic .cv-head:has(.cv-photo){padding-right:100px;padding-left:100px;min-height:128px}
.tpl-classic .cv-sec{display:grid;grid-template-columns:150px 1fr;gap:18px;margin-bottom:14px;break-inside:avoid}
.tpl-classic .cv-h{font-size:12.5px;font-weight:700;text-transform:uppercase;letter-spacing:.12em;text-align:right;color:#333;padding-top:1px}
.tpl-classic .cv-sec>div{border-left:1px solid #bbb;padding-left:18px}
.tpl-classic .cv-item{margin-bottom:10px}
.tpl-classic .cv-row{display:flex;justify-content:space-between;gap:12px}
.tpl-classic .cv-date{flex:none;font-size:11.5px;color:#666}
.tpl-classic .cv-org{color:#555;font-style:italic}
.tpl-classic .cv-cols2{columns:2;column-gap:24px}
.tpl-classic .cv-cols2 li{margin-bottom:3px;break-inside:avoid}
.tpl-classic .cv-cols2 li::before{content:"– ";color:#888}

/* sertifikasi & organisasi di template berkolom */
.tpl-feminin .cv-sec>.cv-bul,.tpl-natural .cv-sec>.cv-bul,.tpl-maroon .cv-sec>.cv-bul,.tpl-profesional .cv-sec>.cv-bul,.tpl-modern .cv-sec>.cv-bul{font-size:12px}

/* ---------- wadah pratinjau yang diskalakan ---------- */
.cv-frame{position:relative;width:100%;overflow:hidden;border-radius:14px;background:#e9eaf3;box-shadow:0 20px 50px rgba(10,10,40,.18)}
.cv-scale{transform-origin:top left;width:794px}
.cv-protect{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}

@media print{
  @page{size:A4;margin:0}
  .cv-frame{box-shadow:none;border-radius:0;overflow:visible;background:#fff}
  .cv-scale{transform:none!important;height:auto!important}
}
