.ve-frameio-input {
  display: grid;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
}

.ve-frameio-input[hidden] {
  display: none !important;
}

.ve-frameio-drop {
  width: 100%;
  min-height: 112px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 16px 20px;
  color: #f7fbff;
  text-align: center;
  border: 2px dashed rgba(91, 142, 255, 0.58);
  border-radius: 18px;
  background: rgba(3, 8, 18, 0.30);
  cursor: pointer;
  transition: border-color .22s ease, background .22s ease, transform .22s ease;
}

.ve-frameio-drop:hover,
.ve-frameio-drop.drag-over {
  border-color: rgba(136, 174, 255, 0.92);
  background: rgba(31, 92, 255, 0.09);
  transform: translateY(-1px);
}

.ve-frameio-drop strong,
.ve-drop-zone strong {
  font-size: clamp(18px, 2.1vw, 23px);
  line-height: 1.05;
  font-weight: 920;
}

.ve-frameio-drop > .ve-drop-title,
.ve-drop-zone > .ve-drop-title {
  margin: 0;
  padding: 0;
  color: #f7fbff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, Arial, sans-serif;
  font-size: clamp(18px, 2.1vw, 23px);
  font-style: normal;
  font-weight: 920;
  letter-spacing: normal;
  line-height: 1.05;
  text-transform: none;
}

.ve-frameio-drop > span:not(.ve-drop-icon),
.ve-drop-zone > span:not(.ve-drop-icon) {
  color: #91a7c8;
  font-size: clamp(13px, 1.45vw, 15px);
  font-weight: 400;
}

.ve-frameio-drop > .ve-drop-subtitle,
.ve-drop-zone > .ve-drop-subtitle {
  margin: 0;
  padding: 0;
  color: #91a7c8;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, Arial, sans-serif;
  font-size: clamp(13px, 1.45vw, 15px);
  font-style: normal;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.2;
  text-transform: none;
}

.ve-frameio-input p {
  margin: 0;
  color: #91a7c8;
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

.ve-frameio-input code {
  color: #69b5ff;
}

/* Sélecteur compact — laboratoire app-test uniquement. */
.ve-edit-mode-lab {
  gap: 10px;
  margin-top: -4px;
  padding: 16px 18px 14px;
  border: 1px solid rgba(54, 142, 255, .32);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(12, 37, 73, .72), rgba(7, 24, 49, .64));
  box-shadow: 0 12px 34px rgba(0, 10, 28, .16);
}

.ve-edit-mode-lab > .ve-mode-intro {
  margin: 0 auto 2px;
  color: #fff;
  font-size: clamp(15px, 1.7vw, 18px);
  font-weight: 780;
  line-height: 1.3;
  text-align: center;
}

.ve-edit-mode-lab h2 {
  color: #f4f7ff;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 900;
}

.ve-edit-mode-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
}

.ve-edit-mode-card {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 9px;
  border-radius: 13px;
}

.ve-edit-mode-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}

.ve-edit-mode-card strong {
  overflow: hidden;
  font-size: 14px;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ve-edit-mode-card .ve-edit-mode-icon {
  color: #69b5ff;
  font-size: 23px;
  line-height: 1;
}

.ve-edit-mode-card .ve-edit-mode-icon svg {
  width: 27px;
  height: 27px;
  display: block;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ve-edit-mode-card .ve-edit-mode-icon-search svg {
  width: 31px;
  height: 31px;
  stroke-width: 2.7;
}

.ve-edit-mode-card .ve-edit-mode-icon-scissors svg {
  width: 35px;
  height: 30px;
  stroke-width: 2.4;
}

.ve-edit-mode-card .ve-edit-mode-icon-magic svg {
  width: 34px;
  height: 31px;
  stroke-width: 1.7;
}

.ve-edit-mode-card .ve-edit-mode-icon-magic .magic-main {
  fill: rgba(105, 181, 255, .16);
  stroke-width: 2;
}

.ve-edit-mode-card .ve-edit-mode-icon-list svg text {
  fill: currentColor;
  stroke: none;
  font: 800 10px Arial, sans-serif;
}

.ve-edit-mode-card .ve-edit-mode-icon-frameio svg {
  width: 31px;
  height: 28px;
  fill: rgba(21, 158, 255, .10);
}

.ve-edit-mode-card .ve-edit-mode-icon-frameio circle {
  fill: #159eff;
  stroke: #06142a;
  stroke-width: 1.5;
}

.ve-edit-mode-card .ve-edit-mode-icon-frameio text {
  fill: #fff;
  stroke: none;
  font: 900 9px Arial, sans-serif;
  text-anchor: middle;
}

.ve-edit-mode-card.is-selected .ve-edit-mode-icon {
  color: #f7fbff;
}

.ve-edit-mode-summary {
  min-height: 42px;
  text-align: center;
}

.ve-edit-mode-summary strong,
.ve-edit-mode-summary span {
  display: block;
}

.ve-edit-mode-summary strong {
  color: #159eff;
  font-size: clamp(20px, 2.4vw, 25px);
  line-height: 1.2;
}

.ve-edit-mode-summary span {
  margin-top: 4px;
  color: #f2f6ff;
  font-size: clamp(13px, 1.5vw, 15px);
  line-height: 1.35;
}

.ve-drop-zone {
  min-height: 112px;
  gap: 7px;
  padding: 16px 20px;
}

.ve-drop-zone > .ve-drop-icon,
.ve-frameio-drop > .ve-drop-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #69b5ff;
}

.ve-drop-zone > .ve-drop-icon svg,
.ve-frameio-drop > .ve-drop-icon svg {
  width: 32px;
  height: 32px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ve-drop-zone > .ve-drop-icon-reel,
.ve-drop-zone > .ve-drop-icon-reel svg {
  width: 38px;
  height: 35px;
}

.ve-drop-zone > .ve-drop-icon-reel svg circle:not(:first-child) {
  fill: rgba(105, 181, 255, .12);
}

#customEditorialField > .ve-prompt-label,
.ve-duration-block > h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  text-align: center;
}

#customEditorialField > .ve-prompt-label {
  display: block;
  margin-bottom: 16px;
}

.ve-duration-block {
  padding: 0;
  background: transparent;
  border: 0;
}

.ve-duration-picker {
  gap: 12px;
}

.ve-duration-field {
  width: 280px;
  min-width: 280px;
  height: 70px;
  gap: 12px;
  padding: 0 14px;
  border: 1px solid rgba(39, 140, 255, 0.32);
  border-radius: 14px;
  background: rgba(9, 27, 50, 0.78);
}

.ve-duration-field .ve-duration-btn {
  display: inline-grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-size: 26px;
  line-height: 1;
  text-align: center;
}

.ve-duration-field input[type="number"] {
  width: 104px;
  min-width: 0;
  height: 58px;
  font-size: 28px;
}

.generator-app .generator-head {
  margin-bottom: 18px;
}

.generator-app .generator-intro {
  line-height: 1.28;
}

.generator-app .generator-form {
  gap: 20px;
}

.ve-result-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.ve-result-panel .ve-result-actions > .button {
  width: auto;
  min-width: 210px;
  min-height: 48px;
  margin: 0;
}

/* En-tête sans grand cartouche, calé sur les pages Tarifs et Comment ça marche. */
.generator-app.app-shell {
  width: min(var(--container), calc(100% - 36px));
  margin-top: 0;
  padding: var(--top-space) 0 70px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.generator-app .generator-head {
  margin-bottom: 18px;
  text-align: center;
}

.generator-app .generator-head .eyebrow {
  min-width: min(820px, 100%);
  min-height: 28px;
  padding: 4px 14px;
  font-size: 12px;
  letter-spacing: .09em;
}

.generator-app .generator-title {
  margin: 22px auto 18px;
  max-width: 1120px;
  font-size: clamp(42px, 5.4vw, 70px);
  line-height: 1.04;
}

.generator-app .generator-intro {
  max-width: 920px;
  margin-inline: auto;
}

@media (max-width: 820px) {
  .ve-edit-mode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ve-edit-mode-card:last-child {
    grid-column: 1 / -1;
  }
}
