.wbf-cv-studio {
    --cvs-navy: #1f2a44;
    --cvs-orange: #f59e0b;
    --cvs-ink: #25314b;
    --cvs-muted: #6f7a8e;
    --cvs-line: #dfe5ed;
    --cvs-soft: #f7f9fc;
    position: relative;
    left: 50%;
    width: 100vw;
    max-width: 100vw;
    min-height: 100vh;
    min-height: 100dvh;
    margin-left: -50vw;
    overflow: hidden;
    background: var(--cvs-soft);
    color: var(--cvs-ink);
    font-family: Inter, Arial, sans-serif;
    isolation: isolate;
}
.wbf-cv-studio,
.wbf-cv-studio *,
.wbf-cv-studio *::before,
.wbf-cv-studio *::after { box-sizing: border-box; }
.wbf-cv-studio button,
.wbf-cv-studio input,
.wbf-cv-studio textarea { font: inherit; }
.wbf-cv-studio h1,
.wbf-cv-studio h2,
.wbf-cv-studio h3,
.wbf-cv-studio h4 {
    color: var(--cvs-navy) !important;
    font-family: "Archivo Black", Archivo, Inter, sans-serif !important;
    font-weight: 900 !important;
    letter-spacing: -.035em !important;
}
.wbf-cv-studio button,
.wbf-cv-studio a { -webkit-tap-highlight-color: transparent; }

.wbf-cvs-welcome {
    position: absolute;
    inset: 0;
    z-index: 40;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 34px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    text-align: center;
    opacity: 1;
    transition: opacity .38s ease, transform .38s ease;
}
.wbf-cvs-welcome[hidden] { display: none !important; }
.wbf-cvs-welcome.is-leaving { opacity: 0; transform: translateY(-6px); pointer-events: none; }
.wbf-cvs-welcome-check { width: 58px; height: 58px; margin-bottom: 20px; color: var(--cvs-orange); }
.wbf-cvs-welcome-check svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: square; stroke-linejoin: miter; }
.wbf-cvs-welcome-check path { stroke-dasharray: 50; stroke-dashoffset: 50; animation: wbfCvsCheck .5s .12s ease forwards; }
.wbf-cvs-welcome p { margin: 0 0 10px; color: var(--cvs-muted); font-size: 13px; font-weight: 800; letter-spacing: .03em; }
.wbf-cvs-welcome h2 { max-width: 820px; margin: 0; font-size: clamp(28px, 5vw, 54px); line-height: 1.09; }
.wbf-cvs-welcome .wbf-cvs-word { display: inline-block; white-space: nowrap; }
.wbf-cvs-welcome .wbf-cvs-letter { display: inline-block; opacity: 0; transform: translateY(5px); animation: wbfCvsLetter .3s ease forwards; }
@keyframes wbfCvsCheck { to { stroke-dashoffset: 0; } }
@keyframes wbfCvsLetter { to { opacity: 1; transform: none; } }

.wbf-cvs-topbar {
    min-height: 78px;
    padding: 14px clamp(20px, 4vw, 58px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid var(--cvs-line);
    backdrop-filter: blur(14px);
}
.wbf-cvs-topbar > div { display: grid; gap: 2px; }
.wbf-cvs-topbar span { color: #7a8497; font-size: 11px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.wbf-cvs-topbar strong { color: var(--cvs-navy); font-size: 16px; }
.wbf-cvs-topbar-actions { display: flex; align-items: center; gap: 10px; }
.wbf-cvs-preview-toggle {
    min-height: 40px;
    padding: 9px 14px !important;
    border: 1px solid #d8dee8 !important;
    border-radius: 10px !important;
    background: #fff !important;
    background-color: #fff !important;
    background-image: none !important;
    color: var(--cvs-navy) !important;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease;
}
.wbf-cvs-preview-toggle:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(31,42,68,.08); }
.wbf-cvs-close {
    min-height: 40px;
    padding: 9px 3px 9px 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #687489 !important;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none !important;
    transition: color .18s ease, transform .18s ease;
}
.wbf-cvs-close span { width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid #d8dee8; border-radius: 50%; color: var(--cvs-navy); font-size: 18px; line-height: 1; }
.wbf-cvs-close:hover { color: var(--cvs-navy) !important; transform: translateY(-1px); }

.wbf-cvs-shell {
    width: min(100%, 1360px);
    margin: 0 auto;
    padding: clamp(24px, 4vw, 52px) clamp(18px, 4vw, 56px) 64px;
}
.wbf-cvs-progress { width: min(100%, 800px); margin: 0 0 25px; }
.wbf-cvs-progress > div { margin-bottom: 9px; display: flex; justify-content: space-between; gap: 18px; color: var(--cvs-muted); font-size: 12px; font-weight: 800; }
.wbf-cvs-progress strong { color: var(--cvs-navy); }
.wbf-cvs-progress > span { display: block; height: 5px; overflow: hidden; border-radius: 999px; background: #e3e8f0; }
.wbf-cvs-progress i { display: block; width: 14%; height: 100%; border-radius: inherit; background: var(--cvs-navy); transition: width .38s cubic-bezier(.2,.8,.2,1); }

.wbf-cvs-context-note {
    width: min(100%, 800px);
    margin: 0 0 22px;
    padding: 15px 17px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid #dce3ec;
    border-left: 4px solid var(--cvs-orange);
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 7px 18px rgba(31,42,68,.04);
}
.wbf-cvs-context-note.is-success { border-left-color: #27965a; }
.wbf-cvs-context-note strong { display: block; color: var(--cvs-navy); font-size: 14px; }
.wbf-cvs-context-note p { margin: 3px 0 0; color: var(--cvs-muted); font-size: 12px; line-height: 1.5; }
.wbf-cvs-context-note button {
    width: 28px; height: 28px; flex: 0 0 auto; padding: 0 !important; border: 0 !important; background: transparent !important; color: #7c8798 !important; font-size: 22px; cursor: pointer;
}

.wbf-cvs-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(390px, .74fr); gap: clamp(22px, 3.4vw, 48px); align-items: start; }
.wbf-cvs-form {
    min-width: 0;
    min-height: 640px;
    padding: clamp(24px, 4vw, 48px);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--cvs-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 54px rgba(31,42,68,.07);
}
.wbf-cvs-step { animation: wbfCvsStep .32s ease both; }
.wbf-cvs-step[hidden] { display: none !important; }
@keyframes wbfCvsStep { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }
.wbf-cvs-eyebrow {
    display: inline-flex;
    width: max-content;
    min-height: 27px;
    padding: 5px 9px;
    align-items: center;
    border-radius: 999px;
    background: #edf0f5;
    color: var(--cvs-navy);
    font-size: 11px;
    font-weight: 850;
}
.wbf-cvs-step h1 { max-width: 760px; margin: 15px 0 8px; font-size: clamp(29px, 4vw, 45px); line-height: 1.08; outline: 0; }
.wbf-cvs-step > p { max-width: 680px; margin: 0 0 26px; color: var(--cvs-muted); font-size: 15px; line-height: 1.6; }

.wbf-cvs-fields { display: grid; gap: 16px; }
.wbf-cvs-fields.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wbf-cvs-fields.is-nested { margin: 0; }
.wbf-cvs-fields .is-wide { grid-column: 1 / -1; }
.wbf-cvs-fields label,
.wbf-cvs-repeat-card label { display: grid; gap: 7px; min-width: 0; color: #33405a; font-size: 13px; font-weight: 800; }
.wbf-cvs-fields label > span small { color: #8a94a5; font-weight: 600; }
.wbf-cvs-fields label > small { margin-top: -2px; color: #8690a1; font-size: 11px; font-weight: 600; }
.wbf-cvs-field-title { display: block; margin: 0 0 9px; color: #33405a; font-size: 13px; font-weight: 800; }
.wbf-cv-studio input:not([type="checkbox"]):not([type="color"]):not([type="file"]),
.wbf-cv-studio textarea {
    width: 100%;
    min-height: 51px;
    padding: 13px 14px !important;
    border: 1px solid #d5dce6 !important;
    border-radius: 11px !important;
    outline: 0 !important;
    background: #fff !important;
    background-color: #fff !important;
    background-image: none !important;
    color: var(--cvs-navy) !important;
    font-family: Inter, Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    box-shadow: 0 1px 2px rgba(31,42,68,.02) !important;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.wbf-cv-studio textarea { min-height: 108px; resize: vertical; line-height: 1.5; }
.wbf-cv-studio input:focus,
.wbf-cv-studio textarea:focus { border-color: var(--cvs-navy) !important; box-shadow: 0 0 0 4px rgba(31,42,68,.10) !important; }
.wbf-cv-studio input.has-error { border-color: #c73535 !important; box-shadow: 0 0 0 4px rgba(199,53,53,.10) !important; }

.wbf-cvs-repeat { display: grid; gap: 13px; }
.wbf-cvs-repeat-card { position: relative; padding: 17px; border: 1px solid #dfe5ed; border-radius: 13px; background: #fbfcfe; animation: wbfCvsStep .25s ease both; }
.wbf-cvs-repeat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.wbf-cvs-repeat-grid .is-wide { grid-column: 1 / -1; }
.wbf-cvs-remove {
    margin: 10px 0 0 auto;
    padding: 6px 0 !important;
    display: block;
    border: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    color: #7b8597 !important;
    font-size: 11px;
    font-weight: 750;
    cursor: pointer;
}
.wbf-cvs-remove:hover { color: #9e2b2b !important; transform: translateY(-1px); }
.wbf-cvs-add {
    margin-top: 14px;
    padding: 10px 0 !important;
    border: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    color: var(--cvs-navy) !important;
    font-size: 13px;
    font-weight: 850;
    cursor: pointer;
}
.wbf-cvs-add:hover { transform: translateY(-1px); color: var(--cvs-navy) !important; }

.wbf-cvs-choices { margin: 0; padding: 0; border: 0; }
.wbf-cvs-choices legend { margin-bottom: 9px; color: #33405a; font-size: 13px; font-weight: 800; }
.wbf-cvs-choices > div { display: flex; flex-wrap: wrap; gap: 8px; }
.wbf-cvs-choices label { position: relative; cursor: pointer; }
.wbf-cvs-choices input { position: absolute; opacity: 0; pointer-events: none; }
.wbf-cvs-choices label span {
    min-height: 38px;
    padding: 8px 13px;
    display: inline-flex;
    align-items: center;
    border: 1px solid #d8dfe8;
    border-radius: 10px;
    background: #fff;
    color: #536079;
    font-size: 12px;
    font-weight: 800;
    transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.wbf-cvs-choices label:hover span { transform: translateY(-1px); border-color: var(--cvs-navy); }
.wbf-cvs-choices input:checked + span { border-color: var(--cvs-navy); background: var(--cvs-navy); color: #fff; }
.wbf-cvs-choices input:focus-visible + span { box-shadow: 0 0 0 4px rgba(31,42,68,.12); }

.wbf-cvs-style-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 16px; }
.wbf-cvs-color-card { padding: 18px; display: grid; gap: 18px; border: 1px solid #dfe5ed; border-radius: 13px; background: #fbfcfe; }
.wbf-cvs-color-card label { display: flex; align-items: center; justify-content: space-between; gap: 18px; color: #33405a; font-size: 13px; font-weight: 800; }
.wbf-cvs-color-card input[type="color"] { width: 56px; height: 42px; padding: 3px; border: 1px solid #d6dde7; border-radius: 9px; background: #fff; cursor: pointer; }
.wbf-cvs-photo { position: relative; min-height: 155px; padding: 23px; display: flex !important; flex-direction: column; align-items: flex-start; justify-content: center; gap: 5px !important; overflow: hidden; border: 1px dashed #bcc6d4; border-radius: 13px; background: #fff; cursor: pointer; }
.wbf-cvs-photo:hover { border-color: var(--cvs-navy); transform: translateY(-1px); }
.wbf-cvs-photo input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.wbf-cvs-photo > span { color: var(--cvs-navy); font-size: 14px; font-weight: 850; }
.wbf-cvs-photo > small { color: var(--cvs-muted); font-size: 11px; }
.wbf-cvs-photo button { position: relative; z-index: 2; margin-top: 8px; padding: 5px 0 !important; border: 0 !important; background: transparent !important; color: #8d3030 !important; font-size: 11px; font-weight: 800; cursor: pointer; }

.wbf-cvs-nav { margin-top: auto; padding-top: 30px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wbf-cvs-back,
.wbf-cvs-next,
.wbf-cvs-primary,
.wbf-cvs-secondary {
    min-height: 50px;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.wbf-cv-studio .wbf-cvs-back,
body .wbf-cv-studio button.wbf-cvs-back,
body[class*="elementor-kit-"] .wbf-cv-studio button.wbf-cvs-back {
    padding: 10px 2px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    color: #687489 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    box-shadow: none !important;
}
.wbf-cvs-back:disabled { opacity: .32; cursor: default; }
.wbf-cv-studio .wbf-cvs-next,
body .wbf-cv-studio button.wbf-cvs-next,
body[class*="elementor-kit-"] .wbf-cv-studio button.wbf-cvs-next,
.wbf-cv-studio .wbf-cvs-primary,
body .wbf-cv-studio button.wbf-cvs-primary {
    padding: 12px 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 24px !important;
    border: 1px solid var(--cvs-navy) !important;
    border-radius: 11px !important;
    background: var(--cvs-navy) !important;
    background-color: var(--cvs-navy) !important;
    background-image: none !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 850 !important;
    box-shadow: 0 10px 23px rgba(31,42,68,.17) !important;
}
.wbf-cv-studio .wbf-cvs-secondary,
body .wbf-cv-studio button.wbf-cvs-secondary,
body[class*="elementor-kit-"] .wbf-cv-studio button.wbf-cvs-secondary {
    padding: 12px 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 24px !important;
    border: 1px solid var(--cvs-navy) !important;
    border-radius: 11px !important;
    background: #fff !important;
    background-color: #fff !important;
    background-image: none !important;
    color: var(--cvs-navy) !important;
    font-size: 14px !important;
    font-weight: 850 !important;
    box-shadow: none !important;
}
.wbf-cv-studio .wbf-cvs-secondary.is-strong,
body .wbf-cv-studio button.wbf-cvs-secondary.is-strong {
    border-color: var(--cvs-orange) !important;
    background: var(--cvs-orange) !important;
    background-color: var(--cvs-orange) !important;
    color: var(--cvs-navy) !important;
    box-shadow: 0 10px 23px rgba(245,158,11,.18) !important;
}
.wbf-cvs-next:hover,
.wbf-cvs-primary:hover,
.wbf-cvs-secondary:hover,
.wbf-cvs-back:hover { transform: translateY(-2px); }
.wbf-cvs-next:disabled,
.wbf-cvs-primary:disabled,
.wbf-cvs-secondary:disabled { opacity: .62; cursor: wait; transform: none; }
.wbf-cv-studio .wbf-cvs-next[hidden] { display: none !important; }
.wbf-cvs-nav.is-finish .wbf-cvs-back { display: inline-flex; }

.wbf-cvs-preview { position: sticky; top: 18px; min-width: 0; overflow: hidden; border: 1px solid var(--cvs-line); border-radius: 18px; background: #eef2f7; box-shadow: 0 17px 48px rgba(31,42,68,.06); }
.wbf-cvs-preview-head { min-height: 65px; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 18px; background: #fff; border-bottom: 1px solid var(--cvs-line); }
.wbf-cvs-preview-head > div { display: grid; gap: 2px; }
.wbf-cvs-preview-head span { color: #8490a2; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.wbf-cvs-preview-head strong { color: var(--cvs-navy); font-size: 13px; }
.wbf-cvs-preview-head button { display: none; width: 35px; height: 35px; padding: 0 !important; border: 1px solid #dce2ea !important; border-radius: 50% !important; background: #fff !important; color: var(--cvs-navy) !important; font-size: 22px; cursor: pointer; }
.wbf-cvs-paper-wrap { max-height: calc(100vh - 170px); max-height: calc(100dvh - 170px); padding: 18px; overflow: auto; }
.wbf-cvs-paper { width: 100%; min-width: 0; }

.wbf-cvdoc {
    --cv-primary: #1f2a44;
    --cv-accent: #f59e0b;
    width: 100%;
    min-height: 565px;
    overflow: hidden;
    background: #fff;
    color: #25314b;
    font-family: Inter, Arial, sans-serif;
    box-shadow: 0 8px 24px rgba(31,42,68,.10);
}
.wbf-cvdoc *, .wbf-cvdoc *::before, .wbf-cvdoc *::after { box-sizing: border-box; }
.wbf-cvdoc > header { min-height: 118px; padding: 25px 27px 21px; display: flex; align-items: center; justify-content: space-between; gap: 22px; background: var(--cv-primary); color: #fff; }
.wbf-cvdoc > header span { display: block; margin-bottom: 6px; color: var(--cv-accent); font-size: 8px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.wbf-cvdoc > header h2 { margin: 0 !important; color: #fff !important; font-family: "Archivo Black", Archivo, Inter, sans-serif !important; font-size: 26px !important; line-height: 1.05 !important; }
.wbf-cvdoc > header p { margin: 7px 0 0; color: rgba(255,255,255,.82); font-size: 11px; font-weight: 700; }
.wbf-cvdoc-photo { width: 72px; height: 72px; flex: 0 0 auto; overflow: hidden; border: 3px solid rgba(255,255,255,.75); border-radius: 50%; background: #fff; }
.wbf-cvdoc-photo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.wbf-cvdoc-contact { padding: 10px 27px; display: flex; flex-wrap: wrap; gap: 5px 13px; border-bottom: 1px solid #e5e9ef; color: #5b667a; font-size: 7.5px; }
.wbf-cvdoc-body { display: grid; grid-template-columns: .72fr 1.28fr; }
.wbf-cvdoc-body > aside { padding: 22px 19px 28px 27px; background: #f7f8fa; border-right: 1px solid #e7ebf0; }
.wbf-cvdoc-body > main { padding: 22px 27px 28px 22px; }
.wbf-cvdoc section + section { margin-top: 19px; }
.wbf-cvdoc h3 { margin: 0 0 8px !important; color: var(--cv-primary) !important; font-family: "Archivo Black", Archivo, Inter, sans-serif !important; font-size: 10px !important; letter-spacing: -.01em !important; text-transform: uppercase; }
.wbf-cvdoc h3::after { content: ""; width: 30px; height: 2px; margin-top: 5px; display: block; background: var(--cv-accent); }
.wbf-cvdoc h4 { margin: 0 !important; color: var(--cv-primary) !important; font-family: Inter, Arial, sans-serif !important; font-size: 9px !important; font-weight: 900 !important; letter-spacing: 0 !important; }
.wbf-cvdoc p, .wbf-cvdoc li { color: #536075; font-size: 7.4px; line-height: 1.55; }
.wbf-cvdoc p { margin: 0; }
.wbf-cvdoc ul { margin: 0; padding-left: 13px; }
.wbf-cvdoc article + article { margin-top: 15px; }
.wbf-cvdoc article > span { display: block; margin: 3px 0 5px; color: #7a8495; font-size: 7px; font-weight: 700; }
.wbf-cvdoc .is-empty { color: #98a0ad; font-style: italic; }

.wbf-cvs-summary { margin: 4px 0 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--cvs-line); border-radius: 13px; overflow: hidden; }
.wbf-cvs-summary > div { min-width: 0; padding: 13px 15px; display: grid; gap: 3px; background: #fbfcfe; }
.wbf-cvs-summary > div:nth-child(odd) { border-right: 1px solid var(--cvs-line); }
.wbf-cvs-summary > div:nth-child(n+3) { border-top: 1px solid var(--cvs-line); }
.wbf-cvs-summary span { color: #8690a2; font-size: 10px; font-weight: 750; text-transform: uppercase; }
.wbf-cvs-summary strong { overflow: hidden; color: var(--cvs-navy); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.wbf-cvs-final-actions { display: grid; gap: 12px; }
.wbf-cvs-final-actions > button { width: 100%; }
.wbf-cvs-account-return { width: max-content; margin: 2px auto 0; padding: 5px; color: #6f7a8e !important; font-size: 11px; font-weight: 800; text-decoration: none !important; transition: color .18s ease, transform .18s ease; }
.wbf-cvs-account-return:hover { color: var(--cvs-navy) !important; transform: translateY(-1px); }
.wbf-cvs-account-cta { margin-top: 5px; padding: 20px; border: 1px solid #dce3ec; border-radius: 14px; background: #f8fafc; }
.wbf-cvs-account-cta > span { color: var(--cvs-orange); font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.wbf-cvs-account-cta h2 { margin: 7px 0 5px; font-size: 20px; }
.wbf-cvs-account-cta > p { margin: 0 0 15px; color: var(--cvs-muted); font-size: 12px; line-height: 1.5; }
.wbf-cvs-consent { margin-bottom: 13px; display: grid !important; grid-template-columns: 20px minmax(0,1fr); align-items: start; gap: 9px !important; color: #536078 !important; font-size: 11px !important; line-height: 1.45; cursor: pointer; }
.wbf-cvs-consent input { width: 17px; height: 17px; margin: 0; accent-color: var(--cvs-navy); }
.wbf-cvs-account-cta .wbf-cvs-secondary { width: 100%; }
.wbf-cvs-account-cta > a { margin-top: 10px; display: inline-block; color: #6f798b !important; font-size: 10px; font-weight: 750; text-decoration: underline !important; text-underline-offset: 2px; }
.wbf-cvs-save-status { min-height: 22px; margin-top: 12px; color: #2f744c; font-size: 12px; font-weight: 750; line-height: 1.5; }
.wbf-cvs-save-status.is-error { color: #b42318; }
.wbf-cvs-complete { margin-top: 18px; padding: 15px; display: grid; grid-template-columns: 34px minmax(0,1fr) auto; align-items: center; gap: 12px; border: 1px solid #cfe5d8; border-radius: 12px; background: #f6fbf8; animation: wbfCvsStep .3s ease both; }
.wbf-cvs-complete[hidden] { display: none !important; }
.wbf-cvs-complete > span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #278654; color: #fff; font-size: 14px; font-weight: 900; }
.wbf-cvs-complete strong { display: block; color: var(--cvs-navy); font-size: 13px; }
.wbf-cvs-complete p { margin: 2px 0 0; color: var(--cvs-muted); font-size: 10px; line-height: 1.4; }
.wbf-cvs-complete a { color: var(--cvs-navy) !important; font-size: 11px; font-weight: 850; text-decoration: none !important; }
.wbf-cvs-complete a:hover { transform: translateY(-1px); }

.wbf-cvs-pdf-capture { position: fixed; left: -10000px; top: 0; z-index: -1; width: 794px; background: #fff; pointer-events: none; }
.wbf-cvs-pdf-capture .wbf-cvdoc { width: 794px; min-height: 1123px; box-shadow: none; }
.wbf-cvs-pdf-capture .wbf-cvdoc > header { min-height: 178px; padding: 38px 42px 32px; }
.wbf-cvs-pdf-capture .wbf-cvdoc > header h2 { font-size: 43px !important; }
.wbf-cvs-pdf-capture .wbf-cvdoc > header p { font-size: 17px; }
.wbf-cvs-pdf-capture .wbf-cvdoc > header span { font-size: 12px; }
.wbf-cvs-pdf-capture .wbf-cvdoc-photo { width: 112px; height: 112px; }
.wbf-cvs-pdf-capture .wbf-cvdoc-contact { padding: 16px 42px; gap: 8px 22px; font-size: 12px; }
.wbf-cvs-pdf-capture .wbf-cvdoc-body > aside { padding: 34px 30px 44px 42px; }
.wbf-cvs-pdf-capture .wbf-cvdoc-body > main { padding: 34px 42px 44px 34px; }
.wbf-cvs-pdf-capture .wbf-cvdoc h3 { font-size: 15px !important; }
.wbf-cvs-pdf-capture .wbf-cvdoc h3::after { width: 46px; height: 3px; margin-top: 8px; }
.wbf-cvs-pdf-capture .wbf-cvdoc h4 { font-size: 14px !important; }
.wbf-cvs-pdf-capture .wbf-cvdoc p,
.wbf-cvs-pdf-capture .wbf-cvdoc li { font-size: 11.5px; line-height: 1.55; }
.wbf-cvs-pdf-capture .wbf-cvdoc article > span { margin: 5px 0 8px; font-size: 10.5px; }
.wbf-cvs-pdf-capture .wbf-cvdoc section + section { margin-top: 29px; }
.wbf-cvs-pdf-capture .wbf-cvdoc article + article { margin-top: 23px; }

.wbf-candidate-portal .wbf-cp-cv-kind { margin: 20px 0 12px; padding: 16px; border: 1px solid #dce3ec; border-radius: 12px; background: #fff; }
.wbf-candidate-portal .wbf-cp-cv-kind span { display: inline-flex; padding: 5px 8px; border-radius: 999px; background: #edf1f5; color: #1f2a44; font-size: 10px; font-weight: 850; }
.wbf-candidate-portal .wbf-cp-cv-kind p { margin: 8px 0 0; color: #6e788b; font-size: 12px; line-height: 1.5; }
.wbf-candidate-portal .wbf-cp-cv-kind.is-external { border-left: 4px solid #f59e0b; }

@media (max-width: 1020px) {
    .wbf-cvs-layout { grid-template-columns: 1fr; }
    .wbf-cvs-preview {
        position: fixed;
        inset: 0;
        z-index: 60;
        display: flex;
        flex-direction: column;
        border: 0;
        border-radius: 0;
        opacity: 0;
        transform: translateY(12px);
        pointer-events: none;
        transition: opacity .22s ease, transform .22s ease;
    }
    .wbf-cvs-preview.is-open { opacity: 1; transform: none; pointer-events: auto; }
    .wbf-cvs-preview-head button { display: grid; place-items: center; }
    .wbf-cvs-paper-wrap { flex: 1 1 auto; max-height: none; padding: 24px; }
    .wbf-cvs-paper { width: min(100%, 650px); margin: 0 auto; }
}

@media (min-width: 1021px) {
    .wbf-cvs-preview-toggle { display: none; }
}

@media (max-width: 700px) {
    .wbf-cv-studio { min-height: 100svh; }
    .wbf-cvs-topbar { min-height: 68px; padding: 11px 16px; }
    .wbf-cvs-topbar strong { font-size: 14px; }
    .wbf-cvs-topbar-actions { gap: 5px; }
    .wbf-cvs-close { padding-left: 5px; font-size: 0; }
    .wbf-cvs-shell { padding: 22px 14px max(50px, calc(32px + env(safe-area-inset-bottom))); }
    .wbf-cvs-progress { margin-bottom: 18px; }
    .wbf-cvs-context-note { margin-bottom: 16px; }
    .wbf-cvs-form { min-height: calc(100svh - 150px); padding: 22px 18px; border-radius: 15px; box-shadow: 0 10px 34px rgba(31,42,68,.06); }
    .wbf-cvs-step h1 { font-size: clamp(28px, 9.4vw, 39px); }
    .wbf-cvs-step > p { margin-bottom: 22px; font-size: 14px; }
    .wbf-cvs-fields.is-two,
    .wbf-cvs-repeat-grid,
    .wbf-cvs-style-grid { grid-template-columns: 1fr; }
    .wbf-cvs-fields .is-wide,
    .wbf-cvs-repeat-grid .is-wide { grid-column: auto; }
    .wbf-cvs-repeat-card { padding: 14px; }
    .wbf-cvs-color-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wbf-cvs-color-card label { display: grid; justify-items: start; }
    .wbf-cvs-photo { min-height: 130px; }
    .wbf-cvs-nav { position: sticky; bottom: 0; z-index: 4; margin: 24px -18px -22px; padding: 12px 18px max(12px, env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid #e6eaf0; backdrop-filter: blur(10px); }
    .wbf-cvs-next { min-width: 150px; }
    .wbf-cvs-summary { grid-template-columns: 1fr; }
    .wbf-cvs-summary > div:nth-child(odd) { border-right: 0; }
    .wbf-cvs-summary > div + div { border-top: 1px solid var(--cvs-line); }
    .wbf-cvs-complete { grid-template-columns: 32px minmax(0,1fr); }
    .wbf-cvs-complete a { grid-column: 2; }
    .wbf-cvs-paper-wrap { padding: 12px; }
    .wbf-cvs-paper { min-width: 570px; transform: scale(.62); transform-origin: top left; }
    .wbf-cvs-paper-wrap { overflow: auto; }
    .wbf-cvs-welcome { padding: 22px; }
    .wbf-cvs-welcome h2 { font-size: clamp(28px, 9vw, 42px); }
}

@media (prefers-reduced-motion: reduce) {
    .wbf-cv-studio *,
    .wbf-cv-studio *::before,
    .wbf-cv-studio *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
