/* Before / After CV comparison (shared). Sheets are drawn at 460 px wide and scaled to fit. */
.nvba-card { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: 36px; align-items: center; padding: 28px; border-radius: 20px; background: #fff; border: 1px solid #e6eaf2; box-shadow: 0 24px 48px -32px rgba(15, 23, 41, .35); font-family: Inter, "Segoe UI", Roboto, system-ui, sans-serif; color: #0f1729; }
.nvba-card .nvba-card__kicker { margin: 0 0 6px; font-size: 13px; font-weight: 500; color: #5b6577; }
.nvba-card h2 { margin: 0 0 12px; font-size: 26px; line-height: 1.2; font-weight: 600; letter-spacing: -.01em; color: #0f1729; }
.nvba-card .nvba-card__lead { margin: 0 0 20px; font-size: 15px; line-height: 1.55; color: #5b6577; }
.nvba-card .nvba-card__list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 12px; }
.nvba-card__list li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; font-size: 14.5px; line-height: 1.5; color: #39445a; }
.nvba-card__list strong { color: #0f1729; font-weight: 600; }
.nvba-card__tick { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #e3f4ea; color: #17804a; }
.nvba-card .nvba-card__legend { display: flex; align-items: center; gap: 8px; margin: 0 0 24px; font-size: 12.5px; color: #5b6577; }
.nvba-card__legend i { width: 18px; height: 10px; border-radius: 3px; background: #d9f0e2; }
.nvba-card .nvba-card__actions { margin-top: 0; padding-top: 2px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.nvba-card__full { padding: 6px 0; border: 0; background: none; font-family: inherit; font-size: 14.5px; font-weight: 600; line-height: 1.3; color: #032c95; cursor: pointer; }
.nvba-card__full:hover { text-decoration: underline; }

.nvba { margin: 0; padding: 0 18px; }
.nvba__labels { margin-left: -18px !important; margin-right: -18px !important; }
.nvba__labels { display: flex; justify-content: space-between; gap: 10px; margin: 0 0 10px; font-size: 12.5px; color: #5b6577; }
.nvba__labels span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.nvba__n { font-style: normal; }
.nvba__pill { padding: 3px 9px; border-radius: 99px; font-size: 11.5px; font-weight: 600; }
.nvba__pill--before { background: #fdecea; color: #b42318; }
.nvba__pill--after { background: #e3f4ea; color: #17804a; }
.nvba__stage { --nvba-scale: 1; position: relative; height: calc(540px * var(--nvba-scale)); border-radius: 12px; background: #eef1f6; border: 1px solid #e3e8f1; cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.nvba__sheet { position: absolute; inset: 0; overflow: hidden; border-radius: 11px; }
.nvba__sheet > div { width: 460px; transform: scale(var(--nvba-scale)); transform-origin: 0 0; }
.nvba__sheet--after { clip-path: inset(0 0 0 100%); -webkit-clip-path: inset(0 0 0 100%); background: #fff; }
.nvba__handle { position: absolute; top: 0; bottom: 0; left: 100%; width: 0; z-index: 2; outline: none; }
.nvba__handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: #032c95; box-shadow: 0 0 0 1px rgba(255, 255, 255, .7); }
.nvba__handle span { position: absolute; top: 50%; left: 0; display: grid; place-items: center; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; background: #032c95; color: #fff; box-shadow: 0 8px 20px -6px rgba(3, 44, 149, .7); }
.nvba__handle:focus-visible span { outline: 3px solid rgba(255, 202, 2, .9); outline-offset: 2px; }

/* --- his own CV (plain) --- */
.cvb { position: relative; min-height: 540px; background: #fff; font: 7.4px/1.45 Georgia, "Times New Roman", serif; color: #2b2f3a; }
.cvb__band { display: flex; align-items: center; gap: 16px; padding: 14px 18px 12px 18px; background: #0f1a3d; }
.cvb__photo { flex: 0 0 74px; height: 74px; border-radius: 50%; background: radial-gradient(circle at 50% 38%, #c9d1e3 0 18%, transparent 19%), radial-gradient(ellipse at 50% 100%, #c9d1e3 0 42%, transparent 43%), #2b3a6b; border: 3px solid #fff; }
.cvb__name { margin: 0; font-size: 19px; letter-spacing: .04em; color: #fff; }
.cvb__role { margin: 3px 0 0; font-size: 8px; color: #c9d1e3; }
.cvb__cols { display: grid; grid-template-columns: 30% 1fr; }
.cvb__side { padding: 6px 10px 10px; background: #f3f5f9; }
.cvb__side p { margin: 0 0 4px; }
.cvb__side ul { margin: 0; padding-left: 9px; }
.cvb__h { margin: 8px -10px 5px !important; padding: 3px 10px; background: #e3e8f2; font-weight: bold; font-size: 9px; text-align: center; color: #0f1a3d; }
.cvb__main { padding: 8px 14px 10px; }
.cvb__h2 { margin: 6px 0 4px; font-weight: bold; font-size: 9.5px; color: #24418f; }
.cvb__p { margin: 0 0 6px; text-align: justify; }
.cvb__job { margin: 0 0 3px; }
.cvb__main ul { margin: 0; padding-left: 10px; }
.cvb__page { position: absolute; right: 12px; bottom: 6px; margin: 0; font: 7px/1 monospace; color: #6b7280; }

/* --- the Neovistaa CV --- */
.cva { min-height: 540px; padding: 22px 24px; background: #fff; font: 7.8px/1.6 Inter, Arial, sans-serif; color: #2b3242; }
.cva p, .cva ul { margin: 0; }
.cva mark { background: #d9f0e2; color: inherit; padding: 1px 3px; border-radius: 3px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.cva__head { display: flex; gap: 12px; align-items: center; }
.cva__photo { flex: 0 0 40px; height: 40px; border-radius: 8px; background: radial-gradient(circle at 50% 40%, #b8c2d6 0 22%, transparent 23%), radial-gradient(ellipse at 50% 100%, #b8c2d6 0 45%, transparent 46%), #e3e8f1; }
.cva__name { font-size: 15px; line-height: 1.2; font-weight: 600; color: #0f1729; }
.cva__title { margin-top: 3px !important; font-weight: 600; line-height: 1.5; color: #032c95; }
.cva__contact { margin-top: 10px !important; color: #5b6577; }
.cva__h { margin: 14px 0 6px !important; padding-bottom: 3px; border-bottom: 1px solid #e6eaf2; font-size: 7px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #032c95; }
.cva__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 10px; padding: 10px 12px; border-radius: 6px; background: #eef8f2; }
.cva__grid small { display: block; margin-bottom: 1px; font-size: 5.8px; letter-spacing: .05em; color: #5b6577; }
.cva__grid b { font: 600 8.6px/1.2 Inter, Arial, sans-serif; color: #0f1729; }
.cva__wins { padding: 8px 12px 8px 22px !important; border-radius: 6px; background: #eef8f2; }
.cva__wins li + li, .cva__role li + li { margin-top: 2px; }
.cva__role { margin-top: 10px; }
.cva__role + .cva__role { margin-top: 12px; }
.cva__role > p:first-child { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.cva__role > p:first-child b { font-size: 8.8px; color: #0f1729; }
.cva__role > p:first-child span { color: #5b6577; white-space: nowrap; }
.cva__co { margin-top: 2px !important; color: #032c95; }
.cva__co em { margin-left: 5px; padding: 0 5px; border-radius: 3px; background: #e9edfb; font-style: normal; font-size: 6px; }
.cva__note { margin: 3px 0 4px !important; }
.cva__role ul { margin-top: 4px !important; padding-left: 13px; }

/* --- full example viewer --- */
.nvba-full { position: fixed; inset: 0; z-index: 100100; display: none; background: rgba(10, 16, 32, .82); }
.nvba-full.is-open { display: block; }
.nvba-full__scroll { position: absolute; inset: 0; overflow: auto; padding: 56px 16px 24px; -webkit-overflow-scrolling: touch; }
.nvba-full__scroll img { display: block; width: 100%; max-width: 1100px; height: auto; margin: 0 auto; border-radius: 12px; background: #fff; }
.nvba-full__x { position: fixed; top: 12px; right: 14px; z-index: 1; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #fff; color: #0f1729; font: 400 26px/40px Inter, Arial, sans-serif; cursor: pointer; }
html.nvba-lock, html.nvba-lock body { overflow: hidden; }

@media (max-width: 900px) {
  .nvba-card { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 18px; }
  .nvba-card h2 { font-size: 22px; }
}
@media (max-width: 480px) {
  .nvba__labels { font-size: 11.5px; }
  .nvba__n { display: none; }
  .nvba-card__actions .nv-btn { flex: 1 1 100%; justify-content: center; }
}
html[data-theme="dark"] .nvba-card { background: #151c2b; border-color: #263044; color: #e8ecf4; }
html[data-theme="dark"] .nvba-card h2, html[data-theme="dark"] .nvba-card__list strong { color: #e8ecf4; }
html[data-theme="dark"] .nvba-card__lead, html[data-theme="dark"] .nvba-card__list li, html[data-theme="dark"] .nvba-card__kicker, html[data-theme="dark"] .nvba__labels, html[data-theme="dark"] .nvba-card__legend { color: #9aa4b8; }
html[data-theme="dark"] .nvba-card__full { color: #8fb0ff; }
html[data-theme="dark"] .nvba__stage { border-color: #263044; }

/* The miniature CVs are paper: they keep their print colours in dark mode too. */
html[data-theme="dark"] .cvb, html[data-theme="dark"] .cvb * { color: #2b2f3a !important; }
html[data-theme="dark"] .cvb .cvb__name { color: #fff !important; }
html[data-theme="dark"] .cvb .cvb__role { color: #c9d1e3 !important; }
html[data-theme="dark"] .cvb .cvb__h { color: #0f1a3d !important; }
html[data-theme="dark"] .cvb .cvb__h2 { color: #24418f !important; }
html[data-theme="dark"] .cvb .cvb__page { color: #6b7280 !important; }
html[data-theme="dark"] .cva, html[data-theme="dark"] .cva * { color: #2b3242 !important; }
html[data-theme="dark"] .cva .cva__name, html[data-theme="dark"] .cva .cva__grid b, html[data-theme="dark"] .cva .cva__role > p:first-child b { color: #0f1729 !important; }
html[data-theme="dark"] .cva .cva__title, html[data-theme="dark"] .cva .cva__title mark, html[data-theme="dark"] .cva .cva__co, html[data-theme="dark"] .cva .cva__h { color: #032c95 !important; }
html[data-theme="dark"] .cva .cva__contact, html[data-theme="dark"] .cva .cva__grid small, html[data-theme="dark"] .cva .cva__role > p:first-child span { color: #5b6577 !important; }
html[data-theme="dark"] .cva mark { background: #d9f0e2 !important; }
html[data-theme="dark"] .cvb, html[data-theme="dark"] .cva, html[data-theme="dark"] .nvba__sheet--after { background: #fff !important; }
html[data-theme="dark"] .cvb__side { background: #f3f5f9 !important; }
/* 3.2.0: close button is a true circle with the × in its centre, whatever the theme's button styles. */
html body .nvba-full .nvba-full__x { display: flex !important; align-items: center !important; justify-content: center !important; width: 44px !important; height: 44px !important; min-width: 0 !important; min-height: 0 !important; padding: 0 !important; margin: 0 !important; border: 0 !important; border-radius: 50% !important; background: #ffffff !important; color: #0f1729 !important; line-height: 1 !important; box-shadow: 0 6px 18px rgba(0, 0, 0, .35) !important; top: 14px !important; right: 14px !important; }
html body .nvba-full .nvba-full__x svg { display: block; width: 20px; height: 20px; }
html body .nvba-full .nvba-full__x:hover { background: #eef2fb !important; }
/* 3.2.2: the close button sits on the image's own top-right corner (it scrolls with the image). */
.nvba-full__frame { position: relative; max-width: 1100px; margin: 0 auto; }
html body .nvba-full .nvba-full__frame .nvba-full__x { position: absolute !important; top: -16px !important; right: -16px !important; }
@media (max-width: 760px) { html body .nvba-full .nvba-full__frame .nvba-full__x { top: -18px !important; right: -6px !important; width: 38px !important; height: 38px !important; } }
