/* BD CV Builder - app UI */
.bdcv-app, .bdcv-app * { box-sizing: border-box; }
.bdcv-app { font-family: -apple-system, 'Segoe UI', 'Noto Sans Bengali', Roboto, Arial, sans-serif; color: #1c2430; font-size: 14px; position: relative; max-width: 1400px; margin: 0 auto; }
.bdcv-app button, .bdcv-app .btn { font: inherit; cursor: pointer; border: 1px solid #cfd6df; background: #fff; color: #1c2430; padding: 8px 14px; border-radius: 8px; line-height: 1.2; text-decoration: none; display: inline-block; transition: .15s; }
.bdcv-app button:hover, .bdcv-app .btn:hover { border-color: #1f4e79; background: #f3f7fb; }
.bdcv-app button.primary, .bdcv-app .btn.primary { background: #1f4e79; border-color: #1f4e79; color: #fff; font-weight: 600; }
.bdcv-app button.primary:hover, .bdcv-app .btn.primary:hover { background: #163a5b; }
.bdcv-app button.del { color: #b42318; }
.bdcv-app button.del:hover { background: #fef3f2; border-color: #b42318; }

.bdcv-bar { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; justify-content: space-between; background: #fff; border: 1px solid #e3e8ef; border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; box-shadow: 0 2px 8px rgba(16, 24, 40, .06); }
.bdcv-tpls { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; flex: 1 1 100%; max-height: 212px; overflow-y: auto; padding: 2px 4px 2px 2px; }
.bdcv-tpls .tpl { min-width: 0; }
.bdcv-tpls .tpl span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bdcv-tpls .tpl { display: flex; align-items: center; gap: 8px; padding: 6px 8px 6px 6px; text-align: left; }
.bdcv-tpls .tpl.on { border-color: #1f4e79; background: #eaf2fa; box-shadow: 0 0 0 2px rgba(31, 78, 121, .18); }
.bdcv-tpls .tpl span { font-weight: 600; font-size: 13px; }
.th { width: 28px; height: 36px; border: 1px solid #b9c3d0; border-radius: 3px; background: #fff; display: block; position: relative; overflow: hidden; }
.th-classic { background: linear-gradient(#1f4e79 0 0) 3px 3px/16px 3px no-repeat, linear-gradient(#cdd5df 0 0) 3px 10px/22px 2px no-repeat, linear-gradient(#cdd5df 0 0) 3px 15px/22px 2px no-repeat, linear-gradient(#cdd5df 0 0) 3px 20px/22px 2px no-repeat, linear-gradient(#cdd5df 0 0) 3px 25px/22px 2px no-repeat, #fff; }
.th-modern { background: linear-gradient(#1f4e79 0 0) 0 0/10px 100% no-repeat, linear-gradient(#cdd5df 0 0) 13px 5px/12px 2px no-repeat, linear-gradient(#cdd5df 0 0) 13px 12px/12px 2px no-repeat, linear-gradient(#cdd5df 0 0) 13px 19px/12px 2px no-repeat, #fff; }
.th-minimal { background: linear-gradient(#222 0 0) 3px 4px/12px 3px no-repeat, linear-gradient(#cdd5df 0 0) 3px 12px/8px 2px no-repeat, linear-gradient(#cdd5df 0 0) 13px 12px/12px 2px no-repeat, linear-gradient(#cdd5df 0 0) 3px 19px/8px 2px no-repeat, linear-gradient(#cdd5df 0 0) 13px 19px/12px 2px no-repeat, #fff; }
.th-corporate { background: linear-gradient(#1f4e79 0 0) 0 0/100% 10px no-repeat, linear-gradient(#cdd5df 0 0) 3px 15px/13px 2px no-repeat, linear-gradient(#cdd5df 0 0) 3px 21px/13px 2px no-repeat, linear-gradient(#e6ebf1 0 0) 19px 13px/9px 100% no-repeat, #fff; }
.th-executive { background: linear-gradient(#1f4e79 0 0) 7px 3px/14px 3px no-repeat, linear-gradient(#cdd5df 0 0) 4px 9px/20px 1px no-repeat, linear-gradient(#cdd5df 0 0) 3px 15px/22px 2px no-repeat, linear-gradient(#cdd5df 0 0) 3px 20px/22px 2px no-repeat, linear-gradient(#cdd5df 0 0) 3px 25px/22px 2px no-repeat, #fff; }
.th-rightbar { background: linear-gradient(#1f4e79 0 0) 18px 0/10px 100% no-repeat, linear-gradient(#cdd5df 0 0) 3px 5px/12px 2px no-repeat, linear-gradient(#cdd5df 0 0) 3px 12px/12px 2px no-repeat, linear-gradient(#cdd5df 0 0) 3px 19px/12px 2px no-repeat, #fff; }
.th-timeline { background: linear-gradient(#1f4e79 0 0) 5px 8px/1px 24px no-repeat, linear-gradient(#1f4e79 0 0) 3px 9px/5px 5px no-repeat, linear-gradient(#cdd5df 0 0) 11px 10px/14px 2px no-repeat, linear-gradient(#1f4e79 0 0) 3px 19px/5px 5px no-repeat, linear-gradient(#cdd5df 0 0) 11px 20px/14px 2px no-repeat, linear-gradient(#1f4e79 0 0) 3px 3px/14px 3px no-repeat, #fff; }
.th-bold { background: linear-gradient(#1f2933 0 0) 0 0/100% 12px no-repeat, linear-gradient(#1f4e79 0 0) 0 12px/100% 2px no-repeat, linear-gradient(#cdd5df 0 0) 3px 19px/22px 2px no-repeat, linear-gradient(#cdd5df 0 0) 3px 25px/22px 2px no-repeat, #fff; }
.th-compact { background: linear-gradient(#1f4e79 0 0) 0 9px/100% 1px no-repeat, linear-gradient(#e6ebf1 0 0) 19px 10px/9px 100% no-repeat, linear-gradient(#222 0 0) 3px 3px/12px 3px no-repeat, linear-gradient(#cdd5df 0 0) 3px 14px/13px 2px no-repeat, linear-gradient(#cdd5df 0 0) 3px 20px/13px 2px no-repeat, linear-gradient(#cdd5df 0 0) 3px 26px/13px 2px no-repeat, #fff; }
.th-creative { background: linear-gradient(#1f4e79 0 0) 0 0/4px 100% no-repeat, radial-gradient(circle, #1f4e79 0 4px, transparent 5px) 8px 3px/10px 10px no-repeat, linear-gradient(#cdd5df 0 0) 20px 7px/6px 2px no-repeat, linear-gradient(#cdd5df 0 0) 8px 18px/18px 2px no-repeat, linear-gradient(#cdd5df 0 0) 8px 24px/18px 2px no-repeat, #fff; }
.th-banner { background: linear-gradient(#1f4e79 0 0) 0 0/100% 13px no-repeat, linear-gradient(#cdd5df 0 0) 3px 19px/22px 2px no-repeat, linear-gradient(#cdd5df 0 0) 3px 25px/22px 2px no-repeat, linear-gradient(#cdd5df 0 0) 3px 30px/16px 2px no-repeat, #fff; }
.th-darkside { background: linear-gradient(#1f4e79 0 0) 11px 0/2px 100% no-repeat, linear-gradient(#26323d 0 0) 0 0/11px 100% no-repeat, linear-gradient(#cdd5df 0 0) 16px 5px/10px 2px no-repeat, linear-gradient(#cdd5df 0 0) 16px 12px/10px 2px no-repeat, linear-gradient(#cdd5df 0 0) 16px 19px/10px 2px no-repeat, #fff; }
.th-card { background: linear-gradient(#1f4e79 0 0) 3px 3px/22px 2px no-repeat, linear-gradient(#fff 0 0) 3px 3px/22px 9px no-repeat, linear-gradient(#fff 0 0) 3px 14px/22px 9px no-repeat, linear-gradient(#fff 0 0) 3px 25px/22px 8px no-repeat, #dfe5ec; }
.th-tint { background: linear-gradient(#1f4e79 0 0) 0 0/100% 3px no-repeat, linear-gradient(#dde8f3 0 0) 0 3px/10px 100% no-repeat, linear-gradient(#cdd5df 0 0) 13px 8px/12px 2px no-repeat, linear-gradient(#cdd5df 0 0) 13px 15px/12px 2px no-repeat, linear-gradient(#cdd5df 0 0) 13px 22px/12px 2px no-repeat, #fff; }
.th-cleanpro { background: linear-gradient(#111 0 0) 3px 3px/14px 3px no-repeat, linear-gradient(#111 0 0) 3px 9px/22px 2px no-repeat, linear-gradient(#cdd5df 0 0) 3px 15px/22px 2px no-repeat, linear-gradient(#cdd5df 0 0) 3px 21px/22px 2px no-repeat, linear-gradient(#cdd5df 0 0) 3px 27px/22px 2px no-repeat, #fff; }
.th-ats { background: linear-gradient(#222 0 0) 3px 3px/14px 3px no-repeat, linear-gradient(#cdd5df 0 0) 3px 9px/22px 1px no-repeat, linear-gradient(#222 0 0) 3px 14px/10px 2px no-repeat, linear-gradient(#cdd5df 0 0) 3px 18px/22px 2px no-repeat, linear-gradient(#cdd5df 0 0) 3px 22px/22px 2px no-repeat, linear-gradient(#222 0 0) 3px 27px/10px 2px no-repeat, #fff; }
.th-oxford { background: linear-gradient(#222 0 0) 3px 3px/15px 3px no-repeat, linear-gradient(#1f4e79 0 0) 3px 8px/9px 1px no-repeat, linear-gradient(#222 0 0) 3px 11px/22px 1px no-repeat, linear-gradient(#cdd5df 0 0) 3px 15px/22px 2px no-repeat, linear-gradient(#cdd5df 0 0) 3px 20px/22px 2px no-repeat, linear-gradient(#cdd5df 0 0) 3px 25px/22px 2px no-repeat, #fff; }
.th-milan { background: linear-gradient(#222 0 0) 8px 4px/12px 3px no-repeat, linear-gradient(#1f4e79 0 0) 6px 9px/16px 1px no-repeat, linear-gradient(#cdd5df 0 0) 3px 14px/7px 1px no-repeat, linear-gradient(#cdd5df 0 0) 18px 14px/7px 1px no-repeat, linear-gradient(#cdd5df 0 0) 3px 19px/22px 2px no-repeat, linear-gradient(#cdd5df 0 0) 3px 24px/22px 2px no-repeat, linear-gradient(#cdd5df 0 0) 3px 29px/22px 2px no-repeat, #fff; }
.th-zurich { background: linear-gradient(#1f4e79 0 0) 0px 0px/28px 3px no-repeat, linear-gradient(#222 0 0) 3px 6px/18px 4px no-repeat, linear-gradient(#cdd5df 0 0) 3px 14px/7px 2px no-repeat, linear-gradient(#cdd5df 0 0) 12px 14px/13px 2px no-repeat, linear-gradient(#cdd5df 0 0) 3px 20px/7px 2px no-repeat, linear-gradient(#cdd5df 0 0) 12px 20px/13px 2px no-repeat, linear-gradient(#cdd5df 0 0) 3px 26px/7px 2px no-repeat, linear-gradient(#cdd5df 0 0) 12px 26px/13px 2px no-repeat, #fff; }
.th-berlin { background: linear-gradient(#1f4e79 0 0) 3px 3px/2px 9px no-repeat, linear-gradient(#222 0 0) 7px 4px/13px 2px no-repeat, linear-gradient(#1f4e79 0 0) 3px 16px/4px 2px no-repeat, linear-gradient(#cdd5df 0 0) 9px 16px/16px 2px no-repeat, linear-gradient(#1f4e79 0 0) 3px 22px/4px 2px no-repeat, linear-gradient(#cdd5df 0 0) 9px 22px/16px 2px no-repeat, linear-gradient(#1f4e79 0 0) 3px 28px/4px 2px no-repeat, linear-gradient(#cdd5df 0 0) 9px 28px/16px 2px no-repeat, #fff; }
.th-paris { background: linear-gradient(#ece6dc 0 0) 0px 0px/28px 13px no-repeat, linear-gradient(#222 0 0) 3px 4px/12px 3px no-repeat, linear-gradient(#cdd5df 0 0) 3px 18px/22px 2px no-repeat, linear-gradient(#cdd5df 0 0) 3px 24px/22px 2px no-repeat, linear-gradient(#cdd5df 0 0) 3px 30px/16px 2px no-repeat, #fff; }
.th-harvard { background: linear-gradient(#222 0 0) 8px 3px/12px 3px no-repeat, linear-gradient(#cdd5df 0 0) 5px 8px/18px 1px no-repeat, linear-gradient(#222 0 0) 3px 12px/22px 1px no-repeat, linear-gradient(#cdd5df 0 0) 3px 16px/22px 2px no-repeat, linear-gradient(#cdd5df 0 0) 3px 20px/22px 2px no-repeat, linear-gradient(#222 0 0) 3px 25px/22px 1px no-repeat, linear-gradient(#cdd5df 0 0) 3px 29px/22px 2px no-repeat, #fff; }
.th-europass { background: linear-gradient(#1f4e79 0 0) 0px 0px/28px 3px no-repeat, linear-gradient(#9fb3c8 0 0) 3px 6px/6px 6px no-repeat, linear-gradient(#1f4e79 0 0) 9px 7px/14px 3px no-repeat, linear-gradient(#1f4e79 0 0) 3px 16px/7px 2px no-repeat, linear-gradient(#cdd5df 0 0) 13px 16px/12px 2px no-repeat, linear-gradient(#1f4e79 0 0) 3px 22px/7px 2px no-repeat, linear-gradient(#cdd5df 0 0) 13px 22px/12px 2px no-repeat, linear-gradient(#1f4e79 0 0) 3px 28px/7px 2px no-repeat, linear-gradient(#cdd5df 0 0) 13px 28px/12px 2px no-repeat, #fff; }
.th-newyork { background: linear-gradient(#222 0 0) 0px 0px/28px 4px no-repeat, linear-gradient(#222 0 0) 3px 7px/16px 4px no-repeat, linear-gradient(#1f4e79 0 0) 3px 13px/10px 1px no-repeat, linear-gradient(#222 0 0) 3px 16px/22px 1px no-repeat, linear-gradient(#cdd5df 0 0) 3px 19px/22px 2px no-repeat, linear-gradient(#222 0 0) 3px 24px/22px 1px no-repeat, linear-gradient(#cdd5df 0 0) 3px 27px/22px 2px no-repeat, #fff; }
.th-atlas { background: linear-gradient(#1f4e79 0 0) 0px 6px/20px 10px no-repeat, linear-gradient(#cdd5df 0 0) 23px 6px/4px 10px no-repeat, linear-gradient(#cdd5df 0 0) 3px 20px/22px 2px no-repeat, linear-gradient(#cdd5df 0 0) 3px 25px/22px 2px no-repeat, linear-gradient(#cdd5df 0 0) 3px 30px/16px 2px no-repeat, #fff; }
.th-nordic { background: linear-gradient(#f1ece4 0 0) 0px 0px/11px 36px no-repeat, linear-gradient(#cdd5df 0 0) 3px 5px/5px 6px no-repeat, linear-gradient(#cdd5df 0 0) 3px 14px/6px 2px no-repeat, linear-gradient(#222 0 0) 14px 4px/11px 3px no-repeat, linear-gradient(#1f4e79 0 0) 14px 9px/7px 1px no-repeat, linear-gradient(#cdd5df 0 0) 14px 14px/11px 2px no-repeat, linear-gradient(#cdd5df 0 0) 14px 20px/11px 2px no-repeat, linear-gradient(#cdd5df 0 0) 14px 26px/11px 2px no-repeat, #fff; }
.th-midnight { background: linear-gradient(#17202b 0 0) 0px 0px/11px 36px no-repeat, linear-gradient(#cdd5df 0 0) 14px 5px/11px 3px no-repeat, linear-gradient(#1f4e79 0 0) 14px 10px/7px 2px no-repeat, linear-gradient(#cdd5df 0 0) 14px 15px/11px 2px no-repeat, linear-gradient(#cdd5df 0 0) 14px 21px/11px 2px no-repeat, linear-gradient(#cdd5df 0 0) 14px 27px/11px 2px no-repeat, #fff; }
.th-lumen { background: linear-gradient(#e6edf5 0 0) 17px 0px/11px 36px no-repeat, linear-gradient(#222 0 0) 3px 4px/11px 3px no-repeat, linear-gradient(#1f4e79 0 0) 3px 9px/7px 2px no-repeat, linear-gradient(#cdd5df 0 0) 3px 15px/11px 2px no-repeat, linear-gradient(#cdd5df 0 0) 3px 21px/11px 2px no-repeat, linear-gradient(#cdd5df 0 0) 3px 27px/11px 2px no-repeat, linear-gradient(#cdd5df 0 0) 20px 6px/6px 6px no-repeat, linear-gradient(#cdd5df 0 0) 20px 16px/6px 2px no-repeat, #fff; }
.th-vienna { background: linear-gradient(#222 0 0) 3px 3px/14px 3px no-repeat, linear-gradient(#1f4e79 0 0) 3px 8px/9px 1px no-repeat, linear-gradient(#cdd5df 0 0) 0px 12px/28px 1px no-repeat, linear-gradient(#cdd5df 0 0) 3px 16px/13px 2px no-repeat, linear-gradient(#cdd5df 0 0) 3px 22px/13px 2px no-repeat, linear-gradient(#cdd5df 0 0) 3px 28px/13px 2px no-repeat, linear-gradient(#cdd5df 0 0) 18px 12px/1px 24px no-repeat, linear-gradient(#cdd5df 0 0) 20px 16px/6px 2px no-repeat, linear-gradient(#cdd5df 0 0) 20px 22px/6px 2px no-repeat, #fff; }
.th-stockholm { background: linear-gradient(#222 0 0) 3px 3px/14px 3px no-repeat, linear-gradient(#1f4e79 0 0) 3px 9px/22px 1px no-repeat, linear-gradient(#cdd5df 0 0) 3px 14px/12px 2px no-repeat, linear-gradient(#cdd5df 0 0) 3px 20px/12px 2px no-repeat, linear-gradient(#cdd5df 0 0) 3px 26px/12px 2px no-repeat, linear-gradient(#e3ebf4 0 0) 18px 13px/8px 9px no-repeat, linear-gradient(#e3ebf4 0 0) 18px 24px/8px 9px no-repeat, #fff; }
.bdcv-ctl { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.bdcv-seg { display: inline-flex; border: 1px solid #cfd6df; border-radius: 9px; overflow: hidden; }
.bdcv-seg button { border: 0; border-radius: 0; background: #fff; padding: 8px 14px; }
.bdcv-seg button.on { background: #1f4e79; color: #fff; font-weight: 600; }
.bdcv-color { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 13px; }
.bdcv-color input { width: 38px; height: 32px; padding: 0; border: 1px solid #cfd6df; border-radius: 6px; background: #fff; cursor: pointer; }
.bdcv-act { display: flex; gap: 8px; flex-wrap: wrap; }

.bdcv-mtabs { display: none; gap: 8px; margin-bottom: 12px; }
.bdcv-mtabs button { flex: 1; }
.bdcv-mtabs button.on { background: #1f4e79; color: #fff; border-color: #1f4e79; }

.bdcv-main { display: grid; grid-template-columns: minmax(340px, 480px) 1fr; gap: 18px; align-items: start; }
.bdcv-form { display: flex; flex-direction: column; gap: 10px; }
.bdcv-sec { background: #fff; border: 1px solid #e3e8ef; border-radius: 12px; overflow: hidden; }
.bdcv-sec > summary { padding: 13px 16px; font-weight: 700; cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; user-select: none; }
.bdcv-sec > summary::-webkit-details-marker { display: none; }
.bdcv-sec > summary::after { content: '＋'; color: #1f4e79; font-weight: 400; }
.bdcv-sec[open] > summary::after { content: '－'; }
.bdcv-sec[open] > summary { border-bottom: 1px solid #eef1f5; background: #f8fafc; }
.bdcv-sec > summary small { font-weight: 400; color: #7b8794; margin-left: 8px; margin-right: auto; font-size: 12px; }
.bdcv-sec-b { padding: 14px 16px; }
.bdcv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.bdcv-f { display: flex; flex-direction: column; gap: 4px; }
.bdcv-f.full { grid-column: 1 / -1; }
.bdcv-f > span { font-size: 12px; font-weight: 600; color: #52606d; }
.bdcv-f input, .bdcv-f select, .bdcv-f textarea { width: 100%; font: inherit; padding: 8px 10px; border: 1px solid #cfd6df; border-radius: 8px; background: #fff; color: #1c2430; }
.bdcv-f input:focus, .bdcv-f select:focus, .bdcv-f textarea:focus { outline: 2px solid rgba(31, 78, 121, .25); border-color: #1f4e79; }
.bdcv-f textarea { resize: vertical; }
.bdcv-chk { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-weight: 600; }
.bdcv-item { border: 1px solid #e3e8ef; border-radius: 10px; padding: 12px; margin-bottom: 12px; background: #fcfdfe; }
.bdcv-item-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.bdcv-item-h button { padding: 3px 8px; font-size: 12px; margin-left: 4px; }
.bdcv-add { width: 100%; border-style: dashed; color: #1f4e79; font-weight: 600; }
.bdcv-media { display: grid; gap: 14px; }
.bdcv-mbox { display: flex; gap: 14px; align-items: center; }
.m-prev { border: 1px dashed #b9c3d0; border-radius: 8px; background: #f5f7fa; display: flex; align-items: center; justify-content: center; color: #9aa5b1; overflow: hidden; flex: none; }
.m-prev.photo { width: 90px; height: 116px; }
.m-prev.sign { width: 150px; height: 70px; background: #fff; }
.m-prev img { width: 100%; height: 100%; object-fit: cover; }
.m-prev.sign img { object-fit: contain; }
.m-btns { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.m-btns button { padding: 6px 10px; font-size: 13px; }
.m-btns small { width: 100%; color: #7b8794; font-size: 12px; }
.bdcv-pad canvas { width: 100%; max-width: 560px; height: auto; aspect-ratio: 560 / 200; border: 1px solid #b9c3d0; border-radius: 8px; background: #fff; display: block; cursor: crosshair; }
.bdcv-pad div { margin-top: 8px; display: flex; gap: 6px; flex-wrap: wrap; }

.bdcv-prev { min-width: 0; position: sticky; top: 16px; }
.bdcv-pinfo { display: flex; justify-content: space-between; font-size: 12px; color: #7b8794; margin: 0 4px 6px; }
.bdcv-stage { width: 100%; background: #dfe5ec; border-radius: 12px; overflow: hidden; position: relative; padding: 0; }
.bdcv-paper { width: 794px; position: relative; transform-origin: top left; background: #fff; box-shadow: 0 6px 24px rgba(16, 24, 40, .18); }
.bdcv-paper::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(to bottom, transparent 0, transparent calc(var(--ph, 1123px) - 1px), rgba(220, 38, 38, .45) calc(var(--ph, 1123px) - 1px), rgba(220, 38, 38, .45) var(--ph, 1123px)); }

.bdcv-modal { position: fixed; inset: 0; background: rgba(16, 24, 40, .55); z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 16px; }
.bdcv-box { background: #fff; border-radius: 14px; padding: 20px; width: 100%; max-width: 560px; max-height: 85vh; overflow: auto; }
.bdcv-box h3 { margin: 0 0 12px; }
.bdcv-box .note { color: #7b8794; font-size: 12px; }
.bdcv-mb { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.bdcv-list .row { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid #eef1f5; }
.bdcv-list small { display: block; color: #7b8794; margin-top: 2px; }
.bdcv-list .row button { padding: 6px 10px; margin-left: 4px; font-size: 13px; }
.bdcv-list .grp { margin: 14px 0 0; padding-bottom: 4px; font-size: 13px; color: #1f2d3d; border-bottom: 2px solid #e4e9f0; }
.bdcv-list .grp span { color: #7b8794; font-weight: 400; }
.bdcv-q { width: 100%; box-sizing: border-box; padding: 8px 10px; margin: 2px 0 6px; border: 1px solid #cfd6df; border-radius: 8px; font-size: 14px; }
.bdcv-toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: #1c2430; color: #fff; padding: 10px 18px; border-radius: 10px; opacity: 0; transition: .25s; z-index: 100000; font-size: 14px; }
.bdcv-toast.show { opacity: 1; transform: translate(-50%, 0); }
.bdcv-toast.bad { background: #b42318; }

@media (max-width: 960px) {
	.bdcv-mtabs { display: flex; }
	.bdcv-main { grid-template-columns: 1fr; }
	.bdcv-main.bdcv-show-edit .bdcv-prev { display: none; }
	.bdcv-main.bdcv-show-prev .bdcv-form { display: none; }
	.bdcv-prev { position: static; }
	.bdcv-bar { position: static; }
	.bdcv-tpls { display: flex; overflow-x: auto; overflow-y: hidden; max-height: none; padding-bottom: 6px; }
	.bdcv-tpls .tpl { flex: none; }
	.bdcv-tpls .tpl span { font-size: 12px; }
}
@media (max-width: 520px) {
	.bdcv-grid { grid-template-columns: 1fr; }
	.bdcv-act button { flex: 1; }
}

/* ============================================================ CV TEMPLATES (A4 = 794 x 1123 px) */
.bdcv-cv { display: flex; flex-direction: column; width: 794px; background: #fff; color: #222; font-family: 'Segoe UI', 'Noto Sans Bengali', 'Kalpurush', Roboto, Arial, sans-serif; font-size: calc(13px * var(--fz, 1)); line-height: 1.5; text-align: left; }
.bdcv-cv, .bdcv-cv * { box-sizing: border-box; }
.bdcv-cv h1, .bdcv-cv h2, .bdcv-cv p, .bdcv-cv ul { margin: 0; padding: 0; }
.bdcv-cv ul { list-style: none; }
.bdcv-cv p { margin-bottom: 3px; }
.bdcv-cv .it-d ul { list-style: disc; padding-left: 18px; }
.bdcv-cv .it-d li { margin-bottom: 2px; }
.bdcv-cv .it { margin-bottom: 11px; }
.bdcv-cv .it-h { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.bdcv-cv .it-h b { font-size: calc(13.5px * var(--fz, 1)); }
.bdcv-cv .dt { font-size: calc(12px * var(--fz, 1)); color: #555; white-space: nowrap; }
.bdcv-cv .it-s { color: var(--ac); font-weight: 600; font-size: calc(12.5px * var(--fz, 1)); }
.bdcv-cv .cv-photo { flex: none; overflow: hidden; }
.bdcv-cv .cv-photo { position: relative; }
.bdcv-cv .cv-photo img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.bdcv-cv .cv-contact li { display: flex; gap: 7px; align-items: flex-start; margin-bottom: 2px; }
.bdcv-cv .cv-contact i { font-style: normal; width: 14px; flex: none; text-align: center; opacity: .8; }
.bdcv-cv .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bdcv-cv .chips span { background: #eef2f7; border-radius: 4px; padding: 2px 9px; font-size: calc(12px * var(--fz, 1)); }
.bdcv-cv .lang { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 3px; }
.bdcv-cv .lang em { font-style: normal; color: #666; }
.bdcv-cv .pers { border-collapse: collapse; width: 100%; }
.bdcv-cv .pers th { text-align: left; font-weight: 600; width: 150px; padding: 2px 0; vertical-align: top; white-space: nowrap; }
.bdcv-cv .pers th::after { content: ' :'; float: right; padding-right: 8px; }
.bdcv-cv .pers td { padding: 2px 0; vertical-align: top; }
.bdcv-cv .refs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; }
.bdcv-cv .refc b { display: block; }
.bdcv-cv .decl p { margin-bottom: 8px; }
.bdcv-cv .decl-sign { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 10px; gap: 20px; }
.bdcv-cv .ds-r { text-align: center; min-width: 180px; }
.bdcv-cv .ds-r img { display: block; max-height: 60px; max-width: 180px; margin: 0 auto 2px; }
.bdcv-cv .ds-gap { height: 46px; }
.bdcv-cv .ds-line { border-top: 1px solid #333; padding-top: 3px; font-weight: 600; font-size: calc(12px * var(--fz, 1)); }
.bdcv-cv .sec { margin-bottom: 14px; }
.bdcv-cv .sec-t { font-size: calc(14px * var(--fz, 1)); }
.bdcv-cv .edu-t { border-collapse: collapse; width: 100%; font-size: calc(12.5px * var(--fz, 1)); }
.bdcv-cv .edu-t th, .bdcv-cv .edu-t td { border: 1px solid #cfd6df; padding: 5px 8px; text-align: left; vertical-align: top; }
.bdcv-cv .edu-t th { background: #eef2f7; }
.bdcv-cv .edu-t small { color: #666; }

/* --- Classic BD --- */
.t-classic { padding: 38px 46px; }
.t-classic .cv-head { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; border-bottom: 3px solid var(--ac); padding-bottom: 14px; margin-bottom: 16px; }
.t-classic h1 { font-size: calc(28px * var(--fz, 1)); color: var(--ac); text-transform: uppercase; letter-spacing: .5px; line-height: 1.15; }
.t-classic .cv-title { font-size: calc(15px * var(--fz, 1)); font-weight: 600; margin: 4px 0 8px; color: #444; }
.t-classic .cv-photo { width: 112px; height: 140px; border: 2px solid var(--ac); }
.t-classic .sec-t { background: var(--ac); color: #fff; padding: 4px 10px; text-transform: uppercase; letter-spacing: .6px; font-size: calc(12.5px * var(--fz, 1)); margin-bottom: 8px; }
.t-classic .chips span { background: transparent; border: 1px solid #c4cdd8; }

/* --- Minimal --- */
.t-minimal { padding: 46px 50px; color: #1a1a1a; }
.t-minimal .cv-head { display: flex; justify-content: space-between; gap: 24px; align-items: center; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid #222; }
.t-minimal h1 { font-size: calc(34px * var(--fz, 1)); font-weight: 300; letter-spacing: 1px; line-height: 1.1; }
.t-minimal .cv-title { color: var(--ac); font-size: calc(14px * var(--fz, 1)); letter-spacing: 2px; text-transform: uppercase; margin: 6px 0 10px; }
.t-minimal .cv-contact { display: flex; flex-wrap: wrap; gap: 2px 18px; font-size: calc(12px * var(--fz, 1)); color: #444; }
.t-minimal .cv-contact li { margin: 0; }
.t-minimal .cv-photo { width: 104px; height: 104px; border-radius: 50%; }
.t-minimal .sec { display: grid; grid-template-columns: 150px 1fr; gap: 0 20px; margin-bottom: 18px; }
.t-minimal .sec-t { font-size: calc(11.5px * var(--fz, 1)); letter-spacing: 2px; text-transform: uppercase; color: var(--ac); font-weight: 700; padding-top: 2px; }
.t-minimal .it-s { color: #444; font-weight: 600; }
.t-minimal .chips span { background: transparent; border: 0; border-bottom: 2px solid var(--ac); border-radius: 0; padding: 0 2px; }
.t-minimal .pers th { width: 140px; }
.t-minimal .edu-t th { background: #f4f4f4; }

/* --- Modern Sidebar --- */
.t-modern { display: grid; grid-template-columns: 252px 1fr; background: linear-gradient(to right, var(--ac) 0, var(--ac) 252px, #fff 252px); }
.t-modern .cv-side { color: #fff; padding: 36px 22px; }
.t-modern .cv-side .cv-photo { width: 150px; height: 150px; border-radius: 50%; margin: 0 auto 18px; border: 4px solid rgba(255, 255, 255, .55); }
.t-modern .side-name { display: none; }
.t-modern .cv-contact { margin-bottom: 20px; font-size: calc(12px * var(--fz, 1)); word-break: break-word; }
.t-modern .cv-contact li { margin-bottom: 6px; }
.t-modern .cv-side .sec-t { text-transform: uppercase; letter-spacing: 1.5px; font-size: calc(12px * var(--fz, 1)); border-bottom: 1px solid rgba(255, 255, 255, .45); padding-bottom: 4px; margin-bottom: 8px; }
.t-modern .cv-side .chips span { background: rgba(255, 255, 255, .18); color: #fff; }
.t-modern .cv-side .lang em { color: rgba(255, 255, 255, .8); }
.t-modern .cv-side .pers th, .t-modern .cv-side .pers td { display: block; width: auto; font-size: calc(12px * var(--fz, 1)); }
.t-modern .cv-side .pers th { opacity: .75; font-weight: 600; padding-top: 5px; white-space: normal; }
.t-modern .cv-side .pers th::after { content: none; }
.t-modern .cv-main { padding: 36px 34px 36px 30px; }
.t-modern .main-head { margin-bottom: 20px; padding-bottom: 12px; border-bottom: 3px solid var(--ac); }
.t-modern h1 { font-size: calc(30px * var(--fz, 1)); line-height: 1.12; color: #111; text-transform: uppercase; letter-spacing: .5px; }
.t-modern .cv-title { font-size: calc(15px * var(--fz, 1)); color: var(--ac); font-weight: 600; margin-top: 4px; }
.t-modern .cv-main .sec-t { color: var(--ac); text-transform: uppercase; letter-spacing: 1.2px; font-size: calc(13px * var(--fz, 1)); border-bottom: 1px solid #d5dce5; padding-bottom: 3px; margin-bottom: 9px; }
.t-modern .refs { grid-template-columns: 1fr 1fr; }

/* --- Right Sidebar --- */
.t-rightbar { display: grid; grid-template-columns: 1fr 252px; background: linear-gradient(to left, var(--ac) 0, var(--ac) 252px, #fff 252px); }
.t-rightbar .cv-side { color: #fff; padding: 36px 22px; }
.t-rightbar .cv-side .cv-photo { width: 150px; height: 150px; border-radius: 50%; margin: 0 auto 18px; border: 4px solid rgba(255, 255, 255, .55); }
.t-rightbar .side-name { display: none; }
.t-rightbar .cv-contact { margin-bottom: 20px; font-size: calc(12px * var(--fz, 1)); word-break: break-word; }
.t-rightbar .cv-contact li { margin-bottom: 6px; }
.t-rightbar .cv-side .sec-t { text-transform: uppercase; letter-spacing: 1.5px; font-size: calc(12px * var(--fz, 1)); border-bottom: 1px solid rgba(255, 255, 255, .45); padding-bottom: 4px; margin-bottom: 8px; }
.t-rightbar .cv-side .chips span { background: rgba(255, 255, 255, .18); color: #fff; }
.t-rightbar .cv-side .lang em { color: rgba(255, 255, 255, .8); }
.t-rightbar .cv-side .pers th, .t-rightbar .cv-side .pers td { display: block; width: auto; font-size: calc(12px * var(--fz, 1)); }
.t-rightbar .cv-side .pers th { opacity: .75; font-weight: 600; padding-top: 5px; white-space: normal; }
.t-rightbar .cv-side .pers th::after { content: none; }
.t-rightbar .cv-main { padding: 36px 30px 36px 34px; }
.t-rightbar .main-head { margin-bottom: 20px; padding-bottom: 12px; border-bottom: 3px solid var(--ac); }
.t-rightbar h1 { font-size: calc(30px * var(--fz, 1)); line-height: 1.12; color: #111; text-transform: uppercase; letter-spacing: .5px; }
.t-rightbar .cv-title { font-size: calc(15px * var(--fz, 1)); color: var(--ac); font-weight: 600; margin-top: 4px; }
.t-rightbar .cv-main .sec-t { color: var(--ac); text-transform: uppercase; letter-spacing: 1.2px; font-size: calc(13px * var(--fz, 1)); border-bottom: 1px solid #d5dce5; padding-bottom: 3px; margin-bottom: 9px; }
.t-rightbar .refs { grid-template-columns: 1fr 1fr; }

/* --- Corporate --- */
.t-corporate .cv-head { display: flex; justify-content: space-between; align-items: center; gap: 24px; background: var(--ac); color: #fff; padding: 32px 44px; }
.t-corporate h1 { font-size: calc(30px * var(--fz, 1)); line-height: 1.12; letter-spacing: .5px; }
.t-corporate .cv-title { font-size: calc(15px * var(--fz, 1)); opacity: .92; margin: 4px 0 10px; }
.t-corporate .cv-contact { display: flex; flex-wrap: wrap; gap: 2px 20px; font-size: calc(12px * var(--fz, 1)); }
.t-corporate .cv-contact li { margin: 0; }
.t-corporate .cv-photo { width: 108px; height: 132px; border: 3px solid #fff; border-radius: 6px; }
.t-corporate .cv-cols { display: grid; grid-template-columns: 1fr 252px; background: linear-gradient(to left, #f2f5f9 0, #f2f5f9 252px, #fff 252px) ; }
.t-corporate .cv-main { padding: 26px 26px 30px 44px; }
.t-corporate .cv-aside { padding: 26px 28px 30px 22px; }
.t-corporate .sec-t { color: var(--ac); text-transform: uppercase; letter-spacing: 1.2px; font-size: calc(13px * var(--fz, 1)); border-left: 4px solid var(--ac); padding-left: 8px; margin-bottom: 9px; }
.t-corporate .cv-aside .pers th, .t-corporate .cv-aside .pers td { display: block; width: auto; font-size: calc(12px * var(--fz, 1)); }
.t-corporate .cv-aside .pers th { color: #667; padding-top: 5px; white-space: normal; }
.t-corporate .cv-aside .pers th::after { content: none; }
.t-corporate .cv-aside .refs { grid-template-columns: 1fr; }
.t-corporate .cv-aside .chips span { background: #fff; border: 1px solid #d5dce5; }
.t-corporate .it-h { flex-wrap: wrap; gap: 0 12px; }

/* --- Executive (serif, centred) --- */
.t-executive { padding: 38px 50px; font-family: Georgia, 'Times New Roman', 'Noto Serif Bengali', 'Noto Sans Bengali', serif; }
.t-executive .cv-head { display: flex; flex-direction: column; align-items: center; text-align: center; border-bottom: 2px solid var(--ac); padding-bottom: 14px; margin-bottom: 16px; }
.t-executive .cv-photo { order: -1; width: 98px; height: 122px; border: 1px solid #888; margin-bottom: 10px; }
.t-executive h1 { font-size: calc(30px * var(--fz, 1)); letter-spacing: 2px; text-transform: uppercase; color: var(--ac); line-height: 1.15; }
.t-executive .cv-title { font-style: italic; font-size: calc(15px * var(--fz, 1)); margin: 3px 0 8px; }
.t-executive .cv-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 16px; font-size: calc(12px * var(--fz, 1)); }
.t-executive .cv-contact li { margin: 0; }
.t-executive .sec-t { font-size: calc(13.5px * var(--fz, 1)); text-transform: uppercase; letter-spacing: 1.5px; color: var(--ac); border-bottom: 1px solid var(--ac); padding-bottom: 2px; margin-bottom: 8px; }
.t-executive .it-s { color: #333; font-style: italic; font-weight: 400; }
.t-executive .chips span { background: transparent; border: 1px solid #aaa; border-radius: 2px; }

/* --- Timeline --- */
.t-timeline { padding: 38px 46px; }
.t-timeline .cv-head { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 20px; }
.t-timeline h1 { font-size: calc(30px * var(--fz, 1)); color: var(--ac); line-height: 1.12; }
.t-timeline .cv-title { font-size: calc(15px * var(--fz, 1)); color: #555; margin: 3px 0 8px; }
.t-timeline .cv-photo { width: 108px; height: 108px; border-radius: 50%; border: 3px solid var(--ac); }
.t-timeline .sec-t { display: inline-block; background: var(--ac); color: #fff; padding: 3px 14px; border-radius: 14px; font-size: calc(12.5px * var(--fz, 1)); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.t-timeline .sec-experience .it, .t-timeline .sec-education .it, .t-timeline .sec-training .it { position: relative; border-left: 2px solid #cfd8e3; margin: 0 0 0 5px; padding: 0 0 13px 18px; }
.t-timeline .sec-experience .it::before, .t-timeline .sec-education .it::before, .t-timeline .sec-training .it::before { content: ''; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--ac); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--ac); }

/* --- Bold Header --- */
.t-bold .cv-head { display: flex; justify-content: space-between; align-items: center; gap: 24px; background: #1f2933; color: #fff; padding: 34px 46px; border-bottom: 6px solid var(--ac); }
.t-bold h1 { font-size: calc(32px * var(--fz, 1)); text-transform: uppercase; letter-spacing: 1px; line-height: 1.1; }
.t-bold .cv-title { font-size: calc(15px * var(--fz, 1)); font-weight: 600; opacity: .88; margin: 4px 0 10px; }
.t-bold .cv-contact { display: flex; flex-wrap: wrap; gap: 2px 18px; font-size: calc(12px * var(--fz, 1)); }
.t-bold .cv-contact li { margin: 0; }
.t-bold .cv-photo { width: 104px; height: 128px; border: 3px solid var(--ac); }
.t-bold .cv-body { padding: 24px 46px 36px; }
.t-bold .sec-t { font-size: calc(13.5px * var(--fz, 1)); text-transform: uppercase; letter-spacing: 1px; border-left: 6px solid var(--ac); background: #f1f4f8; padding: 3px 0 3px 10px; margin-bottom: 9px; }

/* --- Compact 2-Col --- */
.t-compact { font-size: calc(12.5px * var(--fz, 1)); background: linear-gradient(to left, #f1f4f8 0, #f1f4f8 232px, #fff 232px); }
.t-compact .cv-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; background: #fff; padding: 28px 40px 16px; border-bottom: 4px solid var(--ac); }
.t-compact h1 { font-size: calc(27px * var(--fz, 1)); line-height: 1.12; color: var(--ac); text-transform: uppercase; }
.t-compact .cv-title { font-size: calc(14px * var(--fz, 1)); font-weight: 600; color: #444; margin: 3px 0 7px; }
.t-compact .cv-contact { display: flex; flex-wrap: wrap; gap: 2px 16px; font-size: calc(12px * var(--fz, 1)); }
.t-compact .cv-contact li { margin: 0; }
.t-compact .cv-photo { width: 84px; height: 104px; border: 2px solid var(--ac); }
.t-compact .cv-cols { display: grid; grid-template-columns: 1fr 232px ; }
.t-compact .cv-main { padding: 18px 24px 24px 40px; }
.t-compact .cv-aside { padding: 18px 22px 24px 20px; }
.t-compact .sec { margin-bottom: 11px; }
.t-compact .sec-t { color: var(--ac); text-transform: uppercase; letter-spacing: 1px; font-size: calc(12.5px * var(--fz, 1)); border-bottom: 1px solid #cfd8e3; padding-bottom: 2px; margin-bottom: 7px; }
.t-compact .cv-aside .pers th, .t-compact .cv-aside .pers td { display: block; width: auto; font-size: calc(11.5px * var(--fz, 1)); }
.t-compact .cv-aside .pers th { color: #667; padding-top: 4px; white-space: normal; }
.t-compact .cv-aside .pers th::after { content: none; }
.t-compact .cv-aside .refs { grid-template-columns: 1fr; }
.t-compact .cv-aside .chips span { background: #fff; border: 1px solid #d5dce5; }
.t-compact .it { margin-bottom: 8px; }
.t-compact .it-h { flex-wrap: wrap; gap: 0 10px; }

/* --- Creative --- */
.t-creative { border-left: 16px solid var(--ac); padding: 36px 42px 36px 30px; }
.t-creative .cv-head { display: flex; flex-direction: row-reverse; justify-content: flex-end; align-items: center; gap: 26px; margin-bottom: 20px; }
.t-creative .cv-photo { width: 124px; height: 124px; border-radius: 50%; border: 5px solid var(--ac); }
.t-creative h1 { font-size: calc(30px * var(--fz, 1)); line-height: 1.12; color: var(--ac); }
.t-creative .cv-title { font-size: calc(15px * var(--fz, 1)); font-weight: 600; color: #444; margin: 3px 0 8px; }
.t-creative .cv-contact { font-size: calc(12px * var(--fz, 1)); }
.t-creative .sec-t { color: var(--ac); font-size: calc(14px * var(--fz, 1)); text-transform: uppercase; letter-spacing: 1.2px; display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }
.t-creative .sec-t::before { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--ac); flex: none; }
.t-creative .sec-t::after { content: ''; flex: 1; height: 2px; background: #dfe5ec; }
.t-creative .chips span { background: transparent; border: 1.5px solid var(--ac); color: var(--ac); border-radius: 12px; font-weight: 600; }


/* ====================== 5 more formats (11-15) ====================== */
/* --- Gradient Banner --- */
.t-banner .cv-head { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 36px 46px 30px; color: #fff; background: linear-gradient(120deg, rgba(255, 255, 255, .14), rgba(0, 0, 0, .30)), var(--ac); }
.t-banner h1 { font-size: calc(32px * var(--fz, 1)); line-height: 1.12; letter-spacing: .5px; }
.t-banner .cv-title { font-size: calc(15px * var(--fz, 1)); font-weight: 600; opacity: .92; margin: 4px 0 12px; }
.t-banner .cv-contact { display: flex; flex-wrap: wrap; gap: 3px 20px; font-size: calc(12px * var(--fz, 1)); }
.t-banner .cv-contact li { margin: 0; }
.t-banner .cv-photo { width: 112px; height: 112px; border-radius: 50%; border: 4px solid #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .25); }
.t-banner .cv-body { padding: 26px 46px 36px; }
.t-banner .sec-t { position: relative; color: var(--ac); font-size: calc(14px * var(--fz, 1)); text-transform: uppercase; letter-spacing: 1.2px; padding-bottom: 5px; margin-bottom: 10px; border-bottom: 1px solid #e1e6ee; }
.t-banner .sec-t::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 46px; height: 3px; background: var(--ac); }
.t-banner .chips span { background: transparent; border: 1px solid var(--ac); color: var(--ac); border-radius: 14px; font-weight: 600; }

/* --- Dark Sidebar --- */
.t-darkside { display: grid; grid-template-columns: 252px 1fr; background: linear-gradient(to right, var(--ac) 0, var(--ac) 252px, #fff 252px); }
.t-darkside .cv-side { color: #fff; padding: 36px 22px; }
.t-darkside .cv-side .cv-photo { width: 150px; height: 150px; border-radius: 50%; margin: 0 auto 18px; border: 4px solid rgba(255, 255, 255, .55); }
.t-darkside .side-name { display: none; }
.t-darkside .cv-contact { margin-bottom: 20px; font-size: calc(12px * var(--fz, 1)); word-break: break-word; }
.t-darkside .cv-contact li { margin-bottom: 6px; }
.t-darkside .cv-side .sec-t { text-transform: uppercase; letter-spacing: 1.5px; font-size: calc(12px * var(--fz, 1)); border-bottom: 1px solid rgba(255, 255, 255, .45); padding-bottom: 4px; margin-bottom: 8px; }
.t-darkside .cv-side .chips span { background: rgba(255, 255, 255, .18); color: #fff; }
.t-darkside .cv-side .lang em { color: rgba(255, 255, 255, .8); }
.t-darkside .cv-side .pers th, .t-darkside .cv-side .pers td { display: block; width: auto; font-size: calc(12px * var(--fz, 1)); }
.t-darkside .cv-side .pers th { opacity: .75; font-weight: 600; padding-top: 5px; white-space: normal; }
.t-darkside .cv-side .pers th::after { content: none; }
.t-darkside .cv-main { padding: 36px 34px 36px 30px; }
.t-darkside .main-head { margin-bottom: 20px; padding-bottom: 12px; border-bottom: 3px solid var(--ac); }
.t-darkside h1 { font-size: calc(30px * var(--fz, 1)); line-height: 1.12; color: #111; text-transform: uppercase; letter-spacing: .5px; }
.t-darkside .cv-title { font-size: calc(15px * var(--fz, 1)); color: var(--ac); font-weight: 600; margin-top: 4px; }
.t-darkside .cv-main .sec-t { color: var(--ac); text-transform: uppercase; letter-spacing: 1.2px; font-size: calc(13px * var(--fz, 1)); border-bottom: 1px solid #d5dce5; padding-bottom: 3px; margin-bottom: 9px; }
.t-darkside .refs { grid-template-columns: 1fr 1fr; }

.t-darkside { background: linear-gradient(to right, rgba(0, 0, 0, .62) 0, rgba(0, 0, 0, .62) 252px, transparent 252px), linear-gradient(to right, var(--ac) 0, var(--ac) 252px, #fff 252px); }
.t-darkside .cv-side { box-shadow: inset -5px 0 0 var(--ac); padding-right: 27px; }
.t-darkside .cv-side .cv-photo { border-radius: 14px; width: 150px; height: 176px; border: 3px solid rgba(255, 255, 255, .7); }
.t-darkside .main-head { border-bottom: 0; padding-bottom: 6px; }
.t-darkside .main-head::after { content: ''; display: block; width: 70px; height: 5px; background: var(--ac); margin-top: 12px; }
.t-darkside .cv-main .sec-t { border-bottom: 0; border-left: 5px solid var(--ac); padding: 1px 0 1px 9px; }

/* --- Light Sidebar --- */
.t-tint { display: grid; grid-template-columns: 252px 1fr; background: linear-gradient(to right, var(--ac) 0, var(--ac) 252px, #fff 252px); }
.t-tint .cv-side { color: #fff; padding: 36px 22px; }
.t-tint .cv-side .cv-photo { width: 150px; height: 150px; border-radius: 50%; margin: 0 auto 18px; border: 4px solid rgba(255, 255, 255, .55); }
.t-tint .side-name { display: none; }
.t-tint .cv-contact { margin-bottom: 20px; font-size: calc(12px * var(--fz, 1)); word-break: break-word; }
.t-tint .cv-contact li { margin-bottom: 6px; }
.t-tint .cv-side .sec-t { text-transform: uppercase; letter-spacing: 1.5px; font-size: calc(12px * var(--fz, 1)); border-bottom: 1px solid rgba(255, 255, 255, .45); padding-bottom: 4px; margin-bottom: 8px; }
.t-tint .cv-side .chips span { background: rgba(255, 255, 255, .18); color: #fff; }
.t-tint .cv-side .lang em { color: rgba(255, 255, 255, .8); }
.t-tint .cv-side .pers th, .t-tint .cv-side .pers td { display: block; width: auto; font-size: calc(12px * var(--fz, 1)); }
.t-tint .cv-side .pers th { opacity: .75; font-weight: 600; padding-top: 5px; white-space: normal; }
.t-tint .cv-side .pers th::after { content: none; }
.t-tint .cv-main { padding: 36px 34px 36px 30px; }
.t-tint .main-head { margin-bottom: 20px; padding-bottom: 12px; border-bottom: 3px solid var(--ac); }
.t-tint h1 { font-size: calc(30px * var(--fz, 1)); line-height: 1.12; color: #111; text-transform: uppercase; letter-spacing: .5px; }
.t-tint .cv-title { font-size: calc(15px * var(--fz, 1)); color: var(--ac); font-weight: 600; margin-top: 4px; }
.t-tint .cv-main .sec-t { color: var(--ac); text-transform: uppercase; letter-spacing: 1.2px; font-size: calc(13px * var(--fz, 1)); border-bottom: 1px solid #d5dce5; padding-bottom: 3px; margin-bottom: 9px; }
.t-tint .refs { grid-template-columns: 1fr 1fr; }

.t-tint { border-top: 10px solid var(--ac); background: linear-gradient(to right, rgba(255, 255, 255, .9) 0, rgba(255, 255, 255, .9) 252px, transparent 252px), linear-gradient(to right, var(--ac) 0, var(--ac) 252px, #fff 252px); }
.t-tint .cv-side { color: #222; }
.t-tint .cv-side .cv-photo { border-radius: 16px; width: 150px; height: 170px; border: 3px solid var(--ac); }
.t-tint .cv-side .sec-t { color: var(--ac); border-bottom: 2px solid var(--ac); }
.t-tint .cv-side .chips span { background: #fff; color: #222; border: 1px solid rgba(0, 0, 0, .12); }
.t-tint .cv-side .lang em { color: #555; }
.t-tint .cv-side .pers th { opacity: 1; color: #667; }
.t-tint .cv-contact i { color: var(--ac); opacity: 1; }
.t-tint .main-head { border-bottom: 0; padding-bottom: 4px; }
.t-tint h1 { color: var(--ac); }
.t-tint .cv-main .sec-t { background: rgba(255, 255, 255, 0); border-bottom: 2px solid #e1e6ee; }

/* --- Soft Cards --- */
.t-card { background: #edf0f5; padding: 28px 30px 30px; }
.t-card .cv-head { display: flex; justify-content: space-between; align-items: center; gap: 22px; background: #fff; border-radius: 14px; border-top: 6px solid var(--ac); padding: 22px 26px; margin-bottom: 14px; box-shadow: 0 1px 3px rgba(16, 24, 40, .1); }
.t-card h1 { font-size: calc(28px * var(--fz, 1)); color: var(--ac); line-height: 1.12; }
.t-card .cv-title { font-size: calc(14.5px * var(--fz, 1)); font-weight: 600; color: #444; margin: 3px 0 10px; }
.t-card .cv-contact { display: flex; flex-wrap: wrap; gap: 5px 6px; font-size: calc(12px * var(--fz, 1)); }
.t-card .cv-contact li { margin: 0; background: #edf0f5; border-radius: 14px; padding: 2px 11px; }
.t-card .cv-photo { width: 100px; height: 120px; border-radius: 14px; border: 3px solid var(--ac); }
.t-card .sec { background: #fff; border-radius: 12px; padding: 14px 20px 12px; margin-bottom: 12px; box-shadow: 0 1px 3px rgba(16, 24, 40, .08); }
.t-card .sec-t { display: flex; align-items: center; gap: 8px; color: var(--ac); font-size: calc(13px * var(--fz, 1)); text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 9px; }
.t-card .sec-t::before { content: ''; width: 9px; height: 9px; border-radius: 3px; background: var(--ac); flex: none; }
.bdcv-cv.t-card .sec-declaration { padding: 14px 20px 12px; margin-top: 0; margin-bottom: 12px; }
.t-card .chips span { background: #edf0f5; }

/* --- Clean Pro (ATS friendly) --- */
.t-cleanpro { padding: 34px 44px; font-size: calc(12.5px * var(--fz, 1)); line-height: 1.45; }
.t-cleanpro .cv-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 3px solid #111; }
.t-cleanpro h1 { font-size: calc(30px * var(--fz, 1)); line-height: 1.1; font-weight: 800; letter-spacing: -.2px; color: #111; }
.t-cleanpro .cv-title { font-size: calc(14px * var(--fz, 1)); font-weight: 600; color: var(--ac); margin: 3px 0 7px; }
.t-cleanpro .cv-contact { display: flex; flex-wrap: wrap; gap: 2px 16px; font-size: calc(12px * var(--fz, 1)); color: #333; }
.t-cleanpro .cv-contact li { margin: 0; }
.t-cleanpro .cv-photo { width: 88px; height: 106px; border-radius: 4px; border: 1px solid #bbb; }
.t-cleanpro .sec { margin-bottom: 12px; }
.t-cleanpro .sec-t { display: flex; align-items: center; gap: 10px; font-size: calc(12px * var(--fz, 1)); font-weight: 800; text-transform: uppercase; letter-spacing: 1.4px; color: #111; margin-bottom: 7px; }
.t-cleanpro .sec-t::after { content: ''; flex: 1; height: 2px; background: var(--ac); }
.t-cleanpro .it { margin-bottom: 8px; }
.t-cleanpro .chips span { background: #f1f3f6; }

/* ============================================================ FORMATS 17-30 (international, modern & elegant) ============================================================
   Each format sets --fb (body font) and --fh (heading font). The "Font" option in the form overrides both.
   Every format keeps at least 36px (about 9.5 mm) of inner margin on all four sides, and 40-56px on the left and right. */

/* --- 17 Oxford Serif: refined, left aligned, hairline rules --- */
.t-oxford { --fb: 'Lora', 'Noto Serif Bengali', Georgia, serif; --fh: 'Cormorant Garamond', 'Noto Serif Bengali', Georgia, serif; font-family: var(--fb); padding: 52px 58px 46px; color: #1f1f1f; font-size: calc(12.8px * var(--fz, 1)); line-height: 1.58; }
.t-oxford .cv-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 28px; padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid #1f1f1f; }
.t-oxford h1 { font-family: var(--fh); font-size: calc(41px * var(--fz, 1)); font-weight: 600; line-height: 1.02; letter-spacing: .5px; color: #141414; }
.t-oxford .cv-title { font-family: var(--fh); font-style: italic; font-size: calc(18px * var(--fz, 1)); color: var(--ac); margin: 6px 0 10px; }
.t-oxford .cv-contact { display: flex; flex-wrap: wrap; gap: 3px 0; font-size: calc(11.5px * var(--fz, 1)); color: #444; }
.t-oxford .cv-contact li { margin: 0; padding: 0 13px; border-left: 1px solid #b9b3a8; }
.t-oxford .cv-contact li:first-child { padding-left: 0; border-left: 0; }
.t-oxford .cv-contact i { display: none; }
.t-oxford .cv-photo { width: 100px; height: 124px; border-radius: 2px; box-shadow: 0 0 0 1px #d6d1c7, 0 0 0 5px #fff, 0 0 0 6px #d6d1c7; margin: 2px 6px 0 0; }
.t-oxford .sec { margin-bottom: 17px; }
.t-oxford .sec-t { font-family: var(--fh); font-size: calc(17px * var(--fz, 1)); font-weight: 700; letter-spacing: 2.2px; text-transform: uppercase; color: var(--ac); padding-bottom: 3px; margin-bottom: 9px; border-bottom: 1px solid #ddd8ce; }
.t-oxford .it-h b { font-weight: 600; }
.t-oxford .it-s { color: #333; font-style: italic; font-weight: 400; }
.t-oxford .dt { font-style: italic; color: #666; }
.t-oxford .chips span { background: transparent; padding: 0; border-radius: 0; }
.t-oxford .chips span:not(:last-child)::after { content: '  ·  '; white-space: pre; color: var(--ac); }
.t-oxford .chips { display: block; }
.t-oxford .chips span { display: inline; }

/* --- 18 Milan Centered: luxurious, centred, double rule --- */
.t-milan { --fb: 'Lato', 'Noto Sans Bengali', 'Segoe UI', Arial, sans-serif; --fh: 'Playfair Display', 'Noto Serif Bengali', Georgia, serif; font-family: var(--fb); padding: 50px 56px 46px; color: #2a2a2a; line-height: 1.6; }
.t-milan .cv-head { display: flex; flex-direction: column; align-items: center; text-align: center; padding-bottom: 20px; margin-bottom: 22px; border-bottom: 3px double var(--ac); }
.t-milan .cv-photo { order: -1; width: 104px; height: 104px; border-radius: 50%; margin-bottom: 14px; box-shadow: 0 0 0 1px var(--ac), 0 0 0 5px #fff, 0 0 0 6px var(--ac); }
.t-milan h1 { font-family: var(--fh); font-size: calc(33px * var(--fz, 1)); font-weight: 500; letter-spacing: 4px; text-transform: uppercase; line-height: 1.15; color: #161616; }
.t-milan .cv-title { font-size: calc(11.5px * var(--fz, 1)); font-weight: 700; letter-spacing: 4.5px; text-transform: uppercase; color: var(--ac); margin: 9px 0 12px; }
.t-milan .cv-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 3px 18px; font-size: calc(11.8px * var(--fz, 1)); color: #555; }
.t-milan .cv-contact li { margin: 0; }
.t-milan .cv-contact i { display: none; }
.t-milan .sec { margin-bottom: 18px; }
.t-milan .sec-t { display: flex; align-items: center; gap: 14px; font-family: var(--fh); font-size: calc(13.5px * var(--fz, 1)); font-weight: 600; letter-spacing: 3.2px; text-transform: uppercase; color: #161616; margin-bottom: 11px; }
.t-milan .sec-t::before, .t-milan .sec-t::after { content: ''; flex: 1; height: 1px; background: linear-gradient(to right, transparent, #cfcfcf); }
.t-milan .sec-t::before { background: linear-gradient(to left, transparent, #cfcfcf); }
.t-milan .it-h b { font-weight: 700; }
.t-milan .it-s { font-weight: 600; letter-spacing: .2px; }
.t-milan .chips span { background: transparent; border: 1px solid #d9d9d9; border-radius: 20px; padding: 2px 12px; }

/* --- 19 Zurich Swiss: strong grid, big bold name, label column --- */
.t-zurich { --fb: 'Inter', 'Noto Sans Bengali', 'Segoe UI', Arial, sans-serif; --fh: 'Inter', 'Noto Sans Bengali', 'Segoe UI', Arial, sans-serif; font-family: var(--fb); padding: 0 54px 46px; color: #1e293b; font-size: calc(12.6px * var(--fz, 1)); line-height: 1.55; }
.t-zurich .cv-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 26px; border-top: 8px solid var(--ac); padding: 36px 0 20px; margin-bottom: 8px; }
.t-zurich h1 { font-family: var(--fh); font-size: calc(39px * var(--fz, 1)); font-weight: 800; letter-spacing: -1.2px; line-height: 1.02; color: #0f172a; }
.t-zurich .cv-title { font-size: calc(14.5px * var(--fz, 1)); font-weight: 500; color: var(--ac); margin: 7px 0 11px; }
.t-zurich .cv-contact { display: flex; flex-wrap: wrap; gap: 3px 18px; font-size: calc(11.6px * var(--fz, 1)); color: #475569; }
.t-zurich .cv-contact li { margin: 0; }
.t-zurich .cv-contact i { color: var(--ac); opacity: 1; }
.t-zurich .cv-photo { width: 104px; height: 128px; border-radius: 4px; }
.t-zurich .sec { display: grid; grid-template-columns: 136px 1fr; gap: 0 22px; border-top: 1px solid #e2e8f0; padding-top: 15px; margin-bottom: 15px; }
.t-zurich .sec-t { font-family: var(--fh); font-size: calc(11px * var(--fz, 1)); font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: #0f172a; padding-top: 2px; }
.t-zurich .sec-t::before { content: ''; display: inline-block; width: 8px; height: 8px; background: var(--ac); margin-right: 8px; vertical-align: 0; }
.t-zurich .it-h b { font-weight: 700; }
.t-zurich .dt { color: #64748b; font-variant-numeric: tabular-nums; }
.t-zurich .chips span { background: #f1f5f9; border-radius: 3px; }
.t-zurich .pers th { width: 130px; }

/* --- 20 Berlin Numbered: light geometric type, numbered sections --- */
.t-berlin { --fb: 'Montserrat', 'Noto Sans Bengali', 'Segoe UI', Arial, sans-serif; --fh: 'Montserrat', 'Noto Sans Bengali', 'Segoe UI', Arial, sans-serif; font-family: var(--fb); padding: 50px 56px 46px; color: #262b33; font-size: calc(12.2px * var(--fz, 1)); line-height: 1.62; }
.t-berlin .cv-head { display: flex; justify-content: space-between; align-items: center; gap: 26px; padding-left: 20px; border-left: 5px solid var(--ac); margin-bottom: 26px; }
.t-berlin h1 { font-family: var(--fh); font-size: calc(32px * var(--fz, 1)); font-weight: 300; letter-spacing: 4.5px; text-transform: uppercase; line-height: 1.15; color: #12161c; }
.t-berlin .cv-title { font-size: calc(11.5px * var(--fz, 1)); font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--ac); margin: 8px 0 11px; }
.t-berlin .cv-contact { display: flex; flex-wrap: wrap; gap: 3px 16px; font-size: calc(11.2px * var(--fz, 1)); color: #555c66; }
.t-berlin .cv-contact li { margin: 0; }
.t-berlin .cv-photo { width: 104px; height: 104px; border-radius: 50%; border: 2px solid var(--ac); padding: 0; }
.t-berlin .cv-body { counter-reset: sn; }
.t-berlin .sec { counter-increment: sn; margin-bottom: 19px; }
.t-berlin .sec-t { display: flex; align-items: baseline; gap: 10px; font-family: var(--fh); font-size: calc(12px * var(--fz, 1)); font-weight: 600; letter-spacing: 2.4px; text-transform: uppercase; color: #12161c; padding-bottom: 5px; margin-bottom: 10px; border-bottom: 1px solid #e3e6ea; }
.t-berlin .sec-t::before { content: counter(sn, decimal-leading-zero); color: var(--ac); font-weight: 700; letter-spacing: 1px; }
.t-berlin .it-h b { font-weight: 600; }
.t-berlin .chips span { background: transparent; border: 1px solid #d4d8de; border-radius: 2px; }

/* --- 21 Paris Soft Band: tinted header, serif accents --- */
.t-paris { --fb: 'Lato', 'Noto Sans Bengali', 'Segoe UI', Arial, sans-serif; --fh: 'Playfair Display', 'Noto Serif Bengali', Georgia, serif; font-family: var(--fb); color: #2b2b2b; line-height: 1.6; }
.t-paris .cv-head { display: flex; justify-content: space-between; align-items: center; gap: 26px; padding: 44px 56px 36px; background: #f4efe8; background: color-mix(in srgb, var(--ac) 10%, #fff); }
.t-paris h1 { font-family: var(--fh); font-size: calc(33px * var(--fz, 1)); font-weight: 600; line-height: 1.12; color: #1c1c1c; }
.t-paris .cv-title { font-size: calc(12px * var(--fz, 1)); font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--ac); margin: 8px 0 12px; }
.t-paris .cv-contact { display: flex; flex-wrap: wrap; gap: 3px 18px; font-size: calc(11.8px * var(--fz, 1)); color: #4a4a4a; }
.t-paris .cv-contact li { margin: 0; }
.t-paris .cv-contact i { color: var(--ac); opacity: 1; }
.t-paris .cv-photo { width: 108px; height: 132px; border-radius: 60px 60px 12px 12px; border: 4px solid #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .12); }
.t-paris .cv-body { padding: 28px 56px 46px; }
.t-paris .sec { margin-bottom: 18px; }
.t-paris .sec-t { font-family: var(--fh); font-size: calc(18px * var(--fz, 1)); font-style: italic; font-weight: 500; color: var(--ac); padding-bottom: 4px; margin-bottom: 9px; border-bottom: 1px dotted #b9b9b9; }
.t-paris .it-h b { font-weight: 700; }
.t-paris .chips span { background: #f4efe8; background: color-mix(in srgb, var(--ac) 9%, #fff); border-radius: 20px; padding: 2px 12px; }

/* --- 22 Harvard Classic: the traditional one-page resume, text first --- */
.t-harvard { --fb: 'EB Garamond', 'Noto Serif Bengali', 'Times New Roman', serif; --fh: 'EB Garamond', 'Noto Serif Bengali', 'Times New Roman', serif; font-family: var(--fb); padding: 46px 62px 44px; color: #111; font-size: calc(14px * var(--fz, 1)); line-height: 1.42; }
.t-harvard .cv-head { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 14px; }
.t-harvard .cv-photo { order: -1; width: 88px; height: 108px; margin-bottom: 8px; border: 1px solid #999; }
.t-harvard h1 { font-family: var(--fh); font-size: calc(30px * var(--fz, 1)); font-weight: 600; font-variant: small-caps; letter-spacing: 2px; line-height: 1.1; color: #111; }
.t-harvard .cv-title { font-style: italic; font-size: calc(15px * var(--fz, 1)); margin: 3px 0 6px; color: var(--ac); }
.t-harvard .cv-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; font-size: calc(12.8px * var(--fz, 1)); }
.t-harvard .cv-contact li { margin: 0; }
.t-harvard .cv-contact li + li::before { content: '•'; margin: 0 9px; color: #777; }
.t-harvard .cv-contact i { display: none; }
.t-harvard .sec { margin-bottom: 11px; }
.t-harvard .sec-t { font-family: var(--fh); font-size: calc(13.4px * var(--fz, 1)); font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: #111; border-bottom: 1px solid #111; padding-bottom: 1px; margin-bottom: 6px; }
.t-harvard .it { margin-bottom: 7px; }
.t-harvard .it-h b { font-size: calc(14.2px * var(--fz, 1)); font-weight: 600; }
.t-harvard .dt { font-size: calc(13px * var(--fz, 1)); font-style: italic; color: #222; }
.t-harvard .it-s { color: #222; font-style: italic; font-weight: 400; font-size: calc(13.6px * var(--fz, 1)); }
.t-harvard .chips { display: block; }
.t-harvard .chips span { display: inline; background: transparent; padding: 0; font-size: inherit; }
.t-harvard .chips span:not(:last-child)::after { content: ', '; }
.t-harvard .edu-t, .t-harvard .pers th { font-size: inherit; }

/* --- 23 Europass Style: label column on the left, clear blocks --- */
.t-europass { --fb: 'Source Sans 3', 'Noto Sans Bengali', 'Segoe UI', Arial, sans-serif; --fh: 'Source Sans 3', 'Noto Sans Bengali', 'Segoe UI', Arial, sans-serif; font-family: var(--fb); padding: 44px 50px 44px; color: #212b36; font-size: calc(13.2px * var(--fz, 1)); line-height: 1.52; }
.t-europass .cv-head { display: flex; align-items: center; gap: 24px; padding-bottom: 18px; margin-bottom: 20px; border-bottom: 4px solid var(--ac); }
.t-europass .cv-photo { order: -1; width: 96px; height: 120px; border-radius: 3px; }
.t-europass .cv-id { flex: 1; }
.t-europass h1 { font-family: var(--fh); font-size: calc(30px * var(--fz, 1)); font-weight: 700; line-height: 1.1; color: var(--ac); }
.t-europass .cv-title { font-size: calc(15px * var(--fz, 1)); font-weight: 600; color: #3b4652; margin: 4px 0 9px; }
.t-europass .cv-contact { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 2px 26px; font-size: calc(12px * var(--fz, 1)); color: #3b4652; }
.t-europass .cv-contact li { margin: 0; }
.t-europass .cv-contact i { color: var(--ac); opacity: 1; }
.t-europass .sec { display: grid; grid-template-columns: 148px 1fr; margin-bottom: 17px; }
.t-europass .sec-t { font-family: var(--fh); font-size: calc(13px * var(--fz, 1)); font-weight: 700; color: var(--ac); padding: 1px 14px 0 0; border-right: 2px solid #cfd6de; border-right-color: color-mix(in srgb, var(--ac) 30%, #fff); text-transform: none; }
.t-europass .sec-b { padding-left: 18px; }
.t-europass .it-h b { font-weight: 700; }
.t-europass .chips span { background: #eef1f5; border-radius: 3px; }
.t-europass .pers th { width: 130px; }

/* --- 24 New York Editorial: heavy black rule, big serif name, contact at the right --- */
.t-newyork { --fb: 'Lato', 'Noto Sans Bengali', 'Segoe UI', Arial, sans-serif; --fh: 'Playfair Display', 'Noto Serif Bengali', Georgia, serif; font-family: var(--fb); padding: 0 56px 46px; color: #1b1b1b; font-size: calc(12.8px * var(--fz, 1)); line-height: 1.58; }
.t-newyork .cv-head { display: grid; grid-template-columns: 1fr auto; border-top: 10px solid #111; padding: 28px 0 20px; margin-bottom: 14px; border-bottom: 1px solid #111; }
.t-newyork .cv-id { display: contents; }
.t-newyork h1 { grid-column: 1; grid-row: 1; font-family: var(--fh); font-size: calc(42px * var(--fz, 1)); font-weight: 700; letter-spacing: -.8px; line-height: 1.04; color: #111; align-self: end; }
.t-newyork .cv-title { grid-column: 1; grid-row: 2; font-size: calc(12px * var(--fz, 1)); font-weight: 800; letter-spacing: 3.2px; text-transform: uppercase; color: var(--ac); margin: 10px 0 0; }
.t-newyork .cv-contact { grid-column: 2; grid-row: 1 / span 2; align-self: end; margin-left: 28px; text-align: right; font-size: calc(11.6px * var(--fz, 1)); color: #3a3a3a; }
.t-newyork .cv-contact li { justify-content: flex-end; margin-bottom: 2px; }
.t-newyork .cv-contact i { display: none; }
.t-newyork .cv-photo { grid-column: 3; grid-row: 1 / span 2; width: 100px; height: 124px; margin-left: 24px; border-radius: 0; filter: grayscale(.15); }
.t-newyork .sec { margin-bottom: 16px; }
.t-newyork .sec-t { font-size: calc(11px * var(--fz, 1)); font-weight: 900; letter-spacing: 3.2px; text-transform: uppercase; color: #111; padding: 7px 0 0; margin-bottom: 9px; border-top: 1px solid #111; }
.t-newyork .it-h b { font-family: var(--fh); font-size: calc(14.4px * var(--fz, 1)); font-weight: 700; }
.t-newyork .dt { color: var(--ac); font-weight: 700; font-size: calc(11.4px * var(--fz, 1)); letter-spacing: .4px; }
.t-newyork .it-s { color: #333; font-weight: 600; }
.t-newyork .chips span { background: transparent; border: 1px solid #111; border-radius: 0; padding: 1px 9px; }

/* --- 25 Atlas Colour Block: the name sits on a bold colour block --- */
.t-atlas { --fb: 'Poppins', 'Noto Sans Bengali', 'Segoe UI', Arial, sans-serif; --fh: 'Poppins', 'Noto Sans Bengali', 'Segoe UI', Arial, sans-serif; font-family: var(--fb); color: #2a2f38; font-size: calc(12.2px * var(--fz, 1)); line-height: 1.6; }
.t-atlas .cv-head { display: flex; align-items: flex-start; margin-top: 44px; }
.t-atlas .cv-id { flex: 1; background: var(--ac); color: #fff; padding: 28px 34px 24px 56px; }
.t-atlas h1 { font-family: var(--fh); font-size: calc(29px * var(--fz, 1)); font-weight: 700; line-height: 1.15; letter-spacing: .3px; }
.t-atlas .cv-title { font-size: calc(13.5px * var(--fz, 1)); font-weight: 400; letter-spacing: 1.5px; text-transform: uppercase; opacity: .92; margin: 5px 0 13px; }
.t-atlas .cv-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 20px; font-size: calc(11.2px * var(--fz, 1)); }
.t-atlas .cv-contact li { margin: 0; }
.t-atlas .cv-photo { width: 108px; height: 132px; margin: 0 56px 0 26px; border-radius: 0 0 54px 54px; }
.t-atlas .cv-body { padding: 30px 56px 46px; }
.t-atlas .sec { margin-bottom: 18px; }
.t-atlas .sec-t { display: flex; align-items: center; gap: 10px; font-family: var(--fh); font-size: calc(12px * var(--fz, 1)); font-weight: 600; letter-spacing: 2.2px; text-transform: uppercase; color: var(--ac); margin-bottom: 9px; }
.t-atlas .sec-t::before { content: ''; width: 22px; height: 4px; background: var(--ac); border-radius: 2px; flex: none; }
.t-atlas .it-h b { font-weight: 600; }
.t-atlas .chips span { background: #f1f3f6; border-radius: 4px; }

/* --- shared base for the three new sidebar formats (26-28) --- */
.t-nordic, .t-midnight { display: grid; grid-template-columns: 250px 1fr; }
.t-lumen { display: grid; grid-template-columns: 1fr 250px; }
.t-nordic .cv-side, .t-midnight .cv-side, .t-lumen .cv-side { padding: 46px 24px 40px; }
.t-nordic .side-name, .t-midnight .side-name, .t-lumen .side-name { display: none; }
.t-nordic .cv-contact, .t-midnight .cv-contact, .t-lumen .cv-contact { margin-bottom: 22px; font-size: calc(11.8px * var(--fz, 1)); word-break: break-word; }
.t-nordic .cv-contact li, .t-midnight .cv-contact li, .t-lumen .cv-contact li { margin-bottom: 7px; }
.t-nordic .cv-side .sec-t, .t-midnight .cv-side .sec-t, .t-lumen .cv-side .sec-t { text-transform: uppercase; letter-spacing: 2px; font-size: calc(11px * var(--fz, 1)); font-weight: 700; padding-bottom: 5px; margin-bottom: 9px; }
.t-nordic .cv-side .pers th, .t-nordic .cv-side .pers td, .t-midnight .cv-side .pers th, .t-midnight .cv-side .pers td, .t-lumen .cv-side .pers th, .t-lumen .cv-side .pers td { display: block; width: auto; font-size: calc(11.8px * var(--fz, 1)); }
.t-nordic .cv-side .pers th, .t-midnight .cv-side .pers th, .t-lumen .cv-side .pers th { font-weight: 700; padding-top: 6px; white-space: normal; opacity: .72; }
.t-nordic .cv-side .pers th::after, .t-midnight .cv-side .pers th::after, .t-lumen .cv-side .pers th::after { content: none; }
.t-nordic .cv-side .lang em, .t-midnight .cv-side .lang em, .t-lumen .cv-side .lang em { opacity: .75; color: inherit; }
.t-nordic .cv-side .chips span, .t-midnight .cv-side .chips span, .t-lumen .cv-side .chips span { font-size: calc(11.4px * var(--fz, 1)); }
.t-nordic .refs, .t-midnight .refs, .t-lumen .refs { grid-template-columns: 1fr 1fr; }

/* --- 26 Nordic Sidebar: warm paper sidebar, refined serif name --- */
.t-nordic { --fb: 'DM Sans', 'Noto Sans Bengali', 'Segoe UI', Arial, sans-serif; --fh: 'Cormorant Garamond', 'Noto Serif Bengali', Georgia, serif; font-family: var(--fb); color: #2b2a28; background: linear-gradient(to right, #f3efe9 0, #f3efe9 250px, #fff 250px); line-height: 1.58; }
.t-nordic .cv-side { color: #2b2a28; }
.t-nordic .cv-side .cv-photo { width: 150px; height: 180px; border-radius: 3px; margin: 0 auto 22px; }
.t-nordic .cv-contact i { color: var(--ac); opacity: 1; }
.t-nordic .cv-side .sec-t { color: var(--ac); border-bottom: 1px solid #d8d1c6; }
.t-nordic .cv-side .chips span { background: #fff; border: 1px solid #e3ddd2; }
.t-nordic .cv-main { padding: 46px 52px 44px 38px; }
.t-nordic .main-head { margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid #ddd; position: relative; }
.t-nordic .main-head::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 64px; height: 3px; background: var(--ac); }
.t-nordic h1 { font-family: var(--fh); font-size: calc(42px * var(--fz, 1)); font-weight: 600; line-height: 1; color: #1c1b19; }
.t-nordic .cv-title { font-size: calc(11.8px * var(--fz, 1)); font-weight: 700; letter-spacing: 3.2px; text-transform: uppercase; color: var(--ac); margin-top: 9px; }
.t-nordic .cv-main .sec-t { font-family: var(--fh); font-size: calc(18px * var(--fz, 1)); font-weight: 700; color: var(--ac); letter-spacing: .8px; margin-bottom: 8px; }
.t-nordic .it-h b { font-weight: 700; }

/* --- 27 Midnight Sidebar: deep sidebar tinted by the chosen colour --- */
.t-midnight { --fb: 'Inter', 'Noto Sans Bengali', 'Segoe UI', Arial, sans-serif; --fh: 'Playfair Display', 'Noto Serif Bengali', Georgia, serif; font-family: var(--fb); color: #263040; background: linear-gradient(to right, #17202b 0, #17202b 250px, #fff 250px); background: linear-gradient(to right, color-mix(in srgb, var(--ac) 24%, #0a1019) 0, color-mix(in srgb, var(--ac) 24%, #0a1019) 250px, #fff 250px); line-height: 1.58; }
.t-midnight .cv-side { color: #e9eef5; }
.t-midnight .cv-side .cv-photo { width: 150px; height: 150px; border-radius: 50%; margin: 0 auto 22px; border: 3px solid rgba(255, 255, 255, .6); }
.t-midnight .cv-contact i { opacity: .9; }
.t-midnight .cv-side .sec-t { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .28); }
.t-midnight .cv-side .chips span { background: rgba(255, 255, 255, .13); color: #fff; }
.t-midnight .cv-main { padding: 46px 48px 44px 38px; }
.t-midnight .main-head { margin-bottom: 24px; }
.t-midnight .main-head::after { content: ''; display: block; width: 60px; height: 4px; margin-top: 14px; background: var(--ac); }
.t-midnight h1 { font-family: var(--fh); font-size: calc(36px * var(--fz, 1)); font-weight: 600; line-height: 1.08; color: #101826; }
.t-midnight .cv-title { font-size: calc(14px * var(--fz, 1)); font-weight: 500; color: var(--ac); margin-top: 6px; letter-spacing: .4px; }
.t-midnight .cv-main .sec-t { font-size: calc(12px * var(--fz, 1)); font-weight: 700; letter-spacing: 2.2px; text-transform: uppercase; color: var(--ac); border-bottom: 1px solid #dfe4ea; padding-bottom: 4px; margin-bottom: 9px; }
.t-midnight .it-h b { font-weight: 600; }

/* --- 28 Lumen Right Light: airy, right-hand panel in a soft tint --- */
.t-lumen { --fb: 'Manrope', 'Noto Sans Bengali', 'Segoe UI', Arial, sans-serif; --fh: 'Manrope', 'Noto Sans Bengali', 'Segoe UI', Arial, sans-serif; font-family: var(--fb); color: #27303d; background: linear-gradient(to left, #eef2f7 0, #eef2f7 250px, #fff 250px); background: linear-gradient(to left, color-mix(in srgb, var(--ac) 8%, #fff) 0, color-mix(in srgb, var(--ac) 8%, #fff) 250px, #fff 250px); line-height: 1.58; font-size: calc(12.6px * var(--fz, 1)); }
.t-lumen .cv-side { color: #27303d; }
.t-lumen .cv-side .cv-photo { width: 150px; height: 170px; border-radius: 18px; margin: 0 auto 22px; box-shadow: 0 0 0 4px #fff; }
.t-lumen .cv-contact i { color: var(--ac); opacity: 1; }
.t-lumen .cv-side .sec-t { color: var(--ac); border-bottom: 2px solid #fff; }
.t-lumen .cv-side .chips span { background: #fff; }
.t-lumen .cv-main { padding: 46px 36px 44px 50px; }
.t-lumen .main-head { margin-bottom: 24px; }
.t-lumen h1 { font-family: var(--fh); font-size: calc(35px * var(--fz, 1)); font-weight: 800; line-height: 1.06; letter-spacing: -.8px; color: #111a27; }
.t-lumen .cv-title { font-size: calc(14.5px * var(--fz, 1)); font-weight: 600; color: var(--ac); margin-top: 7px; }
.t-lumen .cv-main .sec-t { display: flex; align-items: center; gap: 9px; font-size: calc(12px * var(--fz, 1)); font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase; color: #111a27; margin-bottom: 9px; }
.t-lumen .cv-main .sec-t::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--ac); flex: none; }
.t-lumen .it-h b { font-weight: 700; }

/* --- shared bits for the two-column formats (29-30) --- */
.t-vienna .cv-aside .pers th, .t-vienna .cv-aside .pers td, .t-stockholm .cv-aside .pers th, .t-stockholm .cv-aside .pers td { display: block; width: auto; font-size: calc(11.8px * var(--fz, 1)); }
.t-vienna .cv-aside .pers th, .t-stockholm .cv-aside .pers th { color: #6b7280; font-weight: 600; padding-top: 6px; white-space: normal; }
.t-vienna .cv-aside .pers th::after, .t-stockholm .cv-aside .pers th::after { content: none; }
.t-vienna .cv-aside .refs, .t-stockholm .cv-aside .refs { grid-template-columns: 1fr; }
.t-vienna .it-h, .t-stockholm .it-h { flex-wrap: wrap; gap: 0 12px; }

/* --- 29 Vienna Two-Column: serif headings, hairline divider --- */
.t-vienna { --fb: 'Lato', 'Noto Sans Bengali', 'Segoe UI', Arial, sans-serif; --fh: 'Cormorant Garamond', 'Noto Serif Bengali', Georgia, serif; font-family: var(--fb); color: #2a2a2a; font-size: calc(12.6px * var(--fz, 1)); line-height: 1.58; }
.t-vienna .cv-head { display: flex; justify-content: space-between; align-items: center; gap: 26px; margin: 0 52px; padding: 48px 0 20px; border-bottom: 1px solid #cfcfcf; }
.t-vienna h1 { font-family: var(--fh); font-size: calc(43px * var(--fz, 1)); font-weight: 600; line-height: 1; color: #151515; letter-spacing: .4px; }
.t-vienna .cv-title { font-size: calc(11.6px * var(--fz, 1)); font-weight: 700; letter-spacing: 3.4px; text-transform: uppercase; color: var(--ac); margin: 9px 0 12px; }
.t-vienna .cv-contact { display: flex; flex-wrap: wrap; gap: 3px 18px; font-size: calc(11.6px * var(--fz, 1)); color: #555; }
.t-vienna .cv-contact li { margin: 0; }
.t-vienna .cv-contact i { color: var(--ac); opacity: 1; }
.t-vienna .cv-photo { width: 104px; height: 104px; border-radius: 50%; }
.t-vienna .cv-cols { display: grid; grid-template-columns: 1fr 226px; }
.t-vienna .cv-main { padding: 24px 28px 46px 52px; }
.t-vienna .cv-aside { padding: 24px 52px 46px 26px; border-left: 1px solid #e2e2e2; }
.t-vienna .sec { margin-bottom: 17px; }
.t-vienna .cv-main .sec-t { font-family: var(--fh); font-size: calc(19px * var(--fz, 1)); font-weight: 700; color: var(--ac); margin-bottom: 7px; }
.t-vienna .cv-aside .sec-t { font-size: calc(10.8px * var(--fz, 1)); font-weight: 800; letter-spacing: 2.2px; text-transform: uppercase; color: #151515; padding-bottom: 4px; margin-bottom: 8px; border-bottom: 1px solid #d8d8d8; }
.t-vienna .it-h b { font-weight: 700; }
.t-vienna .cv-aside .chips span { background: #f3f3f3; }

/* --- 30 Stockholm Cards: tinted cards in the side column --- */
.t-stockholm { --fb: 'Work Sans', 'Noto Sans Bengali', 'Segoe UI', Arial, sans-serif; --fh: 'Work Sans', 'Noto Sans Bengali', 'Segoe UI', Arial, sans-serif; font-family: var(--fb); color: #272d36; font-size: calc(12.4px * var(--fz, 1)); line-height: 1.58; }
.t-stockholm .cv-head { display: flex; justify-content: space-between; align-items: center; gap: 26px; margin: 0 52px; padding: 46px 0 20px; border-bottom: 2px solid var(--ac); }
.t-stockholm h1 { font-family: var(--fh); font-size: calc(33px * var(--fz, 1)); font-weight: 700; line-height: 1.1; letter-spacing: -.3px; color: #111827; }
.t-stockholm .cv-title { font-size: calc(14px * var(--fz, 1)); font-weight: 500; color: var(--ac); margin: 5px 0 11px; }
.t-stockholm .cv-contact { display: flex; flex-wrap: wrap; gap: 3px 18px; font-size: calc(11.6px * var(--fz, 1)); color: #4b5563; }
.t-stockholm .cv-contact li { margin: 0; }
.t-stockholm .cv-contact i { color: var(--ac); opacity: 1; }
.t-stockholm .cv-photo { width: 100px; height: 124px; border-radius: 14px; }
.t-stockholm .cv-cols { display: grid; grid-template-columns: 1fr 236px; }
.t-stockholm .cv-main { padding: 24px 26px 46px 52px; }
.t-stockholm .cv-aside { padding: 24px 52px 46px 0; }
.t-stockholm .cv-main .sec { margin-bottom: 17px; }
.t-stockholm .cv-main .sec-t { display: inline-block; font-size: calc(12px * var(--fz, 1)); font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: var(--ac); padding-bottom: 3px; margin-bottom: 9px; border-bottom: 2px solid var(--ac); }
.t-stockholm .cv-aside .sec { background: #f1f4f8; background: color-mix(in srgb, var(--ac) 7%, #fff); border-radius: 12px; padding: 14px 16px 12px; margin-bottom: 12px; }
.t-stockholm .cv-aside .sec-t { font-size: calc(11px * var(--fz, 1)); font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: var(--ac); margin-bottom: 7px; }
.t-stockholm .cv-aside .chips span { background: #fff; }
.t-stockholm .it-h b { font-weight: 600; }

/* inner margins: no format ever lets text run closer than ~9.5 mm to the paper edge */
.t-compact .cv-main, .t-compact .cv-aside { padding-bottom: 36px; }
.t-corporate .cv-main, .t-corporate .cv-aside { padding-bottom: 38px; }
.t-card { padding-bottom: 38px; }

/* ============================================================ LAYOUT / PRINT (A4) */
/* The CV is sized to whole A4 pages by app.js (no forced blank space, no spill-over page). */
.bdcv-cv .cv-body { flex: 1 1 auto; display: flex; flex-direction: column; }
.bdcv-cv .cv-cols { flex: 1 1 auto; }
.bdcv-cv .cv-main { display: flex; flex-direction: column; }
.bdcv-cv .cv-body > .sec, .bdcv-cv .cv-main > .sec { flex: none; }
/* declaration follows the last section with a normal gap (it is no longer pushed to the page bottom) */
.bdcv-cv .sec-declaration { margin-top: 10px; padding-top: 4px; margin-bottom: 0; }
.bdcv-cv .it, .bdcv-cv tr, .bdcv-cv .decl { break-inside: avoid; page-break-inside: avoid; }
.bdcv-cv .sec-t { break-after: avoid; page-break-after: avoid; }

/* attached documents: one per A4 page, printed after the CV */
.bdcv-att { width: 100%; height: var(--ph, 1062px); display: flex; flex-direction: column; align-items: center; padding: 28px 36px; background: #fff; box-sizing: border-box; overflow: hidden; break-before: page; page-break-before: always; break-inside: avoid; page-break-inside: avoid; }
.bdcv-att .att-t { align-self: flex-start; font: 600 14px/1.3 'Segoe UI', 'Noto Sans Bengali', Roboto, Arial, sans-serif; color: #222; margin-bottom: 12px; }
.bdcv-att .att-t:empty { display: none; }
.bdcv-att .att-i { flex: 1 1 auto; width: 100%; min-height: 0; display: flex; align-items: center; justify-content: center; }
.bdcv-att img { display: block; max-width: 100%; max-height: calc(var(--ph, 1062px) - 56px - 40px); object-fit: contain; }
.wp-admin .bdcv-bar { position: static; }

/* attachment rows in the form */
.bdcv-sec-b .note { color: #7b8794; font-size: 12px; margin: 0 0 12px; }
.bdcv-att-row { display: flex; gap: 12px; align-items: flex-start; }
.bdcv-att-row .bdcv-f { flex: 1; }
.att-th { width: 56px; height: 72px; object-fit: cover; border: 1px solid #cfd6df; border-radius: 6px; flex: none; background: #f5f7fa; }
.bdcv-add:disabled { opacity: .5; cursor: not-allowed; }

/* photo options (size / shape) chosen by the user */
.bdcv-cv.pz .cv-photo { width: var(--pw) !important; height: var(--phh) !important; }
.bdcv-cv.ps-circle .cv-photo { border-radius: 50% !important; }
.bdcv-cv.ps-round .cv-photo { border-radius: 14px !important; }
.bdcv-cv.ps-square .cv-photo { border-radius: 0 !important; }

/* cover letter */
.bdcv-cv .letter { font-size: calc(13.5px * var(--fz, 1)); line-height: 1.7; }
.bdcv-cv .letter p { margin: 0 0 10px; }
.bdcv-cv .letter .l-date { margin-bottom: 16px; }
.bdcv-cv .letter .l-to { margin-bottom: 16px; }
.bdcv-cv .letter .l-sub { font-weight: 700; margin-bottom: 14px; }
.bdcv-cv .letter .l-sal { margin-bottom: 12px; }
.bdcv-cv .letter .l-close { margin-top: 22px; break-inside: avoid; page-break-inside: avoid; }
.bdcv-cv .letter .l-close p { margin-bottom: 4px; }
.bdcv-cv .letter .l-close img { display: block; max-height: 64px; max-width: 200px; margin: 4px 0 2px; }
.bdcv-cv .letter .ds-gap { height: 46px; }
.bdcv-cv .letter .l-name { font-weight: 700; }
.bdcv-cv .letter .l-date { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.bdcv-cv .letter .l-encl { margin-top: 18px; font-size: .86em; color: #444; break-inside: avoid; }
/* professional letter: clean, accent subject rule */
.bdcv-cv .letter.l-pro .l-sub { color: var(--ac); border-bottom: 1px solid var(--ac); padding-bottom: 4px; }
/* academic letter: serif, justified, centred bold subject */
.bdcv-cv .letter.l-acad { font-family: Georgia, 'Times New Roman', 'Noto Serif Bengali', serif; line-height: 1.75; }
.bdcv-cv .letter.l-acad .l-body p { text-align: justify; text-indent: 0; }
.bdcv-cv .letter.l-acad .l-sub { text-align: center; font-weight: 700; margin: 4px 0 16px; text-decoration: underline; text-underline-offset: 3px; }
.bdcv-cv .letter.l-acad .l-name { font-weight: 600; }
.t-card .letter { background: #fff; border-radius: 12px; padding: 22px 26px; box-shadow: 0 1px 3px rgba(16, 24, 40, .08); }
.t-minimal .letter { padding-left: 0; }

/* colour swatches in the form */
.bdcv-sw { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.bdcv-sw .sw { width: 26px; height: 26px; padding: 0; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px #cfd6df; }
.bdcv-sw .sw.on { box-shadow: 0 0 0 2px #1c2430; }
.bdcv-sw input[type=color] { width: 34px; height: 28px; padding: 0; border: 1px solid #cfd6df; border-radius: 6px; background: #fff; cursor: pointer; }
.bdcv-chk.full { font-weight: 600; }


/* ATS Friendly: restrained, single-column, text-first layout */
.t-ats { padding: 34px 46px; color: #17202b; font-size: calc(12.5px * var(--fz, 1)); line-height: 1.48; background: #fff; }
.t-ats .cv-head { display: block; padding: 0 0 12px; margin: 0 0 14px; border-bottom: 2px solid #222; }
.t-ats .cv-head h1 { font-size: calc(27px * var(--fz, 1)); color: #111; line-height: 1.15; font-weight: 750; margin: 0 0 5px; }
.t-ats .cv-title { color: #222; font-size: calc(14px * var(--fz, 1)); margin: 0 0 6px; }
.t-ats .cv-contact { display: flex; flex-wrap: wrap; gap: 2px 13px; color: #222; font-size: calc(11.5px * var(--fz, 1)); }
.t-ats .cv-contact li { margin: 0; }
.t-ats .cv-contact i { display: none; }
.t-ats .sec { margin: 0 0 12px; }
.t-ats .sec-t { display: block; margin: 0 0 6px; padding: 0 0 3px; border-bottom: 1px solid #9ca3af; color: #111; font-size: calc(12px * var(--fz, 1)); font-weight: 800; letter-spacing: .55px; text-transform: uppercase; }
.t-ats .sec-t::after { display: none; }
.t-ats .it { margin-bottom: 7px; }
.t-ats .it-h { display: flex; justify-content: space-between; gap: 12px; }
.t-ats .chips { display: block; }
.t-ats .chips span { display: inline; padding: 0; margin: 0; border: 0; background: transparent; color: inherit; }
.t-ats .chips span:not(:last-child)::after { content: ', '; }
.t-ats .edu-t { width: 100%; border-collapse: collapse; }
.t-ats .edu-t th, .t-ats .edu-t td { padding: 4px 6px; border: 1px solid #c7cdd4; text-align: left; }
.bdcv-admin-pagination { margin: 18px 0 8px; }
.bdcv-admin-pagination .tablenav-pages { float: none; display: flex; align-items: center; justify-content: flex-end; gap: 5px; }
.bdcv-admin-pagination .page-numbers { display: inline-flex; min-width: 34px; height: 34px; align-items: center; justify-content: center; padding: 0 9px; border: 1px solid #d0d7de; border-radius: 7px; background: #fff; color: #1d4ed8; text-decoration: none; box-sizing: border-box; }
.bdcv-admin-pagination .page-numbers.current { color: #fff; background: #1f4e79; border-color: #1f4e79; font-weight: 700; }
.bdcv-admin-pagination .page-numbers:hover { background: #eef4fa; border-color: #1f4e79; }
.bdcv-admin-pagination .page-numbers.dots { border-color: transparent; background: transparent; color: #687385; }

/* font picker */
.bdcv-fonts { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 8px; margin-top: 6px; max-height: 330px; overflow: auto; padding: 2px; }
.bdcv-fonts button { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 8px 10px; border: 1px solid #cfd6df; border-radius: 8px; background: #fff; cursor: pointer; text-align: left; color: #1c2430; font: inherit; }
.bdcv-fonts button b { font-size: 22px; line-height: 1.1; font-weight: 600; }
.bdcv-fonts button i { font-style: normal; font-size: 12.5px; font-weight: 600; }
.bdcv-fonts button small { font-size: 10.5px; color: #6b7686; }
.bdcv-fonts button:hover { border-color: #1f4e79; }
.bdcv-fonts button.on { border-color: #1f4e79; box-shadow: 0 0 0 2px #1f4e79 inset; background: #f1f6fb; }

/* toolbar icons */
.bdcv-act button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.bdcv-ic { flex: none; width: 16px; height: 16px; }

/* attachments list on the CV */
.bdcv-cv .attl { margin: 0; padding-left: 20px; }
.bdcv-cv .attl li { margin: 0 0 2px; }
.bdcv-cv .sec-attlist { break-inside: avoid; page-break-inside: avoid; }
.bdcv-attlist { margin-top: 14px; display: grid; gap: 10px; }
