.eporto-fixed-process-heading {
  box-sizing: border-box !important;
  display: grid !important;
  grid-template-columns: minmax(250px, .9fr) minmax(360px, 1.25fr) minmax(230px, .8fr) !important;
  align-items: stretch !important;
  width: 100% !important;
  margin: 0 0 14px !important;
  overflow: hidden !important;
  border: 2px solid #123a59 !important;
  border-top: 5px solid #c99a31 !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, #071f35, #123d5e) !important;
  box-shadow: 0 10px 26px rgba(7, 31, 53, .24) !important;
  color: #fff !important;
}

/* PR-114: remove a faixa de ações redundante e reduz somente os espaços verticais. */
.eporto-fixed-process-heading {
  grid-template-columns: minmax(250px, .9fr) minmax(230px, .8fr) !important;
}

.eporto-fixed-process-heading__stage {
  align-items: center !important;
  border-left: 1px solid rgba(255, 255, 255, .2) !important;
  text-align: center !important;
}

@media (max-width: 800px) {
  .eporto-fixed-process-heading section {
    padding: 11px 15px !important;
  }

  .eporto-fixed-process-heading__stage {
    padding-top: 10px !important;
    padding-bottom: 11px !important;
    border-left: 0 !important;
  }
}

/* PR-113: preserva integralmente o sticky institucional que já funciona no site. */

.eporto-stage-identity,
.eporto-fixed-process-heading {
  position: sticky !important;
  top: var(--eporto-process-sticky-top, 0px) !important;
  z-index: 9990 !important;
  isolation: isolate !important;
}

.eporto-process-heading-placeholder {
  box-sizing: border-box !important;
  display: block !important;
  width: 100% !important;
  height: 0;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  pointer-events: none !important;
}

.eporto-fixed-process-heading.is-eporto-controlled-fixed {
  position: fixed !important;
  right: auto !important;
  margin: 0 !important;
  transform: none !important;
  z-index: 99990 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  will-change: top, left, width !important;
}

.eporto-central-shell,
.eporto-central-shell > *,
.eporto-central-workspace,
.eporto-central-panel {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 1400px !important;
  min-width: 0 !important;
}

.eporto-fix-label-tools {
  display: grid;
  gap: 12px;
  margin: 18px 0;
  padding: 16px;
  border: 2px solid #c99a31;
  border-radius: 12px;
  background: #fff8e7;
}
.eporto-fix-label-tools h4 { margin: 0; color: #082c49; font-size: 18px; }
.eporto-fix-label-tools,.eporto-label-model-choice{display:none!important}
.eporto-fix-label-models { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.eporto-fix-label-models label { display: flex !important; align-items: center; gap: 7px; font-weight: 800; }
.eporto-fix-label-models input { width: auto !important; min-height: auto !important; }
.eporto-fix-label-upload { display: grid !important; gap: 7px; padding: 13px; border: 2px dashed #9cabb5; border-radius: 9px; background: #fff; font-weight: 800; }
.eporto-fix-label-upload input { width: 100% !important; }
.eporto-fix-custom-fields[hidden], .eporto-fix-standard-fields[hidden] { display: none !important; }
.eporto-fix-image-preview { display: none; max-width: 100%; max-height: 240px; margin: 8px auto 0; object-fit: contain; }
.eporto-fix-image-preview.is-visible { display: block; }

.eporto-fixed-process-heading section,
.eporto-fixed-process-heading nav {
  box-sizing: border-box !important;
  display: flex !important;
  min-width: 0 !important;
  padding: 18px 24px !important;
}

.eporto-fixed-process-heading section {
  flex-direction: column !important;
  justify-content: center !important;
}

.eporto-fixed-process-heading small {
  display: block !important;
  margin: 0 0 3px !important;
  color: #e2bd64 !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .12em !important;
}

.eporto-fixed-process-heading__process strong {
  overflow-wrap: anywhere !important;
  color: #c99a31 !important;
  font-size: clamp(48px, 6vw, 78px) !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .22) !important;
}

.eporto-fixed-process-heading__actions {
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  border-right: 1px solid rgba(255, 255, 255, .2) !important;
  border-left: 1px solid rgba(255, 255, 255, .2) !important;
}

.eporto-fixed-process-heading__actions a {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 48px !important;
  padding: 10px 17px !important;
  border: 2px solid transparent !important;
  border-radius: 9px !important;
  background: #c99a31 !important;
  color: #fff !important;
  text-align: center !important;
  text-decoration: none !important;
  font-weight: 900 !important;
}

.eporto-fixed-process-heading__actions a.is-close-all {
  border-color: #d5ae52 !important;
  background: #082c49 !important;
}

.eporto-fixed-process-heading__stage strong {
  color: #fff !important;
  font-size: clamp(21px, 2.4vw, 34px) !important;
  font-weight: 900 !important;
  line-height: 1.08 !important;
}

@media (max-width: 800px) {
  .eporto-fixed-process-heading {
    grid-template-columns: 1fr !important;
  }

  .eporto-fixed-process-heading section,
  .eporto-fixed-process-heading nav {
    padding: 13px 15px !important;
  }

  .eporto-fixed-process-heading__process {
    align-items: center !important;
    text-align: center !important;
  }

  .eporto-fixed-process-heading__process strong {
    font-size: clamp(50px, 15vw, 70px) !important;
  }

  .eporto-fixed-process-heading__actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    padding: 10px !important;
    border-top: 1px solid rgba(255, 255, 255, .2) !important;
    border-right: 0 !important;
    border-left: 0 !important;
  }

  .eporto-fixed-process-heading__actions a {
    width: 100% !important;
    min-width: 0 !important;
    padding: 9px 7px !important;
    font-size: 14px !important;
  }

  .eporto-fixed-process-heading__stage {
    align-items: center !important;
    border-top: 1px solid rgba(255, 255, 255, .2) !important;
    text-align: center !important;
  }

  .eporto-fixed-process-heading__stage strong {
    font-size: 26px !important;
  }

  .eporto-fix-label-models { display: grid; }
}

/* A ordem final garante que o tema não recoloque o espaçamento removido no mobile. */
@media (max-width: 800px) {
  .eporto-fixed-process-heading section {
    padding: 11px 15px !important;
  }

  .eporto-fixed-process-heading__stage {
    padding-top: 10px !important;
    padding-bottom: 11px !important;
  }
}
