/* Assessment page-local header logo (widget e5fe8df) — keep native size when linked */
.elementor-element-e5fe8df {
  width: 277px !important;
  max-width: min(277px, 70vw) !important;
}

.elementor-element-e5fe8df a {
  display: block !important;
  width: 100% !important;
  line-height: 0 !important;
}

.elementor-element-e5fe8df img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
}

form[data-element_type="e-form"]:not(.form-state-success) .message-success,
form[data-element_type="e-form"]:not(.form-state-success) .e-form-success-message-base {
  display: none !important;
}

form[data-element_type="e-form"].form-state-success .message-success,
form[data-element_type="e-form"].form-state-success .e-form-success-message-base {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  flex-direction: column !important;
  grid-template-columns: minmax(0, 1fr) !important;
}

form[data-element_type="e-form"].form-state-success .message-success .e-con-inner,
form[data-element_type="e-form"].form-state-success .e-form-success-message-base .e-con-inner {
  display: block !important;
  width: 100% !important;
}

form[data-element_type="e-form"].form-state-success .message-success p,
form[data-element_type="e-form"].form-state-success .e-form-success-message-base p {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

form[data-element_type="e-form"].form-state-success .message-success .b2b-success-copy,
form[data-element_type="e-form"].form-state-success .e-form-success-message-base .b2b-success-copy {
  line-height: 1.6;
}

/* QA: stage label pill — less rounded / more square */
[data-id="6fd8f88"],
.elementor-element-6fd8f88 {
  border-radius: 8px !important;
}

/* QA: hide Telegram social icon in footer */
.elementor-element-8680c00 {
  display: none !important;
}

/* QA: legal breadcrumbs — remove Services segment */
.elementor-element-154898b,
.elementor-element-0031896,
.elementor-element-42d4fdd,
.elementor-element-c6655f2,
.elementor-element-592b60f,
.elementor-element-cf32bc7 {
  display: none !important;
}

/* QA: mobile submit — fit label on button */
@media (max-width: 767px) {
  [data-id="5969b1e"],
  .elementor-element-5969b1e,
  button.e-form-submit-button-base[data-id="5969b1e"] {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    line-height: 1.25 !important;
    box-sizing: border-box !important;
  }
}
