.vc {
  --vc-surface: rgba(10, 13, 20, 0.94);
  --vc-surface-soft: rgba(255, 255, 255, 0.035);
  --vc-surface-hover: rgba(0, 242, 254, 0.065);
  --vc-border: rgba(255, 255, 255, 0.09);
  --vc-border-strong: rgba(255, 255, 255, 0.15);
  --vc-text: #f8fafc;
  --vc-text-soft: #cbd5e1;
  --vc-muted: #94a3b8;
  --vc-muted-strong: #718096;
  --vc-accent: #00f2fe;
  --vc-accent-ink: #67e8f9;
  --vc-blue: #007aff;
  --vc-purple: #7c3aed;
  --vc-danger: #fb7185;
  position: relative;
  width: 100%;
  margin: 30px 0;
  color: var(--vc-text);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color-scheme: dark;
}

:root[data-theme="light"] .vc {
  --vc-surface: rgba(255, 255, 255, 0.98);
  --vc-surface-soft: #f8fafc;
  --vc-surface-hover: rgba(0, 111, 122, 0.065);
  --vc-border: rgba(15, 23, 42, 0.14);
  --vc-border-strong: rgba(15, 23, 42, 0.22);
  --vc-text: #0f172a;
  --vc-text-soft: #334155;
  --vc-muted: #52637a;
  --vc-muted-strong: #64748b;
  --vc-accent: #007d8c;
  --vc-accent-ink: #006f7a;
  --vc-blue: #0066d6;
  --vc-purple: #6d28d9;
  --vc-danger: #b42335;
  color-scheme: light;
}

.vc,
.vc *,
.vc *::before,
.vc *::after {
  box-sizing: border-box;
}

.vc-anchor {
  position: absolute;
  top: -100px;
  visibility: hidden;
}

.vc-wrap {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--vc-border);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 122, 255, 0.1), transparent 35%),
    var(--vc-surface);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.vc-wrap::before {
  content: '';
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--vc-purple), var(--vc-blue) 52%, var(--vc-accent));
  opacity: 0.95;
}

.vc[data-vc-loading='true'] .vc-grid {
  pointer-events: none;
  opacity: 0.52;
  transition: opacity 0.2s ease;
}

.vc[data-vc-loading='true'] .vc-wrap::after {
  content: '';
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  margin: -16px 0 0 -16px;
  border: 3px solid var(--vc-border-strong);
  border-top-color: var(--vc-accent);
  border-radius: 50%;
  box-shadow: 0 0 18px color-mix(in srgb, var(--vc-accent) 22%, transparent);
  animation: vc-loading-spin 0.75s linear infinite;
}

:root[data-theme="light"] .vc-wrap {
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.08);
}

.vc-head {
  padding: 25px 26px 23px;
  border-bottom: 1px solid var(--vc-border);
}

.vc-eyebrow,
.vc-cap {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-weight: 600;
  text-transform: uppercase;
}

.vc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px;
  border: 1px solid color-mix(in srgb, var(--vc-accent) 25%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--vc-accent) 8%, transparent);
  color: var(--vc-accent-ink);
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0.12em;
}

.vc-eyebrow-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--vc-accent);
  box-shadow: 0 0 10px color-mix(in srgb, var(--vc-accent) 65%, transparent);
}

.vc-title {
  margin: 13px 0 0;
  color: var(--vc-text) !important;
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  font-size: clamp(21px, 3vw, 28px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.vc-sub {
  max-width: 720px;
  margin-top: 9px;
  color: var(--vc-muted);
  font-size: 14px;
  line-height: 1.6;
}

.vc-sub > :first-child { margin-top: 0; }
.vc-sub > :last-child { margin-bottom: 0; }

.vc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.vc-panel {
  min-width: 0;
  padding: 24px 26px 27px;
}

.vc-right {
  border-top: 1px solid var(--vc-border);
}

.vc-cap {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--vc-muted);
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: 0.12em;
}

.vc-cap-index {
  display: inline-grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid var(--vc-border-strong);
  border-radius: 8px;
  background: var(--vc-surface-soft);
  color: var(--vc-accent-ink);
  font-size: 9px;
}

/* Сброс старого оформления стандартного шаблона bitrix:voting.form. */
.vc .voting-form-box,
.vc .vote-form-box,
.vc .vote-items-list {
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: inherit !important;
  box-shadow: none !important;
}

/* Заголовок и описание уже выведены в шапке карточки. */
.vc .voting-form-box-title,
.vc .voting-form-box-description {
  display: none !important;
}

.vc ul,
.vc ol {
  margin: 0;
  padding: 0;
}

.vc li {
  position: static !important;
  padding-left: 0 !important;
}

.vc li::before,
.vc li::marker {
  content: none !important;
}

.vc .vote-items-list,
.vc .vote-item-list,
.vc .vote-item-list ul,
.vc .vote-item-list ol {
  list-style: none !important;
}

.vc .vote-item,
.vc .vote-item-vote {
  margin: 0 0 22px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.vc .vote-item:last-child,
.vc .vote-item-vote:last-child {
  margin-bottom: 0 !important;
}

.vc .vote-item-header,
.vc .vote-question,
.vc .vote-question-title {
  margin: 0 0 11px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--vc-text) !important;
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
}

.vc .vote-item-header > span {
  color: inherit !important;
}

.vc .vote-item-list {
  display: grid;
  gap: 8px;
  margin: 0 !important;
  padding: 0 !important;
}

.vc .vote-item-list > div,
.vc .vote-item-list > li {
  margin: 0 !important;
  padding: 0 !important;
}

.vc .vote-item-list > br {
  display: none;
}

.vc .vote-item-list label {
  display: flex;
  width: 100%;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--vc-border);
  border-radius: 11px;
  background: var(--vc-surface-soft);
  color: var(--vc-text-soft);
  font-size: 13px;
  line-height: 1.45;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.vc .vote-item-list label:hover {
  border-color: color-mix(in srgb, var(--vc-accent) 38%, var(--vc-border));
  background: var(--vc-surface-hover);
  color: var(--vc-text);
  transform: translateY(-1px);
}

.vc input[type='radio'],
.vc input[type='checkbox'] {
  appearance: none;
  position: relative;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px;
  margin: 1px 0 0 !important;
  border: 1px solid var(--vc-border-strong) !important;
  background: var(--vc-surface) !important;
  box-shadow: none !important;
  cursor: pointer;
}

.vc input[type='radio'] { border-radius: 50% !important; }
.vc input[type='checkbox'] { border-radius: 5px !important; }

.vc input[type='radio']::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--vc-accent);
  box-shadow: 0 0 8px color-mix(in srgb, var(--vc-accent) 48%, transparent);
  transform: scale(0);
  transition: transform 0.16s ease;
}

.vc input[type='radio']:checked {
  border-color: var(--vc-accent) !important;
}

.vc input[type='radio']:checked::after { transform: scale(1); }

.vc input[type='checkbox']:checked {
  border-color: transparent !important;
  background: linear-gradient(135deg, var(--vc-blue), var(--vc-accent)) !important;
}

.vc input[type='checkbox']:checked::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 5px;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.vc input[type='radio']:focus-visible,
.vc input[type='checkbox']:focus-visible,
.vc input[type='text']:focus-visible,
.vc input[type='number']:focus-visible,
.vc textarea:focus-visible,
.vc select:focus-visible,
.vc button:focus-visible,
.vc input[type='submit']:focus-visible,
.vc a:focus-visible {
  outline: 2px solid var(--vc-accent) !important;
  outline-offset: 3px;
}

.vc input[type='text'],
.vc input[type='number'],
.vc input[type='email'],
.vc textarea,
.vc select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--vc-border-strong) !important;
  border-radius: 10px !important;
  background: var(--vc-surface-soft) !important;
  color: var(--vc-text) !important;
  font: inherit;
  font-size: 13px;
  box-shadow: none !important;
}

.vc textarea {
  min-height: 96px;
  resize: vertical;
}

.vc input::placeholder,
.vc textarea::placeholder {
  color: var(--vc-muted-strong);
  opacity: 1;
}

.vc .vote-form-box-button {
  margin: 18px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.vc .vote-form-box-button input[type='submit'],
.vc .vote-form-box-button button,
.vc input.vote-submit-button,
.vc button.vote-submit-button {
  display: inline-flex !important;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 11px 19px !important;
  border: 0 !important;
  border-radius: 11px !important;
  background: linear-gradient(135deg, var(--vc-purple) 0%, var(--vc-blue) 52%, var(--vc-accent) 100%) !important;
  background-size: 200% auto !important;
  color: #fff !important;
  font-family: 'JetBrains Mono', 'Fira Code', monospace !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  box-shadow: 0 8px 22px rgba(0, 122, 255, 0.2) !important;
  cursor: pointer;
  transition: background-position 0.35s ease, box-shadow 0.25s ease, transform 0.25s ease !important;
}

.vc .vote-form-box-button input[type='submit']:hover,
.vc .vote-form-box-button button:hover,
.vc input.vote-submit-button:hover,
.vc button.vote-submit-button:hover {
  background-position: right center !important;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.32) !important;
  transform: translateY(-1px);
}

.vc input:disabled,
.vc button:disabled,
.vc select:disabled,
.vc textarea:disabled {
  cursor: not-allowed !important;
  opacity: 0.55;
}

.vc a {
  color: var(--vc-accent-ink);
  text-decoration-color: color-mix(in srgb, var(--vc-accent) 40%, transparent);
  text-underline-offset: 3px;
}

.vc a:hover { color: var(--vc-accent); }

.vc .errortext,
.vc .vote-error,
.vc .vote-note-error {
  display: block;
  margin: 0 0 14px;
  padding: 10px 12px;
  border: 1px solid color-mix(in srgb, var(--vc-danger) 36%, transparent);
  border-radius: 10px;
  background: color-mix(in srgb, var(--vc-danger) 8%, transparent);
  color: var(--vc-danger) !important;
  font-size: 12px;
}

.vc .vote-captcha,
.vc .captcha {
  margin-top: 14px;
}

.vc .vote-captcha img,
.vc .captcha img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-bottom: 8px;
  border: 1px solid var(--vc-border);
  border-radius: 9px;
}

.vc table {
  width: 100% !important;
  border-collapse: collapse;
  color: inherit;
}

.vc td,
.vc th {
  padding: 5px 0;
  border: 0;
}

@media (min-width: 860px) {
  .vc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .vc-right {
    border-top: 0;
    border-left: 1px solid var(--vc-border);
  }
}

@media (max-width: 575.98px) {
  .vc {
    margin: 24px 0;
    font-size: 14px;
  }

  .vc-wrap { border-radius: 16px; }
  .vc-head { padding: 21px 18px 19px; }
  .vc-panel { padding: 20px 18px 22px; }
  .vc-title { font-size: 21px; }

  .vc .vote-form-box-button input[type='submit'],
  .vc .vote-form-box-button button,
  .vc input.vote-submit-button,
  .vc button.vote-submit-button {
    width: 100% !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vc *,
  .vc *::before,
  .vc *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .vc[data-vc-loading='true'] .vc-wrap::after {
    animation: none;
  }
}

@keyframes vc-loading-spin {
  to { transform: rotate(360deg); }
}


font.notetext {
  color: #00A36C !important;
  font-weight: 900 !important;
}