/* ВЕЛЕССТРОЙ · вход по кодам, кабинеты кандидата и HR, статистика.
   Фирменный стиль — как в документе «Сценарии диалогов и ветвления ответов»:
   тёмно-синий #0d3a78, оранжевый #ee7a1c, светло-голубые панели, Manrope. */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #0d3a78;
  --navy-d: #082a58;
  --orange: #ee7a1c;
  --orange-d: #c8600f;
  --orange-l: #ffb070;
  --ink: #1c2533;
  --muted: #6b7686;
  --muted-d: #4b5767;
  --line: #d6deea;
  --line-l: #e6ebf2;
  --panel: #eef3fa;
  --panel-d: #e2e9f3;
  --bg: #f5f7fb;
  --card: #ffffff;
  --green: #2f8a46;
  --green-d: #1f7a3a;
  --red: #c23b3b;
  --amber: #c98a06;
  --blue: #2563c9;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body.vx {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--navy); }

/* ── Шапка: логотип на белом, синяя линия с оранжевым акцентом ───────────── */
.vx-top { background: #fff; color: var(--navy); position: relative; box-shadow: 0 1px 0 var(--line); }
.vx-top::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 4px;
  background: linear-gradient(90deg, var(--navy) 0 72%, var(--orange) 72% 100%); }
.vx-top-in { max-width: 1160px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; gap: 16px; }
.vx-logo { display: flex; align-items: center; gap: 14px; color: var(--navy); text-decoration: none; }
.vx-logo img { height: 46px; width: auto; display: block; }
.vx-logo > span { border-left: 2px solid var(--line); padding-left: 14px; }
.vx-logo b { font-weight: 800; letter-spacing: .02em; font-size: 15px; display: block; color: var(--navy); }
.vx-logo span span { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.vx-top-r { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 13px; flex-wrap: wrap;
  justify-content: flex-end; }
.vx-top-r .who { color: var(--muted-d); font-weight: 600; }
.vx-top-r .who b { color: var(--navy); }
.vx-top-r a, .vx-top-r button { color: var(--navy); text-decoration: none; background: #fff; font-weight: 700;
  border: 1px solid var(--line); border-radius: 10px; padding: 7px 13px; font: inherit; font-weight: 700; cursor: pointer; }
.vx-top-r a:hover, .vx-top-r button:hover { border-color: var(--navy); }
.vx-wrap { max-width: 1160px; margin: 0 auto; padding: 28px 20px 60px; }
.vx-narrow { max-width: 560px; }

h1.vx-h1 { font-size: 26px; font-weight: 800; margin: 0 0 6px; color: var(--navy); letter-spacing: -.3px; }
h2.vx-h2 { font-size: 18px; font-weight: 800; margin: 0 0 12px; color: var(--navy); }
.vx-sub { color: var(--muted); margin: 0 0 20px; }
.vx-kicker { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.vx-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px;
  margin-bottom: 18px; box-shadow: 0 1px 2px rgba(13,58,120,.05); }
.vx-card.tight { padding: 0; overflow: hidden; }
.vx-card.panel { background: var(--panel); border-color: var(--panel-d); box-shadow: none; }
.vx-card-h { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.vx-card-h h2 { margin: 0; }
.vx-card-h .r { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.vx-card .pad { padding: 16px 18px 0; }

/* ── Обложка (как на титуле документа) ─────────────────────────────────── */
.vx-cover { background: var(--navy); color: #fff; border-radius: 22px; padding: 30px 34px; position: relative;
  overflow: hidden; margin-bottom: 20px; }
.vx-cover::before { content: ''; position: absolute; right: -90px; top: -90px; width: 300px; height: 300px;
  border-radius: 50%; background: radial-gradient(circle, rgba(238,122,28,.32), rgba(238,122,28,0) 70%); }
.vx-cover .k { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-l);
  position: relative; }
.vx-cover h1 { color: #fff; font-size: 30px; line-height: 1.15; margin: 10px 0 10px; font-weight: 800; position: relative; }
.vx-cover p { color: #dbe6f7; margin: 0; font-size: 15px; position: relative; max-width: 640px; }
.vx-cover .vx-btn.or { margin-top: 18px; }
.vx-cover.sm { padding: 22px 24px; border-radius: 18px; }
.vx-cover.sm h1 { font-size: 24px; margin: 6px 0 6px; }

/* Обложка с героями курса */
.vx-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 0; background: #fff; border: 1px solid var(--line);
  border-radius: 24px; overflow: hidden; margin-bottom: 22px; box-shadow: 0 8px 30px rgba(13,58,120,.08); }
.vx-hero .vx-cover { border-radius: 0; margin: 0; display: flex; flex-direction: column; justify-content: center; }
.vx-heroes { display: flex; justify-content: center; align-items: flex-end; gap: 10px; padding: 20px 10px 0;
  background: linear-gradient(var(--panel) 0 82%, var(--panel-d) 82% 100%); min-height: 280px; }
.vx-heroes img { height: 270px; width: auto; display: block; }
@media (max-width: 820px) {
  .vx-hero { grid-template-columns: 1fr; }
  .vx-heroes { min-height: 0; }
  .vx-heroes img { height: 170px; }
}

/* Плитки с цифрами (как «25 тем · 41 диалог» в документе) */
.vx-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 18px; }
.vx-stat { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.vx-stat b { display: block; font-size: 28px; color: var(--orange); font-weight: 800; line-height: 1.05; }
.vx-stat b small { font-size: 14px; color: var(--muted); font-weight: 700; }
.vx-stat span { font-size: 13px; color: var(--muted-d); font-weight: 600; }
.vx-stat.navy { background: var(--navy); border-color: var(--navy); }
.vx-stat.navy b { color: #fff; }
.vx-stat.navy span { color: #c9d7ee; }

.vx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: inherit;
  font-weight: 700; font-size: 14px; border-radius: 11px; padding: 10px 16px; cursor: pointer;
  border: 1px solid var(--navy); background: var(--navy); color: #fff; text-decoration: none; white-space: nowrap;
  transition: background .15s, border-color .15s, transform .1s; }
.vx-btn:hover { background: var(--navy-d); }
.vx-btn:active { transform: translateY(1px); }
.vx-btn.or { background: var(--orange); border-color: var(--orange); }
.vx-btn.or:hover { background: var(--orange-d); border-color: var(--orange-d); }
.vx-btn.ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.vx-btn.ghost:hover { border-color: var(--navy); }
.vx-btn.danger { background: #fff; color: var(--red); border-color: #f0c8c8; }
.vx-btn.sm { padding: 6px 10px; font-size: 13px; border-radius: 9px; }
.vx-btn.big { width: 100%; padding: 15px 18px; font-size: 16px; border-radius: 13px; }
.vx-btn[disabled] { opacity: .45; cursor: not-allowed; }
.vx-btn.ok { background: var(--green); border-color: var(--green); color: #fff; }

.vx-field { margin-bottom: 14px; }
.vx-field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.vx-field small { display: block; color: var(--muted); font-size: 12px; margin-top: 5px; }
.vx-in, .vx-sel { width: 100%; font: inherit; font-size: 15px; padding: 10px 12px; border: 1px solid var(--line);
  border-radius: 11px; background: #fff; color: var(--ink); }
.vx-in:focus, .vx-sel:focus { outline: 3px solid rgba(238,122,28,.25); border-color: var(--orange); }
.vx-code-in { font-size: 26px; font-weight: 800; letter-spacing: 6px; text-align: center; text-transform: uppercase;
  padding: 14px 10px; font-family: 'Manrope', monospace; color: var(--navy); background: #fff;
  border: 2px solid var(--line); }
.vx-row { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }

.vx-alert { border-radius: 12px; padding: 12px 14px; margin-bottom: 16px; font-size: 14px; font-weight: 600; }
.vx-alert.err { background: #fdeaea; color: #8f2626; border: 1px solid #e3a5a5; }
.vx-alert.ok { background: #e7f5ea; color: var(--green-d); border: 1px solid #a9d6b4; }
.vx-alert.info { background: #fff7ec; color: #8a4a0c; border: 1px solid #f2c189; }

/* Счётчики HR */
.vx-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 18px; }
.vx-kpi { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; position: relative; }
.vx-kpi .l { font-size: 11.5px; color: var(--muted); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.vx-kpi .v { font-size: 28px; font-weight: 800; color: var(--navy); margin-top: 4px; line-height: 1.1; }
.vx-kpi .v small { font-size: 14px; color: var(--muted); font-weight: 700; }
.vx-kpi .h { font-size: 12px; color: var(--muted); margin-top: 2px; }
.vx-kpi.accent { background: var(--navy); border-color: var(--navy); }
.vx-kpi.accent .l { color: var(--orange-l); }
.vx-kpi.accent .v { color: #fff; }
.vx-kpi.accent .v small, .vx-kpi.accent .h { color: #c9d7ee; }
.vx-kpi.or .v { color: var(--orange); }

/* Таблицы — синяя шапка, как в документе */
.vx-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.vx-table th { text-align: left; font-size: 12px; color: #fff; font-weight: 700; padding: 10px 12px;
  background: var(--navy); white-space: nowrap; }
.vx-table td { padding: 10px 12px; border-bottom: 1px solid var(--line-l); vertical-align: middle; }
.vx-table tbody tr:nth-child(even) td { background: #f8fafd; }
.vx-table tr:last-child td { border-bottom: 0; }
.vx-table tr.click { cursor: pointer; }
.vx-table tr.click:hover td { background: #fff7ec; }
.vx-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.vx-table td.n { font-weight: 800; color: var(--orange); width: 44px; }
.vx-scroll { overflow-x: auto; }
.vx-code { font-weight: 800; letter-spacing: 1.5px; font-family: 'Manrope', monospace; color: var(--navy); text-decoration: none; }
.vx-muted { color: var(--muted); }
.vx-small { font-size: 13px; }

.vx-st { display: inline-block; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.vx-st.grey { background: #eef1f5; color: #4a5a6e; }
.vx-st.blue { background: #e3ecfa; color: var(--navy); }
.vx-st.amber { background: #fff5dc; color: #8a5a00; }
.vx-st.green { background: #e7f5ea; color: var(--green-d); }
.vx-st.red { background: #fdeaea; color: #a92f2f; }
.vx-st.dark { background: #e5e7eb; color: #374151; }
.vx-st.or { background: #fff1e3; color: var(--orange-d); }

.vx-bar { height: 8px; border-radius: 5px; background: #e4eaf2; overflow: hidden; min-width: 60px; }
.vx-bar > div { height: 100%; background: linear-gradient(90deg, var(--orange), #f5a04d); border-radius: 5px; }
.vx-bar.green > div { background: var(--green); }
.vx-bar.navy > div { background: var(--navy); }
.vx-bar.lg { height: 12px; border-radius: 7px; }

/* Языковые строки */
.vx-lang { display: grid; grid-template-columns: 170px 1fr auto; gap: 12px; align-items: center;
  padding: 12px 18px; border-bottom: 1px solid var(--line-l); }
.vx-lang:last-child { border-bottom: 0; }
.vx-lang .n b { display: block; font-weight: 800; color: var(--navy); }
.vx-lang .n span { font-size: 13px; color: var(--muted); }
.vx-lang .link { font-size: 13px; color: var(--muted); word-break: break-all; }
.vx-lang .acts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.vx-lang.off { background: #fafbfc; }
@media (max-width: 760px) {
  .vx-lang { grid-template-columns: 1fr; }
  .vx-lang .acts { justify-content: flex-start; }
}

/* Вкладки HR-кабинета */
.vx-tabs { display: flex; gap: 6px; margin-bottom: 22px; flex-wrap: wrap; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 6px; }
.vx-tabs a { text-decoration: none; font-weight: 700; font-size: 14px; color: var(--muted-d); padding: 9px 15px;
  border-radius: 10px; }
.vx-tabs a.on { background: var(--navy); color: #fff; box-shadow: inset 0 -3px 0 var(--orange); }
.vx-tabs a:not(.on):hover { color: var(--navy); background: var(--panel); }

.vx-copybox { background: var(--panel); border: 1px dashed #9fb0c8; border-radius: 12px; padding: 14px; font-size: 15px;
  white-space: pre-wrap; word-break: break-word; margin-bottom: 10px; }
.vx-kv { display: grid; grid-template-columns: 170px 1fr; gap: 8px 14px; font-size: 14px; }
.vx-kv dt { color: var(--muted); font-weight: 600; }
.vx-kv dd { margin: 0; font-weight: 600; word-break: break-all; }
.vx-qr svg { width: 160px; height: 160px; display: block; }
.vx-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 860px) { .vx-grid2 { grid-template-columns: 1fr; } }

.vx-list { list-style: none; margin: 0; padding: 0; }
.vx-list li { display: flex; gap: 10px; align-items: baseline; padding: 6px 0; border-bottom: 1px solid #f0f3f7; font-size: 14px; }
.vx-list li:last-child { border-bottom: 0; }
.vx-list .mk { width: 20px; flex: none; text-align: center; font-weight: 800; }
.vx-list .mk.y { color: var(--green); }
.vx-list .mk.n { color: #b8c2cf; }
.vx-list .mk.x { color: var(--red); }

/* Модальные окна HR */
.vx-modal { position: fixed; inset: 0; background: rgba(8,26,52,.55); display: none; align-items: flex-start;
  justify-content: center; padding: 6vh 16px; z-index: 50; overflow-y: auto; }
.vx-modal.on { display: flex; }
.vx-modal-in { background: #fff; border-radius: 16px; max-width: 520px; width: 100%; padding: 22px;
  border-top: 5px solid var(--orange); }
.vx-modal-in h2 { margin-top: 0; }
.vx-modal-x { float: right; border: 0; background: none; font-size: 22px; cursor: pointer; color: var(--muted); }

/* ── Вход по коду ─────────────────────────────────────────────────────── */
.vl-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px;
  box-shadow: 0 10px 30px rgba(13,58,120,.08); }
.vl-card h2 { font-size: 20px; color: var(--navy); margin: 0 0 4px; font-weight: 800; }
.vl-card p { color: var(--muted); margin: 0 0 16px; font-size: 14px; }
.vl-types { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.vl-types span { font-size: 12px; font-weight: 700; color: var(--muted-d); background: var(--panel); border-radius: 999px;
  padding: 5px 11px; }
.vl-types span b { color: var(--orange-d); }

/* ── Страницы кандидата ───────────────────────────────────────────────── */
.vc-hero { text-align: center; margin: 4px 0 20px; }
.vc-hero h1 { font-size: 24px; color: var(--navy); margin: 10px 0 4px; font-weight: 800; }
.vc-hero p { color: var(--muted); margin: 0; }
.vc-codebig { font-size: 30px; font-weight: 800; letter-spacing: 6px; color: #fff; font-family: 'Manrope', monospace; }
.vc-codecard { background: var(--navy); color: #fff; border-radius: 18px; padding: 18px 20px; display: flex;
  align-items: center; gap: 16px; margin-bottom: 18px; position: relative; overflow: hidden; }
.vc-codecard::after { content: ''; position: absolute; right: -40px; bottom: -60px; width: 160px; height: 160px;
  border-radius: 50%; background: #1a4f96; box-shadow: inset 0 0 0 10px rgba(238,122,28,.55); }
.vc-codecard .l { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-l); }
.vc-codecard .d { font-size: 13px; color: #c9d7ee; margin-top: 2px; }
.vc-codecard img { height: 96px; width: auto; margin-left: auto; position: relative; z-index: 1; }
.vc-step { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line-l); }
.vc-step:last-child { border-bottom: 0; }
.vc-step .ic { width: 38px; height: 38px; border-radius: 11px; background: var(--panel); color: var(--navy);
  display: flex; align-items: center; justify-content: center; font-weight: 800; flex: none; }
.vc-step .ic.ok { background: #e7f5ea; color: var(--green-d); }
.vc-step .t { flex: 1; font-weight: 700; color: var(--ink); }
.vc-step .t small { display: block; font-weight: 600; color: var(--muted); font-size: 13px; }
.vc-step .vx-bar { width: 90px; }
.vc-done { text-align: center; background: #e7f5ea; border: 1px solid #a9d6b4; border-radius: 16px; padding: 18px;
  margin-bottom: 16px; color: var(--green-d); }
.vc-done b { display: block; font-size: 18px; margin-bottom: 4px; }
.vc-foot { text-align: center; color: var(--muted); font-size: 12px; margin-top: 30px; }
.vc-ring { display: flex; align-items: center; gap: 16px; margin-bottom: 6px; }
.vc-ring svg { flex: none; transform: rotate(-90deg); }
.vc-ring .pct { font-size: 30px; font-weight: 800; color: var(--navy); line-height: 1; }
.vc-ring .pct small { display: block; font-size: 13px; color: var(--muted); font-weight: 600; margin-top: 4px; }

/* ── Портал ───────────────────────────────────────────────────────────── */
.vp-grid { display: grid; grid-template-columns: 1fr 380px; gap: 22px; align-items: start; }
@media (max-width: 900px) { .vp-grid { grid-template-columns: 1fr; } }
.vp-langs { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.vp-lang { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 13px 14px; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s, box-shadow .15s; }
.vp-lang:hover { border-color: var(--orange); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(13,58,120,.08); }
.vp-lang i { font-style: normal; width: 36px; height: 36px; border-radius: 10px; background: var(--panel); color: var(--navy);
  font-weight: 800; font-size: 12px; display: flex; align-items: center; justify-content: center; text-transform: uppercase; flex: none; }
.vp-lang:hover i { background: var(--orange); color: #fff; }
.vp-lang b { display: block; font-size: 16px; font-weight: 800; color: var(--navy); }
.vp-lang span { font-size: 12.5px; color: var(--muted); }
.vp-lang.off { opacity: .6; }

/* ── Статистика ───────────────────────────────────────────────────────── */
.vs-filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 18px; }
.vs-filters .vx-field { margin: 0; min-width: 170px; }
.vs-funnel { padding: 6px 18px 16px; }
.vs-frow { display: grid; grid-template-columns: 190px 1fr 92px; gap: 12px; align-items: center; padding: 7px 0; }
.vs-frow .l { font-weight: 700; font-size: 14px; color: var(--ink); }
.vs-frow .t { height: 26px; background: var(--panel); border-radius: 8px; overflow: hidden; }
.vs-frow .t div { height: 100%; background: var(--navy); border-radius: 8px; min-width: 2px; }
.vs-frow:last-child .t div { background: var(--green); }
.vs-frow .v { text-align: right; font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; }
.vs-frow .v small { color: var(--muted); font-weight: 700; margin-left: 4px; }
@media (max-width: 640px) { .vs-frow { grid-template-columns: 1fr 70px; } .vs-frow .t { grid-column: 1 / -1; grid-row: 2; } }
.vs-split { display: flex; height: 10px; border-radius: 5px; overflow: hidden; background: #e4eaf2; min-width: 120px; }
.vs-split .ok { background: var(--green); }
.vs-split .part { background: #e9b949; }
.vs-split .bad { background: var(--red); }
.vs-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--muted-d); font-weight: 600; }
.vs-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.vs-weeks { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; align-items: end; height: 170px;
  padding: 10px 18px 0; }
.vs-week { display: flex; flex-direction: column; align-items: stretch; height: 100%; }
.vs-week .bars { flex: 1; display: flex; gap: 3px; align-items: flex-end; justify-content: center; }
.vs-week .bars div { width: 30%; max-width: 16px; border-radius: 4px 4px 0 0; min-height: 2px; position: relative; }
.vs-week .bars .i { background: #9fb0c8; }
.vs-week .bars .e { background: var(--navy); }
.vs-week .bars .p { background: var(--orange); }
.vs-week .w { text-align: center; font-size: 11px; color: var(--muted); font-weight: 700; padding: 6px 0 10px; }
.vs-q { padding: 12px 18px; border-bottom: 1px solid var(--line-l); display: grid; grid-template-columns: 1fr 140px; gap: 14px; align-items: center; }
.vs-q:last-child { border-bottom: 0; }
.vs-q .q { font-weight: 700; font-size: 14px; }
.vs-q .q i { font-style: normal; color: var(--orange); font-weight: 800; margin-right: 6px; }
.vs-q .a { font-size: 12.5px; color: var(--green-d); margin-top: 3px; font-weight: 600; }
.vs-q .m { font-size: 12px; color: var(--muted); }
.vs-q .r b { font-size: 18px; color: var(--red); font-weight: 800; }
.vs-q .r span { font-size: 12px; color: var(--muted); display: block; }
@media (max-width: 640px) { .vs-q { grid-template-columns: 1fr; } }
.vs-empty { padding: 26px 18px; text-align: center; color: var(--muted); }

/* Печать карточек */
body.vx.cards-page { background: #fff; }
.cards-bar { padding: 14px 20px; background: var(--navy); color: #fff; display: flex; gap: 12px; align-items: center; }
.cards-bar .r { margin-left: auto; display: flex; gap: 8px; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; padding: 10mm; }
.qcard { border: 1px dashed #9aa7b8; padding: 6mm; display: grid; grid-template-columns: 34mm 1fr; gap: 5mm;
  align-items: center; break-inside: avoid; page-break-inside: avoid; height: 54mm; }
.qcard svg { width: 34mm; height: 34mm; display: block; }
.qcard .brand { font-weight: 800; color: var(--navy); font-size: 11pt; letter-spacing: .5px; }
.qcard .crs { font-size: 9pt; color: var(--muted); margin-bottom: 2mm; }
.qcard .c { font-size: 20pt; font-weight: 800; letter-spacing: 3px; color: var(--ink); font-family: 'Manrope', monospace; }
.qcard .u { font-size: 9pt; color: var(--ink); word-break: break-all; }
.qcard .d { font-size: 8.5pt; color: var(--muted); margin-top: 1mm; }
@media print {
  .cards-bar { display: none; }
  .cards { padding: 0; }
  @page { size: A4; margin: 10mm; }
}
@media (max-width: 600px) {
  .vx-wrap { padding: 18px 14px 40px; }
  h1.vx-h1 { font-size: 22px; }
  .vx-cover { padding: 22px 20px; border-radius: 18px; }
  .vx-cover h1 { font-size: 23px; }
  .vx-kv { grid-template-columns: 1fr; gap: 2px; }
  .vx-kv dd { margin-bottom: 8px; }
  .vx-top-in { padding: 8px 14px; }
  .vx-logo img { height: 38px; }
  .vx-logo > span { display: none; }
  .vx-top-r .who { display: none; }
}
@media (max-width: 600px) {
  .vx-hero .vx-heroes { display: none; }
}
