.catalog-section{padding:64px max(calc((100vw - 1176px)/2),32px) 72px;background:linear-gradient(90deg,#f5f5f1f2 0%,#f5f5f1df 52%,#f5f5f1c9 100%),url("images/hero-application.webp") center 43%/cover no-repeat;border-block:1px solid #e2e6df}
.catalog-inner{max-width:1176px;margin:auto}.catalog-section .section-heading{gap:32px}.catalog-section .section-heading h2,.subscription-section .section-heading h2{font-size:clamp(30px,4vw,42px);letter-spacing:-1.7px}.catalog-intro,.plans-intro{max-width:360px;color:#66746c;font-size:13px;line-height:1.65}.catalog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:22px 0}.catalog-tabs{display:flex;gap:8px}.catalog-tab{border:1px solid #dfe5dd;background:#ffffffd9;border-radius:7px;padding:11px 15px;color:#526158;font:600 12px 'DM Sans';cursor:pointer}.catalog-tab.active{background:var(--ink);border-color:var(--ink);color:#fff}.catalog-country{display:flex;align-items:center;gap:10px;color:#526158;font-size:11px;font-weight:600}.catalog-country select{border:1px solid #dfe5dd;border-radius:7px;padding:10px;background:#fff;font:12px 'DM Sans';color:var(--ink)}
.template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.template-card{overflow:hidden;background:#fffffff2;border:1px solid #e0e5dd;border-radius:11px;box-shadow:0 10px 30px #172b2410;display:flex;flex-direction:column}.template-sample{height:145px;padding:14px;background:#eef1ec;display:flex;align-items:center;justify-content:center;overflow:hidden}.sample-paper{width:162px;height:118px;background:#fff;border:1px solid #e4e8e1;border-radius:3px;box-shadow:0 5px 13px #172b241c;padding:12px;display:grid;grid-template-columns:1fr;gap:5px}.sample-top{display:flex;gap:8px;align-items:center;border-bottom:2px solid #90b64d;padding-bottom:6px}.sample-avatar{width:22px;height:22px;border-radius:50%;background:#dbe7d4;flex:0 0 auto}.sample-name{height:7px;width:70px;border-radius:6px;background:#273a30}.sample-line{height:4px;width:80%;border-radius:4px;background:#dce3da}.sample-line.short{width:52%}.sample-label{height:5px;width:42%;background:#829b75;border-radius:3px;margin-top:2px}.sample-paper.sample-academic .sample-top{border-color:#41658d}.sample-paper.sample-academic .sample-label{background:#41658d}.sample-paper.sample-modern{grid-template-columns:40px 1fr}.sample-modern .sample-rail{grid-row:1/5;background:#244d49;border-radius:2px}.sample-paper.sample-modern .sample-top{border-color:#c6f36a}.sample-paper.sample-modern .sample-label{background:#b07a4d}.sample-paper.sample-canadian .sample-top{border-color:#29323b}.sample-paper.sample-canadian .sample-label{background:#45515c}.sample-paper.sample-europass .sample-top{border-color:#315b96}.sample-paper.sample-europass .sample-label{background:#315b96}.template-copy{padding:16px;display:flex;flex-direction:column;align-items:flex-start;gap:9px;flex:1}.template-copy h3{font:700 15px Manrope;margin:0;color:#20312c}.template-copy p{margin:0;color:#66746c;font-size:11px;line-height:1.6}.template-tags{display:flex;flex-wrap:wrap;gap:6px}.template-tag{border-radius:20px;padding:5px 8px;background:#edf3e8;color:#46603d;font-size:9px;font-weight:700}.template-card-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;margin-top:auto;padding-top:4px}.template-source{color:#53734d;font-size:10px;text-decoration:underline;text-underline-offset:2px}.template-use{padding:10px 12px;gap:8px;font-size:11px}.catalog-disclaimer{max-width:780px;margin:18px 0 0;color:#66746c;font-size:10px;line-height:1.6}
.subscription-section{max-width:1176px;margin:0 auto;padding:74px 0 92px}.plan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.plan-card{position:relative;background:#fff;border:1px solid #e2e7df;border-radius:12px;padding:24px;box-shadow:var(--shadow)}.plan-featured{border-color:#8ead6e}.plan-name{font:700 14px Manrope}.plan-price{display:flex;align-items:baseline;gap:8px;margin:14px 0 8px;color:#6f7d76;font-size:12px}.plan-price strong{color:var(--ink);font:800 32px Manrope;letter-spacing:-1px}.plan-card>p:not(.plan-price){min-height:38px;color:#66746c;font-size:12px;line-height:1.55}.plan-badge{position:absolute;right:18px;top:18px;border-radius:16px;background:#edf5e4;color:#4b693d;padding:6px 9px;font-size:9px;font-weight:700}.plan-button{width:auto;min-width:180px}.savings-note{color:#4c733f;font-size:10px;font-weight:700}.plans-status{color:#7a877e;font-size:10px;margin:15px 0 0}.marketing-consent{display:flex!important;align-items:flex-start;gap:8px;font-size:10px!important;line-height:1.5}.marketing-consent input{width:auto!important;margin:1px 0 0!important;flex:0 0 auto}
.checkout-dialog{width:min(580px,calc(100vw - 24px));max-width:none;border:0;border-radius:18px;padding:26px;background:#ffffff;color:var(--ink);box-shadow:0 24px 80px rgba(15,23,42,0.35);box-sizing:border-box}
.checkout-dialog::backdrop{background:rgba(15,23,42,0.65);backdrop-filter:blur(4px)}
.checkout-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;border-bottom:1px solid #f1f5f9;padding-bottom:14px;margin-bottom:16px}
.checkout-secure-badge{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:700;color:#059669;background:#ecfdf5;border:1px solid #a7f3d0;padding:3px 8px;border-radius:999px;margin-bottom:4px}
.checkout-head h2{font:800 20px Manrope,sans-serif;margin:0;letter-spacing:-0.5px;color:#0f172a}
.dialog-close{border:0;background:#f1f5f9;border-radius:50%;width:32px;height:32px;font-size:20px;cursor:pointer;color:#64748b;display:grid;place-items:center;line-height:1;transition:all .15s}
.dialog-close:hover{background:#e2e8f0;color:#0f172a}

.checkout-details{font-size:13px;line-height:1.55;color:#475569}
.checkout-summary-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:16px;margin:0 0 14px}
.checkout-plan-header{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;flex-wrap:wrap}
.checkout-plan-tag{font-size:13px;font-weight:800;color:#0f172a}
.checkout-plan-dur{font-size:11px;font-weight:700;color:#2563eb;background:#eff6ff;padding:3px 9px;border-radius:999px;border:1px solid #bfdbfe}
.checkout-perks{margin:10px 0 0;padding-left:0;list-style:none;display:flex;flex-direction:column;gap:5px;font-size:12px;color:#334155}
.checkout-perks li{display:flex;align-items:center;gap:6px}

.checkout-price-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0}
.checkout-price{background:#ffffff;border:1.5px solid #cbd5e1;border-radius:10px;padding:12px 14px;display:flex;flex-direction:column;gap:2px}
.checkout-price small{font-size:10.5px;font-weight:700;color:#64748b;letter-spacing:0.3px}
.checkout-price strong{display:block;font:800 22px Manrope,sans-serif;color:#0f172a;margin:3px 0 1px}
.checkout-price span{font-size:11px;color:#64748b}

.checkout-user-badge{display:flex;align-items:center;gap:12px;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:12px;padding:12px 14px;margin:12px 0}
.checkout-user-icon{font-size:18px;background:#10b981;color:#fff;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;flex-shrink:0}
.checkout-user-info strong{display:block;font-size:13px;color:#065f46}
.checkout-user-info span{font-size:11.5px;color:#047857}

.checkout-guest-box{background:#f8fafc;border:1px solid #cbd5e1;border-radius:12px;padding:14px;margin:12px 0}
.checkout-guest-title{font-size:12px;font-weight:700;color:#1e293b;margin:0 0 10px}
.checkout-guest-fields{display:flex;gap:10px;align-items:flex-start}
.checkout-field-label{display:flex;flex-direction:column;gap:5px;flex:1;font-size:11.5px;font-weight:700;color:#334155}
.checkout-field-label input{border:1.5px solid #cbd5e1;border-radius:8px;padding:10px 12px;font:inherit;font-size:13.5px;background:#fff;color:#0f172a;width:100%;box-sizing:border-box}
.checkout-field-label input:focus{border-color:#2563eb;outline:3px solid rgba(37,99,235,0.15)}

.checkout-choose-method{font-size:12px;font-weight:700;color:#64748b;margin:14px 0 8px;text-transform:uppercase;letter-spacing:0.5px}

.checkout-buttons-group{display:flex;flex-direction:column;gap:10px;margin-top:6px}
.dialog-action{width:100%;padding:14px 18px;font-size:14px;font-weight:800;border-radius:12px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:10px;transition:all .15s ease}
.dialog-action:hover{transform:translateY(-1px)}
.dialog-action:disabled{opacity:.55;cursor:not-allowed;transform:none}
.button-accent.dialog-action{background:linear-gradient(135deg,#2563eb 0%,#1d4ed8 100%);color:#fff;border:none;box-shadow:0 4px 14px rgba(37,99,235,0.3)}
.button-accent.dialog-action:hover{background:linear-gradient(135deg,#1d4ed8 0%,#1e40af 100%)}
.button-outline.dialog-action{background:#ffffff;border:1.5px solid #0f172a;color:#0f172a}
.button-outline.dialog-action:hover{background:#f8fafc}

.checkout-message{padding:11px 14px;border-radius:10px;background:#fef2f2;color:#991b1b;border:1px solid #fecaca;font-size:12px;line-height:1.5;margin:12px 0 0}
.checkout-note{font-size:11px;line-height:1.6;color:#64748b;margin:12px 0 0;text-align:center}
.preview-document.template-academic{border-top:5px solid #41658d}.preview-document.template-academic h1{color:#294c73}.preview-document.template-academic h2{color:#41658d;border-bottom:1px solid #d7e1eb;padding-bottom:4px}.preview-document.template-modern{border-left:8px solid #244d49}.preview-document.template-modern h1{color:#244d49}.preview-document.template-modern h2{color:#9c6239}.preview-document.template-europass{border-top:5px solid #315b96}.preview-document.template-europass h1{color:#315b96}.preview-document.template-europass h2{color:#315b96}.preview-document.template-canadian{font-family:Arial,sans-serif;color:#202a31}.preview-document.template-canadian h1,.preview-document.template-canadian h2{color:#202a31}.preview-document.template-canadian .preview-contact{border-color:#37434c}
@media(max-width:900px){.catalog-section{padding:52px 28px 58px}.subscription-section{margin:0 28px;padding:62px 0 72px}.template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.catalog-section{padding:42px 18px 46px}.catalog-section .section-heading{align-items:flex-start}.catalog-toolbar{align-items:flex-start;flex-direction:column}.catalog-tabs{width:100%}.catalog-tab{flex:1;padding:10px 7px}.catalog-country{width:100%;justify-content:space-between}.catalog-country select{min-width:55%}.template-grid{grid-template-columns:1fr}.template-sample{height:132px}.subscription-section{margin:0 18px;padding:48px 0 58px}.plan-grid{grid-template-columns:1fr}.plan-card{padding:20px}.plan-badge{top:15px;right:14px}.checkout-dialog{padding:20px}.checkout-price-grid{grid-template-columns:1fr 1fr}}
.optional-fields{border-top:1px solid #e9ede7;padding-top:12px;margin-top:6px}.optional-fields summary{cursor:pointer;color:#526158;font-size:11px;font-weight:700}.optional-fields-body{padding-top:12px}.letter-guidance{margin:2px 0 12px;padding:10px 12px;border-radius:6px;background:#f3f6ef;color:#6c786f;font-size:10px;line-height:1.55}
.template-sample .sample-paper.sample-sidebar{grid-template-columns:37px 1fr;grid-template-rows:20px 5px 5px 5px;gap:5px}.sample-sidebar .sample-rail{grid-row:1/6;background:#244d49;border-radius:2px}.sample-sidebar .sample-top{border:0;padding:0}.sample-sidebar .sample-avatar{display:none}.sample-sidebar .sample-label{background:#9ab884}.sample-paper.sample-ats{border-top:3px solid #27343b;grid-template-columns:1fr;gap:4px}.sample-ats .sample-rail,.sample-ats .sample-avatar{display:none}.sample-ats .sample-top{border:0;padding:0}.sample-ats .sample-label{background:#45515c}.sample-paper.sample-editorial{border-top:8px solid #243b32;grid-template-columns:1fr;gap:4px}.sample-editorial .sample-rail{display:none}.sample-editorial .sample-top{border-color:#a7bd91}.sample-editorial .sample-label{background:#a07d5c}.sample-paper.sample-letter-training,.sample-paper.sample-letter-study,.sample-paper.sample-letter-job,.sample-paper.sample-letter{grid-template-columns:1fr;gap:4px;border-top:3px solid #57784f}.sample-letter-training .sample-rail,.sample-letter-study .sample-rail,.sample-letter-job .sample-rail,.sample-letter .sample-rail{display:none}.sample-letter-training .sample-avatar,.sample-letter-study .sample-avatar,.sample-letter-job .sample-avatar,.sample-letter .sample-avatar{display:none}.sample-letter-training .sample-top,.sample-letter-study .sample-top,.sample-letter-job .sample-top,.sample-letter .sample-top{border:0;padding:0}
.preview-document .cv-heading-copy{min-width:0}.preview-document .cv-section{break-inside:avoid}.preview-document .cv-entry{margin:5px 0 7px}.preview-document .cv-entry strong{font-size:9px;color:#46574c}.preview-document .cv-entry p{margin:2px 0}.preview-document.template-sidebar{padding:0;overflow:hidden}.template-sidebar .cv-heading{padding:18px 20px 15px;margin:0;background:#fff}.template-sidebar .cv-heading h1{color:#244d49}.template-sidebar .cv-layout{display:grid;grid-template-columns:31% 69%;min-height:380px}.template-sidebar .cv-rail{padding:17px 14px;background:#244d49;color:#f6f8f4}.template-sidebar .cv-rail h2{color:#e3f1d8;font-size:8px;border-bottom:1px solid #b5c7b0;padding-bottom:4px}.template-sidebar .cv-rail p,.template-sidebar .cv-rail li{color:#f2f5f0;font-size:8px}.template-sidebar .cv-rail ul{padding-left:12px}.template-sidebar .cv-main{padding:12px 17px 18px}.template-sidebar .cv-main h2{color:#244d49;border-bottom:1px solid #dfe6dd;padding-bottom:4px}.template-academic{border-top:5px solid #41658d}.template-academic .cv-heading h1,.template-academic .cv-section h2{color:#294c73}.template-academic .cv-section h2{border-bottom:1px solid #d7e1eb;padding-bottom:4px}.template-academic .preview-contact{border-color:#7894b1}.template-ats{font-family:Arial,sans-serif;color:#202a31}.template-ats .cv-heading{border-bottom:2px solid #394751;padding-bottom:12px}.template-ats .cv-heading h1,.template-ats .cv-section h2{color:#202a31}.template-ats .cv-section h2{border-bottom:1px solid #cbd1d4;padding-bottom:4px}.template-editorial .cv-heading{background:#253c34;color:#fff;padding:17px;border-radius:2px}.template-editorial .cv-heading h1{color:#fff}.template-editorial .preview-contact{color:#e4ece6;border-color:#abc49b}.template-editorial .cv-section h2{color:#8b603d;border-bottom:1px solid #ded2c2;padding-bottom:4px}.template-europass{border-top:5px solid #315b96}.template-europass .cv-heading h1,.template-europass .cv-section h2{color:#315b96}.template-europass .cv-section h2{border-bottom:1px solid #d4dfef;padding-bottom:4px}.template-canadian{font-family:Arial,sans-serif;color:#202a31}.template-canadian .cv-heading h1,.template-canadian .cv-section h2{color:#202a31}.template-canadian .cv-section h2{border-bottom:1px solid #cbd1d4;padding-bottom:4px}.template-modern .cv-heading{border-bottom:3px solid #c6f36a}.template-modern .cv-heading h1,.template-modern .cv-section h2{color:#244d49}.template-modern .cv-section h2{border-left:3px solid #9c6239;padding-left:6px}
.template-letter{font-family:Arial,sans-serif;color:#29342f;padding:30px 29px}.template-letter h1{font-size:18px;color:#263a31}.letter-top{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.template-letter .preview-contact{max-width:300px;border:0;padding:0;margin:4px 0;color:#68766e}.letter-recipient{min-width:120px;max-width:44%;display:flex;flex-direction:column;align-items:flex-start;gap:3px;padding:9px 11px;background:#f3f6f2;border-left:2px solid #8eaa78}.letter-recipient small{font-size:8px;letter-spacing:.6px;text-transform:uppercase;color:#718078}.letter-recipient strong,.letter-recipient span{font-size:9px}.template-letter .letter-date{text-align:right;margin:17px 0 8px;color:#68766e}.letter-subject{border-top:1px solid #dce3dc;border-bottom:1px solid #dce3dc;padding:7px 0;margin:7px 0 15px}.letter-greeting{margin-bottom:10px!important}.letter-body p{line-height:1.62;margin:0 0 9px}.letter-closing{margin-top:13px!important}.letter-signature{margin-top:14px!important;font-weight:700}.template-letter-training{border-top:4px solid #57784f}.template-letter-study{border-top:4px solid #41658d}.template-letter-study .letter-recipient{border-color:#41658d}.template-letter-job{border-top:4px solid #273c33}.template-letter-job .letter-recipient{border-color:#8d9a73}
@media print{.print-doc .template-sidebar{padding:0}.print-doc .template-sidebar .cv-layout{grid-template-columns:31% 69%}.print-doc .template-sidebar .cv-rail{background:#244d49!important;color:#fff!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.print-doc .template-editorial .cv-heading,.print-doc .template-editorial .cv-heading h1{-webkit-print-color-adjust:exact;print-color-adjust:exact}.print-doc .template-letter{padding:0}.print-doc .letter-recipient{background:#f3f6f2!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.print-doc .cv-section,.print-doc .letter-body{break-inside:avoid}}
@media(max-width:680px){.template-sidebar .cv-layout{grid-template-columns:36% 64%}.template-sidebar .cv-rail{padding:12px 9px}.template-sidebar .cv-main{padding:10px 12px}.template-letter{padding:22px 18px}.letter-top{flex-direction:column}.letter-recipient{max-width:100%;width:100%}}

/* Full rendered template cards and guided document flow */
.catalog-toolbar{flex-wrap:wrap;align-items:end}
.catalog-country{flex:1 1 165px}
.catalog-country select{min-width:145px}
.template-grid{align-items:stretch}
.template-card{min-width:0}
.template-sample{height:350px;padding:12px;background:linear-gradient(145deg,#edf0eb,#f7f8f5)}
.template-mini-stage{position:relative;width:100%;height:326px;overflow:hidden;display:flex;justify-content:center;align-items:flex-start}
.template-mini{position:absolute;top:0;left:50%;width:430px;transform:translateX(-50%) scale(.70);transform-origin:top center;pointer-events:none}
.template-mini .preview-document{width:430px;min-height:450px;padding:25px 27px;box-shadow:0 7px 25px #20312c19}
.template-mini .preview-document.template-sidebar{padding:0}
.template-mini .preview-document h1{font-size:24px}
.template-mini .preview-document h2{font-size:11px}
.template-mini .preview-document p,.template-mini .preview-document li{font-size:10px}
.template-mini .cv-entry strong{font-size:10px}
.template-mini .template-letter{padding:28px}
.template-copy{gap:10px}
.template-copy h3{font-size:16px;line-height:1.35}
.template-copy>p{min-height:52px;font-size:12px}
.template-tags{margin-bottom:1px}
.template-tag{font-size:10px}
.card-palette{display:flex;align-items:center;gap:8px;margin:2px 0 4px}
.card-color-choice,.color-choice{width:24px;height:24px;flex:0 0 24px;border:2px solid white;border-radius:50%;background:var(--swatch);box-shadow:0 0 0 1px #d5ddd5;cursor:pointer;transition:transform .15s,box-shadow .15s}
.card-color-choice:hover,.color-choice:hover{transform:scale(1.12)}
.card-color-choice.active,.color-choice.active{box-shadow:0 0 0 2px var(--ink)}
.card-color-choice:focus-visible,.color-choice:focus-visible,.template-enlarge:focus-visible{outline:3px solid #9ac767;outline-offset:3px}
.template-card-foot{flex-wrap:wrap;justify-content:flex-start;gap:9px}
.template-card-foot .template-use{margin:0 0 0 auto;white-space:nowrap}
.template-enlarge{border:0;background:transparent;color:#344b40;font:700 10px 'DM Sans';text-decoration:underline;text-underline-offset:3px;cursor:pointer;padding:8px 2px}
.template-source{font-size:10px}
.catalog-empty{grid-column:1/-1;padding:22px;border:1px dashed #cbd5ca;border-radius:10px;color:#66746c;background:#ffffffa8;font-size:13px}
.wizard-progress{padding:14px 0 4px;border-bottom:1px solid #edf0eb}
.wizard-progress p{margin:0 0 8px;color:#67756c;font-size:10px;font-weight:700}
.wizard-progress-track{height:4px;background:#ecf0e9;border-radius:4px;overflow:hidden}
.wizard-progress-track span{display:block;width:33.333%;height:100%;background:var(--accent);border-radius:4px;transition:width .2s ease}
.wizard-actions{display:flex;gap:8px;align-items:center}
.wizard-actions .button{margin:0}
.wizard-actions .button-outline{width:auto}
.style-section{background:#fbfcfa}
.selected-template-summary{margin:0 0 14px;padding:11px 12px;border-radius:7px;background:#f0f4ec;color:#344b40;font-size:12px;font-weight:700;line-height:1.5}
.color-palette{display:flex;align-items:center;gap:12px;padding:7px 2px 12px}
.color-choice{width:30px;height:30px;flex-basis:30px}
.template-preview-dialog{width:min(960px,calc(100vw - 24px));max-width:none;max-height:94vh;overflow:hidden;border:0;border-radius:14px;padding:22px;background:#f4f6f2;color:var(--ink);box-shadow:0 24px 90px #15231f80}
.template-preview-dialog::backdrop{background:#15231fc9;backdrop-filter:blur(3px)}
.template-preview-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 0 14px;border-bottom:1px solid #dfe6dd}
.template-preview-head h2{margin:0;font:700 20px Manrope;letter-spacing:-.4px}
.template-preview-body{max-height:calc(94vh - 145px);overflow:auto;padding:20px 12px}
.template-preview-body>.preview-document{width:min(760px,100%);min-height:900px;margin:0 auto;padding:58px 64px;box-shadow:0 5px 30px #15231f18}
.template-preview-body>.preview-document.template-sidebar{padding:0}
.template-preview-body .preview-document h1{font-size:30px}
.template-preview-body .preview-document h2{font-size:14px}
.template-preview-body .preview-document p,.template-preview-body .preview-document li{font-size:13px;line-height:1.6}
.template-preview-body .preview-document .preview-contact{font-size:12px}
.template-preview-body .preview-document.template-sidebar .cv-layout{grid-template-columns:31% 69%;min-height:840px}
.template-preview-body .preview-document.template-sidebar .cv-rail{padding:35px 26px}
.template-preview-body .preview-document.template-sidebar .cv-main{padding:30px 34px}
.template-preview-body .preview-document.template-sidebar .cv-rail p,.template-preview-body .preview-document.template-sidebar .cv-rail li{font-size:12px}
.template-preview-body .preview-document.template-sidebar .cv-rail h2{font-size:12px}
.template-preview-body .preview-document.template-letter{padding:60px 68px}
.template-preview-body .preview-document.template-letter h1{font-size:27px}
.template-preview-body .preview-document.template-letter p{font-size:13px}
.preview-document{--template-accent:#315B79}
.preview-document h1,.preview-document h2{color:var(--template-accent)}
.preview-document .preview-contact{border-color:var(--template-accent)}
.preview-document.template-sidebar .cv-heading h1,.template-sidebar .cv-main h2{color:var(--template-accent)}
.template-sidebar .cv-rail{background:var(--template-accent)}
.template-sidebar .cv-rail h2{color:#fff;border-color:#ffffff9c}
.template-sidebar .cv-main h2{border-color:color-mix(in srgb,var(--template-accent) 28%,white)}
.template-academic .cv-heading h1,.template-academic .cv-section h2,.template-europass .cv-heading h1,.template-europass .cv-section h2,.template-ats .cv-heading h1,.template-ats .cv-section h2,.template-canadian .cv-heading h1,.template-canadian .cv-section h2,.template-modern .cv-heading h1,.template-modern .cv-section h2,.template-editorial .cv-section h2{color:var(--template-accent)}
.template-academic,.template-europass{border-top-color:var(--template-accent)}
.template-academic .cv-section h2,.template-europass .cv-section h2,.template-ats .cv-section h2,.template-canadian .cv-section h2{border-color:color-mix(in srgb,var(--template-accent) 30%,white)}
.template-ats .cv-heading{border-color:var(--template-accent)}
.template-modern{border-left-color:var(--template-accent)}
.template-modern .cv-heading{border-color:var(--template-accent)}
.template-modern .cv-section h2{border-color:var(--template-accent)}
.template-editorial .cv-heading{background:var(--template-accent)}
.template-editorial .cv-heading h1{color:#fff}
.template-editorial .cv-section h2{border-color:color-mix(in srgb,var(--template-accent) 25%,white)}
.template-letter{border-top:4px solid var(--template-accent)}
.template-letter .letter-recipient{border-color:var(--template-accent)}
.template-letter .letter-subject{border-color:color-mix(in srgb,var(--template-accent) 25%,white)}
.template-letter-editorial .letter-sender{padding:16px 18px;background:var(--template-accent);color:#fff}
.template-letter-editorial .letter-sender h1,.template-letter-editorial .letter-sender .preview-contact{color:#fff;border-color:#ffffff8a}
.template-letter-editorial .letter-recipient{background:color-mix(in srgb,var(--template-accent) 8%,white)}
.template-letter-minimal{border-top:0;border-left:3px solid var(--template-accent)}
.template-letter-minimal .letter-recipient{background:transparent}
@media print{
 .print-doc .template-sidebar .cv-rail{background:var(--template-accent)!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
 .print-doc .template-editorial .cv-heading,.print-doc .template-editorial .cv-heading h1,.print-doc .template-letter-editorial .letter-sender{-webkit-print-color-adjust:exact;print-color-adjust:exact}
 .print-doc .preview-document h1,.print-doc .preview-document h2,.print-doc .preview-document .preview-contact,.print-doc .template-letter{print-color-adjust:exact;-webkit-print-color-adjust:exact}
}
@media(max-width:900px){
 .template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .template-sample{height:320px}
 .template-mini-stage{height:296px}
 .template-mini{transform:translateX(-50%) scale(.64)}
 .catalog-country{flex-basis:calc(50% - 10px)}
}
@media(max-width:680px){
 .template-grid{grid-template-columns:1fr}
 .template-sample{height:330px}
 .template-mini-stage{height:306px}
 .template-mini{transform:translateX(-50%) scale(.67)}
 .template-copy>p{min-height:0}
 .template-card-foot{justify-content:space-between}
 .template-card-foot .template-use{margin-left:auto}
 .wizard-actions{flex:0 0 auto}
 .form-footer{align-items:center}
 .template-preview-dialog{padding:15px}
 .template-preview-head h2{font-size:16px}
 .template-preview-body{max-height:calc(94vh - 130px);padding:14px 3px}
 .template-preview-body>.preview-document{min-height:760px;padding:35px 24px}
 .template-preview-body>.preview-document.template-sidebar{padding:0}
 .template-preview-body .preview-document.template-sidebar .cv-layout{grid-template-columns:34% 66%;min-height:700px}
 .template-preview-body .preview-document.template-sidebar .cv-rail{padding:22px 14px}
 .template-preview-body .preview-document.template-sidebar .cv-main{padding:20px 16px}
 .template-preview-body .preview-document.template-letter{padding:35px 24px}
 .template-preview-body .preview-document h1{font-size:24px}
 .template-preview-body .preview-document p,.template-preview-body .preview-document li{font-size:11px}
 .catalog-country{flex-basis:100%}
 .catalog-country select{width:58%}
}

/* A polished CV library with legible, profile-rich examples */
.template-sample{height:440px;position:relative;padding:16px;background:radial-gradient(circle at 50% 12%,#ffffff 0%,#edf2f7 65%,#e2e8f0 100%);box-shadow:inset 0 1px 4px rgba(0,0,0,0.03);border-bottom:1px solid #e2e8f0;overflow:hidden}
.sample-fictional-label{position:absolute;z-index:3;top:14px;left:14px;border:1px solid rgba(186,230,253,0.9);border-radius:999px;padding:6px 12px;background:linear-gradient(135deg,rgba(255,255,255,0.96),rgba(240,249,255,0.96));backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);color:#0369a1;font:800 10px 'Manrope',sans-serif;letter-spacing:.8px;box-shadow:0 4px 12px rgba(3,105,161,0.08);text-transform:uppercase}
.template-mini-stage{position:relative;width:100%;height:410px;overflow:hidden;display:flex;justify-content:center;align-items:flex-start}
.template-mini{position:absolute;top:0;left:50%;width:430px;transform:translateX(-50%) scale(.68);transform-origin:top center;pointer-events:none;transition:transform .3s cubic-bezier(0.16,1,0.3,1)}
.template-card:hover .template-mini{transform:translateX(-50%) scale(.71) translateY(-4px)}
.template-mini .preview-document{width:430px;min-height:640px;padding:32px 34px;border-radius:8px;border:1px solid rgba(0,0,0,0.06);background:#ffffff;box-shadow:0 20px 45px -10px rgba(15,23,42,0.18),0 4px 12px -2px rgba(15,23,42,0.06);color:#0f172a;font-family:Arial,sans-serif;transition:box-shadow .3s ease}
.template-card:hover .template-mini .preview-document{box-shadow:0 26px 55px -10px rgba(15,23,42,0.24),0 8px 18px -2px rgba(15,23,42,0.08)}
.template-mini .preview-document h1{font-size:26px;letter-spacing:-.6px;color:#0f172a;font-weight:800}
.template-mini .preview-document h2{font-size:11px;letter-spacing:1.05px}
.template-mini .preview-document p,.template-mini .preview-document li{font-size:10px;line-height:1.48}
.template-mini .preview-document .preview-contact{font-size:9.5px;color:#64748b}
.template-mini .cv-position{font-size:11.5px!important;font-weight:700}
.template-mini .cv-entry{margin:7px 0 10px}
.template-mini .cv-entry-head strong,.template-mini .cv-entry-head b{font-size:9.5px}
.template-mini .cv-entry-place{font-size:9px!important}
.template-enlarge{border:1px solid #cbd5e1;background:#f8fafc;color:#1e293b;border-radius:8px;padding:7px 12px;font:700 11px 'DM Sans',sans-serif;cursor:pointer;transition:all .15s}
.template-enlarge:hover{background:#2563eb;color:#ffffff;border-color:#2563eb}
.template-tags{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:6px}
.template-tag{border-radius:8px;padding:5px 10px;background:#f8fafc;border:1px solid #e2e8f0;color:#334155;font-size:10.5px;font-weight:700}
.template-layout-tag{background:#eff6ff;border-color:#bfdbfe;color:#1d4ed8;font-weight:800}
.preview-document{--template-accent:#315B79;color:#26313c;font-family:Arial,sans-serif}
.preview-document .cv-heading{align-items:center;gap:22px;margin:0 0 20px;padding:0 0 16px;border-bottom:2px solid color-mix(in srgb,var(--template-accent) 30%,white)}
.preview-document .cv-heading-copy{flex:1;min-width:0}
.preview-document h1{color:#253548;font:800 30px/1.05 Manrope,Arial,sans-serif;letter-spacing:-1px}
.preview-document .cv-position{margin:7px 0 9px;color:var(--template-accent);font-size:12px;font-weight:700;letter-spacing:.15px}
.preview-document .preview-contact{display:flex;flex-wrap:wrap;gap:4px 12px;padding:8px 0 0;border:0;color:#647183;font-size:10px;line-height:1.55}
.preview-document h2{margin:18px 0 8px;padding:0 0 6px;border-bottom:1px solid color-mix(in srgb,var(--template-accent) 30%,white);color:var(--template-accent);font:800 11px/1.25 Manrope,Arial,sans-serif;letter-spacing:1.1px;text-transform:uppercase}
.preview-document p,.preview-document li{color:#354152;font-size:10px;line-height:1.56}
.preview-document ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 14px;padding-left:15px;margin:7px 0}
.preview-document .cv-entry{margin:8px 0 11px;break-inside:avoid}
.preview-document .cv-entry-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.preview-document .cv-entry-head strong{color:#637184;font-size:9px;white-space:nowrap}
.preview-document .cv-entry-head b{flex:1;color:#263547;font-size:10px}
.preview-document .cv-entry-place{margin:2px 0 3px;color:var(--template-accent);font-weight:700}
.preview-document .cv-entry p:last-child{margin-top:3px}
.template-sidebar{padding:0!important;overflow:hidden;border-radius:6px}
.template-sidebar .cv-layout{display:grid;grid-template-columns:32% 68%;min-height:620px}
.template-sidebar .cv-rail{padding:27px 19px;background:var(--template-accent);color:white}
.template-sidebar .rail-photo{text-align:center;margin:0 0 21px}
.template-sidebar .rail-photo .cv-photo{width:112px;height:124px;object-fit:cover;object-position:center 35%;border:4px solid #ffffffc9;border-radius:50%;box-shadow:0 5px 15px #0e1d2c30}
.template-sidebar .cv-rail h2{margin:17px 0 8px;padding-bottom:7px;border-color:#ffffff65;color:white;font-size:10px;letter-spacing:.9px}
.template-sidebar .cv-rail p,.template-sidebar .cv-rail li{color:#f6f8fa;font-size:9px;line-height:1.55}
.template-sidebar .cv-rail .preview-contact{display:block;color:white;font-size:9px}
.template-sidebar .cv-rail ul{display:block;padding-left:12px}
.template-sidebar .cv-main{padding:28px 30px 30px;background:white}
.template-sidebar .cv-main .cv-heading{padding:0 0 11px;margin-bottom:14px}
.template-sidebar .cv-main .cv-heading h1{font-size:28px;color:#233346}
.template-sidebar .cv-main .cv-position{margin:6px 0 0}
.template-sidebar .cv-main h2{margin-top:15px}
.template-sidebar .cv-entry-head{align-items:flex-start}
.template-sidebar .cv-entry-head strong{min-width:80px;white-space:normal}
.template-classic{border-top:6px solid var(--template-accent)}
.template-classic .cv-photo{width:92px;height:104px;object-fit:cover;border:4px solid white;border-radius:50%;box-shadow:0 0 0 2px var(--template-accent)}
.template-classic .cv-heading{padding-bottom:18px}
.template-academic{border-top:7px solid var(--template-accent);background:linear-gradient(180deg,#f8fbff,#fff 150px)}
.template-academic .cv-heading{padding:4px 0 18px}
.template-academic .cv-photo{width:86px;height:100px;object-fit:cover;border-radius:5px}
.template-academic .cv-section:first-child{padding:13px 16px;background:#f0f5fa;border-left:3px solid var(--template-accent)}
.template-academic .cv-section:first-child h2{margin-top:0}
.template-editorial{padding:0!important;overflow:hidden;border-radius:6px}
.template-editorial .cv-heading{align-items:center;min-height:145px;margin:0;padding:25px 35px;background:var(--template-accent);border:0}
.template-editorial .cv-heading h1{color:#fff;font-size:34px}
.template-editorial .cv-position{color:#eaf1f8}
.template-editorial .preview-contact{color:#e8edf4}
.template-editorial .cv-photo{order:2;width:94px;height:104px;object-fit:cover;border:3px solid #ffffffd9;border-radius:50%}
.template-editorial .cv-main{padding:16px 36px 34px}
.template-editorial .cv-section h2{border-bottom:2px solid color-mix(in srgb,var(--template-accent) 25%,white)}
.template-europass{border-top:7px solid var(--template-accent);background:#fff}
.template-europass .cv-heading{padding:10px 0 18px}
.template-europass .cv-heading h1{text-transform:uppercase;font-size:27px;letter-spacing:.6px}
.template-europass .cv-photo{width:74px;height:88px;object-fit:cover;border-radius:4px}
.template-europass .cv-entry{border-left:2px solid color-mix(in srgb,var(--template-accent) 22%,white);padding-left:11px}
.template-ats,.template-canadian{font-family:Arial,sans-serif;color:#202a31}
.template-ats .cv-heading,.template-canadian .cv-heading{border-bottom:2px solid var(--template-accent);padding-bottom:15px}
.template-ats .cv-photo,.template-canadian .cv-photo{display:none}
.template-ats .cv-section h2,.template-canadian .cv-section h2{border-bottom:1px solid #cbd1d8}
.template-ats .cv-entry-head strong,.template-canadian .cv-entry-head strong{color:#4f5c69}
.template-preview-body>.preview-document{min-height:900px;padding:56px 62px}
.template-preview-body>.preview-document.template-sidebar{padding:0}
.template-preview-body .preview-document .cv-heading{gap:26px;margin-bottom:22px;padding-bottom:18px}
.template-preview-body .preview-document h1{font-size:33px}
.template-preview-body .preview-document h2{font-size:13px;margin-top:20px}
.template-preview-body .preview-document p,.template-preview-body .preview-document li{font-size:12px;line-height:1.57}
.template-preview-body .preview-document .preview-contact{font-size:11px}
.template-preview-body .preview-document .cv-position{font-size:13px}
.template-preview-body .preview-document .cv-entry-head strong{font-size:10px}
.template-preview-body .preview-document .cv-entry-head b{font-size:12px}
.template-preview-body .preview-document.template-sidebar .cv-layout{grid-template-columns:32% 68%;min-height:880px}
.template-preview-body .preview-document.template-sidebar .cv-rail{padding:40px 28px}
.template-preview-body .preview-document.template-sidebar .rail-photo .cv-photo{width:145px;height:155px}
.template-preview-body .preview-document.template-sidebar .cv-main{padding:40px 45px}
.template-preview-body .preview-document.template-sidebar .cv-rail h2{font-size:12px}
.template-preview-body .preview-document.template-sidebar .cv-rail p,.template-preview-body .preview-document.template-sidebar .cv-rail li{font-size:11px}
.account-button{flex:0 0 auto;border:1px solid #d9e0e7;border-radius:999px;padding:9px 14px;background:#fff;color:#283848;font:700 11px 'DM Sans';cursor:pointer}
.account-button:hover{border-color:var(--ink);background:#f7f9fb}
.account-dialog{width:min(470px,calc(100vw - 28px));max-width:none;border:0;border-radius:15px;padding:22px;background:#fff;color:var(--ink);box-shadow:0 24px 80px #101c1880}
.account-dialog::backdrop{background:#15231fc9;backdrop-filter:blur(3px)}
.account-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:5px 0 17px;padding:4px;border-radius:9px;background:#f0f3f6}
.account-tab{border:0;border-radius:7px;padding:10px;background:transparent;color:#596777;font:700 11px 'DM Sans';cursor:pointer}
.account-tab.active{background:white;color:#1f3144;box-shadow:0 1px 4px #14233820}
.account-form label{display:block;margin:11px 0;color:#526158;font-size:11px;font-weight:700}
.account-form input{display:block;width:100%;margin-top:6px;border:1px solid #dfe5dd;border-radius:7px;padding:11px;font:13px 'DM Sans';color:var(--ink)}
.account-form input:focus{outline:3px solid #315b7926;border-color:#315b79}
.account-form .dialog-action{margin-top:7px}
.account-footnote{margin:15px 0 2px;color:#788591;font-size:10px;line-height:1.55}
.account-signed-in{padding:12px 2px 3px}
.account-identity{font-size:13px;font-weight:700;color:#24374b;overflow-wrap:anywhere}
.account-subscription-message{margin:10px 0 15px;padding:12px;border-radius:8px;background:#eff5ec;color:#42583b;font-size:11px;line-height:1.55}
.document-language-row{grid-template-columns:minmax(190px,1fr) 1fr}
.document-language-row label{grid-column:1/-1}
.document-language-row select{display:block;width:100%;margin-top:6px;border:1px solid #dfe5dd;border-radius:6px;background:#fff;padding:10px 11px;font:12px 'DM Sans';color:var(--ink)}
.document-language-row .field-hint{max-width:520px}
@media print{
 .print-doc .template-sidebar .cv-layout{grid-template-columns:32% 68%}
 .print-doc .template-sidebar .cv-rail{background:var(--template-accent)!important;color:white!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
 .print-doc .template-editorial .cv-heading,.print-doc .template-editorial .cv-heading h1,.print-doc .template-editorial .cv-position{-webkit-print-color-adjust:exact;print-color-adjust:exact}
 .print-doc .template-classic .cv-photo,.print-doc .template-academic,.print-doc .template-europass{print-color-adjust:exact;-webkit-print-color-adjust:exact}
}
@media(max-width:900px){.template-sample{height:410px}.template-mini-stage{height:380px}.template-mini{transform:translateX(-50%) scale(.64)}}
@media(max-width:680px){.template-sample{height:420px}.template-mini-stage{height:390px}.template-mini{transform:translateX(-50%) scale(.64)}.template-preview-body>.preview-document{min-height:760px;padding:32px 22px}.template-preview-body>.preview-document.template-sidebar{padding:0}.template-preview-body .preview-document.template-sidebar .cv-layout{grid-template-columns:35% 65%;min-height:740px}.template-preview-body .preview-document.template-sidebar .cv-rail{padding:22px 13px}.template-preview-body .preview-document.template-sidebar .cv-main{padding:24px 16px}.template-preview-body .preview-document.template-sidebar .rail-photo .cv-photo{width:88px;height:94px}.account-button{padding:8px 10px;font-size:10px}.document-language-row{grid-template-columns:1fr}}
.pricing-admin-panel{margin-top:14px;padding:15px;border:1px solid #e5eaf0;border-radius:10px;background:#f8fafb}
.pricing-admin-panel h3{margin:0 0 8px;color:#283848;font-size:14px}
.pricing-admin-panel .account-form{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}
.pricing-admin-panel .account-form label{min-width:0}
.pricing-admin-panel .account-form input{box-sizing:border-box;font-variant-numeric:tabular-nums}
.pricing-admin-panel .account-form .dialog-action{grid-column:1/-1}
@media(max-width:480px){.pricing-admin-panel .account-form{grid-template-columns:1fr}}
.checkout-renewal{margin:12px 0 0;padding-top:10px;border-top:1px solid #e8ecef;color:#68766e;font-size:10px;line-height:1.55}

@media(max-width:420px){.topbar{gap:7px}.brand{gap:6px;font-size:16px;letter-spacing:-.5px;white-space:nowrap}.brand-mark{padding:6px 7px}.language-select select{padding:7px 8px}.account-button{padding:7px 8px;font-size:9px}}

/* Original CV layout variants: each choice changes structure, not only its accent color. */
.template-timeline{border-top:6px solid var(--template-accent);background:linear-gradient(135deg,color-mix(in srgb,var(--template-accent) 7%,white),white 34%)}
.template-timeline .cv-heading{padding:8px 0 17px;border-bottom:1px solid color-mix(in srgb,var(--template-accent) 24%,white)}
.template-timeline .cv-heading h1,.template-timeline .cv-section h2{color:var(--template-accent)}
.template-timeline .cv-main{margin:5px 0 0 7px;padding-left:20px;border-left:2px solid color-mix(in srgb,var(--template-accent) 35%,white)}
.template-timeline .cv-section{position:relative;padding-bottom:3px}
.template-timeline .cv-section::before{position:absolute;left:-26px;top:2px;width:10px;height:10px;border:2px solid white;border-radius:50%;background:var(--template-accent);box-shadow:0 0 0 1px var(--template-accent);content:""}
.template-timeline .cv-section h2{letter-spacing:.08em}
.template-compact{border-top:5px solid var(--template-accent)}
.template-compact .cv-heading{padding-bottom:13px;border-bottom:1px solid #e3e7e9}
.template-compact .cv-heading h1{font-size:27px;letter-spacing:.015em;color:var(--template-accent)}
.template-compact .cv-main-compact{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:4px 20px}
.template-compact .cv-main-compact>[data-cv-section="profile"],.template-compact .cv-main-compact>[data-cv-section="experience"]{grid-column:1/-1}
.template-compact .cv-main-compact .cv-section{min-width:0}
.template-compact .cv-section h2{padding-bottom:4px;border-bottom:1px solid color-mix(in srgb,var(--template-accent) 32%,white);color:var(--template-accent);font-size:10px;letter-spacing:.07em}
.template-executive{overflow:hidden;padding:0!important;border:1px solid #dfe4e8;border-radius:5px}
.template-executive .cv-heading{min-height:118px;margin:0;padding:25px 30px;background:var(--template-accent);color:#fff}
.template-executive .cv-heading h1{color:#fff;font-size:31px;letter-spacing:.025em}
.template-executive .cv-heading .preview-contact{border-color:#ffffff8c;color:#f5f7fa}
.template-executive .cv-heading .cv-position{color:#e8edf2}
.template-executive .cv-photo{width:83px;height:93px;object-fit:cover;border:3px solid #ffffffc9;border-radius:50%}
.template-executive>.cv-main{padding:23px 31px 32px}
.template-executive .cv-section h2{padding-bottom:5px;border-bottom:1px solid #e2e6e9;color:var(--template-accent);letter-spacing:.075em}
.template-minimal{font-family:Georgia,"Times New Roman",serif;color:#343638;background:#fff}
.template-minimal .cv-heading{padding:9px 0 18px;border-bottom:1px solid #cfd4d7}
.template-minimal .cv-heading h1{font-family:Georgia,"Times New Roman",serif;font-size:31px;font-weight:500;letter-spacing:.01em;color:#292f34}
.template-minimal .cv-position{font-family:Arial,sans-serif;color:#646d74}
.template-minimal .cv-section h2{margin-top:16px;color:var(--template-accent);font:700 10px Arial,sans-serif;letter-spacing:.14em}
.template-minimal .cv-section h2::after{display:block;width:38px;height:1px;margin-top:5px;background:var(--template-accent);content:""}
.template-project{border-top:8px solid var(--template-accent);background:linear-gradient(180deg,#f8fafc 0,#fff 190px)}
.template-project .cv-heading{padding:8px 0 16px}
.template-project .cv-heading h1{font-size:29px;color:var(--template-accent)}
.template-project .cv-section[data-cv-section="education"],.template-project .cv-section[data-cv-section="projects"]{padding:10px 13px;background:color-mix(in srgb,var(--template-accent) 6%,white);border-left:3px solid var(--template-accent)}
.template-project .cv-section h2{color:var(--template-accent)}
.template-structured{border:1px solid #dce2e8;border-top:6px solid var(--template-accent)}
.template-structured .cv-heading{padding-bottom:14px;border-bottom:1px solid #e3e7eb}
.template-structured .cv-heading h1{color:#263a4d}
.template-structured .cv-main{counter-reset:cvsection}
.template-structured .cv-section{counter-increment:cvsection}
.template-structured .cv-section h2{display:flex;align-items:center;gap:7px;color:var(--template-accent)}
.template-structured .cv-section h2::before{content:counter(cvsection,decimal-leading-zero);color:var(--template-accent);font:700 9px Arial,sans-serif;letter-spacing:.05em}
.template-split{overflow:hidden;padding:0!important;border:1px solid #dfe4e8;border-radius:5px}
.template-split>.cv-heading{margin:0;padding:23px 28px 19px;border-bottom:1px solid #e2e7eb;background:#fff}
.template-split .cv-heading h1{color:var(--template-accent)}
.template-split .cv-layout-split{display:grid;grid-template-columns:34% 66%;min-height:620px}
.template-split .cv-split-rail{padding:23px 18px;background:#eef2f5}
.template-split .cv-split-rail .cv-section h2{padding-bottom:5px;border-bottom:1px solid #cfd8df;color:var(--template-accent)}
.template-split .cv-split-rail .cv-section p,.template-split .cv-split-rail .cv-section li{font-size:9px;line-height:1.5}
.template-split .cv-main{padding:22px 26px 30px}
.template-split .cv-main .cv-section h2{color:var(--template-accent)}
.template-split .cv-photo{width:76px;height:84px;object-fit:cover;border:3px solid #fff;border-radius:50%;box-shadow:0 0 0 1px color-mix(in srgb,var(--template-accent) 55%,white)}
.template-preview-body .preview-document.template-split{padding:0}
.template-preview-body .preview-document.template-split>.cv-heading{padding:32px 38px 24px}
.template-preview-body .preview-document.template-split .cv-layout-split{grid-template-columns:34% 66%;min-height:780px}
.template-preview-body .preview-document.template-split .cv-split-rail{padding:30px 24px}
.template-preview-body .preview-document.template-split .cv-main{padding:25px 32px}
.template-mini .template-executive>.cv-main{padding:16px 20px 24px}
.template-mini .template-executive .cv-heading{min-height:90px;padding:18px 20px}
.template-mini .template-split .cv-layout-split{grid-template-columns:34% 66%;min-height:550px}
.template-mini .template-split .cv-split-rail{padding:18px 12px}
.template-mini .template-split .cv-main{padding:17px 17px 22px}
.template-mini .template-compact .cv-main-compact{gap:2px 11px}
@media print{
 .print-doc .template-executive .cv-heading{-webkit-print-color-adjust:exact;print-color-adjust:exact}
 .print-doc .template-split .cv-split-rail{background:#eef2f5!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
 .print-doc .template-split .cv-layout-split{grid-template-columns:34% 66%}
 .print-doc .template-compact .cv-main-compact{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:680px){
 .template-preview-body>.preview-document.template-split{padding:0}
 .template-preview-body .preview-document.template-split .cv-layout-split{grid-template-columns:36% 64%;min-height:720px}
 .template-preview-body .preview-document.template-split .cv-split-rail{padding:18px 12px}
 .template-preview-body .preview-document.template-split .cv-main{padding:18px 15px}
 .template-compact .cv-main-compact{gap:3px 10px}
}
.letter-showcase{padding:58px max(calc((100vw - 1176px)/2),32px) 62px;background:#f7f8f5;border-bottom:1px solid #e4e9e1}
.letter-showcase-inner{max-width:1176px;margin:auto}.letter-showcase .section-heading{gap:30px;margin-bottom:24px}.letter-showcase .section-heading h2{max-width:650px;font-size:clamp(28px,3.5vw,40px);letter-spacing:-1.5px}.letter-showcase-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.letter-showcase-card{display:flex;flex-direction:column;text-align:left;gap:13px;padding:12px;background:#fff;border:1px solid #e1e7df;border-radius:12px;box-shadow:0 12px 28px #172b240c;color:var(--ink);cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.letter-showcase-card:hover,.letter-showcase-card:focus-visible{transform:translateY(-3px);border-color:#a8bb9d;box-shadow:0 16px 32px #172b2414;outline:none}
.letter-showcase-paper{width:100%;height:158px;display:flex;flex-direction:column;gap:7px;padding:15px 18px;background:linear-gradient(90deg,#315b7911 0 5px,#fff 5px);border:1px solid #e7ebe5;border-radius:5px;box-shadow:0 5px 14px #18291e12}
.letter-showcase-paper i{display:block;height:5px;width:94%;border-radius:5px;background:#c9d0ca;filter:blur(1.3px)}.letter-showcase-paper .letter-paper-name{width:46%;height:9px;margin:1px 0 2px;background:#315b79;filter:blur(1px)}.letter-showcase-paper .letter-paper-address{width:48%;height:5px;background:#98a39a}.letter-showcase-paper .letter-paper-subject{width:81%;height:7px;margin:4px 0 2px;background:#718d71}.letter-showcase-paper .letter-paper-short{width:63%}
.letter-paper-academic{background:linear-gradient(90deg,#779fbe22 0 5px,#fff 5px)}.letter-paper-academic .letter-paper-name,.letter-paper-academic .letter-paper-subject{background:#709ebd}.letter-paper-visa{background:linear-gradient(90deg,#b66c4517 0 5px,#fff 5px)}.letter-paper-visa .letter-paper-name,.letter-paper-visa .letter-paper-subject{background:#b66c45}.letter-paper-job{background:linear-gradient(90deg,#24796f17 0 5px,#fff 5px)}.letter-paper-job .letter-paper-name,.letter-paper-job .letter-paper-subject{background:#24796f}
.letter-showcase-copy{display:flex;flex-direction:column;gap:5px}.letter-showcase-copy b{font:700 13px Manrope;color:#23372e}.letter-showcase-copy small{min-height:34px;color:#69766e;font-size:10px;line-height:1.55}.letter-showcase-foot{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:18px;color:#768178;font-size:10px;line-height:1.5}.letter-showcase-foot .button{min-height:42px}
.letter-extra{margin:14px 0;padding:12px 14px;border:1px solid #e1e7df;border-radius:9px;background:#f8faf7}.letter-extra summary{font-weight:700;color:#344b3e;font-size:12px;cursor:pointer}.letter-extra .optional-fields-body{padding-top:12px}.letter-extra .optional-fields-body>label,.letter-extra .letter-visa-only label{margin-top:10px}.letter-extra .field-hint{font-size:10px;line-height:1.55}.letter-guidance{padding:12px 14px;border-left:3px solid var(--accent,#315B79);background:#f1f5ee;color:#59685e;font-size:11px;line-height:1.6}.letter-recipient{max-width:48%;text-align:right;line-height:1.45}.letter-recipient strong{display:block}.letter-recipient small,.letter-recipient span{display:block}
@media(max-width:900px){.letter-showcase{padding:48px 28px}.letter-showcase-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.letter-showcase{padding:40px 18px}.letter-showcase .section-heading{display:block}.letter-showcase-grid{gap:10px}.letter-showcase-paper{height:135px;padding:12px}.letter-showcase-card{padding:9px}.letter-showcase-copy b{font-size:11px}.letter-showcase-copy small{font-size:9px}.letter-showcase-foot{align-items:flex-start;flex-direction:column}.letter-showcase-foot .button{width:100%}.letter-recipient{max-width:44%;font-size:9px}}
.offer-showcase{padding:64px max(calc((100vw - 1176px)/2),32px) 72px;background:linear-gradient(180deg,#f6f7f4 0%,#eef2eb 100%);border-bottom:1px solid #e1e7df}
.offer-showcase-inner{max-width:1176px;margin:auto}.offer-showcase .section-heading{gap:30px;margin-bottom:24px}.offer-showcase .section-heading h2{max-width:650px;font-size:clamp(29px,3.5vw,42px);letter-spacing:-1.6px}.offer-showcase-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.offer-showcase-card{position:relative;display:grid;grid-template-columns:minmax(170px,.82fr) minmax(0,1.18fr);align-items:stretch;overflow:hidden;min-width:0;background:#fff;border:1px solid #e0e7df;border-radius:17px;box-shadow:0 15px 42px #1b30250d;transition:box-shadow .2s ease,border-color .2s ease}.offer-showcase-card:hover{border-color:#b7c7b3;box-shadow:0 20px 48px #1b30251a}
.offer-card-head{position:absolute;z-index:4;top:15px;left:16px;right:16px;display:flex;align-items:center;justify-content:space-between;pointer-events:none}.offer-card-index{font:700 10px Manrope;color:#738176}.offer-card-type{border:1px solid #ffffffab;border-radius:20px;background:#ffffffdf;color:#34483b;padding:6px 9px;font:700 8px Manrope;letter-spacing:.08em}
.offer-preview{position:relative;display:flex;min-height:256px;align-items:center;justify-content:center;overflow:hidden;background:radial-gradient(ellipse at 50% 15%,#ffffff 0%,#eef2ec 78%)}
.offer-preview-cv{--offer-accent:#315B79}.offer-preview-letter{--offer-accent:#50724A;background:radial-gradient(ellipse at 50% 15%,#ffffff 0%,#eff3ed 78%)}
.offer-page-cv,.offer-page-letter{position:relative;width:137px;height:194px;flex:0 0 auto;background:#fff;border:1px solid #e5eae4;border-radius:3px;box-shadow:0 12px 25px #1b302522}
.offer-page-cv-sidebar{z-index:2;display:grid;grid-template-columns:34% 1fr;padding:0}
.offer-cv-rail{display:flex;flex-direction:column;gap:8px;padding:14px 7px;background:var(--offer-accent);border-radius:3px 0 0 3px}
.offer-cv-main{display:flex;flex-direction:column;gap:7px;padding:22px 10px 10px}
.offer-avatar{width:32px;height:32px;margin:7px auto 5px;border:2px solid #ffffffb8;border-radius:50%;background:linear-gradient(145deg,#ead6c6,#9a6955 52%,#342c2b)}
.offer-line,.offer-rule,.offer-name-line,.offer-subtitle-line,.offer-letter-name,.offer-letter-address,.offer-letter-subject{display:block;border-radius:4px;background:#d7ded8}
.offer-cv-rail .offer-line{height:3px;background:#ffffffa3}.offer-cv-rail .offer-line-short{width:66%}.offer-cv-rail .offer-rule{height:1px;margin:2px 0;background:#ffffff8f}
.offer-name-line{height:9px;width:87%;background:#273a30}.offer-subtitle-line{height:4px;width:68%;background:var(--offer-accent)}.offer-rule{height:2px;margin:3px 0;background:var(--offer-accent)}.offer-cv-main .offer-line{height:4px}.offer-cv-main .offer-line-short{width:65%}
.offer-page-cv-clean{position:absolute;z-index:1;transform:translate(42px,7px) rotate(5deg);display:flex;flex-direction:column;gap:8px;padding:32px 12px 12px;opacity:.88}.offer-page-cv-clean .offer-line{height:4px}.offer-page-cv-clean .offer-line-short{width:66%}
.offer-page-letter{z-index:2;display:flex;flex-direction:column;gap:8px;padding:25px 13px 13px;transform:rotate(-2deg);border-top:4px solid var(--offer-accent)}
.offer-letter-name{height:8px;width:60%;background:var(--offer-accent)}.offer-letter-address{height:4px;width:51%;background:#aab4ab}.offer-letter-subject{height:6px;width:82%;margin:5px 0 2px;background:var(--offer-accent)}.offer-page-letter .offer-line{height:4px}.offer-page-letter .offer-line-short{width:69%}
.offer-page-letter-alt{position:absolute;z-index:1;transform:translate(29px,10px) rotate(4deg);border-top-color:#b66c45}
.offer-letter-card{--offer-accent:#50724A}.offer-letter-card .offer-card-type{color:#486643}
.offer-card-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0;padding:24px 22px 21px}.offer-card-copy h3{margin:0 0 9px;color:#22352c;font:750 clamp(17px,1.7vw,22px)/1.2 Manrope;letter-spacing:-.55px}.offer-card-copy p{margin:0;color:#69766e;font-size:11px;line-height:1.65}
.offer-tags{display:flex;flex-wrap:wrap;gap:6px;margin:15px 0 18px}.offer-tags span{padding:5px 8px;border:1px solid #e1e8df;border-radius:30px;background:#f7f9f6;color:#56665b;font-size:9px;font-weight:700}.offer-action{width:100%;justify-content:space-between;min-height:44px;padding:11px 13px;font-size:11px}
.offer-showcase-card:focus-within{outline:3px solid #a6c094;outline-offset:3px}
@media(max-width:1050px){.offer-showcase{padding-left:28px;padding-right:28px}.offer-showcase-grid{gap:14px}.offer-showcase-card{grid-template-columns:minmax(140px,.74fr) minmax(0,1.26fr)}.offer-card-copy{padding:22px 18px}.offer-preview{min-height:244px}}
@media(max-width:820px){.offer-showcase-grid{grid-template-columns:1fr}.offer-showcase-card{grid-template-columns:minmax(190px,.72fr) minmax(0,1.28fr)}.offer-preview{min-height:252px}.offer-card-copy{padding:25px 28px}}
@media(max-width:560px){.offer-showcase{padding:42px 18px 48px}.offer-showcase .section-heading{display:block}.offer-showcase-grid{gap:13px}.offer-showcase-card{grid-template-columns:1fr}.offer-preview{min-height:200px}.offer-page-cv,.offer-page-letter{width:125px;height:174px}.offer-card-copy{padding:18px}.offer-card-copy h3{font-size:19px}.offer-tags{margin:12px 0 15px}.offer-action{width:100%}}
@media(prefers-reduced-motion:reduce){.offer-showcase-card{transition:none}.offer-showcase-card:hover{box-shadow:0 15px 42px #1b30250d}}

/* Guided, structured CV entry editor */
.cv-entry-builder{margin:14px 0 22px;padding:16px;border:1px solid #dfe6e1;border-radius:14px;background:#f8faf8}
.cv-entry-builder-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:4px}
.cv-entry-builder-head h4{margin:0;color:#263b31;font:750 14px/1.3 Manrope,Arial,sans-serif}
.cv-entry-builder .field-hint{margin:6px 0;color:#647269;font-size:11px;line-height:1.55}
.cv-entry-language-hint{padding:8px 10px;border-left:2px solid #90a99a;background:#f0f4f1}
.cv-entry-list{display:grid;gap:12px;margin-top:12px}
.cv-entry-card{position:relative;min-width:0;margin:0;padding:16px 14px 13px;border:1px solid #dce4dd;border-radius:11px;background:white}
.cv-entry-card legend{max-width:calc(100% - 90px);padding:0 6px;color:#40574a;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.cv-entry-remove{position:absolute;top:10px;right:11px;padding:6px 9px;border:1px solid #e6dedb;border-radius:7px;background:#fff;color:#86544b;font-size:10px;font-weight:700;cursor:pointer}
.cv-entry-remove:disabled{opacity:.42;cursor:not-allowed}
.cv-entry-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px}
.cv-entry-card label{display:grid;gap:5px;min-width:0;color:#48584e;font-size:11px;font-weight:700}
.cv-entry-card input,.cv-entry-card textarea{width:100%;min-width:0;padding:10px 11px;border:1px solid #d9e0db;border-radius:8px;background:#fff;color:#25352d;font:400 13px/1.45 Manrope,Arial,sans-serif}
.cv-entry-card input:focus,.cv-entry-card textarea:focus{border-color:#547c67;outline:3px solid #547c6720}
.cv-entry-card input::placeholder,.cv-entry-card textarea::placeholder{color:#9aa49d;font-weight:400}
.cv-entry-details{margin-top:10px}
.cv-entry-details textarea{resize:vertical;min-height:76px}
.cv-entry-details .field-hint{margin:1px 0 0;font-size:10px}
.cv-add-entry{min-height:36px;padding:8px 12px;border:1px solid #cad8ce;border-radius:8px;background:white;color:#315b45;font-size:11px;font-weight:800;cursor:pointer}
.cv-add-entry:hover{background:#edf3ee}
.cv-quality-panel{margin:12px 0 20px;padding:13px 15px;border:1px solid #e7dfc9;border-left:4px solid #c59b49;border-radius:9px;background:#fffdf7;color:#574c35;font-size:11px;line-height:1.55}
.cv-quality-panel strong{font-size:12px}
.cv-quality-panel ul{margin:7px 0;padding-left:17px}
.cv-quality-panel p{margin:6px 0}
.cv-quality-panel small{display:block;margin-top:7px;color:#766c58}
.preview-document .cv-entry{margin:11px 0 14px}
.preview-document .cv-entry-head{justify-content:flex-start;gap:8px}
.preview-document .cv-entry-head b{font-size:11px;line-height:1.35}
.preview-document .cv-entry-place{font-size:10px;line-height:1.45;font-weight:600}
.preview-document .cv-entry ul{display:block;margin:5px 0 0;padding-left:17px}
.preview-document .cv-entry li{margin:2px 0;font-size:10px;line-height:1.5}
.template-sidebar .cv-rail .cv-entry ul{display:block}
.preview-document .preview-contact,.preview-document .cv-rail p,.preview-document .cv-rail li{overflow-wrap:anywhere;word-break:normal}
.preview-document .cv-main,.preview-document .cv-section{min-width:0;overflow-wrap:anywhere}
.preview-document>.cv-main>.cv-section p,.preview-document>.cv-main>.cv-section li{font-size:11px;line-height:1.58}
.preview-document .cv-section h2{font-size:12px;letter-spacing:.85px}
.preview-document .cv-entry-head b{font-size:11px}
.preview-document .cv-entry-place{font-size:10.5px}
@media(max-width:620px){.cv-entry-builder{padding:12px}.cv-entry-builder-head{align-items:flex-start;flex-direction:column}.cv-add-entry{width:100%}.cv-entry-card{padding:14px 10px 11px}.cv-entry-fields{grid-template-columns:1fr}.cv-entry-remove{top:8px;right:8px}.cv-entry-card legend{max-width:calc(100% - 88px)}}

/* A4 output rules shared by browser print and PDF export */
@page{size:A4 portrait;margin:14mm}
@media print{
 html,body{width:auto!important;min-width:0!important;margin:0!important;padding:0!important;background:#fff!important}
 body{-webkit-print-color-adjust:exact;print-color-adjust:exact}
 .print-doc{width:100%;margin:0;padding:0;overflow:visible;font-family:Arial,Helvetica,sans-serif;color:#26313c}
 .print-doc .preview-document{width:100%!important;min-height:0!important;margin:0!important;padding:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important;font-size:10pt;line-height:1.45}
 .print-doc .preview-document h1{font-size:23pt;line-height:1.1;letter-spacing:-.35pt}
 .print-doc .preview-document h2{margin:13pt 0 5pt;font-size:10pt;letter-spacing:.65pt;break-after:avoid-page}
 .print-doc .preview-document p,.print-doc .preview-document li{font-size:9.5pt;line-height:1.42}
 .print-doc .preview-document .preview-contact{font-size:9pt;line-height:1.45;overflow-wrap:anywhere}
 .print-doc .preview-document .cv-entry{margin:7pt 0 10pt;break-inside:avoid-page;page-break-inside:avoid}
 .print-doc .preview-document .cv-entry-head b{font-size:10pt}
 .print-doc .preview-document .cv-entry-place{font-size:9pt}
 .print-doc .preview-document .cv-entry li{font-size:9pt;line-height:1.4}
 .print-doc .preview-document .cv-section{break-inside:auto;page-break-inside:auto}
 .print-doc .preview-document .cv-section h2{break-after:avoid-page;page-break-after:avoid}
 .print-doc .template-sidebar .cv-layout{grid-template-columns:31% 69%;min-height:0}
 .print-doc .template-sidebar .cv-rail,.print-doc .template-split .cv-split-rail{padding:13mm 8mm!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
 .print-doc .template-sidebar .cv-main,.print-doc .template-split .cv-main{padding:11mm 10mm!important}
 .print-doc .template-sidebar .cv-rail p,.print-doc .template-sidebar .cv-rail li{font-size:8.5pt}
 .print-doc .template-compact .cv-main-compact{display:block}
 .print-doc .template-compact .cv-section{break-inside:avoid-page}
 .print-doc .template-split .cv-layout-split{grid-template-columns:34% 66%;min-height:0}
 .print-doc .template-letter{padding:0!important}
 .print-doc .letter-body p{font-size:10.5pt;line-height:1.52;orphans:3;widows:3}
 a{color:inherit;text-decoration:none}
}

.brand .nova-brand-icon{width:52px;height:52px;object-fit:contain;padding:0;background:transparent;border-radius:0;flex-shrink:0}footer .brand .nova-brand-icon{width:44px;height:44px}@media(max-width:420px){.brand .nova-brand-icon{width:40px;height:40px}}

/* Visual enhancements: Profile avatar, Hero badges & interactive upload */
.hero-badges{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}
.hero-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 14px;border-radius:999px;background:#ffffffef;border:1px solid #d5e0d7;font-size:11.5px;font-weight:700;color:#1e3a2f;box-shadow:0 2px 8px #00000008;transition:transform .15s}
.hero-badge:hover{transform:translateY(-1px);background:#fff}
.account-button{display:inline-flex;align-items:center;gap:6px}
.paper-photo{position:relative;margin-top:19px;width:54px;height:54px;border-radius:50%;overflow:hidden;box-shadow:0 4px 12px #0f4c8133;background:#0f4c81}
.paper-photo svg{display:block;width:100%;height:100%}
.photo-field{display:block;background:#f8fafc;border:2px dashed #cbd5e1;border-radius:12px;padding:16px 18px;margin-bottom:14px;transition:border-color .2s,background .2s;cursor:pointer}
.photo-field:hover{border-color:#147cb0;background:#f0f7fb}
.photo-field>span{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:700;color:#1e293b}
.photo-field input[type=file]{margin-top:8px;padding:8px 10px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;font-size:12px}


/* Orange Money Direct Checkout Styling */
.om-card{background:linear-gradient(135deg,#fffbf5 0%,#fff 100%);border:2px solid #ff7900;border-radius:14px;padding:16px 18px;margin-top:12px;box-shadow:0 4px 16px rgba(255,121,0,0.12);text-align:left}
.om-header{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.om-badge{background:#ff7900;color:#fff;font-size:11px;font-weight:800;padding:4px 9px;border-radius:6px;text-transform:uppercase;letter-spacing:0.5px}
.om-title{font-size:15px;font-weight:700;color:#222;margin:0}
.om-details-grid{display:grid;grid-template-columns:1fr;gap:8px;background:#fff;border:1px solid #ffd8b3;border-radius:10px;padding:12px;margin-bottom:12px}
.om-row{display:flex;justify-content:space-between;align-items:center;font-size:13px}
.om-row-label{color:#64748b;font-weight:500}
.om-row-value{font-weight:700;color:#0f172a}
.om-row-highlight{font-size:15px;color:#ff7900;font-weight:800}
.om-copy-btn{background:#fff8f0;border:1px solid #ff7900;color:#ff7900;border-radius:6px;padding:3px 8px;font-size:11px;font-weight:700;cursor:pointer;transition:all .15s}
.om-copy-btn:hover{background:#ff7900;color:#fff}
.om-steps{font-size:12.5px;color:#334155;line-height:1.55;margin:0 0 12px 0;padding-left:18px}
.om-steps li{margin-bottom:6px}
.om-ussd-link{display:inline-block;background:#ff7900;color:#fff;padding:4px 10px;border-radius:6px;text-decoration:none;font-weight:700;margin-top:4px;font-size:12px}
.om-input-label{display:block;font-size:12px;font-weight:700;color:#1e293b;margin-bottom:6px}
.om-input{width:100%;box-sizing:border-box;padding:10px 12px;border:1.5px solid #cbd5e1;border-radius:8px;font-size:14px;margin-bottom:12px}
.om-input:focus{outline:none;border-color:#ff7900;box-shadow:0 0 0 3px rgba(255,121,0,0.18)}
.om-hint{font-size:11.5px;color:#64748b;margin:-6px 0 12px 0;line-height:1.4}
.om-error-box{background:#fef2f2;border:1px solid #ef4444;color:#b91c1c;padding:10px 14px;border-radius:8px;font-size:12.5px;font-weight:600;margin-bottom:12px;line-height:1.45}
.om-confirm-btn{width:100%;background:#00875a;color:#fff;border:none;border-radius:8px;padding:12px 16px;font-size:14px;font-weight:700;cursor:pointer;transition:background .15s}
.om-confirm-btn:hover{background:#006644}
.om-back-btn{background:none;border:none;color:#64748b;font-size:12px;font-weight:600;cursor:pointer;padding:4px 0;margin-bottom:8px;display:inline-flex;align-items:center;gap:4px}
.om-back-btn:hover{color:#0f172a;text-decoration:underline}

/* Announcement Bar for Instant Conversions */
.announcement-bar{background:linear-gradient(100deg,#0f172a 0%,#1e293b 25%,#1e3a8a 50%,#0f172a 100%);background-size:200% auto;animation:shimmerBar 8s ease infinite;color:#f8fafc;font-size:12.5px;font-weight:500;text-align:center;padding:9px 18px;letter-spacing:0.25px;line-height:1.45;box-shadow:0 2px 8px rgba(15,23,42,0.18);border-bottom:1px solid rgba(255,255,255,0.08);position:relative;z-index:90}
@keyframes shimmerBar{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}
.announcement-bar strong{color:#38bdf8;font-weight:700}
@media(max-width:640px){.announcement-bar{font-size:11px;padding:7px 12px}}

/* Modern Glass Dialogs & Modals */
dialog{border:1px solid rgba(226,232,240,0.9);border-radius:20px;box-shadow:0 25px 60px -15px rgba(15,23,42,0.25),0 0 0 1px rgba(0,0,0,0.03);padding:24px 28px;background:#ffffff;max-width:540px;width:92vw}
dialog::backdrop{background:rgba(15,23,42,0.6);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.checkout-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;border-bottom:1px solid #f1f5f9;padding-bottom:12px}
.checkout-head h2{font:800 20px 'Manrope',sans-serif;letter-spacing:-0.5px;color:#0f172a;margin:0}
.dialog-close{background:#f1f5f9;border:0;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;font-size:18px;color:#64748b;cursor:pointer;transition:all .15s}
.dialog-close:hover{background:#e2e8f0;color:#0f172a}
.dialog-action{width:100%;margin-top:10px}

/* Enhanced Template Card Interactions */
.template-item,.offer-showcase-card{transition:transform .25s cubic-bezier(0.16,1,0.3,1),box-shadow .25s cubic-bezier(0.16,1,0.3,1),border-color .25s ease}
.template-item:hover,.offer-showcase-card:hover{transform:translateY(-4px);box-shadow:0 16px 36px -8px rgba(15,23,42,0.12);border-color:#93c5fd}
.color-choice,.card-color-choice{transition:transform .15s ease,box-shadow .15s ease}
.color-choice:hover,.card-color-choice:hover{transform:scale(1.15);box-shadow:0 2px 8px rgba(0,0,0,0.15)}

/* Real Miniature Documents in Hero Art */
.paper-back .doc-mini-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;padding-bottom:5px;border-bottom:1px solid #e2e8f0}
.paper-back .doc-mini-badge{font:800 8px 'Manrope',sans-serif;letter-spacing:1px;color:#2563eb;background:#eff6ff;padding:2px 7px;border-radius:4px;border:1px solid #bfdbfe}
.paper-back .doc-mini-date{font-size:8px;color:#64748b;font-weight:600}
.paper-back .doc-mini-recipient{margin-bottom:8px;font-size:7.5px;line-height:1.4;color:#334155;border-left:2px solid #cbd5e1;padding-left:6px}
.paper-back .doc-mini-recipient strong{display:block;color:#0f172a;font-size:8.5px}
.paper-back .doc-mini-subject{margin:6px 0;padding:5px 7px;background:#f1f5f9;border-radius:5px;font-size:8px;color:#0f172a}
.paper-back .doc-mini-subject b{display:block;font-size:8.5px;color:#1e3a8a}
.paper-back .doc-mini-para{font-size:7.5px;line-height:1.45;color:#475569;margin:0 0 6px 0}
.paper-back .doc-mini-sign{display:flex;justify-content:space-between;align-items:center;margin-top:auto;padding-top:6px}
.paper-back .doc-mini-sign em{font-style:italic;font-family:Georgia,serif;font-size:11px;color:#1e293b;font-weight:700}

.paper-front .doc-mini-cv-head{display:flex;align-items:center;gap:8px;padding-bottom:8px;border-bottom:2px solid #2563eb;position:relative}
.paper-front .doc-mini-avatar img{width:44px;height:44px;border-radius:50%;object-fit:cover;border:2px solid #2563eb;box-shadow:0 3px 10px rgba(37,99,235,0.2)}
.paper-front .doc-mini-identity{flex:1;min-width:0}
.paper-front .doc-mini-name{display:block;font:800 12px 'Manrope',sans-serif;color:#0f172a;letter-spacing:-0.4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.paper-front .doc-mini-role{display:block;font:700 8px 'DM Sans',sans-serif;color:#2563eb;text-transform:uppercase;letter-spacing:0.4px}
.paper-front .doc-mini-contact{display:block;font-size:7px;color:#64748b;margin-top:1px}
.paper-front .doc-mini-flag{font-size:14px;position:absolute;top:0;right:0}
.paper-front .doc-mini-sec-title{font:800 7px 'Manrope',sans-serif;color:#2563eb;letter-spacing:0.8px;margin:7px 0 3px;text-transform:uppercase;border-bottom:1px solid #e2e8f0;padding-bottom:2px}
.paper-front .doc-mini-item{margin-bottom:5px;font-size:7.5px;line-height:1.35}
.paper-front .doc-mini-item-head{display:flex;justify-content:space-between;font-size:8px;color:#0f172a}
.paper-front .doc-mini-item-head b{font-weight:700}
.paper-front .doc-mini-item-head span{color:#64748b;font-size:7px}
.paper-front .doc-mini-item p{margin:2px 0 0;color:#64748b;font-size:7px;line-height:1.3}
.paper-front .doc-mini-chips{display:flex;flex-wrap:wrap;gap:3px;margin-top:6px}
.paper-front .doc-chip{font-size:6.5px;font-weight:700;padding:2px 5px;border-radius:999px;background:#f1f5f9;color:#334155;border:1px solid #e2e8f0}

/* Real Miniature Documents in Offer Showcase */
.offer-real-cv{position:relative;width:154px;min-height:210px;background:#ffffff;border-radius:6px;box-shadow:0 14px 30px rgba(15,23,42,0.16);overflow:hidden;border:1px solid #e2e8f0;display:flex}
.offer-real-sidebar{z-index:2;transform:translateX(-14px)}
.offer-real-sidebar .real-cv-rail{width:52px;background:#1e3a5f;color:#fff;padding:10px 4px;display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center}
.offer-real-sidebar .real-cv-photo{width:34px;height:34px;border-radius:50%;object-fit:cover;border:1.5px solid #60a5fa}
.offer-real-sidebar .real-rail-block{width:100%;margin-top:2px}
.offer-real-sidebar .real-rail-head{display:block;font-size:6px;font-weight:800;color:#93c5fd;letter-spacing:0.5px;margin-bottom:1px}
.offer-real-sidebar .real-rail-txt{display:block;font-size:5.5px;color:#e2e8f0;line-height:1.25}
.offer-real-sidebar .real-rail-badge{display:inline-block;font-size:5.5px;font-weight:700;background:rgba(255,255,255,0.15);padding:1px 4px;border-radius:3px;margin:1px}
.offer-real-sidebar .real-cv-body{flex:1;padding:10px 8px;display:flex;flex-direction:column}
.offer-real-classic{position:absolute;z-index:1;right:18px;top:14px;width:142px;min-height:200px;transform:rotate(5deg);padding:10px 9px;display:flex;flex-direction:column;background:#f8fafc;opacity:0.92}
.real-cv-title{font:800 9.5px 'Manrope',sans-serif;color:#0f172a;letter-spacing:-0.2px}
.real-cv-sub{font:700 6.5px 'DM Sans',sans-serif;color:#2563eb;text-transform:uppercase}
.real-cv-rule{height:1.5px;background:#2563eb;margin:4px 0}
.real-sec-label{font:800 6px 'Manrope',sans-serif;color:#1e3a5f;letter-spacing:0.6px;margin:5px 0 2px;text-transform:uppercase;border-bottom:0.5px solid #e2e8f0;padding-bottom:1px}
.real-entry strong{display:block;font-size:6.5px;color:#0f172a;font-weight:700;line-height:1.3}
.real-entry span{display:block;font-size:5.5px;color:#64748b;line-height:1.3}
.real-stamp-tag{display:inline-block;align-self:flex-start;margin-top:auto;font:800 6px 'Manrope',sans-serif;background:#eff6ff;color:#2563eb;padding:2px 5px;border-radius:4px;border:0.5px solid #bfdbfe;letter-spacing:0.5px}
.real-classic-head{display:flex;justify-content:space-between;align-items:center}

.offer-real-letter{position:relative;width:156px;min-height:214px;background:#ffffff;border-radius:6px;box-shadow:0 14px 30px rgba(15,23,42,0.16);overflow:hidden;border:1px solid #e2e8f0;padding:12px 10px;display:flex;flex-direction:column;z-index:2;transform:translateX(-14px) rotate(-2deg)}
.offer-real-letter-back{position:absolute;z-index:1;right:16px;top:14px;transform:rotate(5deg);background:#f8fafc;opacity:0.92}
.real-letter-head{display:flex;justify-content:space-between;font-size:6px;line-height:1.35;margin-bottom:8px;padding-bottom:4px;border-bottom:1px solid #e2e8f0}
.real-sender strong{display:block;color:#0f172a;font-size:6.5px}
.real-sender span{color:#64748b}
.real-dest{text-align:right}
.real-dest strong{display:block;color:#2563eb;font-size:6.5px}
.real-dest span{color:#64748b}
.real-letter-sub{font:800 7px 'Manrope',sans-serif;color:#0f172a;margin:3px 0 5px;background:#f1f5f9;padding:3px 5px;border-radius:4px}
.real-letter-text{font-size:6.5px;line-height:1.45;color:#475569;margin:0 0 5px}
.real-letter-foot{display:flex;justify-content:space-between;align-items:center;margin-top:auto;padding-top:4px}
.real-letter-sig{font-style:italic;font-family:Georgia,serif;font-size:8.5px;color:#0f172a;font-weight:700}

/* Hero Quick Topics & Opportunity Actions */
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0 16px;align-items:center}
.hero-quick-topics{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:10px 0 18px}
.hero-quick-label{font-size:11px;font-weight:700;color:#94a3b8;letter-spacing:0.5px;text-transform:uppercase}
.hero-topic-btn{background:rgba(255,255,255,0.08);border:1px solid rgba(255,255,255,0.18);color:#f1f5f9;font:inherit;font-size:11.5px;font-weight:600;padding:6px 12px;border-radius:999px;cursor:pointer;transition:all .15s ease;display:inline-flex;align-items:center;gap:4px}
.hero-topic-btn:hover{background:rgba(255,255,255,0.22);border-color:#38bdf8;color:#ffffff;transform:translateY(-1px);box-shadow:0 4px 12px rgba(56,189,248,0.25)}

/* Auth Gate Dialog */
.auth-gate-dialog{border:1px solid #cbd5e1;border-radius:16px;max-width:520px;width:92%;padding:24px;background:#ffffff;box-shadow:0 25px 50px -12px rgba(15,23,42,0.25);color:#0f172a}
.auth-gate-dialog::backdrop{background:rgba(15,23,42,0.65);backdrop-filter:blur(4px)}
.auth-gate-header-left{display:flex;flex-direction:column;gap:4px}
.auth-gate-badge{font-size:11px;font-weight:800;letter-spacing:0.6px;color:#0284c7;text-transform:uppercase}
.auth-gate-intro{font-size:13.5px;color:#475569;line-height:1.5;margin:10px 0 16px}
.auth-gate-opportunity{display:flex;align-items:center;gap:12px;background:#f0f9ff;border:1px solid #bae6fd;border-radius:10px;padding:10px 14px;margin-bottom:16px}
.auth-gate-op-icon{font-size:20px}
.auth-gate-op-info{display:flex;flex-direction:column}
.auth-gate-op-info strong{font-size:13px;color:#0369a1}
.auth-gate-op-info small{font-size:11.5px;color:#64748b}
.auth-gate-perks{display:flex;flex-direction:column;gap:6px;margin:14px 0 16px;background:#f8fafc;padding:10px 14px;border-radius:8px;border:1px solid #e2e8f0}
.auth-gate-perk-item{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:600;color:#1e293b}
.auth-gate-perk-item span:first-child{color:#16a34a;font-weight:800}

/* User Badges in Top Navigation */
.nova-user-badge-container{display:inline-flex;align-items:center;margin-right:8px}
.nova-nav-auth-btn{background:#2563eb;color:#ffffff;border:none;font:inherit;font-size:12px;font-weight:700;padding:6px 14px;border-radius:999px;cursor:pointer;transition:all .15s ease;box-shadow:0 2px 8px rgba(37,99,235,0.35)}
.nova-nav-auth-btn:hover{background:#1d4ed8;transform:translateY(-1px)}
.nova-user-pill{display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border-radius:999px;font:inherit;font-size:12px;font-weight:700;cursor:pointer;border:1px solid transparent;transition:all .15s ease}
.nova-user-vip{background:linear-gradient(135deg,#fef3c7,#fde68a);color:#92400e;border-color:#f59e0b;box-shadow:0 2px 10px rgba(245,158,11,0.25)}
.nova-user-vip:hover{transform:translateY(-1px);box-shadow:0 4px 14px rgba(245,158,11,0.4)}
.nova-user-free{background:#f1f5f9;color:#334155;border-color:#cbd5e1}
.nova-user-free:hover{background:#e2e8f0}
.nova-badge-tag{background:#f59e0b;color:#ffffff;font-size:10px;padding:1px 6px;border-radius:999px;text-transform:uppercase}
.nova-badge-upgrade{background:#2563eb;color:#ffffff;font-size:10.5px;padding:2px 7px;border-radius:999px}

/* Subscription Perks List */
.plan-perks-list{list-style:none;padding:0;margin:16px 0;display:flex;flex-direction:column;gap:8px;font-size:12.5px;color:#334155;text-align:left}
.plan-perks-list li{display:flex;align-items:flex-start;gap:6px;line-height:1.4}
.plan-perks-list li strong{color:#0f172a}
.sub-tag-featured{position:absolute;top:-12px;right:18px;background:linear-gradient(135deg,#f59e0b,#d97706);color:#ffffff;font-size:11px;font-weight:800;padding:3px 12px;border-radius:999px;box-shadow:0 4px 12px rgba(217,119,6,0.35);text-transform:uppercase}

/* ============================================================
   MOBILE RESPONSIVENESS REFINEMENT (AÉRÉ, SIMPLE, SANS ENCOMBREMENT)
   ============================================================ */
@media(max-width:680px){
  /* Topbar mobile */
  .topbar{height:54px!important;padding:0 12px!important}
  .topbar .brand{font-size:15px!important;gap:7px!important}
  .topbar .brand .nova-brand-icon{width:30px!important;height:30px!important}
  .nova-nav-auth-btn{font-size:11px!important;padding:5px 11px!important}
  .nova-user-pill{font-size:11px!important;padding:4px 9px!important}

  /* Barre de navigation espace de travail sur mobile : pills horizontaux sans retour à la ligne */
  .nova-workspace-nav{
    display:flex!important;
    flex-wrap:nowrap!important;
    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    padding:8px 10px!important;
    gap:6px!important;
    background:#ffffff!important;
    border-bottom:1px solid #e2e8f0!important;
    box-shadow:0 2px 6px rgba(0,0,0,0.03)!important;
    position:sticky!important;
    top:0!important;
    z-index:90!important;
  }
  .nova-workspace-nav::-webkit-scrollbar{display:none}
  .nova-workspace-nav button{
    flex-shrink:0!important;
    white-space:nowrap!important;
    font-size:11.5px!important;
    font-weight:600!important;
    padding:7px 13px!important;
    border-radius:999px!important;
    background:#f1f5f9!important;
    color:#475569!important;
    border:none!important;
  }
  .nova-workspace-nav button[aria-current=page]{
    background:#0284c7!important;
    color:#ffffff!important;
  }

  /* Hero épuré sur mobile : pas de surcharge, texte direct, illustration cachée */
  .hero{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    padding:22px 14px 18px!important;
    gap:10px!important;
    min-height:auto!important;
  }
  .hero h1{
    font-size:25px!important;
    line-height:1.25!important;
    letter-spacing:-0.6px!important;
    margin:0 0 6px!important;
  }
  .hero-text{
    font-size:13.5px!important;
    line-height:1.55!important;
    color:#cbd5e1!important;
    margin:0 0 8px!important;
  }
  .hero-actions{
    display:flex!important;
    flex-direction:row!important;
    gap:8px!important;
    margin:10px 0 6px!important;
  }
  .hero-actions .button{
    flex:1 1 50%!important;
    font-size:12.5px!important;
    padding:10px 8px!important;
    text-align:center!important;
    justify-content:center!important;
    border-radius:10px!important;
  }
  /* Masquer l'illustration géante décorative sur mobile pour faire monter le contenu */
  .hero-art, .hero .hero-art{
    display:none!important;
    height:0!important;
    margin:0!important;
    padding:0!important;
  }

  /* Défilement horizontal fluide des thèmes rapides sans encombrer la hauteur */
  .hero-quick-topics{
    display:flex!important;
    flex-wrap:nowrap!important;
    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    gap:6px!important;
    padding:4px 0 8px!important;
    margin:6px 0 0!important;
  }
  .hero-quick-topics::-webkit-scrollbar{display:none}
  .hero-quick-label{display:none!important}
  .hero-topic-btn{
    flex-shrink:0!important;
    white-space:nowrap!important;
    font-size:11px!important;
    padding:6px 11px!important;
    border-radius:999px!important;
  }

  /* Section Services simplifiée sur mobile */
  .nova-service-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    margin:12px 0!important;
  }
  .nova-service-grid button{
    padding:14px 16px!important;
    border-radius:14px!important;
  }
  .nova-service-grid h3{font-size:16px!important;margin:4px 0 2px!important}
  .nova-service-grid p{font-size:12px!important;line-height:1.45!important}

  /* Section Abonnements sur mobile */
  .subscription-section{margin:0 10px!important;padding:36px 0 42px!important}
  .plan-grid{grid-template-columns:1fr!important;gap:14px!important}
  .plan-card{padding:18px 16px!important;border-radius:16px!important}

  /* Masquer la vitrine illustrative complexe sur mobile pour alléger la page */
  .offer-showcase{display:none!important}
}

/* ============================================================
   VIP CONVERSION MODAL & STICKY RETENTION BAR (MULTICANAL VIP)
   ============================================================ */
dialog.vip-conversion-dialog {
  max-width: 620px;
  width: calc(100vw - 32px);
  max-height: 90vh;
  border-radius: 20px;
  border: 1px solid rgba(245, 158, 11, 0.35);
  background: #ffffff;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.05);
  padding: 0;
  overflow: hidden;
  color: #0f172a;
  position: fixed;
  inset: 0;
  margin: auto;
  z-index: 1100;
}
dialog.vip-conversion-dialog::backdrop {
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.vip-conv-header {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 22px 24px 18px;
  border-bottom: 2px solid #f59e0b;
}
.vip-conv-badge {
  display: inline-block;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 6px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
}
.vip-conv-header h2 {
  margin: 4px 0 3px;
  font-size: 21px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.3px;
}
.vip-conv-header p {
  margin: 0;
  font-size: 13px;
  color: #cbd5e1;
}
.vip-conv-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #e2e8f0;
  font-size: 22px;
  line-height: 1;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}
.vip-conv-close:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}
.vip-conv-body {
  padding: 20px 24px;
  max-height: calc(85vh - 160px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.vip-intro-box {
  background: #f8fafc;
  border-left: 4px solid #f59e0b;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 13px;
  line-height: 1.5;
  color: #334155;
}
.vip-perks-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.vip-perk-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 11px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.vip-perk-card:hover {
  border-color: #f59e0b;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.12);
}
.vip-perk-icon {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}
.vip-perk-card strong {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  display: block;
  margin-bottom: 2px;
}
.vip-perk-card p {
  font-size: 12px;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}
.vip-cta-box {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid #fde68a;
  border-radius: 14px;
  padding: 16px;
  margin-top: 8px;
}
.vip-cta-plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.vip-btn-plan {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 10px;
  border-radius: 10px;
  font: inherit;
  cursor: pointer;
  transition: all 0.18s ease;
  border: 2px solid;
  position: relative;
  text-align: center;
}
.vip-btn-monthly {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
}
.vip-btn-monthly:hover {
  border-color: #2563eb;
  background: #f8fafc;
  transform: translateY(-1px);
}
.vip-btn-monthly strong {
  font-size: 15px;
  color: #2563eb;
}
.vip-btn-monthly small {
  font-size: 11px;
  color: #64748b;
}
.vip-btn-annual {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border-color: #b45309;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.35);
}
.vip-btn-annual:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.vip-btn-annual strong {
  font-size: 15.5px;
  color: #ffffff;
}
.vip-btn-annual small {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.95);
}
.vip-badge-save {
  position: absolute;
  top: -9px;
  background: #ef4444;
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
}
.vip-cta-step-title {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px;
}
.vip-btn-plan-toggle {
  opacity: 0.82;
  border-color: #cbd5e1;
  background: #ffffff;
  color: #1e293b;
  cursor: pointer;
  transition: all 0.18s ease;
}
.vip-btn-plan-toggle.vip-plan-selected {
  opacity: 1;
  border-color: #f59e0b;
  background: #fffbeb;
  box-shadow: 0 0 0 2px #f59e0b, 0 4px 12px rgba(245, 158, 11, 0.2);
  transform: scale(1.02);
}
.vip-pay-choices {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.vip-pay-btn {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 16px;
  border-radius: 12px;
  font: inherit;
  cursor: pointer;
  border: 1.5px solid transparent;
  text-align: left;
  transition: all 0.18s ease;
  width: 100%;
}
.vip-pay-card {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.32);
}
.vip-pay-card:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.42);
}
.vip-pay-card small {
  color: rgba(255, 255, 255, 0.92);
}
.vip-pay-momo {
  background: #ffffff;
  border-color: #059669;
  color: #065f46;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.15);
}
.vip-pay-momo:hover {
  background: #ecfdf5;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.25);
}
.vip-pay-momo small {
  color: #047857;
}
.vip-pay-btn-icon {
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
}
.vip-pay-btn-text {
  flex: 1;
}
.vip-pay-btn-text strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 2px;
}
.vip-pay-btn-text small {
  display: block;
  font-size: 11px;
  line-height: 1.35;
}
.vip-pay-arrow {
  font-size: 18px;
  font-weight: 800;
  opacity: 0.85;
}
.vip-payment-methods {
  margin: 12px 0 0;
  font-size: 11.5px;
  color: #78350f;
  text-align: center;
  line-height: 1.45;
}
.vip-conv-footer {
  padding: 12px 24px 16px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  text-align: center;
}
.vip-btn-dismiss {
  background: transparent;
  border: none;
  font: inherit;
  font-size: 12.5px;
  color: #64748b;
  cursor: pointer;
  text-decoration: underline;
  padding: 4px;
}
.vip-btn-dismiss:hover {
  color: #0f172a;
}

@media(max-width:680px) {
  dialog.vip-conversion-dialog {
    width: calc(100vw - 16px);
    max-height: 92vh;
    border-radius: 16px;
  }
  .vip-conv-header {
    padding: 14px 16px;
  }
  .vip-conv-header h2 {
    font-size: 17px;
  }
  .vip-conv-body {
    padding: 14px 16px;
  }
  .vip-cta-plans {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}





