/* VVSM CV converter (loaded only on /cv-converter/ pages) */
.cv-tool { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px 48px; align-items: start; }
.cv-tool > .cv-step:first-child { grid-column: 1 / -1; }
.cv-tool > [hidden] { display: none; }
.cv-step h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin-bottom: 10px; }
.cv-step > p { color: var(--charcoal); max-width: 68ch; }
.cv-step textarea, .cv-step input:not([type="checkbox"]):not([type="radio"]), .cv-step select { width: 100%; }
#cv-paste { min-height: 260px; font: 0.92rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.cv-privacy { border-left: 2px solid var(--gold); padding-left: 12px; margin: 14px 0 18px; }
.cv-remember { margin-top: 14px; }
.cv-side { display: flex; flex-direction: column; gap: 40px; position: sticky; top: 96px; }
.cv-group { border: 0; padding: 0; margin: 0 0 32px; }
.cv-group legend { font: 500 1.05rem/1.3 var(--font-body); color: var(--navy); padding: 0 0 12px; border-bottom: 1px solid var(--line); width: 100%; margin-bottom: 18px; }
.cv-entry { border: 1px solid var(--line); padding: 18px 18px 22px; margin-bottom: 16px; background: #fff; }
.cv-entry__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.cv-entry__head strong { font-weight: 500; color: var(--navy); }
.cv-entry__tools { display: flex; gap: 6px; flex-wrap: wrap; }
.cv-mini { background: none; border: 1px solid var(--line-strong); color: var(--navy); font: 500 0.8rem/1 var(--font-body); padding: 8px 10px; min-height: 34px; cursor: pointer; }
.cv-mini:hover { border-color: var(--navy); }
.cv-mini--danger { color: #9b2c2c; border-color: rgba(155, 44, 44, .35); }
.cv-mini--danger:hover { border-color: #9b2c2c; }
.cv-add { margin-top: 4px; }
.cv-original { margin-top: 8px; }
.cv-original summary { cursor: pointer; color: var(--navy); font-weight: 500; }
.cv-original pre { white-space: pre-wrap; max-height: 360px; overflow: auto; background: var(--mist); padding: 16px; font-size: 0.82rem; margin-top: 10px; }
.cv-checks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.cv-check { display: grid; grid-template-columns: 44px 1fr; gap: 10px; align-items: start; font-size: 0.93rem; }
.cv-check__mark { font: 600 0.7rem/1 var(--font-body); letter-spacing: 0.06em; text-transform: uppercase; text-align: center; padding: 5px 0; border: 1px solid currentColor; }
.cv-check--ok .cv-check__mark { color: #2f6b45; }
.cv-check--tip .cv-check__mark { color: var(--gold-ink); }
.cv-check--warn .cv-check__mark { color: #9b2c2c; }
.cv-kw h4 { font: 500 0.92rem/1.3 var(--font-body); color: var(--navy); margin: 18px 0 8px; }
.cv-tags li { font-size: 0.82rem; padding: 4px 10px; }
.cv-tags--ok li { border-color: rgba(47, 107, 69, .45); color: #2f6b45; }
.cv-tags--miss li { border-color: rgba(155, 44, 44, .35); color: #9b2c2c; }
.cv-downloads { margin-top: 16px; }
.cv-preview-h { font: 500 0.95rem/1.3 var(--font-body); color: var(--navy); margin: 20px 0 10px; }
.cv-preview { border: 1px solid var(--line-strong); background: #fff; padding: 28px 30px; max-height: 620px; overflow: auto; color: #1a1a1a;
  font: 0.86rem/1.45 Calibri, Carlito, "Helvetica Neue", Arial, sans-serif; box-shadow: 0 18px 40px -28px rgba(15, 26, 44, .35); }
.cv-preview p { margin: 0; max-width: none; }
.cvp-name { font-size: 1.45rem; font-weight: 700; }
.cvp-headline { font-size: 0.98rem; margin-top: 2px !important; }
.cvp-contact { font-size: 0.8rem; color: #444; margin: 4px 0 8px !important; }
.cvp-h { font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.86rem; border-bottom: 1px solid #888; margin: 14px 0 6px !important; padding-bottom: 2px; }
.cvp-title { font-weight: 700; margin-top: 8px !important; }
.cvp-sub { font-style: normal; font-size: 0.8rem; color: #555; margin-bottom: 3px !important; }
.cvp-li { padding-left: 14px; position: relative; margin-bottom: 2px !important; }
.cvp-li::before { content: ""; position: absolute; left: 3px; top: 0.62em; width: 4px; height: 4px; border-radius: 50%; background: #1a1a1a; }
.cvp-p { margin-bottom: 4px !important; }
@media (max-width: 1000px) {
  .cv-tool { grid-template-columns: 1fr; }
  .cv-side { position: static; }
}
@media (max-width: 640px) {
  .cv-entry { padding: 14px; }
  .cv-preview { padding: 18px; }
  .cv-entry__head { flex-direction: column; align-items: flex-start; }
}
.cv-photo__row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cv-photo__row input[type="file"] { width: auto; flex: 1 1 220px; font-size: 0.88rem; }
.cv-photo__thumb { width: 64px; height: 80px; object-fit: cover; border: 1px solid var(--line-strong); }
.cvp-photo { float: right; width: 84px; height: 105px; object-fit: cover; margin: 0 0 8px 16px; border: 1px solid #ddd; }
.cv-preview::after { content: ""; display: block; clear: both; }
.cv-edit-hint { margin: -4px 0 10px; }
.cvp-edit { border-radius: 2px; outline: 1px dashed transparent; outline-offset: 2px; cursor: text; }
.cvp-edit:hover { outline-color: rgba(138, 108, 54, .45); }
.cvp-edit:focus { outline: 2px solid var(--gold-ink); background: #fffbf2; }
.cv-mailfb { margin-top: 14px; }
.cv-mailfb summary { cursor: pointer; color: var(--navy); font-weight: 500; }
.cv-mailfb textarea { width: 100%; margin-top: 8px; font-size: 0.86rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Designs (preview mirrors the PDF and Word output) */
.cv-design { margin-top: 18px; }
.cv-accent { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.cv-accent legend { font-size: 0.92rem; font-weight: 500; color: var(--navy); margin-bottom: 8px; padding: 0; }
.cv-accent[disabled] { opacity: .45; }
.cv-swatch { display: inline-flex; align-items: center; gap: 6px; font-size: 0.88rem; cursor: pointer; min-height: 32px; }
.cv-swatch input { margin: 0; accent-color: var(--navy); }
.cv-swatch__dot { width: 16px; height: 16px; border-radius: 50%; display: inline-block; }
@media (max-width: 640px) { .cv-design { grid-template-columns: 1fr; } }
.cv-preview { --cv-acc: #1a1a1a; }
.cvp-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 9px; }
.cvp-row .cvp-title { margin-top: 0 !important; }
.cvp-dates { font-size: 0.78rem; white-space: nowrap; color: #444; }
.cv-theme-modern .cvp-name { color: var(--cv-acc); font-size: 1.6rem; }
.cv-theme-modern .cvp-headline { color: #444; }
.cv-theme-modern .cvp-h { color: var(--cv-acc); border-bottom: 1.5px solid var(--cv-acc); letter-spacing: 0.08em; }
.cv-theme-modern .cvp-sub { color: var(--cv-acc); font-style: normal; font-weight: 600; }
.cv-theme-modern .cvp-dates { color: var(--cv-acc); font-weight: 600; }
.cv-theme-modern .cvp-li::before, .cv-theme-executive .cvp-li::before { background: var(--cv-acc); }
.cv-theme-executive .cvp-name, .cv-theme-executive .cvp-headline, .cv-theme-executive .cvp-contact { text-align: center; }
.cv-theme-executive .cvp-name { font-size: 1.7rem; letter-spacing: 0.01em; }
.cv-theme-executive .cvp-headline { color: var(--cv-acc); font-weight: 600; }
.cv-theme-executive .cvp-contact { border-bottom: 2px solid var(--cv-acc); padding-bottom: 8px; margin-bottom: 12px !important; }
.cv-theme-executive .cvp-h { color: var(--cv-acc); border-bottom: 0; border-left: 3px solid var(--cv-acc); padding-left: 8px; letter-spacing: 0.06em; }
.cv-theme-executive .cvp-sub { font-style: normal; color: #555; }
.cv-theme-color .cvp-name { color: var(--cv-acc); }
.cv-theme-color .cvp-h { color: var(--cv-acc); border-bottom-color: var(--cv-rule, var(--cv-acc)); }
.cv-preview .cvp-li::before { background: var(--cv-bullet, #1a1a1a); }
.cv-preview .cvp-p, .cv-preview .cvp-li { text-align: justify; }
.cv-compact { margin-top: 14px; }
.cv-preview.cv-compact-on { font-size: 0.82rem; line-height: 1.32; padding: 20px 22px; }
.cv-preview.cv-compact-on .cvp-h { margin: 10px 0 4px !important; }
.cv-preview.cv-compact-on .cvp-row, .cv-preview.cv-compact-on .cvp-title { margin-top: 5px !important; }
