/* Vragenlijst editor — Figma Redesign survey tool (10940:3458 / 10940:3510) */

.screen-root--vragenlijst {
  min-height: 0;
  height: 100%;
}

.screen-fullscreen--vragenlijst {
  background: #f6f6f6;
}

.screen-body--vragenlijst {
  padding: 12px 24px 24px;
}

.vl-stub-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.vl-stub-panel .screen-placeholder {
  max-width: 360px;
}

.vl-screen {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  gap: 12px;
}

.vl-panel-host {
  min-height: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.vl-tab-panel[data-tab-panel="instellingen"] .vl-panel-host {
  overflow-y: auto;
  overflow-x: hidden;
  align-items: center;
}

.vl-tab-panel[data-tab-panel="deelnemers"] .vl-panel-host {
  overflow-y: auto;
  overflow-x: hidden;
}

.vl-tab-panel[data-tab-panel="verspreiden"] .vl-panel-host,
.vl-tab-panel[data-tab-panel="resultaten"] .vl-panel-host {
  overflow-y: auto;
  overflow-x: hidden;
}

/* Status strip — removed from UI; validation banner only */

.vl-validation-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #fff8e8;
  border: 1px solid #f0d9a8;
  border-radius: 10px;
  color: #8a5b12;
}

.vl-validation-banner[hidden] {
  display: none !important;
}

.vl-validation-banner .ti {
  font-size: 18px;
  flex-shrink: 0;
}

.vl-validation-banner-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
  font-size: 13px;
}

.vl-validation-banner-copy strong {
  font-weight: 600;
  color: #6b4a10;
}

.vl-validation-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vl-validation-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 1px solid #e4e7ea;
  border-radius: 8px;
  background: #fff;
  padding: 12px 14px;
  text-align: left;
  font-family: inherit;
  font-size: 13px;
  color: #404040;
  cursor: pointer;
}

.vl-validation-item:hover {
  border-color: #0f70b7;
  background: #f4f9fd;
}

.vl-validation-item .ti-chevron-right {
  margin-left: auto;
  color: #848f99;
}

.vl-modal--validation {
  width: min(520px, 100%);
}

/* Pill tabs (Figma Navigation 10940:3534) */

.vl-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.vl-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #404040;
  padding: 8px 12px;
  cursor: pointer;
  line-height: 1.2;
  transition: background 0.15s ease, color 0.15s ease;
}

.vl-tab .ti {
  font-size: 11px;
}

.vl-tab:hover {
  background: #eef4fa;
}

.vl-tab.is-active {
  background: #0f70b7;
  color: #fff;
}

.vl-tab-panels {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.vl-tab-panel {
  display: none;
  flex: 1;
  min-height: 0;
}

.vl-tab-panel.is-active {
  display: flex;
  flex-direction: column;
  animation: vlFadeIn 0.2s ease both;
}

@keyframes vl-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes vlFadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Editor layout */

.vl-questions {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  gap: 12px;
}

.vl-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  flex-wrap: wrap;
}

.vl-toolbar-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.vl-editor-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 365px;
  gap: 20px;
  flex: 1;
  min-height: 0;
  height: 100%;
  align-items: stretch;
  transition: grid-template-columns var(--nav-transition-duration, 0.28s) var(--nav-transition-ease, cubic-bezier(0.4, 0, 0.2, 1));
}

.vl-editor-layout.is-theme-mode {
  grid-template-columns: minmax(440px, 520px) minmax(0, 1fr) 0px;
  gap: 20px;
}

.vl-editor-main {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  transition: transform var(--nav-transition-duration, 0.28s) var(--nav-transition-ease, cubic-bezier(0.4, 0, 0.2, 1));
}

/* Pages sidebar (10940:3512) */

.vl-left-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  align-self: stretch;
}

.vl-editor-layout.is-theme-mode .vl-left-column {
  gap: 0;
}

.vl-theme-zone {
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  flex-shrink: 0;
}

[data-vl-theme-picker-host] {
  min-width: 0;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.vl-editor-layout.is-theme-mode .vl-theme-zone {
  flex: 1;
  min-height: 0;
}

.vl-theme-expanded {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  min-height: 0;
  background: linear-gradient(180deg, #fafcfe 0%, #fff 48px);
  border: 1px solid #d4e4f2;
  border-radius: 14px;
  padding: 18px 22px 22px;
  box-shadow:
    0 4px 24px rgba(15, 112, 183, 0.1),
    0 1px 3px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
  animation: vlThemeExpandIn var(--nav-transition-duration, 0.28s) var(--nav-transition-ease, cubic-bezier(0.4, 0, 0.2, 1)) both;
}

.vl-theme-expanded::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0f70b7 0%, #3d9fd9 50%, #0f70b7 100%);
  border-radius: 14px 14px 0 0;
}

.vl-theme-expanded[hidden] {
  display: none !important;
}

@keyframes vlThemeExpandIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.vl-theme-expanded-head {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.vl-theme-expanded-title {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #2a3540;
  letter-spacing: -0.01em;
}

.vl-theme-expanded-title .ti {
  font-size: 16px;
  color: #0f70b7;
}

.vl-theme-expanded-intro {
  margin: 0;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 13px;
  color: #6b7a87;
  line-height: 1.5;
  flex-shrink: 0;
  padding-bottom: 2px;
  border-bottom: 1px solid #e8eef3;
}

.vl-theme-expanded-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.vl-theme-expanded-body .vl-opmaak-editor-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

.vl-theme-picker-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 8px 10px 7px;
  border: 1px solid #e4e7ea;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
  position: relative;
  overflow: hidden;
}

.vl-theme-picker-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, color-mix(in srgb, var(--vl-picker-primary, #0f70b7) 3%, transparent) 0%, transparent 55%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.vl-theme-picker-card:hover::after {
  opacity: 1;
}

.vl-theme-picker-card:hover {
  border-color: #c8d8e8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.vl-theme-picker-card:focus {
  outline: none;
}

.vl-theme-picker-card:focus-visible {
  outline: none;
  border-color: var(--vl-picker-primary, #0f70b7);
  box-shadow: 0 0 0 1px var(--vl-picker-primary, #0f70b7);
}

.vl-theme-picker-card:active {
  transform: none;
}

.vl-theme-picker-card-header {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  width: 100%;
  position: relative;
  z-index: 1;
}

.vl-theme-picker-card-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--vl-picker-primary, #0f70b7);
}

.vl-theme-picker-card-label .ti {
  font-size: 12px;
}

.vl-theme-picker-card-preview {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.vl-theme-swatch--picker {
  width: 36px;
  height: 28px;
  margin: 0;
  flex-shrink: 0;
  border-radius: 6px;
  box-shadow:
    0 1px 4px rgba(0, 0, 0, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  position: relative;
  overflow: hidden;
}

.vl-theme-swatch-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  border-radius: 6px 6px 0 0;
}

.vl-theme-picker-card-copy {
  flex: 1;
  min-width: 0;
}

.vl-theme-picker-card-name {
  display: block;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 600;
  color: #2a3540;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}

.vl-theme-picker-card-hint {
  display: block;
  font-size: 10px;
  color: #6b7a87;
  margin-top: 1px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vl-theme-picker-colors {
  display: flex;
  gap: 2px;
  height: 3px;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.vl-theme-picker-color {
  flex: 1;
  min-width: 0;
  border-radius: 1px;
}

.vl-pages {
  background: transparent;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 0;
  flex: 1;
  overflow: hidden;
  transition:
    opacity var(--nav-transition-duration, 0.28s) var(--nav-transition-ease, cubic-bezier(0.4, 0, 0.2, 1)),
    max-height var(--nav-transition-duration, 0.28s) var(--nav-transition-ease, cubic-bezier(0.4, 0, 0.2, 1)),
    transform var(--nav-transition-duration, 0.28s) var(--nav-transition-ease, cubic-bezier(0.4, 0, 0.2, 1));
}

.vl-editor-layout.is-theme-mode .vl-pages {
  flex: 0 0 0;
  opacity: 0;
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(-8px);
}

.vl-pages-title {
  margin: 0;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #404040;
}

.vl-page-search {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 33px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid #c8cdd2;
  border-radius: 48px;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #848f99;
}

.vl-page-search-input {
  border: 0;
  background: transparent;
  font: inherit;
  color: #404040;
  width: 100%;
  min-width: 0;
  padding: 0;
}

.vl-page-search-input:focus {
  outline: none;
}

.vl-pages-empty {
  margin: 0;
  font-size: 12px;
  color: #848f99;
}

.vl-page-search .ti {
  font-size: 14px;
}

.vl-page-thumb {
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
}

.vl-page-thumb-preview {
  position: relative;
  height: 115px;
  border-radius: 8px;
  background: linear-gradient(180deg, #fff 0%, #f0f4f8 100%);
  border: 1px solid #e8eaed;
  outline: none;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.08),
    0 1px 2px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  padding: 12px 14px;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.vl-page-thumb-skeleton {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vl-page-thumb-bar {
  display: block;
  height: 6px;
  width: 100%;
  border-radius: 3px;
  background: #d8dee4;
}

.vl-page-thumb-bar--title {
  height: 8px;
  width: 72%;
  background: #b8c4ce;
}

.vl-page-thumb-bar--empty {
  width: 58%;
  opacity: 0.55;
}

.vl-page-thumb-bar:nth-child(2) {
  width: 88%;
}

.vl-page-thumb-bar:nth-child(3) {
  width: 52%;
}

.vl-page-thumb-snippet {
  margin: 4px 0 0;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 7px;
  font-weight: 500;
  line-height: 1.35;
  color: #6b7785;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vl-page-thumb-snippet--empty {
  font-weight: 400;
  color: #a0aab4;
  font-style: italic;
}

.vl-page-thumb-count {
  position: absolute;
  top: 8px;
  right: 8px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--vl-theme-primary, #0f70b7);
  color: #fff;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 9px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
}

.vl-page-thumb.is-active .vl-page-thumb-preview {
  border-color: var(--vl-theme-primary, #0f70b7);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.08),
    0 1px 2px rgba(0, 0, 0, 0.06),
    0 0 0 2px var(--vl-theme-primary, #0f70b7);
}

.vl-page-thumb.is-active .vl-page-thumb-label {
  color: var(--vl-theme-primary, #0f70b7);
  font-weight: 600;
}

.vl-page-thumb.is-active .vl-page-thumb-count {
  background: color-mix(in srgb, var(--vl-theme-primary, #0f70b7) 88%, #000 12%);
}

.vl-page-thumb-label {
  margin: 0;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: #404040;
  line-height: 1.35;
}

.vl-page-insert {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  height: 24px;
  flex-shrink: 0;
}

.vl-page-insert-btn {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  border: 1px dashed #c8cdd2;
  background: #fff;
  color: var(--vl-theme-primary, #0f70b7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0 10px;
  opacity: 0;
  pointer-events: none;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  transition: opacity 0.12s ease, border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.vl-page-insert-btn .ti {
  font-size: 11px;
  flex-shrink: 0;
}

.vl-page-insert-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vl-page-insert:hover .vl-page-insert-btn {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.12s ease 120ms, border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.vl-page-insert:focus-within .vl-page-insert-btn {
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0ms;
}

.vl-page-insert-btn:hover {
  border-color: var(--vl-theme-primary, #0f70b7);
  background: #f4f9fd;
}

.vl-page-thumb-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 2px 4px;
}

/* Preview canvas (10940:3539) */

.vl-preview-shell {
  flex: 1;
  min-height: 480px;
}

.vl-preview-bg {
  height: 100%;
  min-height: 480px;
  padding: 20px;
  border-radius: 12px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.02)),
    url("../assets/vragenlijst/theme-default-bg.png") center / cover no-repeat;
  background-color: #e8eef3;
  overflow: auto;
}

.vl-survey-card {
  max-width: 723px;
  margin: 0 auto;
  background: var(--vl-theme-card-bg, #fff);
  border: 1px solid #e8eaed;
  border-radius: 9px;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.08),
    0 1px 2px rgba(0, 0, 0, 0.06);
  padding: 43px 58px 58px;
  color: var(--vl-theme-text, #404040);
  overflow: hidden;
}

.vl-survey-banner {
  margin: -43px -58px 20px;
  padding: 16px 58px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.vl-survey-card-top {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #e4e7ea;
}

.vl-survey-card-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.vl-survey-utilities {
  display: flex;
  gap: 8px;
}

.vl-survey-utility {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(154, 160, 185, 0.12);
  color: #404040;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: default;
}

.vl-flag {
  display: block;
  width: 13px;
  height: 13px;
  border-radius: 2px;
  background: linear-gradient(180deg, #e22 33%, #fff 33% 66%, #0076de 66%);
}

.vl-survey-intro {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vl-survey-intro-input {
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #404040;
  padding: 8px 10px;
  resize: vertical;
  min-height: 72px;
  width: 100%;
}

.vl-survey-intro-input:hover,
.vl-survey-intro-input:focus {
  border-color: #e4e7ea;
  background: #fafbfc;
  outline: none;
}

.vl-survey-logo {
  font-family: Montserrat, Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--vl-theme-logo, #0f70b7);
}

.vl-survey-logo-img {
  max-height: 28px;
  max-width: 160px;
  object-fit: contain;
}

.vl-survey-title {
  font-family: Montserrat, Arial, sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--vl-theme-text, #404040);
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.2;
}

.vl-survey-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #e4e7ea;
}

.vl-survey-footer-actions {
  display: flex;
  gap: 8px;
}

.vl-survey-page-num {
  font-size: 12px;
  color: #848f99;
}

.vl-survey-card .vl-btn--primary {
  background: var(--vl-theme-primary, #0f70b7);
}

.vl-survey-card .vl-btn--primary:hover {
  filter: brightness(0.92);
}

/* Question cards */

.vl-questions-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vl-question-card {
  position: relative;
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 12px;
  padding: 20px;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.08),
    0 1px 2px rgba(0, 0, 0, 0.06);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease, background 0.15s ease;
}

.vl-question-card:not(.is-selected):hover {
  border-color: #d0d5db;
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.1),
    0 1px 2px rgba(0, 0, 0, 0.06);
}

.vl-question-card.is-selected {
  border-color: var(--vl-theme-primary, #0f70b7);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.08),
    0 1px 2px rgba(0, 0, 0, 0.06),
    0 0 0 1px var(--vl-theme-primary, #0f70b7);
}

.vl-question-card.is-dragging {
  opacity: 0.45;
}

.vl-question-card.is-drop-target {
  border-color: #0f70b7;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.08),
    0 0 0 3px rgba(15, 112, 183, 0.12);
}

.vl-question-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.vl-question-actions--floating {
  position: absolute;
  top: 15px;
  right: 15px;
  display: flex;
  align-items: center;
  gap: 0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(154, 160, 185, 0.15);
  background: #fff;
  z-index: 2;
}

.vl-question-actions--floating .vl-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 0;
}

.vl-question-text-display {
  margin: 0 0 6px;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #404040;
  line-height: 1.25;
}

.vl-question-label {
  font-family: Montserrat, Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #848f99;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.vl-question-actions {
  display: flex;
  align-items: center;
  gap: 2px;
}

.vl-question-text-input {
  width: 100%;
  border: 0;
  background: transparent;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #404040;
  padding: 0;
  margin-bottom: 6px;
}

.vl-question-text-input:focus {
  outline: none;
}

.vl-question-text-input::placeholder {
  color: #a0a8b0;
}

.vl-question-hint {
  margin: 0 0 14px;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 13px;
  color: #848f99;
  line-height: 1.4;
}

.vl-question-insert {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  height: 24px;
  flex-shrink: 0;
}

.vl-question-insert-btn {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  border: 1px dashed #c8cdd2;
  background: #fff;
  color: var(--vl-theme-primary, #0f70b7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  padding: 0 14px;
  opacity: 0;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  transition: opacity 0.12s ease, border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.vl-question-insert-btn .ti {
  font-size: 12px;
  flex-shrink: 0;
}

.vl-question-insert-label {
  white-space: nowrap;
}

.vl-question-insert:hover .vl-question-insert-btn {
  opacity: 1;
  transition: opacity 0.12s ease 120ms, border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.vl-question-insert:focus-within .vl-question-insert-btn {
  opacity: 1;
  transition-delay: 0ms;
}

.vl-question-insert-btn:hover {
  border-color: var(--vl-theme-primary, #0f70b7);
  background: #f4f9fd;
}

/* Question previews */

.vl-question-preview {
  margin-top: 4px;
}

.vl-preview-textarea-wrap {
  position: relative;
}

.vl-preview-textarea {
  min-height: 86px;
  resize: none;
  background: #fff;
}

.vl-char-count {
  position: absolute;
  right: 10px;
  bottom: 8px;
  font-size: 11px;
  color: #848f99;
}

.vl-preview-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #e4e7ea;
  border-radius: 8px;
  background: #fff;
  margin-bottom: 8px;
}

.vl-preview-radio {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #c8cdd2;
  flex-shrink: 0;
}

.vl-preview-option .vl-input {
  border: 0;
  padding: 0;
  background: transparent;
}

.vl-preview-option .vl-input:focus {
  outline: none;
}

/* Question settings panel */

.vl-question-settings {
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 12px;
  padding: 20px;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.08),
    0 1px 2px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition:
    opacity var(--nav-transition-duration, 0.28s) var(--nav-transition-ease, cubic-bezier(0.4, 0, 0.2, 1)),
    transform var(--nav-transition-duration, 0.28s) var(--nav-transition-ease, cubic-bezier(0.4, 0, 0.2, 1));
}

.vl-editor-layout.is-theme-mode .vl-question-settings {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(16px);
  transition:
    opacity var(--nav-transition-duration, 0.28s) var(--nav-transition-ease, cubic-bezier(0.4, 0, 0.2, 1)),
    transform var(--nav-transition-duration, 0.28s) var(--nav-transition-ease, cubic-bezier(0.4, 0, 0.2, 1)),
    visibility 0s linear var(--nav-transition-duration, 0.28s);
}

.vl-question-settings-title {
  margin: 0;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #404040;
  padding-bottom: 16px;
  border-bottom: 1px solid #e4e7ea;
}

.vl-question-settings-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
  overflow: auto;
}

.vl-question-settings-empty {
  margin: 0;
  font-size: 13px;
  color: #848f99;
  line-height: 1.45;
}

.vl-question-settings-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vl-question-help {
  margin: 0;
  font-size: 12px;
  color: #848f99;
  line-height: 1.45;
}

.vl-options-editor {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vl-option-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vl-option-row .vl-input {
  flex: 1;
}

.vl-theme-editor-shell {
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 12px;
  padding: 20px;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.08),
    0 1px 2px rgba(0, 0, 0, 0.06);
}

/* Opmaak / theme panel (10940:3655) */

.vl-opmaak {
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 12px;
  padding: 20px;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.08),
    0 1px 2px rgba(0, 0, 0, 0.06);
}

.vl-opmaak-title {
  margin: 0;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #404040;
  padding-bottom: 16px;
  border-bottom: 1px solid #e4e7ea;
}

.vl-opmaak-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
  overflow: auto;
}

.vl-opmaak-empty,
.vl-opmaak-stub {
  margin: 0;
  font-size: 13px;
  color: #848f99;
  line-height: 1.45;
}

.vl-opmaak-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vl-type-desc {
  margin: 0;
  font-size: 12px;
  color: #848f99;
}

.vl-opmaak-nav {
  display: flex;
  border: 1px solid #e4e7ea;
  border-radius: 8px;
  overflow: hidden;
}

.vl-opmaak-tab {
  flex: 1;
  border: 0;
  background: #fff;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 13px;
  color: #848f99;
  padding: 8px 6px;
  cursor: default;
}

.vl-opmaak-tab.is-active {
  background: #0f70b7;
  color: #fff;
}

.vl-opmaak-tab--interactive {
  cursor: pointer;
}

.vl-opmaak-tab--interactive:not(.is-active):hover {
  background: #f6f8fa;
  color: #404040;
}

.vl-opmaak-tab + .vl-opmaak-tab {
  border-left: 1px solid #e4e7ea;
}

/* Shared controls */

.vl-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  border-radius: 8px;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  cursor: pointer;
  line-height: 1.2;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.vl-btn .ti {
  font-size: 14px;
}

.vl-btn--primary {
  background: #0f70b7;
  color: #fff;
}

.vl-btn--primary:hover {
  background: #0c5f9a;
}

.vl-btn--secondary {
  background: #fff;
  color: #404040;
  border: 1px solid #c8cdd2;
}

.vl-btn--secondary:hover {
  background: #f6f8fa;
}

.vl-btn--ghost {
  background: transparent;
  color: #0f70b7;
  padding: 6px 10px;
}

.vl-btn--ghost:hover {
  background: rgba(15, 112, 183, 0.08);
}

.vl-btn--sm {
  font-size: 12px;
  padding: 6px 10px;
}

.vl-btn--block {
  width: 100%;
  justify-content: center;
}

.vl-icon-btn {
  border: 0;
  background: transparent;
  color: #848f99;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.vl-icon-btn--sm {
  width: 28px;
  height: 28px;
}

.vl-icon-btn:hover:not(:disabled) {
  background: rgba(0, 0, 0, 0.05);
  color: #404040;
}

.vl-icon-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.vl-icon-btn--danger:hover:not(:disabled) {
  background: rgba(220, 53, 69, 0.08);
  color: #c82333;
}

.vl-drag-handle {
  color: #c4c9ce;
  cursor: grab;
  padding: 4px;
}

.vl-question-card:active .vl-drag-handle {
  cursor: grabbing;
}

.vl-type-select-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f6f6f6;
  border: 1px solid #e4e7ea;
  border-radius: 8px;
  padding: 8px 10px;
}

.vl-type-icon {
  color: #0f70b7;
  font-size: 15px;
}

.vl-select {
  border: 0;
  background: transparent;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #404040;
  cursor: pointer;
  padding: 0;
  min-width: 120px;
  width: 100%;
}

.vl-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.vl-field:last-child {
  margin-bottom: 0;
}

.vl-field.is-disabled {
  opacity: 0.5;
  pointer-events: none;
}

.vl-field-label {
  font-size: 12px;
  font-weight: 500;
  color: #848f99;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.vl-field-hint {
  font-size: 12px;
  color: #a0a8b0;
  line-height: 1.4;
}

.vl-input,
.vl-textarea {
  border: 1px solid #c8cdd2;
  border-radius: 8px;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 13px;
  color: #404040;
  padding: 9px 12px;
  background: #fff;
  width: 100%;
  transition: border-color 0.15s ease;
}

.vl-input:focus,
.vl-textarea:focus,
.vl-select:focus {
  outline: none;
  border-color: #0f70b7;
}

.vl-input--narrow {
  max-width: 100px;
}

.vl-textarea {
  resize: vertical;
  min-height: 72px;
}

.vl-field-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.vl-scale-fields {
  margin-top: 12px;
}

.vl-options-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 10px;
}

.vl-scale-preview {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #f6f6f6;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow-x: auto;
}

.vl-scale-preview-label {
  font-size: 11px;
  color: #848f99;
  max-width: 90px;
  line-height: 1.3;
  flex-shrink: 0;
}

.vl-scale-preview-track {
  display: flex;
  gap: 6px;
  flex: 1;
  justify-content: center;
}

.vl-scale-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid #d8dde2;
  background: #fff;
  font-size: 10px;
  color: #848f99;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vl-preview-option--readonly {
  cursor: default;
}

.vl-preview-option-label {
  font-size: 14px;
  color: #404040;
}

.vl-scale-dot.is-edge {
  border-color: var(--vl-theme-primary, #0f70b7);
  color: var(--vl-theme-primary, #0f70b7);
  font-weight: 600;
}

.vl-questions-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 240px;
  padding: 32px 24px;
  gap: 8px;
}

.vl-empty-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #d2e4f3;
  color: #0f70b7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 12px;
}

.vl-empty-title {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 500;
  color: #404040;
}

.vl-empty-hint {
  margin: 0;
  font-size: 13px;
  color: #848f99;
  max-width: 320px;
  line-height: 1.5;
}

/* Settings tab */

.vl-settings {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  flex-shrink: 0;
  padding: 8px 0 32px;
}

.vl-settings-layout {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  width: 100%;
}

.vl-settings-nav {
  position: sticky;
  top: 16px;
  flex-shrink: 0;
  width: 200px;
  align-self: flex-start;
}

.vl-settings-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vl-settings-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #5c6770;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.vl-settings-nav-link .ti {
  font-size: 16px;
  color: #848f99;
  flex-shrink: 0;
}

.vl-settings-nav-link:hover {
  background: #eef4fa;
  color: #0f70b7;
}

.vl-settings-nav-link:hover .ti {
  color: #0f70b7;
}

.vl-settings-nav-link.is-active {
  background: #e8f2fa;
  color: #0f70b7;
}

.vl-settings-nav-link.is-active .ti {
  color: #0f70b7;
}

.vl-settings-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vl-settings-card {
  display: none;
  background: #fff;
  border-radius: 12px;
  padding: 20px 22px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  border: 1px solid #e4e7ea;
}

.vl-settings-card.is-active {
  display: block;
}

.vl-settings-header {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  align-items: flex-start;
}

.vl-settings-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #d2e4f3;
  color: #0f70b7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.vl-settings-title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
  color: #404040;
}

.vl-settings-desc {
  margin: 0;
  font-size: 13px;
  color: #848f99;
  line-height: 1.45;
}

.vl-settings-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.vl-toggle-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f2f4;
  cursor: pointer;
}

.vl-toggle-field:last-of-type {
  border-bottom: 0;
}

.vl-toggle-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.vl-toggle-label {
  font-size: 13px;
  font-weight: 500;
  color: #404040;
}

.vl-toggle-desc {
  font-size: 12px;
  color: #848f99;
  line-height: 1.4;
}

.vl-toggle {
  position: relative;
  flex-shrink: 0;
}

.vl-toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.vl-toggle-track {
  display: block;
  width: 40px;
  height: 22px;
  border-radius: 11px;
  background: #d8dde2;
  transition: background 0.2s ease;
  position: relative;
}

.vl-toggle-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.vl-toggle input:checked + .vl-toggle-track {
  background: #0f70b7;
}

.vl-toggle input:checked + .vl-toggle-track::after {
  transform: translateX(18px);
}

.vl-toggle input:focus-visible + .vl-toggle-track {
  outline: 2px solid #0f70b7;
  outline-offset: 2px;
}

.vl-theme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.vl-theme-grid--library {
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.vl-theme-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border: 1px solid #e4e7ea;
  border-radius: 10px;
  background: #fff;
  padding: 10px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease,
    box-shadow 0.15s ease;
}

.vl-theme-card:focus {
  outline: none;
}

.vl-theme-card:focus-visible {
  outline: none;
  border-color: #0f70b7;
  box-shadow: 0 0 0 1px #0f70b7;
}

.vl-theme-card:hover {
  border-color: #c8d8e8;
}

.vl-theme-card.is-selected {
  border-color: #0f70b7;
  background: #f4f9fd;
  box-shadow: none;
}

.vl-theme-card-check {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #0f70b7;
  color: #fff;
  pointer-events: none;
}

.vl-theme-card-check .ti {
  font-size: 12px;
  line-height: 1;
}

.vl-theme-card-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin-top: 8px;
}

.vl-theme-swatch {
  display: block;
  width: 100%;
  height: 36px;
  border-radius: 6px;
  margin-bottom: 0;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.vl-theme-swatch--image {
  overflow: hidden;
}

.vl-theme-swatch--default {
  background: linear-gradient(135deg, #0f70b7 50%, #f6f6f6 50%);
}

.vl-theme-swatch--corporate {
  background: linear-gradient(135deg, #1a3a5c 50%, #e8eef3 50%);
}

.vl-theme-swatch--warm {
  background: linear-gradient(135deg, #c47d1a 50%, #faf6f0 50%);
}

.vl-theme-name {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #404040;
}

.vl-theme-usage {
  display: block;
  font-size: 12px;
  color: #848f99;
  margin-top: 2px;
}


.vl-theme-settings-summary {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.vl-theme-settings-summary .vl-theme-swatch {
  width: 48px;
  height: 36px;
  margin: 0;
  flex-shrink: 0;
}

.vl-theme-settings-name {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 500;
  color: #404040;
}

.vl-theme-settings-note {
  margin: 0;
  font-size: 13px;
  color: #848f99;
  line-height: 1.45;
}

.vl-opmaak-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.vl-opmaak-subtitle {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #848f99;
}

.vl-opmaak-editor-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vl-opmaak-editor-title {
  font-size: 13px;
  font-weight: 500;
  color: #404040;
}

.vl-opmaak-editor-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vl-field--color .vl-color-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vl-color-input {
  width: 36px;
  height: 32px;
  padding: 2px;
  border: 1px solid #e4e7ea;
  border-radius: 6px;
  cursor: pointer;
  background: #fff;
}

.vl-input--hex {
  flex: 1;
  font-family: ui-monospace, monospace;
  font-size: 12px;
}

.vl-input--file {
  font-size: 12px;
}

.vl-theme-logo-preview {
  display: block;
  max-height: 40px;
  max-width: 120px;
  margin-top: 6px;
  object-fit: contain;
}

.vl-contrast-warnings {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vl-contrast-warning {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding: 8px 10px;
  background: #fff8e6;
  border-radius: 6px;
  font-size: 11px;
  color: #8a6d00;
  line-height: 1.4;
}

.vl-contrast-warning .ti {
  flex-shrink: 0;
  margin-top: 1px;
}

.vl-contrast-ok {
  margin: 0;
  font-size: 11px;
  color: #2e7d32;
  display: flex;
  align-items: center;
  gap: 4px;
}

.vl-warning-banner {
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  background: #fff4e5;
  border-radius: 8px;
  font-size: 12px;
  color: #663c00;
  line-height: 1.45;
}

.vl-warning-banner .ti {
  flex-shrink: 0;
  font-size: 16px;
  margin-top: 2px;
}

.vl-warning-banner p {
  margin: 4px 0 8px;
}

.vl-info-banner {
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  margin-bottom: 12px;
  background: #f4f9fd;
  border-radius: 8px;
  font-size: 12px;
  color: #0f4a78;
  line-height: 1.45;
}

.vl-info-banner .ti {
  flex-shrink: 0;
  font-size: 16px;
  margin-top: 2px;
}

.vl-info-banner p {
  margin: 4px 0 0;
}

.vl-toggle-field--compact {
  padding: 4px 0;
}

.vl-settings-stub-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  padding: 12px 14px;
  background: #f4f9fd;
  border-radius: 8px;
  font-size: 12px;
  color: #0f70b7;
  line-height: 1.45;
}

.vl-settings-stub-note .ti {
  flex-shrink: 0;
  margin-top: 1px;
}

/* Template modal */

.vl-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(33, 37, 41, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.vl-modal-overlay.is-open {
  opacity: 1;
}

.vl-modal {
  background: #fff;
  border-radius: 12px;
  width: min(640px, 100%);
  max-height: min(80vh, 640px);
  overflow: auto;
  padding: 24px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  animation: vlModalIn 0.22s ease both;
}

@keyframes vlModalIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.vl-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.vl-modal-title {
  margin: 0;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #404040;
}

.vl-modal-close {
  border: 0;
  background: transparent;
  color: #848f99;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.vl-modal-close:hover {
  background: #f0f2f4;
  color: #404040;
}

.vl-modal-intro {
  margin: 0 0 16px;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 13px;
  color: #848f99;
  line-height: 1.5;
}

.vl-modal--add-question {
  width: min(480px, 100%);
}

.vl-modal--theme {
  width: min(720px, 100%);
  max-height: min(85vh, 720px);
}

.vl-theme-modal-body {
  margin-top: 4px;
}

.vl-theme-modal-body .vl-opmaak-editor-body {
  max-height: min(50vh, 420px);
  overflow-y: auto;
}

.vl-question-type-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vl-question-type-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border: 1px solid #e4e7ea;
  border-radius: 8px;
  background: #fff;
  padding: 14px 16px;
  text-align: left;
  cursor: pointer;
  font-family: Montserrat, Arial, sans-serif;
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.vl-question-type-card:hover {
  border-color: #0f70b7;
  background: #f4f9fd;
  box-shadow: 0 2px 8px rgba(15, 112, 183, 0.1);
}

.vl-question-type-card:focus-visible {
  outline: 2px solid #0f70b7;
  outline-offset: 2px;
}

.vl-question-type-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #d2e4f3;
  color: #0f70b7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}

.vl-question-type-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.vl-question-type-label {
  font-size: 14px;
  font-weight: 600;
  color: #404040;
}

.vl-question-type-desc {
  font-size: 12px;
  color: #848f99;
  line-height: 1.4;
}

.vl-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #e4e7ea;
}

.vl-modal-actions {
  margin-bottom: 16px;
}

.vl-template-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}

.vl-template-card {
  border: 1px solid #e4e7ea;
  border-radius: 8px;
  background: #fff;
  padding: 14px;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.vl-template-card:hover {
  border-color: #0f70b7;
  box-shadow: 0 2px 8px rgba(15, 112, 183, 0.1);
}

.vl-template-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #0f70b7;
  background: #d2e4f3;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.vl-template-name {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #404040;
  margin-bottom: 4px;
}

.vl-template-desc {
  display: block;
  font-size: 12px;
  color: #848f99;
  line-height: 1.4;
  margin-bottom: 8px;
}

.vl-template-meta {
  display: block;
  font-size: 12px;
  color: #a0a8b0;
}

@media (max-width: 1200px) {
  .vl-editor-layout {
    grid-template-columns: 200px minmax(0, 1fr) 300px;
  }
}

@media (max-width: 960px) {
  .vl-editor-layout {
    grid-template-columns: 1fr;
  }

  .vl-pages,
  .vl-question-settings {
    display: none;
  }

  .vl-survey-card {
    padding: 24px 20px 32px;
  }

  .vl-settings-layout {
    flex-direction: column;
    gap: 16px;
  }

  .vl-settings-nav {
    position: static;
    width: 100%;
  }

  .vl-settings-nav-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
}

@media (max-width: 640px) {
  .vl-toolbar-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .vl-toolbar-actions .vl-btn {
    justify-content: center;
  }

  .vl-question-actions {
    flex-wrap: wrap;
  }
}

/* ——— Verspreiden ——— */
.vl-verspreiden,
.vl-resultaten {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

.vl-dist,
.vl-res {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 8px 0 32px;
}

.vl-dist-header,
.vl-res-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.vl-dist-title,
.vl-res-title {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 600;
  color: #2a2a2a;
}

.vl-dist-intro,
.vl-res-intro {
  margin: 0;
  font-size: 13px;
  color: #6b7280;
}

.vl-dist-summary,
.vl-res-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.vl-res-summary {
  grid-template-columns: repeat(6, 1fr);
}

/* ── Infographic metric cards ─────────────────────────────────────────── */

.vl-infographic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.vl-infographic-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vl-infographic-grid--6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.vl-infographic-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.vl-infographic-card {
  position: relative;
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 132px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.vl-infographic-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--vl-infographic-accent, #0f70b7);
  opacity: 0.85;
}

.vl-infographic-card--blue {
  --vl-infographic-accent: #3b82f6;
}

.vl-infographic-card--purple {
  --vl-infographic-accent: #8b5cf6;
}

.vl-infographic-card--green {
  --vl-infographic-accent: #22c55e;
}

.vl-infographic-card--orange {
  --vl-infographic-accent: #f59e0b;
}

.vl-infographic-card--teal {
  --vl-infographic-accent: #0f70b7;
}

.vl-infographic-card--red {
  --vl-infographic-accent: #ef4444;
}

.vl-infographic-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.vl-infographic-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.vl-infographic-icon--blue {
  background: rgba(59, 130, 246, 0.12);
  color: #3b82f6;
}

.vl-infographic-icon--purple {
  background: rgba(139, 92, 246, 0.12);
  color: #8b5cf6;
}

.vl-infographic-icon--green {
  background: rgba(34, 197, 94, 0.12);
  color: #22c55e;
}

.vl-infographic-icon--orange {
  background: rgba(245, 158, 11, 0.14);
  color: #d97706;
}

.vl-infographic-icon--teal {
  background: rgba(15, 112, 183, 0.12);
  color: #0f70b7;
}

.vl-infographic-icon--red {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}

.vl-infographic-value {
  font-size: 28px;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.vl-infographic-label {
  font-size: 12px;
  font-weight: 500;
  color: #4b5563;
}

.vl-infographic-sub {
  font-size: 11px;
  color: #9ca3af;
  line-height: 1.35;
  margin-top: 2px;
}

.vl-infographic-ring {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  transform: rotate(-90deg);
}

.vl-infographic-ring-bg {
  fill: none;
  stroke: #eef0f2;
  stroke-width: 3.5;
}

.vl-infographic-ring-fill {
  fill: none;
  stroke-width: 3.5;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.4s ease;
}

.vl-infographic-ring--blue .vl-infographic-ring-fill {
  stroke: #3b82f6;
}

.vl-infographic-ring--purple .vl-infographic-ring-fill {
  stroke: #8b5cf6;
}

.vl-infographic-ring--green .vl-infographic-ring-fill {
  stroke: #22c55e;
}

.vl-infographic-ring--orange .vl-infographic-ring-fill {
  stroke: #f59e0b;
}

.vl-infographic-ring--teal .vl-infographic-ring-fill {
  stroke: #0f70b7;
}

.vl-infographic-ring--red .vl-infographic-ring-fill {
  stroke: #ef4444;
}

.vl-infographic-spark {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 32px;
  padding: 0 2px;
}

.vl-infographic-spark-bar {
  display: block;
  width: 6px;
  min-height: 4px;
  border-radius: 3px 3px 1px 1px;
  background: currentColor;
  opacity: 0.35;
}

.vl-infographic-spark-bar:last-child {
  opacity: 1;
}

.vl-infographic-spark--blue {
  color: #3b82f6;
}

.vl-infographic-spark--purple {
  color: #8b5cf6;
}

.vl-infographic-spark--green {
  color: #22c55e;
}

.vl-infographic-spark--teal {
  color: #0f70b7;
}

/* Compact stats in method card footers */
.vl-infographic-stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 12px 16px 16px;
  border-top: 1px solid #f0f2f4;
  margin-top: auto;
}

.vl-infographic-stat {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 6px 8px;
  border-radius: 10px;
  background: #f9fafb;
  text-align: center;
}

.vl-infographic-stat-icon {
  width: 28px;
  height: 28px;
  font-size: 14px;
  border-radius: 8px;
  margin-bottom: 2px;
}

.vl-infographic-stat-value {
  font-size: 17px;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.2;
}

.vl-infographic-stat-label {
  font-size: 10px;
  font-weight: 500;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.vl-infographic-stat-ring {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  opacity: 0.9;
}

.vl-infographic-stat-ring .vl-infographic-ring {
  width: 22px;
  height: 22px;
}

.vl-infographic-stat-ring .vl-infographic-ring-bg,
.vl-infographic-stat-ring .vl-infographic-ring-fill {
  stroke-width: 2.5;
}

/* Vragenlijst funnel card */
.vl-funnel-card {
  background: #fff;
  border-radius: 14px;
  border: none;
  padding: 18px 20px 16px;
  margin-bottom: 18px;
  box-shadow:
    0 4px 18px rgba(15, 112, 183, 0.08),
    0 1px 2px rgba(15, 23, 42, 0.06);
}

.vl-funnel-card-header {
  margin-bottom: 14px;
}

.vl-funnel-card-title {
  margin: 0 0 2px;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}

.vl-funnel-card-subtitle {
  margin: 0;
  font-size: 12px;
  color: #6b7280;
}

.vl-funnel-body {
  border: 1px solid #e4e7ea;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.vl-funnel-flow-scroll {
  overflow-x: auto;
  min-width: 0;
  max-width: 100%;
  padding: 16px 18px 12px;
  scrollbar-gutter: stable both-edges;
  -webkit-overflow-scrolling: touch;
}

.vl-funnel-flow {
  --funnel-slant: 18px;
  --funnel-radius: 12px;
  --funnel-gap: 140px;
  --vl-funnel-clip-opened: polygon(0 0, 100% 0, calc(100% - var(--funnel-slant)) 100%, 0 100%);
  --vl-funnel-clip-started: polygon(var(--funnel-slant) 0, 100% 0, calc(100% - var(--funnel-slant)) 100%, 0 100%);
  --vl-funnel-clip-completed: polygon(var(--funnel-slant) 0, 100% 0, 100% 100%, 0 100%);
  min-width: calc(720px + 2 * var(--funnel-gap));
  display: flex;
  gap: 0;
  align-items: stretch;
}

.vl-funnel-stage {
  flex: 1 1 0;
  min-width: 120px;
  position: relative;
  isolation: isolate;
  border: none;
  border-radius: 0;
  padding: 14px 18px;
  overflow: hidden; /* Keep text inside each stage's geometry */
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  background: transparent;
}

.vl-funnel-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border: 1px solid #e4e7ea;
}

.vl-funnel-stage-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  overflow: hidden;
  position: relative;
  z-index: 2; /* Keep labels/values above all decorative overlap layers */
}

/* /‾‾‾‾‾‾|  — straight left, diagonal right */
.vl-funnel-stage--opened {
  padding-right: calc(18px + var(--funnel-slant));
  z-index: 1;
  clip-path: var(--vl-funnel-clip-opened);
  -webkit-clip-path: var(--vl-funnel-clip-opened);
}

.vl-funnel-stage--opened::before {
  border-radius: var(--funnel-radius) 0 0 var(--funnel-radius);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.16), rgba(59, 130, 246, 0.06));
}

.vl-funnel-stage--opened .vl-funnel-stage-content {
  clip-path: var(--vl-funnel-clip-opened);
  -webkit-clip-path: var(--vl-funnel-clip-opened);
}

/* /‾‾‾‾‾‾/  — diagonal left and right (parallelogram strip) */
.vl-funnel-stage--started {
  padding-left: calc(18px + var(--funnel-slant));
  padding-right: calc(18px + var(--funnel-slant));
  z-index: 1;
  clip-path: var(--vl-funnel-clip-started);
  -webkit-clip-path: var(--vl-funnel-clip-started);
}

.vl-funnel-stage--started::before {
  z-index: 0;
  clip-path: var(--vl-funnel-clip-started);
  -webkit-clip-path: var(--vl-funnel-clip-started);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.16), rgba(139, 92, 246, 0.06));
}

.vl-funnel-stage--started .vl-funnel-stage-content {
  align-items: center;
  text-align: center;
  clip-path: var(--vl-funnel-clip-started);
  -webkit-clip-path: var(--vl-funnel-clip-started);
}

/* |‾‾‾‾‾‾/  — diagonal left, straight right */
.vl-funnel-stage--completed {
  padding-left: calc(20px + var(--funnel-slant));
  padding-right: calc(18px + var(--funnel-slant) * 0.5);
  z-index: 5; /* Ensure final stage sits above neighboring overlaps */
  overflow: visible;
  clip-path: none;
  -webkit-clip-path: none;
}

.vl-funnel-stage--completed::before {
  z-index: 0;
  clip-path: var(--vl-funnel-clip-completed);
  -webkit-clip-path: var(--vl-funnel-clip-completed);
  border-radius: 0 var(--funnel-radius) var(--funnel-radius) 0;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.17), rgba(34, 197, 94, 0.06));
}

.vl-funnel-stage--completed .vl-funnel-stage-content {
  z-index: 3;
  isolation: isolate;
  overflow: visible;
  clip-path: none;
  -webkit-clip-path: none;
}

.vl-funnel-gap {
  flex: 0 0 var(--funnel-gap);
  width: var(--funnel-gap);
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  margin: 0;
  padding: 0;
  overflow: visible;
  z-index: 0; /* Keep drop-band under stage backgrounds and text */
}

.vl-funnel-stage-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5f6875;
}

.vl-funnel-stage-value {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  line-height: 1.1;
}

.vl-funnel-stage-sub {
  font-size: 11px;
  color: #6b7280;
}

.vl-funnel-drop-band {
  position: relative;
  flex-shrink: 0;
  min-width: 108px;
  max-width: 140px;
  border-radius: 999px;
  border: 1px dashed #f2bf74;
  background: #fffbf3;
  color: #9a5a00;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1.2;
  box-shadow: 0 0 0 4px #fff;
  z-index: 0;
  pointer-events: auto;
}

.vl-funnel-drop-band .ti {
  font-size: 14px;
}

.vl-funnel-metrics-strip {
  margin-top: 0;
  border-top: 1px solid #eef0f2;
  padding: 12px 18px 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
}

.vl-funnel-metric-inline {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.vl-funnel-metric-dot {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.vl-funnel-metric-dot--green {
  background: rgba(34, 197, 94, 0.15);
  color: #16a34a;
}

.vl-funnel-metric-dot--orange {
  background: rgba(245, 158, 11, 0.2);
  color: #b45309;
}

.vl-funnel-metric-dot--teal {
  background: rgba(15, 112, 183, 0.14);
  color: #0f70b7;
}

.vl-funnel-metric-inline-copy {
  display: flex;
  align-items: baseline;
  gap: 7px;
  min-width: 0;
}

.vl-funnel-metric-inline-value {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  line-height: 1.15;
}

.vl-funnel-metric-label {
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .vl-funnel-card {
    padding: 16px 16px 14px;
  }

  .vl-funnel-flow-scroll {
    padding: 14px 16px 10px;
  }

  .vl-funnel-flow {
    --funnel-gap: 120px;
    min-width: calc(680px + 2 * var(--funnel-gap));
  }

  .vl-funnel-stage {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .vl-funnel-stage--opened {
    padding-right: calc(14px + var(--funnel-slant));
    padding-left: 14px;
  }

  .vl-funnel-stage--started {
    padding-left: calc(14px + var(--funnel-slant));
    padding-right: calc(14px + var(--funnel-slant));
  }

  .vl-funnel-stage--completed {
    padding-left: calc(18px + var(--funnel-slant));
    padding-right: calc(14px + var(--funnel-slant) * 0.5);
  }

  .vl-funnel-gap {
    margin: 0;
    padding: 0;
  }

  .vl-funnel-drop-band {
    min-width: 96px;
    font-size: 11px;
    padding: 7px 10px;
  }

  .vl-funnel-metrics-strip {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 10px 16px 12px;
    scrollbar-gutter: stable both-edges;
  }

  .vl-funnel-metric-inline {
    min-width: max-content;
  }
}

/* Legacy summary classes (kept for compatibility) */
.vl-dist-summary-card,
.vl-res-summary-card {
  background: #fff;
  border: 1px solid #e4e7ea;
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.vl-dist-summary-card--accent,
.vl-res-summary-card--accent {
  border-color: #b8d4ec;
  background: #f4f9fd;
}

.vl-dist-summary-value,
.vl-res-summary-value {
  font-size: 22px;
  font-weight: 600;
  color: #2a2a2a;
}

.vl-res-summary-card .ti {
  font-size: 16px;
  color: #0f70b7;
  margin-bottom: 4px;
}

.vl-dist-summary-label,
.vl-res-summary-label {
  font-size: 12px;
  color: #6b7280;
}

.vl-dist-summary-sub {
  font-size: 11px;
  color: #9ca3af;
}

.vl-dist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.vl-dist-card {
  background: #fff;
  border: 1px solid #e4e7ea;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  opacity: 0.72;
  transition: opacity 0.15s ease, border-color 0.15s ease;
}

.vl-dist-card.is-enabled {
  opacity: 1;
  border-color: #c8dde9;
}

.vl-dist-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 0;
}

.vl-dist-card-title {
  display: flex;
  gap: 12px;
}

.vl-dist-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #f4f9fd;
  color: #0f70b7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vl-dist-card-title h3 {
  margin: 0 0 2px;
  font-size: 14px;
  font-weight: 600;
}

.vl-dist-card-title p {
  margin: 0;
  font-size: 12px;
  color: #6b7280;
}

.vl-dist-toggle {
  position: relative;
  cursor: pointer;
}

.vl-dist-toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.vl-dist-toggle-ui {
  display: block;
  width: 40px;
  height: 22px;
  border-radius: 11px;
  background: #d1d5db;
  transition: background 0.15s;
}

.vl-dist-toggle-ui::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.15s;
}

.vl-dist-toggle input:checked + .vl-dist-toggle-ui {
  background: #0f70b7;
}

.vl-dist-toggle input:checked + .vl-dist-toggle-ui::after {
  transform: translateX(18px);
}

.vl-dist-card-body {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vl-dist-link-row {
  display: flex;
  gap: 8px;
}

.vl-dist-link-input {
  flex: 1;
  font-size: 12px;
}

.vl-dist-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vl-dist-field-label {
  font-size: 11px;
  font-weight: 500;
  color: #6b7280;
}

.vl-dist-textarea,
.vl-dist-embed {
  font-size: 12px;
  resize: vertical;
}

.vl-dist-qr {
  display: flex;
  align-items: center;
  gap: 16px;
}

.vl-dist-qr-placeholder {
  width: 80px;
  height: 80px;
  border: 2px dashed #d1d5db;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #9ca3af;
}

.vl-dist-card-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 12px 16px 16px;
  border-top: 1px solid #f0f2f4;
  margin-top: auto;
}

.vl-dist-stat {
  text-align: center;
}

.vl-dist-loading,
.vl-dist-error {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 200px;
  color: #6b7280;
  font-size: 14px;
}

.vl-dist-error {
  flex-direction: column;
  color: #b45309;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ——— Resultaten ——— */
.vl-res-section {
  margin-bottom: 28px;
}

.vl-res-section-header h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
}

.vl-res-section-header p {
  margin: 0 0 14px;
  font-size: 13px;
  color: #6b7280;
}

.vl-res-dropoff-chart {
  background: #fff;
  border: 1px solid #e4e7ea;
  border-radius: 12px;
  padding: 16px 18px 12px;
}

.vl-res-chart-svg {
  display: block;
  width: 100%;
  height: auto;
}

.vl-res-chart-grid {
  stroke: rgba(200, 205, 210, 0.6);
  stroke-width: 1;
  stroke-dasharray: 4 4;
}

.vl-res-chart-tick {
  font-size: 11px;
  fill: #848f99;
  font-weight: 500;
}

.vl-res-chart-axis-label {
  font-size: 11px;
  fill: #6b7280;
  font-weight: 600;
}

.vl-res-chart-line {
  fill: none;
  stroke: #0f70b7;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vl-res-chart-area {
  fill: rgba(15, 112, 183, 0.08);
}

.vl-res-chart-dot {
  cursor: pointer;
  transition: transform 0.12s ease;
  transform-box: fill-box;
  transform-origin: center;
  stroke: #0f70b7;
  stroke-width: 1;
  outline: none;
}

.vl-res-chart-dot:hover,
.vl-res-chart-dot:focus-visible {
  transform: scale(1.25);
}

.vl-res-chart-empty {
  margin: 0;
  padding: 20px;
  text-align: center;
  color: #6b7280;
  font-size: 13px;
}

.vl-res-dropoff-legend {
  list-style: none;
  margin: 12px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid #eef0f2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 6px 12px;
  font-size: 12px;
}

.vl-res-dropoff-legend li {
  display: contents;
}

.vl-res-dropoff-legend-num {
  color: #0f70b7;
  font-weight: 600;
  font-size: 11px;
}

.vl-res-dropoff-legend-text {
  color: #374151;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vl-res-dropoff-legend-value {
  color: #6b7280;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.vl-res-questions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vl-res-question-card {
  background: #fff;
  border: 1px solid #e4e7ea;
  border-radius: 12px;
  padding: 16px 18px;
  scroll-margin-top: 16px;
}

.vl-res-question-card.is-active {
  border-color: var(--vl-theme-primary, #0f70b7);
  box-shadow: 0 0 0 1px var(--vl-theme-primary, #0f70b7);
}

.vl-res-question-card:focus-visible {
  outline: 2px solid var(--vl-theme-primary, #0f70b7);
  outline-offset: 2px;
}

.vl-res-question-header {
  margin-bottom: 14px;
}

.vl-res-question-type {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #0f70b7;
  font-weight: 600;
}

.vl-res-question-header h4 {
  margin: 4px 0;
  font-size: 14px;
  font-weight: 600;
}

.vl-res-question-count {
  font-size: 12px;
  color: #9ca3af;
}

.vl-res-scale-avg {
  text-align: center;
  margin-bottom: 16px;
}

.vl-res-scale-avg-value {
  display: block;
  font-size: 36px;
  font-weight: 600;
  color: #0f70b7;
}

.vl-res-scale-avg-label {
  font-size: 12px;
  color: #6b7280;
}

.vl-res-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 120px;
}

.vl-res-bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.vl-res-bar {
  width: 100%;
  max-width: 36px;
  background: #0f70b7;
  border-radius: 4px 4px 0 0;
  min-height: 4px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-top: auto;
}

.vl-res-bar-value {
  font-size: 10px;
  color: #fff;
  padding-top: 4px;
}

.vl-res-bar-label {
  font-size: 11px;
  color: #6b7280;
  margin-top: 4px;
}

.vl-res-choice-row {
  display: grid;
  grid-template-columns: 120px 1fr 80px;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.vl-res-choice-label {
  font-size: 13px;
}

.vl-res-choice-bar-wrap {
  height: 10px;
  background: #f0f2f4;
  border-radius: 5px;
  overflow: hidden;
}

.vl-res-choice-bar {
  height: 100%;
  background: #0f70b7;
  border-radius: 5px;
}

.vl-res-choice-count {
  font-size: 12px;
  text-align: right;
  color: #404040;
}

.vl-res-text-total {
  font-size: 12px;
  color: #6b7280;
  margin: 0 0 10px;
}

.vl-res-text-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vl-res-text-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: #f9fafb;
  border-radius: 8px;
  font-size: 13px;
}

.vl-res-text-date {
  font-size: 11px;
  color: #9ca3af;
  flex-shrink: 0;
}

@media (max-width: 1200px) {
  .vl-infographic-grid--6 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .vl-dist-summary,
  .vl-infographic-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vl-res-summary,
  .vl-infographic-grid--6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vl-dist-grid {
    grid-template-columns: 1fr;
  }

  .vl-infographic-value {
    font-size: 24px;
  }

  .vl-dl-table-wrap {
    overflow-x: auto;
  }

  .vl-dl-filters {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ── Deelnemers tab ── */

.vl-dl {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 4px 0 24px;
}

.vl-dl-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.vl-dl-title h2 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
}

.vl-dl-title p {
  margin: 0;
  font-size: 13px;
  color: #6b7280;
  max-width: 640px;
}

.vl-dl-summary {
  margin: 0;
}

.vl-dl-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 16px 24px;
  padding: 16px;
  background: #fff;
  border: 1px solid #e4e7ea;
  border-radius: 12px;
}

.vl-dl-filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.vl-dl-filter-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #9ca3af;
}

.vl-dl-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vl-dl-filter-chip {
  font-size: 13px;
  gap: 6px;
}

.vl-dl-filter-chip-label {
  line-height: 1;
}

.vl-dl-filter-chip-count {
  font-weight: 600;
  font-size: 12px;
  line-height: 1;
  color: #6b7280;
}

.vl-dl-filter-chip.is-active .vl-dl-filter-chip-count {
  color: rgba(255, 255, 255, 0.9);
}

.vl-dl-search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 220px;
  min-width: 220px;
  margin-left: auto;
}

.vl-dl-search .ti {
  color: #9ca3af;
  font-size: 16px;
}

.vl-dl-search .vl-input {
  width: 100%;
}

.vl-dl-table-wrap {
  background: #fff;
  border: 1px solid #e4e7ea;
  border-radius: 12px;
  overflow: hidden;
}

.vl-dl-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.vl-dl-table th {
  text-align: left;
  padding: 12px 14px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7280;
  background: #f9fafb;
  border-bottom: 1px solid #e4e7ea;
  white-space: nowrap;
}

.vl-dl-table td {
  padding: 14px;
  border-bottom: 1px solid #f0f2f4;
  vertical-align: top;
}

.vl-dl-table tbody tr:last-child td {
  border-bottom: none;
}

.vl-dl-table tbody tr:hover {
  background: #fafbfc;
}

.vl-dl-cell-name {
  min-width: 180px;
}

.vl-dl-cell-name strong {
  display: block;
  font-weight: 600;
  color: #1f2937;
}

.vl-dl-cell-link {
  min-width: 170px;
}

.vl-dl-muted {
  display: block;
  font-size: 12px;
  color: #9ca3af;
  margin-top: 2px;
}

.vl-dl-tag {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eef4fb;
  color: #0f70b7;
  font-size: 11px;
  font-weight: 600;
}

.vl-dl-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.vl-dl-badge .ti {
  font-size: 13px;
}

.vl-dl-badge--neutral {
  background: #f3f4f6;
  color: #4b5563;
}

.vl-dl-badge--blue {
  background: #eef4fb;
  color: #0f70b7;
}

.vl-dl-badge--purple {
  background: #f3effb;
  color: #6d28d9;
}

.vl-dl-badge--green {
  background: #ecfdf3;
  color: #047857;
}

.vl-dl-badge--orange {
  background: #fff7ed;
  color: #c2410c;
}

.vl-dl-reminder {
  display: block;
  font-weight: 600;
  color: #374151;
}

.vl-dl-mail-next {
  display: block;
  font-size: 12px;
  color: #0f70b7;
  font-weight: 600;
}

.vl-dl-method {
  font-size: 12px;
  color: #4b5563;
}

.vl-dl-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 120px;
}

.vl-dl-progress-track {
  flex: 1;
  height: 8px;
  background: #f0f2f4;
  border-radius: 999px;
  overflow: hidden;
}

.vl-dl-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #0f70b7, #38a3f1);
  border-radius: 999px;
  transition: width 0.2s ease;
}

.vl-dl-progress-label {
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  font-variant-numeric: tabular-nums;
  min-width: 36px;
  text-align: right;
}

.vl-dl-link-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.vl-dl-link-input {
  flex: 1;
  min-width: 0;
  font-size: 12px;
}

.vl-dl-empty {
  text-align: center;
  color: #6b7280;
  padding: 32px 16px !important;
}

.vl-dl-loading,
.vl-dl-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 240px;
  color: #6b7280;
  font-size: 14px;
}

.vl-dl-loading .ti {
  font-size: 24px;
  animation: vl-spin 1s linear infinite;
}

.vl-dl-error .ti {
  font-size: 28px;
  color: #dc2626;
}

.vl-dl-error p {
  margin: 0;
  text-align: center;
  max-width: 420px;
}

[data-action="copy-link"].is-copied {
  color: #047857;
}
