/* VCP Travel · Шенген 90/180 — виджет. Токены и шрифты сайта: tokens.css, vcp-fonts.css. */
.vc {
  --vc-ink: #1c1915; --vc-muted: #5c564c; --vc-line: rgba(28, 25, 21, 0.12); --vc-card: #fffefb; --vc-gold: #83652F;
  --vc-red: #a3362b; --vc-red-bg: #fbeeeb; --vc-yel: #855c00; --vc-yel-bg: #fbf3df; --vc-grn: #2f6b45; --vc-grn-bg: #eaf3ec;
  container-type: inline-size;
  color: var(--vc-ink);
  font-family: var(--font-text, Inter, system-ui, sans-serif);
  font-size: 16px; line-height: 1.5;
}
.vc *, .vc *::before, .vc *::after { box-sizing: border-box; }
.vc p { margin: 0; max-width: none; font-size: inherit; line-height: inherit; color: inherit; }
.vc button, .vc input, .vc select { font: inherit; color: inherit; }
.vc-grid { display: grid; gap: 16px; }
.vc-side { display: grid; gap: 16px; align-content: start; min-width: 0; }
@container (min-width: 900px) {
  .vc-grid { grid-template-columns: minmax(0, 1fr) minmax(360px, 420px); gap: 24px; align-items: start; }
  .vc-side { position: sticky; top: calc(var(--vf-bar, 61px) + 16px); }
}
.vc-panel { background: var(--vc-card); border: 1px solid var(--vc-line); border-radius: 16px; padding: 20px; min-width: 0; }
@container (min-width: 600px) { .vc-panel { padding: 24px 28px; } }
.vc-panel__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.vc .vc-h { margin: 0; font-family: var(--font-display, Georgia, serif); font-size: 24px; font-weight: 400; line-height: 1.2; letter-spacing: -0.01em; }
.vc-count { color: var(--vc-muted); font-size: 14px; white-space: nowrap; }
.vc .vc-sub { color: var(--vc-muted); font-size: 15px; line-height: 1.45; margin-bottom: 14px; }
.vc .vc-small { color: var(--vc-muted); font-size: 14px; line-height: 20px; }
.vc .vc-small--b { color: var(--vc-ink); font-weight: 500; }
.vc .vc-small a { color: var(--vc-ink); text-underline-offset: 3px; }
.vc .vc-cap { color: var(--vc-muted); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 8px; }

/* поля */
.vc-field { display: grid; gap: 6px; min-width: 0; margin-bottom: 14px; }
/* [hidden] иначе перекрывается display у .vc-field — «Дата аннулирования» видна без галочки */
.vc-field[hidden], .vc [hidden], .vc-dlg [hidden] { display: none !important; }
.vc-field label, .vc-seg legend { font-size: 14px; font-weight: 500; color: var(--vc-ink); }
.vc input[data-vc-date], .vc input[type="number"], .vc select {
  width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid rgba(28, 25, 21, 0.24); border-radius: 10px;
  background: #fff; font-size: 16px; font-family: var(--font-num, inherit); font-variant-numeric: tabular-nums; -webkit-appearance: none; appearance: none;
}
.vc select { background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; font-family: inherit; }
.vc input[data-vc-date] { min-width: 0; letter-spacing: 0.02em; }
.vc input::placeholder { color: #9a9387; }
.vc input[aria-invalid="true"], .vc select[aria-invalid="true"] { border-color: var(--vc-red); background: var(--vc-red-bg); }
.vc :focus-visible { outline: 2px solid var(--vc-gold); outline-offset: 2px; }
.vc .vc-hint { font-size: 13px; color: var(--vc-muted); line-height: 18px; }
.vc .vc-err { font-size: 14px; color: var(--vc-red); line-height: 20px; }
.vc .vc-err:empty { display: none; }
.vc-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@container (max-width: 340px) { .vc-two { grid-template-columns: 1fr; } }
.vc-inline { display: flex; gap: 8px; }
.vc-inline input { flex: 1; }
.vc-check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; cursor: pointer; }
.vc-check input { width: 20px; height: 20px; accent-color: var(--vc-ink); }
.vc-seg { border: 0; padding: 0; margin: 0 0 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vc-seg legend { padding: 0; margin-bottom: 6px; }
.vc-seg label { position: relative; cursor: pointer; }
.vc-seg input { position: absolute; opacity: 0; inset: 0; }
.vc-seg span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 48px; padding: 8px 10px; border: 1px solid rgba(28,25,21,.24); border-radius: 10px; font-size: 14px; line-height: 1.25; }
.vc-seg input:checked + span { background: #141820; color: #F7F5F0; border-color: #141820; }
.vc-seg input:focus-visible + span { outline: 2px solid var(--vc-gold); outline-offset: 2px; }
.vc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* кнопки */
.vc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 18px; border-radius: 10px; border: 1px solid transparent; background: none;
  font-size: 15px; font-weight: 500; line-height: 1.2; text-decoration: none; cursor: pointer; text-align: center; }
.vc-btn svg { width: 18px; height: 18px; flex: none; }
.vc-btn--fill { background: #141820; color: #F7F5F0 !important; }
.vc-btn--fill:hover { background: #000; }
.vc-btn--gold { background: var(--vc-gold); color: #fff !important; }
.vc-btn--gold:hover { background: #6f5426; }
.vc-btn--line { border-color: rgba(28, 25, 21, 0.28); }
.vc-btn--line:hover { border-color: var(--vc-ink); }
.vc-btn--ghost { background: #f1ede4; }
.vc-btn--ghost:hover { background: #e8e2d5; }
.vc-btn--danger { background: var(--vc-red); color: #fff !important; }
.vc-btn--sm { min-height: 44px; padding: 10px 14px; font-size: 14px; }
.vc-btn--wide { width: 100%; }
.vc-row-btns { margin-top: 16px; }
.vc-ibtn { width: 44px; height: 44px; display: inline-grid; place-items: center; border: 0; border-radius: 10px; background: transparent; color: var(--vc-muted); cursor: pointer; }
.vc-ibtn:hover { background: #f1ede4; color: var(--vc-ink); }
.vc-ibtn svg { width: 20px; height: 20px; }
.vc-icons { display: flex; gap: 2px; flex: none; margin: -6px -8px 0 0; }
.vc-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; color: var(--vc-ink); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.vc-link--muted { color: var(--vc-muted); }

/* пусто */
.vc-empty { border: 1px dashed rgba(28, 25, 21, 0.24); border-radius: 12px; padding: 20px; background: #faf8f3; }
.vc .vc-empty__t { font-family: var(--font-display, Georgia, serif); font-size: 20px; line-height: 1.25; margin-bottom: 6px; }

/* виза */
.vc-visa { position: relative; border: 1px solid var(--vc-line); border-radius: 14px; padding: 16px 16px 16px 20px; background: #fff; }
.vc-visa + .vc-visa { margin-top: 12px; }
.vc-visa::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px; border-radius: 0 4px 4px 0; background: var(--vc-grn); }
.vc-visa--yellow::before { background: #c99a2e; }
.vc-visa--red::before { background: var(--vc-red); }
.vc-visa__top { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.vc .vc-visa__h { margin: 0 0 6px; font-family: var(--font-display, Georgia, serif); font-size: 20px; font-weight: 500; line-height: 1.2; }
.vc-visa__meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 14px; color: var(--vc-muted); }
.vc-visa__dates { font-family: var(--font-num, inherit); font-variant-numeric: tabular-nums; }
.vc-tag { display: inline-block; padding: 2px 8px; border-radius: 999px; background: #f1ede4; color: var(--vc-ink); font-size: 12px; font-weight: 500; letter-spacing: 0.02em; }
.vc-tag--red { background: var(--vc-red-bg); color: var(--vc-red); }
.vc-sticker { margin: 14px 0 8px; padding: 12px; border-radius: 10px; background: #faf8f3; }
.vc-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.vc-stats--2 { grid-template-columns: auto 1fr; gap: 8px 24px; margin-top: 12px; }
.vc-stats--3 { margin: 12px 0; }
.vc-stat { display: grid; gap: 2px; min-width: 0; }
.vc-stat__v { font-family: var(--font-num, inherit); font-variant-numeric: tabular-nums lining-nums; font-size: 22px; font-weight: 600; line-height: 1.2; }
.vc-stat--s .vc-stat__v { font-size: 16px; line-height: 1.6; }
.vc-stat--muted .vc-stat__v { color: var(--vc-muted); }
.vc-stat--red .vc-stat__v { color: var(--vc-red); }
.vc-stat__l { font-size: 13px; line-height: 1.3; color: var(--vc-muted); }
.vc-trips { list-style: none; margin: 4px 0 10px; padding: 0; }
.vc-trip { display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 8px 0; border-top: 1px solid var(--vc-line); }
.vc-trip__main { display: grid; gap: 2px; min-width: 0; }
.vc-trip__d { font-family: var(--font-num, inherit); font-variant-numeric: tabular-nums; font-weight: 500; }
.vc-trip__c { font-size: 14px; color: var(--vc-muted); }
.vc-trip .vc-icons { margin: 0 -8px 0 0; }
.vc-trips__empty { padding: 10px 0; font-size: 14px; color: var(--vc-muted); border-top: 1px solid var(--vc-line); }

/* предупреждения */
.vc-alerts { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.vc .vc-alert { position: relative; padding: 10px 12px 10px 34px; border-radius: 10px; font-size: 14px; line-height: 20px; }
.vc .vc-alert::before { content: ""; position: absolute; left: 13px; top: 15px; width: 10px; height: 10px; border-radius: 50%; }
.vc-alert--red { background: var(--vc-red-bg); color: #5c1d16; } .vc-alert--red::before { background: var(--vc-red); }
.vc-alert--yellow { background: var(--vc-yel-bg); color: #4d3600; } .vc-alert--yellow::before { background: #c99a2e; }
.vc-alert--green { background: var(--vc-grn-bg); color: #1d4430; } .vc-alert--green::before { background: var(--vc-grn); }
.vc-alert--info { background: #f1ede4; color: var(--vc-ink); } .vc-alert--info::before { background: var(--vc-gold); }
.vc-notice { margin-bottom: 16px !important; padding: 12px 16px; border-radius: 10px; background: var(--vc-yel-bg); color: #4d3600; font-size: 15px; }

/* итог */
.vc-result { border-color: rgba(131, 101, 47, 0.35); box-shadow: 0 18px 40px -28px rgba(12, 22, 51, 0.35); }
.vc-big { margin: 4px 0 0; padding: 16px; border-radius: 12px; background: var(--vc-grn-bg); }
.vc-big--yellow { background: var(--vc-yel-bg); } .vc-big--red { background: var(--vc-red-bg); }
.vc-big__n { display: flex; align-items: baseline; gap: 10px; }
.vc-big__v { font-family: var(--font-display, Georgia, serif); font-size: 64px; line-height: 1; font-weight: 500; font-variant-numeric: lining-nums tabular-nums; color: var(--vc-grn); }
.vc-big--yellow .vc-big__v { color: var(--vc-yel); } .vc-big--red .vc-big__v { color: var(--vc-red); }
.vc-big__of { font-size: 18px; color: var(--vc-muted); }
.vc .vc-big__l { margin-top: 6px; font-size: 15px; line-height: 1.4; }
.vc .vc-status { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--vc-line); font-size: 15px; }
.vc .vc-status--in { font-weight: 500; }
.vc-strip { margin: 14px 0 0; }
.vc-strip__bar { display: grid; grid-template-columns: repeat(180, minmax(0, 1fr)); height: 28px; border-radius: 6px; overflow: hidden; background: #ece7dc; }
.vc-strip__bar i { display: block; }
.vc-strip__bar i.p { background: #0e1b33; } .vc-strip__bar i.o { background: var(--vc-red); }
.vc-strip__bar i:last-child { box-shadow: inset -2px 0 0 var(--vc-gold); }
.vc-strip__cap { display: flex; justify-content: space-between; gap: 8px; margin-top: 6px; font-size: 12px; color: var(--vc-muted); font-family: var(--font-num, inherit); font-variant-numeric: tabular-nums; }
.vc-strip__lg { display: inline-flex; gap: 6px; align-items: center; font-family: var(--font-text, inherit); }
.vc-strip__lg i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; background: #ece7dc; border: 1px solid rgba(28,25,21,.15); }
.vc-strip__lg i.p { background: #0e1b33; margin-left: 0; }
@container (max-width: 380px) { .vc-strip__lg { display: none; } }

/* план */
.vc-plan__sum { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--vc-line); font-family: var(--font-num, inherit); font-variant-numeric: tabular-nums; }
.vc-act { display: grid; gap: 10px; }
.vc-dl { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.vc-dl .vc-btn { min-width: 0; white-space: normal; text-align: center; }
.vc-btn:disabled { opacity: .6; cursor: progress; }
.vc-data { padding-top: 10px; border-top: 1px solid var(--vc-line); }
.vc-data__btns { display: flex; flex-wrap: wrap; gap: 0 18px; }

/* окна */
.vc-dlg { width: min(520px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 16px; background: var(--vc-card); color: var(--vc-ink); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.vc-dlg--s { width: min(420px, calc(100% - 32px)); }
.vc-dlg::backdrop { background: rgba(18, 20, 28, 0.55); backdrop-filter: blur(4px); }
.vc-dlg__f { padding: 24px; }
.vc .vc-dlg__h { margin: 0 0 16px; font-family: var(--font-display, Georgia, serif); font-size: 24px; font-weight: 400; line-height: 1.2; }
.vc-dlg__btns { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.vc-dlg__btns .vc-btn { flex: 1; }
.vc-dlg .vc-alert { margin-bottom: 14px; }

/* ---------- PDF / печать ---------- */
#vc-print-root { display: none; }
@media print {
  @page { size: A4; margin: 14mm 14mm 14mm; }
  body.vc-print-on { background: #fff !important; padding: 0 !important; }
  html.vc-printing body > *:not(#vc-print-root) { display: none !important; }
  html.vc-printing #vc-print-root { display: block; }
}
html.vc-printing.vc-preview body > *:not(#vc-print-root) { display: none !important; }
html.vc-printing.vc-preview #vc-print-root { display: block; max-width: 182mm; margin: 0 auto; background: #fff; }
.vr { font-family: var(--font-text, Arial, sans-serif); color: #1c1915; font-size: 10.5pt; line-height: 1.45; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.vr-head { border-bottom: 2px solid #83652F; padding-bottom: 8px; margin-bottom: 12px; }
.vr-brand { margin: 0; font-size: 9pt; letter-spacing: .04em; color: #83652F; font-weight: 600; }
.vr h1 { margin: 2px 0 4px; font-family: var(--font-display, Georgia, serif); font-size: 19pt; font-weight: 500; line-height: 1.15; }
.vr-meta { margin: 0; font-size: 9pt; color: #5c564c; }
.vr-sec { margin: 0 0 12px; break-inside: avoid-page; }
.vr h2 { margin: 0 0 6px; font-family: var(--font-display, Georgia, serif); font-size: 13pt; font-weight: 500; }
.vr h3 { margin: 0 0 3px; font-size: 10.5pt; font-weight: 600; }
.vr p { margin: 0 0 4px; }
.vr-kpi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 6px; }
.vr-kpi div { padding: 8px 10px; border: 1px solid #e3ddd0; border-radius: 6px; background: #faf8f3; }
.vr-kpi b { display: block; font-family: var(--font-num, inherit); font-size: 16pt; line-height: 1.1; }
.vr-kpi span { font-size: 8.5pt; color: #5c564c; }
.vr-visa { padding: 8px 0; border-top: 1px solid #e3ddd0; break-inside: avoid; }
.vr-st { font-size: 9.5pt; color: #3d3830; }
.vr-t { width: 100%; border-collapse: collapse; margin: 4px 0; font-size: 9.5pt; font-family: var(--font-num, inherit); }
.vr-t th { text-align: left; font-weight: 500; color: #5c564c; border-bottom: 1px solid #e3ddd0; padding: 2px 6px 2px 0; font-family: var(--font-text, inherit); }
.vr-t td { padding: 2px 6px 2px 0; border-bottom: 1px solid #f0ece3; }
.vr-al { list-style: none; margin: 4px 0 0; padding: 0; }
.vr-al li { margin: 0 0 3px; padding: 4px 8px; border-left: 3px solid #83652F; background: #f6f3ec; font-size: 9.3pt; }
.vr-al--red { border-color: #a3362b !important; background: #fbeeeb !important; }
.vr-al--yellow { border-color: #c99a2e !important; background: #fbf3df !important; }
.vr-al--green { border-color: #2f6b45 !important; background: #eaf3ec !important; }
.vr-recs { margin: 0; padding-left: 18px; }
.vr-recs li { margin-bottom: 2px; }
.vr-foot { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 10px 12px; border: 1px solid #e3ddd0; border-radius: 8px; }
.vr-contacts p { font-size: 10pt; }
.vr-qr { margin: 0; display: flex; gap: 10px; align-items: center; font-size: 8.5pt; color: #5c564c; max-width: 280px; }
.vr-qr img { width: 26mm; height: 26mm; flex: none; }
.vr-disc { font-size: 8.3pt; color: #5c564c; margin-top: 6px !important; }
@container (max-width: 520px) {
  .vc-sticker .vc-stats { display: flex; flex-wrap: wrap; gap: 2px 16px; }
  .vc-sticker .vc-stat { display: flex; align-items: baseline; gap: 6px; }
  .vc-sticker .vc-stat__v { font-size: 18px; }
  .vc-visa { padding: 14px 12px 14px 18px; }
}
.vc-visa__dates { white-space: nowrap; }

/* серый статус «закрыта» и пример */
.vc-visa--grey::before { background: #a8a196; }
.vc-visa--grey { background: #fcfbf8; }
.vc-tag--grey { background: #ebe8e1; color: #5c564c; }
.vc-alert--grey { background: #f3f1ec; color: #4a453d; } .vc-alert--grey::before { background: #a8a196; }
.vr-al--grey { border-color: #a8a196 !important; background: #f3f1ec !important; }
.vc-demo { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; margin-bottom: 12px; padding: 12px 14px; border-radius: 10px; background: #f1ede4; font-size: 14px; line-height: 20px; }
.vc-demo p { flex: 1 1 220px; }
.vc-empty .vc-link { margin-top: 2px; }
