/* Opt-in desktop native Form; existing gray/white desktop geometry retained. */
.ds-form[data-form-current] { width: 800px; max-width: 100%; }
/* Form spec408149,2.1: labels use14px Regular; atomic labels own their CSS. */
.ds-form[data-form-current] .ds-form__label {
  font-size: var(--font-size-md);
  line-height: var(--line-height-h7);
  font-weight: var(--font-weight-regular);
}
/* Allocate the phone input column; paint and states remain owned by Input. */
.ds-form[data-form-current] .ds-form__phone-row > .ds-input-field { flex: 1; }
.ds-form[data-form-current] .ds-form__phone-row { align-items: flex-start; }
.ds-form[data-form-current="white"] {
  background: var(--color-gray-9);
  padding: var(--spacing-20);
  border-radius: var(--border-radius-lg);
}

/* Consent has source-specific prose outside the caption-omitted Checkbox atom.
   Host owns copy/link assembly; atom keeps box geometry and native states. */
.ds-form[data-form-current] .ds-form__consent { display:flex; align-items:flex-start; gap:var(--spacing-sm); }
.ds-form[data-form-current] .ds-form__consent-copy { font-size:var(--font-size-sm); line-height:20px; color:var(--color-gray-3); }
.ds-form[data-form-current] .ds-form__consent-copy a { color:var(--color-blue); text-decoration:none; }
.ds-form[data-form-current] .ds-form__consent-copy a:hover { text-decoration:underline; }

/* Finite M source slots; allocation only, no atomic paint/size overrides. */
.ds-form-mobile-slot, .ds-form[data-form-mobile-slot] { width: 382px; max-width: 100%; }
.ds-form[data-form-mobile-slot] > .ds-btn { width: 100%; }

/* M contact source roots: preserve381/382 difference and source label/group gap. */
.ds-form[data-form-mobile-contact="gray"] { width: 381px; }
.ds-form[data-form-mobile-contact] { gap: var(--spacing-xs); }

/* Whole M structure: host allocation only, source group spacing preserved. */
.ds-form[data-form-mobile-integrated] { width:382px; max-width:100%; gap:var(--spacing-lg); }
.ds-form__mobile-body { display:flex; flex-direction:column; gap:var(--spacing-lg); }
.ds-form__mobile-heading, .ds-form__mobile-contact { display:flex; flex-direction:column; gap:var(--spacing-xs); }
.ds-form__mobile-fields { display:flex; flex-direction:column; gap:var(--spacing-md); }
.ds-form__mobile-contact[data-contact-color="gray"] { width:381px; max-width:100%; }
.ds-form[data-form-mobile-integrated] > .ds-btn { width:100%; }

/* Initial source fields: host allocation only; Input and Select keep their paint. */
.ds-form[data-form-fields-source] .ds-form__select-slot { width:100%; min-width:0; }
.ds-form[data-form-fields-source] .ds-form__field-description,
.ds-form[data-form-fields-source] .ds-form__status { margin:0; font-size:var(--font-size-sm); line-height:20px; color:var(--color-gray-3); }
.ds-form[data-form-fields-source] .ds-form__status[data-form-invalid] { color:var(--brand-red); }

.ds-form[data-form-fields-source] .ds-form__select-slot > .ds-select { width:100%; }
